@wasm-oj/core 0.2.4 → 0.2.5

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.d.ts CHANGED
@@ -352,8 +352,8 @@ declare function isCostProfileFor(profile: string, language: Language, target: T
352
352
 
353
353
  /** Executable runtime components covered by deterministic cost calibration. */
354
354
  declare const WASM_OJ_RUNTIME_COMPONENTS: Readonly<{
355
- readonly runtimeCoreWasmSha256: "0ae00fc646f529aafb5d1a68758220e6428f6c565e8e621eeb6c8f14ac5d4a10";
356
- readonly runtimeSourceRootSha256: "a7e9071511d127e3b14920558c7c38c27a1fa19d98906c8476c1df8041a9c3bb";
355
+ readonly runtimeCoreWasmSha256: "077aa936a3382a242eee7222fc17369769cb5ad265303d730ffc45ee192367e9";
356
+ readonly runtimeSourceRootSha256: "c65b3bbcad41359f86b8f1d1315af8f079b44f0e9084ace0d6d50c0ec418415b";
357
357
  readonly wasmerNativeVersion: "7.2.1";
358
358
  readonly wasmerSdkVersion: "0.10.0";
359
359
  readonly wasmerSdkWasmSha256: "49a6646209f5ab5e7c737eac33407d87d9a9959ac83e5ecaaab9261b2323589e";
@@ -364,7 +364,7 @@ declare const WASM_OJ_RUNTIME_COMPONENTS: Readonly<{
364
364
  * Release verification independently checks the component bytes before this
365
365
  * identity is admitted into a calibrated release.
366
366
  */
367
- declare const WASM_OJ_RUNTIME_IDENTITY_SHA256 = "e5680beae9bd832ed2b679267250ce1efc7d104dd005bb155135664b40f961fb";
367
+ declare const WASM_OJ_RUNTIME_IDENTITY_SHA256 = "47684bee57aafd163b18a787fa16eed33cab3ec3c0005c3c46bb4f1803ffc835";
368
368
  /** Exact canonical serialization hashed by `WASM_OJ_RUNTIME_IDENTITY_SHA256`. */
369
369
  declare function runtimeIdentityBytes(): Uint8Array;
370
370
  declare function verifyRuntimeIdentity(): Promise<void>;
package/dist/index.js CHANGED
@@ -374,8 +374,8 @@ async function sha256Hex$1(value) {
374
374
  //#region src/core/runtime-identity.ts
375
375
  /** Executable runtime components covered by deterministic cost calibration. */
376
376
  var WASM_OJ_RUNTIME_COMPONENTS = Object.freeze({
377
- runtimeCoreWasmSha256: "0ae00fc646f529aafb5d1a68758220e6428f6c565e8e621eeb6c8f14ac5d4a10",
378
- runtimeSourceRootSha256: "a7e9071511d127e3b14920558c7c38c27a1fa19d98906c8476c1df8041a9c3bb",
377
+ runtimeCoreWasmSha256: "077aa936a3382a242eee7222fc17369769cb5ad265303d730ffc45ee192367e9",
378
+ runtimeSourceRootSha256: "c65b3bbcad41359f86b8f1d1315af8f079b44f0e9084ace0d6d50c0ec418415b",
379
379
  wasmerNativeVersion: "7.2.1",
380
380
  wasmerSdkVersion: "0.10.0",
381
381
  wasmerSdkWasmSha256: "49a6646209f5ab5e7c737eac33407d87d9a9959ac83e5ecaaab9261b2323589e",
@@ -386,13 +386,13 @@ var WASM_OJ_RUNTIME_COMPONENTS = Object.freeze({
386
386
  * Release verification independently checks the component bytes before this
387
387
  * identity is admitted into a calibrated release.
388
388
  */
389
- var WASM_OJ_RUNTIME_IDENTITY_SHA256 = "e5680beae9bd832ed2b679267250ce1efc7d104dd005bb155135664b40f961fb";
389
+ var WASM_OJ_RUNTIME_IDENTITY_SHA256 = "47684bee57aafd163b18a787fa16eed33cab3ec3c0005c3c46bb4f1803ffc835";
390
390
  /** Exact canonical serialization hashed by `WASM_OJ_RUNTIME_IDENTITY_SHA256`. */
391
391
  function runtimeIdentityBytes() {
392
392
  return canonicalJsonBytes(WASM_OJ_RUNTIME_COMPONENTS);
393
393
  }
394
394
  async function verifyRuntimeIdentity() {
395
- if (await sha256Hex$1(runtimeIdentityBytes()) !== "e5680beae9bd832ed2b679267250ce1efc7d104dd005bb155135664b40f961fb") throw new Error("WASM-OJ runtime identity declaration does not match its digest.");
395
+ if (await sha256Hex$1(runtimeIdentityBytes()) !== "47684bee57aafd163b18a787fa16eed33cab3ec3c0005c3c46bb4f1803ffc835") throw new Error("WASM-OJ runtime identity declaration does not match its digest.");
396
396
  }
397
397
  //#endregion
398
398
  //#region src/core/cost-profile.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wasm-oj/core",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Host-neutral compiler, runner, judge, dependency, and replay orchestration for WASM-OJ.",
5
5
  "license": "MIT",
6
6
  "author": "JacobLinCool",
@@ -43,7 +43,7 @@
43
43
  "node": ">=24.18.0 <25"
44
44
  },
45
45
  "dependencies": {
46
- "@wasm-oj/contracts": "0.2.4",
46
+ "@wasm-oj/contracts": "0.2.5",
47
47
  "fflate": "0.8.3"
48
48
  },
49
49
  "scripts": {