@adapt-toolkit/sdk 0.5.8 → 0.5.9
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.
|
@@ -902,7 +902,7 @@ var createEMSCModule = (() => {
|
|
|
902
902
|
} instantiateAsync().catch(readyPromiseReject); return {}; }
|
|
903
903
|
var tempDouble;
|
|
904
904
|
var tempI64;
|
|
905
|
-
var ASM_CONSTS = {
|
|
905
|
+
var ASM_CONSTS = { 624664: function () { return Module.getRandomValue(); }, 624700: function () { if (Module.getRandomValue === undefined) {
|
|
906
906
|
try {
|
|
907
907
|
var window_ = "object" === typeof window ? window : self;
|
|
908
908
|
var crypto_ = typeof window_.crypto !== "undefined" ? window_.crypto : window_.msCrypto;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adapt-toolkit/sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
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.",
|
|
@@ -94,7 +94,8 @@
|
|
|
94
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
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/",
|
|
97
|
-
"clean": "tsc -b --clean"
|
|
97
|
+
"clean": "tsc -b --clean",
|
|
98
|
+
"test": "vitest run"
|
|
98
99
|
},
|
|
99
100
|
"dependencies": {
|
|
100
101
|
"async": "^3.2.5",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"ws": "^8.16.0"
|
|
107
108
|
},
|
|
108
109
|
"optionalDependencies": {
|
|
109
|
-
"@adapt-toolkit/sdk-native": "0.5.
|
|
110
|
+
"@adapt-toolkit/sdk-native": "0.5.9"
|
|
110
111
|
},
|
|
111
112
|
"peerDependencies": {
|
|
112
113
|
"@adapt-toolkit/sdk-react-native": "0.1.0"
|