@platforma-sdk/model 1.41.2 → 1.41.3

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/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PlatformaSDKVersion = "1.41.2";
1
+ export declare const PlatformaSDKVersion: string;
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,QAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/model",
3
- "version": "1.41.2",
3
+ "version": "1.41.3",
4
4
  "description": "Platforma.bio SDK / Block Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -38,11 +38,11 @@
38
38
  "@milaboratories/helpers": "^1.6.18"
39
39
  },
40
40
  "scripts": {
41
- "type-check": "node ./scripts/save-package-version.cjs && tsc --noEmit --composite false",
42
- "build": "node ./scripts/save-package-version.cjs && vite build",
41
+ "type-check": "tsc --noEmit --composite false",
42
+ "build": "vite build",
43
43
  "watch": "vite build --watch",
44
44
  "lint": "eslint .",
45
- "test": "node ./scripts/save-package-version.cjs && jest",
45
+ "test": "jest",
46
46
  "do-pack": "rm -f *.tgz && pnpm pack && mv *.tgz package.tgz"
47
47
  }
48
48
  }
package/src/version.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { version } from '../package.json';
2
+ export const PlatformaSDKVersion = version;
package/src/.gitignore DELETED
@@ -1 +0,0 @@
1
- version.ts