@marteye/studiojs 1.1.39 → 1.1.40

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.
package/dist/index.cjs ADDED
@@ -0,0 +1,10 @@
1
+ const mod = require("./index.js");
2
+ const api = mod && mod.default ? mod.default : mod;
3
+ if (mod && typeof mod === "object") {
4
+ for (const key of Object.keys(mod)) {
5
+ if (key !== "default") {
6
+ api[key] = mod[key];
7
+ }
8
+ }
9
+ }
10
+ module.exports = api;
package/dist/index.esm.js CHANGED
@@ -5993,4 +5993,3 @@ function incrementAlphaSequence(alpha) {
5993
5993
  }
5994
5994
 
5995
5995
  export { EarTag, Studio, StudioHeaders, types as StudioTypes, createAppManifest, Studio as default, lotComparator, nextLotNumber, sortByLotNumber };
5996
- //# sourceMappingURL=index.esm.js.map
package/dist/index.js CHANGED
@@ -6005,4 +6005,3 @@ exports.default = Studio;
6005
6005
  exports.lotComparator = lotComparator;
6006
6006
  exports.nextLotNumber = nextLotNumber;
6007
6007
  exports.sortByLotNumber = sortByLotNumber;
6008
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@marteye/studiojs",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "description": "MartEye Studio JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "source": "src/index.ts",
7
- "main": "dist/index.js",
7
+ "main": "dist/index.cjs",
8
8
  "module": "dist/index.esm.js",
9
9
  "types": "dist/index.d.ts",
10
10
  "browser": {
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "exports": {
17
17
  ".": {
18
- "require": "./dist/index.js",
18
+ "require": "./dist/index.cjs",
19
19
  "import": "./dist/index.esm.js",
20
20
  "types": "./dist/index.d.ts"
21
21
  }