@unito/integrations-platform-client 0.46.1 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -475,3 +475,4 @@ var api = {
475
475
  };
476
476
 
477
477
  module.exports = api;
478
+ module.exports.default = api;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integrations-platform-client",
3
- "version": "0.46.1",
3
+ "version": "0.46.2",
4
4
  "description": "The Unito Integrations Platform Client",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "prepare": "npm run compile",
24
24
  "lint": "eslint --fix src test --ext .ts && prettier --write src test",
25
25
  "compile:esm": "tsc",
26
- "compile:cjs": "rollup dist/src/index.js --file dist/src/index.cjs --format cjs --no-freeze",
26
+ "compile:cjs": "rollup dist/src/index.js --file dist/src/index.cjs --format cjs --no-freeze && echo \"module.exports.default = api;\" >> dist/src/index.cjs",
27
27
  "compile": "rm -rf dist && npm run compile:esm && npm run compile:cjs",
28
28
  "test": "NODE_ENV=test node --loader ts-node/esm --test ./test/*.test.ts",
29
29
  "test:debug": "NODE_ENV=test node --loader ts-node/esm --inspect-brk --test ./test/*.test.ts",