wasm-idle 1.0.6 → 1.0.8
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/README.md +18 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/playground/assetBridge.d.ts +6 -1
- package/dist/playground/assetBridge.js +77 -4
- package/dist/playground/assets.d.ts +9 -1
- package/dist/playground/assets.js +29 -5
- package/dist/playground/awk.js +1 -0
- package/dist/playground/bash.d.ts +1 -0
- package/dist/playground/bash.js +7 -1
- package/dist/playground/bqn.js +1 -0
- package/dist/playground/bqnPreflight.d.ts +2 -1
- package/dist/playground/bqnPreflight.js +1 -0
- package/dist/playground/c3.js +1 -0
- package/dist/playground/cachedClang.js +15 -8
- package/dist/playground/clang.d.ts +1 -0
- package/dist/playground/clang.js +8 -1
- package/dist/playground/clangAssetIntegrity.d.ts +6 -0
- package/dist/playground/clangAssetIntegrity.js +3 -2
- package/dist/playground/clojurescript.js +1 -0
- package/dist/playground/clojurescriptPreflight.d.ts +2 -1
- package/dist/playground/clojurescriptPreflight.js +1 -0
- package/dist/playground/elixir.js +4 -1
- package/dist/playground/forth.js +1 -0
- package/dist/playground/forthPreflight.d.ts +2 -1
- package/dist/playground/forthPreflight.js +1 -0
- package/dist/playground/fortran.js +7 -1
- package/dist/playground/haskell.js +4 -1
- package/dist/playground/haskellAssets.d.ts +2 -1
- package/dist/playground/haskellAssets.js +8 -8
- package/dist/playground/index.d.ts +1 -1
- package/dist/playground/index.js +2 -2
- package/dist/playground/j.js +1 -0
- package/dist/playground/jPreflight.d.ts +2 -1
- package/dist/playground/jPreflight.js +1 -0
- package/dist/playground/janet.js +1 -0
- package/dist/playground/java.js +20 -8
- package/dist/playground/julia.js +1 -0
- package/dist/playground/lfortranAssets.d.ts +2 -1
- package/dist/playground/lfortranAssets.js +1 -0
- package/dist/playground/lisp.js +4 -1
- package/dist/playground/lispAssets.d.ts +2 -1
- package/dist/playground/lispAssets.js +10 -0
- package/dist/playground/lldbManifest.d.ts +2 -2
- package/dist/playground/lldbManifest.js +17 -3
- package/dist/playground/lldbSession.d.ts +1 -0
- package/dist/playground/lldbSession.js +2 -1
- package/dist/playground/nim.js +1 -0
- package/dist/playground/ocaml.d.ts +1 -0
- package/dist/playground/ocaml.js +12 -1
- package/dist/playground/options.d.ts +2 -0
- package/dist/playground/pascal.js +1 -0
- package/dist/playground/perl.js +1 -0
- package/dist/playground/prolog.js +1 -0
- package/dist/playground/python.js +3 -1
- package/dist/playground/runtimeSession.d.ts +2 -1
- package/dist/playground/runtimeSession.js +2 -2
- package/dist/playground/rust.d.ts +1 -0
- package/dist/playground/rust.js +11 -1
- package/dist/playground/rustExecutableGraph.d.ts +1 -0
- package/dist/playground/rustExecutableGraph.js +1 -0
- package/dist/playground/staticRuntimePreflight.d.ts +2 -1
- package/dist/playground/staticRuntimePreflight.js +4 -2
- package/dist/playground/staticRuntimePreflightExecute.js +1 -0
- package/dist/playground/staticRuntimePreflightProtocol.d.ts +2 -1
- package/dist/playground/staticWorkerRuntime.d.ts +3 -1
- package/dist/playground/staticWorkerRuntime.js +44 -3
- package/dist/playground/tcl.js +1 -0
- package/dist/playground/tinygo.d.ts +2 -0
- package/dist/playground/tinygo.js +57 -3
- package/dist/playground/tinygoExecutableGraph.d.ts +4 -1
- package/dist/playground/tinygoExecutableGraph.js +59 -7
- package/dist/playground/typescript.js +4 -1
- package/dist/playground/wasmGoVersion.d.ts +1 -1
- package/dist/playground/wasmGoVersion.js +1 -1
- package/dist/playground/wasmOcamlVersion.d.ts +2 -2
- package/dist/playground/wasmOcamlVersion.js +1 -1
- package/dist/playground/wasmRustVersion.d.ts +90 -24
- package/dist/playground/wasmRustVersion.js +98 -23
- package/dist/playground/wasmTinyGoVersion.d.ts +40 -29
- package/dist/playground/wasmTinyGoVersion.js +43 -31
- package/dist/playground/worker/clang.js +1 -5
- package/dist/playground/worker/elixir.js +10 -8
- package/dist/playground/worker/fortran.js +4 -7
- package/dist/playground/worker/haskell.js +2 -0
- package/dist/playground/worker/lisp.js +2 -0
- package/dist/playground/worker/ocaml.js +13 -1
- package/dist/playground/worker/runtimeAssetFetch.d.ts +11 -1
- package/dist/playground/worker/runtimeAssetFetch.js +64 -1
- package/dist/playground/worker/rust.js +9 -2
- package/dist/playground/worker/staticRuntimePreflight.js +2 -0
- package/dist/playground/worker/typescript.js +4 -1
- package/dist/playground/worker/zig.js +7 -4
- package/dist/playground/zig.js +4 -1
- package/package.json +10 -7
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RUNTIME_REGISTRY_MANIFEST_SCHEMA_VERSION, RuntimeConfigurationError, preflightRuntimeAssets } from '@wasm-idle/core';
|
|
2
|
+
import { decompressGzip } from '@wasm-idle/llvm-core';
|
|
2
3
|
export const TINYGO_EXECUTABLE_GRAPH_FORMAT = 'wasm-idle-tinygo-executable-graph-v1';
|
|
3
4
|
export const TINYGO_EXECUTABLE_GRAPH_FINGERPRINT_DOMAIN = 'wasm-idle:tinygo-executable-graph:v1\n';
|
|
4
5
|
const SHA256_PATTERN = /^[a-f0-9]{64}$/u;
|
|
@@ -92,8 +93,16 @@ export function snapshotTinyGoExecutableGraphProfile(value) {
|
|
|
92
93
|
const modules = {};
|
|
93
94
|
for (const rawPath of modulePaths) {
|
|
94
95
|
const modulePath = requireSafePath(rawPath, 'TinyGo executable module path');
|
|
96
|
+
const binary = /^assets\/upstream-binaryen-[a-f0-9]{16}\.wasm\.gz\.bin$/.test(modulePath);
|
|
97
|
+
if (!modulePath.endsWith('.js') && !binary)
|
|
98
|
+
throw configurationError('Unsupported TinyGo graph asset path');
|
|
95
99
|
const sourceModule = requireRecord(sourceModules[rawPath], `TinyGo executable module ${modulePath}`);
|
|
96
|
-
requireExactKeys(sourceModule, [
|
|
100
|
+
requireExactKeys(sourceModule, [
|
|
101
|
+
'bytes',
|
|
102
|
+
'sha256',
|
|
103
|
+
'imports',
|
|
104
|
+
...(binary ? ['uncompressedBytes', 'uncompressedSha256'] : [])
|
|
105
|
+
], `TinyGo executable module ${modulePath}`);
|
|
97
106
|
if (!Number.isSafeInteger(sourceModule.bytes) || Number(sourceModule.bytes) <= 0) {
|
|
98
107
|
throw configurationError(`TinyGo executable module ${modulePath} has an invalid size`);
|
|
99
108
|
}
|
|
@@ -104,6 +113,15 @@ export function snapshotTinyGoExecutableGraphProfile(value) {
|
|
|
104
113
|
throw configurationError(`TinyGo executable module ${modulePath} imports must be an array`);
|
|
105
114
|
}
|
|
106
115
|
const specifiers = new Set();
|
|
116
|
+
if (binary &&
|
|
117
|
+
(sourceModule.imports.length ||
|
|
118
|
+
!Number.isSafeInteger(sourceModule.uncompressedBytes) ||
|
|
119
|
+
Number(sourceModule.uncompressedBytes) < 8 ||
|
|
120
|
+
Number(sourceModule.uncompressedBytes) > 64 * 1024 * 1024 ||
|
|
121
|
+
typeof sourceModule.uncompressedSha256 !== 'string' ||
|
|
122
|
+
!SHA256_PATTERN.test(sourceModule.uncompressedSha256))) {
|
|
123
|
+
throw configurationError('Binaryen Wasm has invalid logical receipts or imports');
|
|
124
|
+
}
|
|
107
125
|
const imports = sourceModule.imports.map((rawImport, index) => {
|
|
108
126
|
const graphImport = requireRecord(rawImport, `TinyGo executable module ${modulePath} import ${index}`);
|
|
109
127
|
requireExactKeys(graphImport, ['specifier', 'target', 'kind'], `TinyGo executable module ${modulePath} import ${index}`);
|
|
@@ -113,12 +131,14 @@ export function snapshotTinyGoExecutableGraphProfile(value) {
|
|
|
113
131
|
throw configurationError(`TinyGo executable module ${modulePath} has an invalid or duplicate import specifier`);
|
|
114
132
|
}
|
|
115
133
|
specifiers.add(specifier);
|
|
116
|
-
if (!['static', 'dynamic', 'worker'].includes(String(graphImport.kind))) {
|
|
134
|
+
if (!['static', 'dynamic', 'worker', 'asset'].includes(String(graphImport.kind))) {
|
|
117
135
|
throw configurationError(`TinyGo executable module ${modulePath} import ${specifier} has an invalid kind`);
|
|
118
136
|
}
|
|
119
137
|
if (resolveImportTarget(modulePath, specifier) !== target) {
|
|
120
138
|
throw configurationError(`TinyGo executable module ${modulePath} import ${specifier} does not resolve to ${target}`);
|
|
121
139
|
}
|
|
140
|
+
if ((graphImport.kind === 'asset') !== target.endsWith('.wasm.gz.bin'))
|
|
141
|
+
throw configurationError('TinyGo graph import kind does not match its target');
|
|
122
142
|
importCount += 1;
|
|
123
143
|
if (importCount > MAX_IMPORTS) {
|
|
124
144
|
throw configurationError(`TinyGo executable graph exceeds ${MAX_IMPORTS} imports`);
|
|
@@ -132,10 +152,16 @@ export function snapshotTinyGoExecutableGraphProfile(value) {
|
|
|
132
152
|
modules[modulePath] = Object.freeze({
|
|
133
153
|
bytes: Number(sourceModule.bytes),
|
|
134
154
|
sha256: sourceModule.sha256,
|
|
155
|
+
...(binary
|
|
156
|
+
? {
|
|
157
|
+
uncompressedBytes: Number(sourceModule.uncompressedBytes),
|
|
158
|
+
uncompressedSha256: sourceModule.uncompressedSha256
|
|
159
|
+
}
|
|
160
|
+
: {}),
|
|
135
161
|
imports: Object.freeze(imports)
|
|
136
162
|
});
|
|
137
163
|
}
|
|
138
|
-
if (!Object.prototype.hasOwnProperty.call(modules, entryPath)) {
|
|
164
|
+
if (!Object.prototype.hasOwnProperty.call(modules, entryPath) || !entryPath.endsWith('.js')) {
|
|
139
165
|
throw configurationError('TinyGo executable graph entry module is missing');
|
|
140
166
|
}
|
|
141
167
|
for (const [modulePath, module] of Object.entries(modules)) {
|
|
@@ -179,6 +205,8 @@ export function canonicalTinyGoExecutableGraphProfile(profile) {
|
|
|
179
205
|
for (const modulePath of paths) {
|
|
180
206
|
const module = profile.modules[modulePath];
|
|
181
207
|
canonical += `module\0${modulePath}\0${module.bytes}\0${module.sha256}\n`;
|
|
208
|
+
if (module.uncompressedBytes !== undefined)
|
|
209
|
+
canonical += `wasm\0${modulePath}\0${module.uncompressedBytes}\0${module.uncompressedSha256}\n`;
|
|
182
210
|
}
|
|
183
211
|
const edges = paths.flatMap((modulePath) => profile.modules[modulePath].imports.map((graphImport) => ({
|
|
184
212
|
importer: modulePath,
|
|
@@ -312,11 +340,15 @@ function createPreflightManifest(profile, keysByPath) {
|
|
|
312
340
|
key: keysByPath[modulePath],
|
|
313
341
|
path: modulePath,
|
|
314
342
|
compressedSha256: receipt.sha256,
|
|
315
|
-
uncompressedSha256: receipt.sha256,
|
|
343
|
+
uncompressedSha256: receipt.uncompressedSha256 ?? receipt.sha256,
|
|
316
344
|
compressedBytes: receipt.bytes,
|
|
317
|
-
uncompressedBytes: receipt.bytes,
|
|
318
|
-
mediaType:
|
|
319
|
-
|
|
345
|
+
uncompressedBytes: receipt.uncompressedBytes ?? receipt.bytes,
|
|
346
|
+
mediaType: receipt.uncompressedBytes !== undefined
|
|
347
|
+
? 'application/wasm'
|
|
348
|
+
: 'text/javascript',
|
|
349
|
+
encoding: receipt.uncompressedBytes !== undefined
|
|
350
|
+
? 'gzip'
|
|
351
|
+
: 'identity'
|
|
320
352
|
};
|
|
321
353
|
}),
|
|
322
354
|
contracts: {
|
|
@@ -357,6 +389,7 @@ export async function loadVerifiedTinyGoExecutableGraph(options) {
|
|
|
357
389
|
if (options.assetTimeoutMs !== undefined)
|
|
358
390
|
limits.assetTimeoutMs = options.assetTimeoutMs;
|
|
359
391
|
const preflight = await preflightRuntimeAssets({
|
|
392
|
+
persistentCache: options.persistentCache,
|
|
360
393
|
manifest: createPreflightManifest(profile, urls.keysByPath),
|
|
361
394
|
runtimeId: 'tinygo/executable-graph',
|
|
362
395
|
rootUrl: urls.baseUrl,
|
|
@@ -378,7 +411,17 @@ export async function loadVerifiedTinyGoExecutableGraph(options) {
|
|
|
378
411
|
: undefined
|
|
379
412
|
});
|
|
380
413
|
const sources = {};
|
|
414
|
+
const binaries = {};
|
|
381
415
|
for (const modulePath of Object.keys(profile.modules)) {
|
|
416
|
+
const receipt = profile.modules[modulePath];
|
|
417
|
+
if (receipt.uncompressedBytes !== undefined) {
|
|
418
|
+
const bytes = await decompressGzip(preflight.assets[urls.keysByPath[modulePath]].bytes, modulePath, receipt.uncompressedBytes, options.signal);
|
|
419
|
+
if (bytes.byteLength !== receipt.uncompressedBytes ||
|
|
420
|
+
(await sha256Hex(bytes, options.signal)) !== receipt.uncompressedSha256)
|
|
421
|
+
throw configurationError('Binaryen Wasm logical receipt mismatch');
|
|
422
|
+
binaries[modulePath] = bytes;
|
|
423
|
+
continue;
|
|
424
|
+
}
|
|
382
425
|
try {
|
|
383
426
|
sources[modulePath] = fatalDecoder.decode(preflight.assets[urls.keysByPath[modulePath]].bytes);
|
|
384
427
|
}
|
|
@@ -420,6 +463,15 @@ export async function loadVerifiedTinyGoExecutableGraph(options) {
|
|
|
420
463
|
};
|
|
421
464
|
try {
|
|
422
465
|
for (const modulePath of order) {
|
|
466
|
+
if (profile.modules[modulePath].uncompressedBytes !== undefined) {
|
|
467
|
+
const bytes = binaries[modulePath];
|
|
468
|
+
const blobUrl = URL.createObjectURL(new Blob([Uint8Array.from(bytes)], { type: 'application/wasm' }));
|
|
469
|
+
ownedUrls.push(blobUrl);
|
|
470
|
+
if (!SAFE_BLOB_URL_PATTERN.test(blobUrl))
|
|
471
|
+
throw configurationError('TinyGo graph received an unsafe Wasm Blob URL');
|
|
472
|
+
moduleUrls[modulePath] = blobUrl;
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
423
475
|
let source = sources[modulePath];
|
|
424
476
|
for (const graphImport of profile.modules[modulePath].imports) {
|
|
425
477
|
source = replaceUniqueSpecifier(source, graphImport.specifier, moduleUrls[graphImport.target], modulePath);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveTypeScriptModuleUrl } from './assets';
|
|
2
|
-
import { AssetTooLargeError, BusyError, CancelledError, DEFAULT_WORKSPACE_LIMITS, DiagnosticLimitError, OutputLimitError, RuntimeConfigurationError, TimeoutError, resolveExecutionLimits, validateExecutionWorkspace } from '@wasm-idle/core';
|
|
2
|
+
import { AssetTooLargeError, BusyError, CancelledError, DEFAULT_WORKSPACE_LIMITS, DiagnosticLimitError, OutputLimitError, RuntimeConfigurationError, TimeoutError, resolveExecutionLimits, resolveRuntimeAssetCacheOptions, validateExecutionWorkspace } from '@wasm-idle/core';
|
|
3
3
|
import {} from './options';
|
|
4
4
|
import { flushBufferedEof, flushQueuedStdin, resetBufferedStdin } from './stdinBuffer';
|
|
5
5
|
import { createWasmIdleSharedBuffer } from './sharedBuffer';
|
|
@@ -477,6 +477,9 @@ class TypeScriptSandbox {
|
|
|
477
477
|
}
|
|
478
478
|
worker.postMessage({
|
|
479
479
|
load: true,
|
|
480
|
+
persistentCache: resolveRuntimeAssetCacheOptions(typeof runtimeAssets === 'object'
|
|
481
|
+
? runtimeAssets?.persistentCache
|
|
482
|
+
: undefined, options.persistentCache),
|
|
480
483
|
moduleUrl: nextModuleUrl,
|
|
481
484
|
moduleReceipt: { ...moduleReceipt },
|
|
482
485
|
maxAssetBytes: limits.maxAssetBytes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WASM_GO_ASSET_VERSION = "
|
|
1
|
+
export declare const WASM_GO_ASSET_VERSION = "c92a5b9dc0c99663";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const WASM_GO_ASSET_VERSION = '
|
|
1
|
+
export const WASM_GO_ASSET_VERSION = 'c92a5b9dc0c99663';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const WASM_OCAML_ASSET_VERSION = "
|
|
1
|
+
export declare const WASM_OCAML_ASSET_VERSION = "0c26bdcda532857e22b68ae61490c18006d3d58e5a06351e48c6c0dfd439c147";
|
|
2
2
|
export declare const WASM_OCAML_RUNTIME_PROFILE: Readonly<{
|
|
3
|
-
fingerprint: "
|
|
3
|
+
fingerprint: "0c26bdcda532857e22b68ae61490c18006d3d58e5a06351e48c6c0dfd439c147";
|
|
4
4
|
moduleReceipt: Readonly<{
|
|
5
5
|
bytes: 1892;
|
|
6
6
|
sha256: "17d80beb633799e9021dc1b851bc76283494d981ec20fc315462d740284fa13a";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const WASM_OCAML_ASSET_VERSION = '
|
|
1
|
+
export const WASM_OCAML_ASSET_VERSION = '0c26bdcda532857e22b68ae61490c18006d3d58e5a06351e48c6c0dfd439c147';
|
|
2
2
|
export const WASM_OCAML_RUNTIME_PROFILE = Object.freeze({
|
|
3
3
|
fingerprint: WASM_OCAML_ASSET_VERSION,
|
|
4
4
|
moduleReceipt: Object.freeze({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const WASM_RUST_RUNTIME_PROFILE: Readonly<{
|
|
2
|
-
readonly profileId: "wasm-rust-
|
|
2
|
+
readonly profileId: "wasm-rust-292ad2fd5b130d101e8b8c853e702942649011d26ce42660babd35b2b61aff00";
|
|
3
3
|
readonly protocolVersion: 1;
|
|
4
4
|
readonly manifestPath: "runtime/runtime-manifest.v3.json";
|
|
5
|
-
readonly manifestFingerprint: "
|
|
5
|
+
readonly manifestFingerprint: "292ad2fd5b130d101e8b8c853e702942649011d26ce42660babd35b2b61aff00";
|
|
6
6
|
readonly manifestReceipt: {
|
|
7
7
|
readonly bytes: 6185;
|
|
8
8
|
readonly sha256: "30b210003632395a1effd19f7a46565d5f8c52a9d3a28a310fa24219f97a5a9a";
|
|
@@ -264,12 +264,12 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
264
264
|
readonly encoding: "identity";
|
|
265
265
|
};
|
|
266
266
|
readonly storage: {
|
|
267
|
-
readonly bytes:
|
|
268
|
-
readonly sha256: "
|
|
267
|
+
readonly bytes: 7403;
|
|
268
|
+
readonly sha256: "644aa8d25bd4adbb190d07a0bc23923149a912dee7b511e25809fb67312c89a9";
|
|
269
269
|
};
|
|
270
270
|
readonly logical: {
|
|
271
|
-
readonly bytes:
|
|
272
|
-
readonly sha256: "
|
|
271
|
+
readonly bytes: 7403;
|
|
272
|
+
readonly sha256: "644aa8d25bd4adbb190d07a0bc23923149a912dee7b511e25809fb67312c89a9";
|
|
273
273
|
};
|
|
274
274
|
readonly imports: readonly [{
|
|
275
275
|
readonly kind: "dynamic";
|
|
@@ -319,6 +319,10 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
319
319
|
readonly kind: "static";
|
|
320
320
|
readonly specifier: "./compiler-runtime.js";
|
|
321
321
|
readonly target: "compiler-runtime.js";
|
|
322
|
+
}, {
|
|
323
|
+
readonly kind: "static";
|
|
324
|
+
readonly specifier: "./runtime-asset-cache.js";
|
|
325
|
+
readonly target: "runtime-asset-cache.js";
|
|
322
326
|
}, {
|
|
323
327
|
readonly kind: "static";
|
|
324
328
|
readonly specifier: "./runtime-asset.js";
|
|
@@ -337,12 +341,12 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
337
341
|
readonly encoding: "identity";
|
|
338
342
|
};
|
|
339
343
|
readonly storage: {
|
|
340
|
-
readonly bytes:
|
|
341
|
-
readonly sha256: "
|
|
344
|
+
readonly bytes: 3418;
|
|
345
|
+
readonly sha256: "86f2b34128ce97c050f8c9245781b211e229073cef6a3ed4c6cfef92652902c7";
|
|
342
346
|
};
|
|
343
347
|
readonly logical: {
|
|
344
|
-
readonly bytes:
|
|
345
|
-
readonly sha256: "
|
|
348
|
+
readonly bytes: 3418;
|
|
349
|
+
readonly sha256: "86f2b34128ce97c050f8c9245781b211e229073cef6a3ed4c6cfef92652902c7";
|
|
346
350
|
};
|
|
347
351
|
readonly imports: readonly [{
|
|
348
352
|
readonly kind: "static";
|
|
@@ -383,12 +387,12 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
383
387
|
readonly encoding: "identity";
|
|
384
388
|
};
|
|
385
389
|
readonly storage: {
|
|
386
|
-
readonly bytes:
|
|
387
|
-
readonly sha256: "
|
|
390
|
+
readonly bytes: 22093;
|
|
391
|
+
readonly sha256: "72cd8fe5c7999ffa6e144b3d6ea3691686843063dc8405274c2573f1ea8356a2";
|
|
388
392
|
};
|
|
389
393
|
readonly logical: {
|
|
390
|
-
readonly bytes:
|
|
391
|
-
readonly sha256: "
|
|
394
|
+
readonly bytes: 22093;
|
|
395
|
+
readonly sha256: "72cd8fe5c7999ffa6e144b3d6ea3691686843063dc8405274c2573f1ea8356a2";
|
|
392
396
|
};
|
|
393
397
|
readonly imports: readonly [{
|
|
394
398
|
readonly kind: "static";
|
|
@@ -406,6 +410,14 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
406
410
|
readonly kind: "static";
|
|
407
411
|
readonly specifier: "./retryable-failure-kind.js";
|
|
408
412
|
readonly target: "retryable-failure-kind.js";
|
|
413
|
+
}, {
|
|
414
|
+
readonly kind: "static";
|
|
415
|
+
readonly specifier: "./runtime-asset-cache-service.js";
|
|
416
|
+
readonly target: "runtime-asset-cache-service.js";
|
|
417
|
+
}, {
|
|
418
|
+
readonly kind: "static";
|
|
419
|
+
readonly specifier: "./runtime-asset-cache.js";
|
|
420
|
+
readonly target: "runtime-asset-cache.js";
|
|
409
421
|
}, {
|
|
410
422
|
readonly kind: "static";
|
|
411
423
|
readonly specifier: "./runtime-asset-store.js";
|
|
@@ -456,12 +468,12 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
456
468
|
readonly encoding: "identity";
|
|
457
469
|
};
|
|
458
470
|
readonly storage: {
|
|
459
|
-
readonly bytes:
|
|
460
|
-
readonly sha256: "
|
|
471
|
+
readonly bytes: 35115;
|
|
472
|
+
readonly sha256: "6fd676dfda595610d41e44e80f90f9330aee5326d5daf42cb935a28b48dffc2b";
|
|
461
473
|
};
|
|
462
474
|
readonly logical: {
|
|
463
|
-
readonly bytes:
|
|
464
|
-
readonly sha256: "
|
|
475
|
+
readonly bytes: 35115;
|
|
476
|
+
readonly sha256: "6fd676dfda595610d41e44e80f90f9330aee5326d5daf42cb935a28b48dffc2b";
|
|
465
477
|
};
|
|
466
478
|
readonly imports: readonly [{
|
|
467
479
|
readonly kind: "static";
|
|
@@ -491,6 +503,18 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
491
503
|
readonly kind: "static";
|
|
492
504
|
readonly specifier: "./retryable-failure-kind.js";
|
|
493
505
|
readonly target: "retryable-failure-kind.js";
|
|
506
|
+
}, {
|
|
507
|
+
readonly kind: "static";
|
|
508
|
+
readonly specifier: "./runtime-asset-cache-service.js";
|
|
509
|
+
readonly target: "runtime-asset-cache-service.js";
|
|
510
|
+
}, {
|
|
511
|
+
readonly kind: "static";
|
|
512
|
+
readonly specifier: "./runtime-asset-cache.js";
|
|
513
|
+
readonly target: "runtime-asset-cache.js";
|
|
514
|
+
}, {
|
|
515
|
+
readonly kind: "static";
|
|
516
|
+
readonly specifier: "./runtime-asset.js";
|
|
517
|
+
readonly target: "runtime-asset.js";
|
|
494
518
|
}, {
|
|
495
519
|
readonly kind: "static";
|
|
496
520
|
readonly specifier: "./runtime-delivery-budget.js";
|
|
@@ -586,6 +610,44 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
586
610
|
readonly assets: readonly [];
|
|
587
611
|
readonly externals: readonly [];
|
|
588
612
|
};
|
|
613
|
+
readonly 'runtime-asset-cache-service.js': {
|
|
614
|
+
readonly delivery: {
|
|
615
|
+
readonly storagePath: "runtime-asset-cache-service.js.bin";
|
|
616
|
+
readonly encoding: "identity";
|
|
617
|
+
};
|
|
618
|
+
readonly storage: {
|
|
619
|
+
readonly bytes: 7031;
|
|
620
|
+
readonly sha256: "10b01ffd98193be3e7506586fc8886f881b7a3459cbbbc4311b51e1485f4f917";
|
|
621
|
+
};
|
|
622
|
+
readonly logical: {
|
|
623
|
+
readonly bytes: 7031;
|
|
624
|
+
readonly sha256: "10b01ffd98193be3e7506586fc8886f881b7a3459cbbbc4311b51e1485f4f917";
|
|
625
|
+
};
|
|
626
|
+
readonly imports: readonly [{
|
|
627
|
+
readonly kind: "static";
|
|
628
|
+
readonly specifier: "./runtime-asset-cache.js";
|
|
629
|
+
readonly target: "runtime-asset-cache.js";
|
|
630
|
+
}];
|
|
631
|
+
readonly assets: readonly [];
|
|
632
|
+
readonly externals: readonly [];
|
|
633
|
+
};
|
|
634
|
+
readonly 'runtime-asset-cache.js': {
|
|
635
|
+
readonly delivery: {
|
|
636
|
+
readonly storagePath: "runtime-asset-cache.js.bin";
|
|
637
|
+
readonly encoding: "identity";
|
|
638
|
+
};
|
|
639
|
+
readonly storage: {
|
|
640
|
+
readonly bytes: 997;
|
|
641
|
+
readonly sha256: "47d7369975b19ef51a0c85da30638b995c9c5ba40b6cabe2979ec2d2b7ba8fef";
|
|
642
|
+
};
|
|
643
|
+
readonly logical: {
|
|
644
|
+
readonly bytes: 997;
|
|
645
|
+
readonly sha256: "47d7369975b19ef51a0c85da30638b995c9c5ba40b6cabe2979ec2d2b7ba8fef";
|
|
646
|
+
};
|
|
647
|
+
readonly imports: readonly [];
|
|
648
|
+
readonly assets: readonly [];
|
|
649
|
+
readonly externals: readonly [];
|
|
650
|
+
};
|
|
589
651
|
readonly 'runtime-asset-store.js': {
|
|
590
652
|
readonly delivery: {
|
|
591
653
|
readonly storagePath: "runtime-asset-store.js.bin";
|
|
@@ -617,14 +679,18 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
617
679
|
readonly encoding: "identity";
|
|
618
680
|
};
|
|
619
681
|
readonly storage: {
|
|
620
|
-
readonly bytes:
|
|
621
|
-
readonly sha256: "
|
|
682
|
+
readonly bytes: 25746;
|
|
683
|
+
readonly sha256: "5f09c428431e3f3226673b537fc1277ba71dc42bdaf2937e18275a8844e044f8";
|
|
622
684
|
};
|
|
623
685
|
readonly logical: {
|
|
624
|
-
readonly bytes:
|
|
625
|
-
readonly sha256: "
|
|
686
|
+
readonly bytes: 25746;
|
|
687
|
+
readonly sha256: "5f09c428431e3f3226673b537fc1277ba71dc42bdaf2937e18275a8844e044f8";
|
|
626
688
|
};
|
|
627
689
|
readonly imports: readonly [{
|
|
690
|
+
readonly kind: "static";
|
|
691
|
+
readonly specifier: "./runtime-asset-cache.js";
|
|
692
|
+
readonly target: "runtime-asset-cache.js";
|
|
693
|
+
}, {
|
|
628
694
|
readonly kind: "static";
|
|
629
695
|
readonly specifier: "./runtime-delivery-budget.js";
|
|
630
696
|
readonly target: "runtime-delivery-budget.js";
|
|
@@ -1355,6 +1421,6 @@ export declare const WASM_RUST_EXECUTABLE_GRAPH_PROFILE: Readonly<{
|
|
|
1355
1421
|
readonly externals: readonly [];
|
|
1356
1422
|
};
|
|
1357
1423
|
};
|
|
1358
|
-
readonly fingerprint: "
|
|
1424
|
+
readonly fingerprint: "7d1b409ad0953dfe170cb7d34aeaf790ae82599cdd1520c22d777a35cab368a0";
|
|
1359
1425
|
}>;
|
|
1360
|
-
export declare const WASM_RUST_ASSET_VERSION: "
|
|
1426
|
+
export declare const WASM_RUST_ASSET_VERSION: "292ad2fd5b130d101e8b8c853e702942649011d26ce42660babd35b2b61aff00";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const WASM_RUST_RUNTIME_PROFILE = Object.freeze({
|
|
2
|
-
profileId: 'wasm-rust-
|
|
2
|
+
profileId: 'wasm-rust-292ad2fd5b130d101e8b8c853e702942649011d26ce42660babd35b2b61aff00',
|
|
3
3
|
protocolVersion: 1,
|
|
4
4
|
manifestPath: 'runtime/runtime-manifest.v3.json',
|
|
5
|
-
manifestFingerprint: '
|
|
5
|
+
manifestFingerprint: '292ad2fd5b130d101e8b8c853e702942649011d26ce42660babd35b2b61aff00',
|
|
6
6
|
manifestReceipt: {
|
|
7
7
|
bytes: 6185,
|
|
8
8
|
sha256: '30b210003632395a1effd19f7a46565d5f8c52a9d3a28a310fa24219f97a5a9a'
|
|
@@ -289,12 +289,12 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
289
289
|
encoding: 'identity'
|
|
290
290
|
},
|
|
291
291
|
storage: {
|
|
292
|
-
bytes:
|
|
293
|
-
sha256: '
|
|
292
|
+
bytes: 7403,
|
|
293
|
+
sha256: '644aa8d25bd4adbb190d07a0bc23923149a912dee7b511e25809fb67312c89a9'
|
|
294
294
|
},
|
|
295
295
|
logical: {
|
|
296
|
-
bytes:
|
|
297
|
-
sha256: '
|
|
296
|
+
bytes: 7403,
|
|
297
|
+
sha256: '644aa8d25bd4adbb190d07a0bc23923149a912dee7b511e25809fb67312c89a9'
|
|
298
298
|
},
|
|
299
299
|
imports: [
|
|
300
300
|
{
|
|
@@ -357,6 +357,11 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
357
357
|
specifier: './compiler-runtime.js',
|
|
358
358
|
target: 'compiler-runtime.js'
|
|
359
359
|
},
|
|
360
|
+
{
|
|
361
|
+
kind: 'static',
|
|
362
|
+
specifier: './runtime-asset-cache.js',
|
|
363
|
+
target: 'runtime-asset-cache.js'
|
|
364
|
+
},
|
|
360
365
|
{
|
|
361
366
|
kind: 'static',
|
|
362
367
|
specifier: './runtime-asset.js',
|
|
@@ -377,12 +382,12 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
377
382
|
encoding: 'identity'
|
|
378
383
|
},
|
|
379
384
|
storage: {
|
|
380
|
-
bytes:
|
|
381
|
-
sha256: '
|
|
385
|
+
bytes: 3418,
|
|
386
|
+
sha256: '86f2b34128ce97c050f8c9245781b211e229073cef6a3ed4c6cfef92652902c7'
|
|
382
387
|
},
|
|
383
388
|
logical: {
|
|
384
|
-
bytes:
|
|
385
|
-
sha256: '
|
|
389
|
+
bytes: 3418,
|
|
390
|
+
sha256: '86f2b34128ce97c050f8c9245781b211e229073cef6a3ed4c6cfef92652902c7'
|
|
386
391
|
},
|
|
387
392
|
imports: [
|
|
388
393
|
{
|
|
@@ -427,12 +432,12 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
427
432
|
encoding: 'identity'
|
|
428
433
|
},
|
|
429
434
|
storage: {
|
|
430
|
-
bytes:
|
|
431
|
-
sha256: '
|
|
435
|
+
bytes: 22093,
|
|
436
|
+
sha256: '72cd8fe5c7999ffa6e144b3d6ea3691686843063dc8405274c2573f1ea8356a2'
|
|
432
437
|
},
|
|
433
438
|
logical: {
|
|
434
|
-
bytes:
|
|
435
|
-
sha256: '
|
|
439
|
+
bytes: 22093,
|
|
440
|
+
sha256: '72cd8fe5c7999ffa6e144b3d6ea3691686843063dc8405274c2573f1ea8356a2'
|
|
436
441
|
},
|
|
437
442
|
imports: [
|
|
438
443
|
{
|
|
@@ -455,6 +460,16 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
455
460
|
specifier: './retryable-failure-kind.js',
|
|
456
461
|
target: 'retryable-failure-kind.js'
|
|
457
462
|
},
|
|
463
|
+
{
|
|
464
|
+
kind: 'static',
|
|
465
|
+
specifier: './runtime-asset-cache-service.js',
|
|
466
|
+
target: 'runtime-asset-cache-service.js'
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
kind: 'static',
|
|
470
|
+
specifier: './runtime-asset-cache.js',
|
|
471
|
+
target: 'runtime-asset-cache.js'
|
|
472
|
+
},
|
|
458
473
|
{
|
|
459
474
|
kind: 'static',
|
|
460
475
|
specifier: './runtime-asset-store.js',
|
|
@@ -515,12 +530,12 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
515
530
|
encoding: 'identity'
|
|
516
531
|
},
|
|
517
532
|
storage: {
|
|
518
|
-
bytes:
|
|
519
|
-
sha256: '
|
|
533
|
+
bytes: 35115,
|
|
534
|
+
sha256: '6fd676dfda595610d41e44e80f90f9330aee5326d5daf42cb935a28b48dffc2b'
|
|
520
535
|
},
|
|
521
536
|
logical: {
|
|
522
|
-
bytes:
|
|
523
|
-
sha256: '
|
|
537
|
+
bytes: 35115,
|
|
538
|
+
sha256: '6fd676dfda595610d41e44e80f90f9330aee5326d5daf42cb935a28b48dffc2b'
|
|
524
539
|
},
|
|
525
540
|
imports: [
|
|
526
541
|
{
|
|
@@ -558,6 +573,21 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
558
573
|
specifier: './retryable-failure-kind.js',
|
|
559
574
|
target: 'retryable-failure-kind.js'
|
|
560
575
|
},
|
|
576
|
+
{
|
|
577
|
+
kind: 'static',
|
|
578
|
+
specifier: './runtime-asset-cache-service.js',
|
|
579
|
+
target: 'runtime-asset-cache-service.js'
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
kind: 'static',
|
|
583
|
+
specifier: './runtime-asset-cache.js',
|
|
584
|
+
target: 'runtime-asset-cache.js'
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
kind: 'static',
|
|
588
|
+
specifier: './runtime-asset.js',
|
|
589
|
+
target: 'runtime-asset.js'
|
|
590
|
+
},
|
|
561
591
|
{
|
|
562
592
|
kind: 'static',
|
|
563
593
|
specifier: './runtime-delivery-budget.js',
|
|
@@ -664,6 +694,46 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
664
694
|
assets: [],
|
|
665
695
|
externals: []
|
|
666
696
|
},
|
|
697
|
+
'runtime-asset-cache-service.js': {
|
|
698
|
+
delivery: {
|
|
699
|
+
storagePath: 'runtime-asset-cache-service.js.bin',
|
|
700
|
+
encoding: 'identity'
|
|
701
|
+
},
|
|
702
|
+
storage: {
|
|
703
|
+
bytes: 7031,
|
|
704
|
+
sha256: '10b01ffd98193be3e7506586fc8886f881b7a3459cbbbc4311b51e1485f4f917'
|
|
705
|
+
},
|
|
706
|
+
logical: {
|
|
707
|
+
bytes: 7031,
|
|
708
|
+
sha256: '10b01ffd98193be3e7506586fc8886f881b7a3459cbbbc4311b51e1485f4f917'
|
|
709
|
+
},
|
|
710
|
+
imports: [
|
|
711
|
+
{
|
|
712
|
+
kind: 'static',
|
|
713
|
+
specifier: './runtime-asset-cache.js',
|
|
714
|
+
target: 'runtime-asset-cache.js'
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
assets: [],
|
|
718
|
+
externals: []
|
|
719
|
+
},
|
|
720
|
+
'runtime-asset-cache.js': {
|
|
721
|
+
delivery: {
|
|
722
|
+
storagePath: 'runtime-asset-cache.js.bin',
|
|
723
|
+
encoding: 'identity'
|
|
724
|
+
},
|
|
725
|
+
storage: {
|
|
726
|
+
bytes: 997,
|
|
727
|
+
sha256: '47d7369975b19ef51a0c85da30638b995c9c5ba40b6cabe2979ec2d2b7ba8fef'
|
|
728
|
+
},
|
|
729
|
+
logical: {
|
|
730
|
+
bytes: 997,
|
|
731
|
+
sha256: '47d7369975b19ef51a0c85da30638b995c9c5ba40b6cabe2979ec2d2b7ba8fef'
|
|
732
|
+
},
|
|
733
|
+
imports: [],
|
|
734
|
+
assets: [],
|
|
735
|
+
externals: []
|
|
736
|
+
},
|
|
667
737
|
'runtime-asset-store.js': {
|
|
668
738
|
delivery: {
|
|
669
739
|
storagePath: 'runtime-asset-store.js.bin',
|
|
@@ -698,14 +768,19 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
698
768
|
encoding: 'identity'
|
|
699
769
|
},
|
|
700
770
|
storage: {
|
|
701
|
-
bytes:
|
|
702
|
-
sha256: '
|
|
771
|
+
bytes: 25746,
|
|
772
|
+
sha256: '5f09c428431e3f3226673b537fc1277ba71dc42bdaf2937e18275a8844e044f8'
|
|
703
773
|
},
|
|
704
774
|
logical: {
|
|
705
|
-
bytes:
|
|
706
|
-
sha256: '
|
|
775
|
+
bytes: 25746,
|
|
776
|
+
sha256: '5f09c428431e3f3226673b537fc1277ba71dc42bdaf2937e18275a8844e044f8'
|
|
707
777
|
},
|
|
708
778
|
imports: [
|
|
779
|
+
{
|
|
780
|
+
kind: 'static',
|
|
781
|
+
specifier: './runtime-asset-cache.js',
|
|
782
|
+
target: 'runtime-asset-cache.js'
|
|
783
|
+
},
|
|
709
784
|
{
|
|
710
785
|
kind: 'static',
|
|
711
786
|
specifier: './runtime-delivery-budget.js',
|
|
@@ -1513,6 +1588,6 @@ export const WASM_RUST_EXECUTABLE_GRAPH_PROFILE = Object.freeze({
|
|
|
1513
1588
|
externals: []
|
|
1514
1589
|
}
|
|
1515
1590
|
},
|
|
1516
|
-
fingerprint: '
|
|
1591
|
+
fingerprint: '7d1b409ad0953dfe170cb7d34aeaf790ae82599cdd1520c22d777a35cab368a0'
|
|
1517
1592
|
});
|
|
1518
1593
|
export const WASM_RUST_ASSET_VERSION = WASM_RUST_RUNTIME_PROFILE.manifestFingerprint;
|