diff --git a/package-lock.json b/package-lock.json index 45541cfb..c846545a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@croct/json": "^1.1.0", - "@croct/sdk": "^0.11.0-alpha.4", + "@croct/sdk": "^0.11.0", "tslib": "^2.2.0" }, "devDependencies": { @@ -701,9 +701,9 @@ "integrity": "sha512-7LUPr238qgXQBGvjTvnfUYOMZCKPU4KTZv9j41w7sgUYxSNaursbIlC/58Ag8LMIy8ZBJ9YEjw35kZyyV49+MA==" }, "node_modules/@croct/sdk": { - "version": "0.11.0-alpha.4", - "resolved": "https://registry.npmjs.org/@croct/sdk/-/sdk-0.11.0-alpha.4.tgz", - "integrity": "sha512-TRTQWYfy2h6b2UL2LV2yRhL9V4RIMCfbOx2XoS/4wRKOlaUisEx5OH2oVvu/4SvbWGN+mioY2i1ncvlh4+u3Vg==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@croct/sdk/-/sdk-0.11.0.tgz", + "integrity": "sha512-i3CNd6ar4c3MszeaU4g6yWVWOTGdN5s0SUgs121W9Ok/O/KtlBFH7sEueKNzCxNv3NoR8PGxC5VTK3UTcAsCfw==", "dependencies": { "@croct/json": "^1.0", "tslib": "^2.4.1" diff --git a/package.json b/package.json index 1220d76c..3bb6e6c7 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "dependencies": { "@croct/json": "^1.1.0", - "@croct/sdk": "^0.11.0-alpha.4", + "@croct/sdk": "^0.11.0", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/rollup.config.mjs b/rollup.config.mjs index ca8a04d8..a23f7b62 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -3,6 +3,11 @@ import replace from '@rollup/plugin-replace'; import typescript from '@rollup/plugin-typescript'; import terser from '@rollup/plugin-terser'; import commonjs from '@rollup/plugin-commonjs'; +import {fileURLToPath} from 'url'; + +// Temporary fix for: https://github.com/rollup/plugins/pull/1367 +const __filename = fileURLToPath(import.meta.url); +global['__filename'] = __filename; export default args => { if (args['config-cdn-url'] === undefined) {