@adapt-toolkit/sdk 0.5.0 → 0.5.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.
@@ -904,7 +904,7 @@ var createEMSCModule = (() => {
904
904
  } instantiateAsync().catch(readyPromiseReject); return {}; }
905
905
  var tempDouble;
906
906
  var tempI64;
907
- var ASM_CONSTS = { 626104: function () { return Module.getRandomValue(); }, 626140: function () { if (Module.getRandomValue === undefined) {
907
+ var ASM_CONSTS = { 626120: function () { return Module.getRandomValue(); }, 626156: function () { if (Module.getRandomValue === undefined) {
908
908
  try {
909
909
  var window_ = "object" === typeof window ? window : self;
910
910
  var crypto_ = typeof window_.crypto !== "undefined" ? window_.crypto : window_.msCrypto;
Binary file
@@ -19,7 +19,7 @@ export var Protocol;
19
19
  /** @ignore */
20
20
  const builder = new AdaptObjectBuilder();
21
21
  /** @ignore */
22
- const unit_hash = 'B892269C2583DC57F67F83B9D283FEAFBB7AD4C6A1F3D9F42140CA69648039A6.muflo';
22
+ const unit_hash = 'BF38C2D4E98F56F473F78121CF9EAAC3492364F1A11A3B0F1F04C12D24285596.muflo';
23
23
  /** @ignore */
24
24
  function is_node() {
25
25
  return (typeof process === 'object' &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adapt-toolkit/sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "TypeScript SDK for the ADAPT framework. One install for browser, Node, and React Native; the runtime picks a native, WASM, or platform-native backend automatically.",
@@ -91,8 +91,9 @@
91
91
  "dist"
92
92
  ],
93
93
  "scripts": {
94
- "build": "tsc -b && npm run fix-imports",
94
+ "build": "tsc -b && npm run fix-imports && npm run copy-assets",
95
95
  "fix-imports": "find dist -type f \\( -name '*.js' -o -name '*.d.ts' \\) -exec sed -i \"s|from '#backend'|from '@adapt-toolkit/sdk/backend'|g\" {} +",
96
+ "copy-assets": "mkdir -p dist/wasm dist/mufl_files && cp src/wasm/mufl-bindings.wasm dist/wasm/ && cp src/mufl_files/*.muflo dist/mufl_files/",
96
97
  "clean": "tsc -b --clean"
97
98
  },
98
99
  "dependencies": {
@@ -105,7 +106,7 @@
105
106
  "ws": "^8.16.0"
106
107
  },
107
108
  "optionalDependencies": {
108
- "@adapt-toolkit/sdk-native": "0.5.0"
109
+ "@adapt-toolkit/sdk-native": "0.5.2"
109
110
  },
110
111
  "peerDependencies": {
111
112
  "@adapt-toolkit/sdk-react-native": "0.1.0"