diff --git a/README.md b/README.md index 54cd844..3e07f3a 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ writer semantics independently in TypeScript. ## Version and Core release -The package asset binding is `0.0.7`, built against the published -`malt-core v0.0.12-rc.2` release at commit -`0c5dc0029bd89180f1ff9c8f87857c17aef6a094`. +The package asset binding is `0.0.8`, built against the published +`malt-core v0.0.12-rc.3` release at commit +`69b49d6efa73f95f2a6bea4ac1741b59d776a239`. [`malt-core.lock.json`](./malt-core.lock.json) binds that tag, commit, Go module checksums. The `malt.ts-core-lock/v2` lock binds Core source only; Core WASM assets are not required. This repository exclusively owns WASM entrypoints, @@ -108,10 +108,11 @@ serializes Direct 32-byte keys. `deriveCoordinate({profile, label})` executes Core derivation in the verifier Worker and returns a key or a bigint index. JavaScript performs no label hashing or application path normalization. Map layout 1 authenticates original label bytes and targets. Distinct labels at -the same full coordinate are errors. List layout 2 authenticates contiguous -indices. Both use Root V=0. When upgrading from layouts 4/3, rebuild both -kinds of tree from the original inputs, then rebuild dependent parents and -regenerate proofs. Complete candidates use `malt.authentication/6`. +the same full coordinate are errors. List layout 2 authenticates indexed +bindings and permits empty cells below the count. Both use Root V=0. +When upgrading from layouts 4/3, rebuild both kinds of tree from the original +inputs, then rebuild dependent parents and regenerate proofs. Complete candidates +use `malt.authentication/6`. `prepareAuthentication(backend, stateJSON)` builds a complete candidate. `updateAuthentication(backend, candidateJSON, stateJSON)` verifies a complete @@ -171,7 +172,7 @@ session snapshot compatibility APIs. Worker readiness requires the complete current ABI. There are no forwarding aliases or optional old-runtime exports. The `malt-core.lock.json` and packaged binary assets identify the published -Core `v0.0.12-rc.2` release. Its current host and batch APIs are bound to the +Core `v0.0.12-rc.3` release. Its current host and batch APIs are bound to the exact release tag, source commit, and module checksums. Source integration checks remain separate from this published release binding. @@ -191,7 +192,7 @@ current contracts to the exact release selected by the lock. ### WASM ownership and archives Core provides the Go SDK, cryptographic parameter metadata, and portable -`conformance/authentication-v4.json` corpus. All JavaScript/WASM runners live +`conformance/authentication-v5.json` corpus. All JavaScript/WASM runners live in this repository; tests never execute a Core-owned browser build or runner. `make test-wasm` tests the pinned published Core release. For a proposed Core source change, use the explicit non-release `scripts/test-core-source.sh`. @@ -207,7 +208,9 @@ The former Core WASM manifest/asset-set properties are removed. Consumers use this package's asset checksums and build provenance for the WASM it distributes. The package uses root-only List metadata: `count` plus an optional -opaque `payload_cid`. Range bounds are element indices, and non-root vectors +opaque `payload_cid`. A List can contain empty cells below its authenticated +count. The verifier checks a zero-scalar opening for an empty cell or subtree. +Range bounds are element indices, and non-root vectors have no reserved metadata slot. Application JSON decoding stays in consumers. The packaged verifier and writer assets are built from the exact audited Core -release above and pass its `authentication-v4.json` conformance corpus. +release above and pass its `authentication-v5.json` conformance corpus. diff --git a/assets/verifier/PROVENANCE.json b/assets/verifier/PROVENANCE.json index 240e0cd..aba0feb 100644 --- a/assets/verifier/PROVENANCE.json +++ b/assets/verifier/PROVENANCE.json @@ -1,13 +1,13 @@ { "schema": "malt.ts-verifier.provenance/v1", "source_repository": "https://github.com/DeWebProtocol/malt-ts.git", - "build_inputs_sha256": "0c02f8be81cb7945052893c3e036a69f571be5b26b30478b1be9503df1be9734", + "build_inputs_sha256": "8a05140ad005412d926c45689edab0d59c35fe1c06b9cb44108b1286c6639c97", "core": { "module_path": "github.com/dewebprotocol/malt-core", - "module_version": "v0.0.12-rc.2", + "module_version": "v0.0.12-rc.3", "source_repository": "https://github.com/DeWebProtocol/malt-core.git", - "source_commit": "0c5dc0029bd89180f1ff9c8f87857c17aef6a094", - "module_sum": "h1:5KqS5FXrRkBHki+PO4dgDS2A5MlcgDQD9CBKHuuGAk0=", + "source_commit": "69b49d6efa73f95f2a6bea4ac1741b59d776a239", + "module_sum": "h1:4KSTLafaMAtg6pbxlhTHNfeZhiqhI05dQC+uI2RI3bY=", "go_mod_sum": "h1:r3h6vMg1XN43S1N31hBrROPGP/w1+H5G4q3wiC3qL80=" }, "target": "js/wasm", diff --git a/assets/verifier/SHA256SUMS b/assets/verifier/SHA256SUMS index f64f0b6..b30de9c 100644 --- a/assets/verifier/SHA256SUMS +++ b/assets/verifier/SHA256SUMS @@ -1,3 +1,3 @@ -033ca9d13ca8e9f3a869906e81ede973f24a609ff5425522cbd27e3fd6a3dd8a malt-verifier.wasm +cf6f2cc2ca5113fed36f2498a3417c7a374ef6ba57036abffd1cfd747212a4e0 malt-verifier.wasm 0c949f4996f9a89698e4b5c586de32249c3b69b7baadb64d220073cc04acba14 wasm_exec.js -5edabd01a0cbf30e6bd2e9001e120810e536a8c11a12f25e427a2c5124ff9131 PROVENANCE.json +ae8db6ee67c3276f17545d5610ecbd81db5d3a62bc9c0ad2fd01bb7bf0761b41 PROVENANCE.json diff --git a/assets/verifier/malt-verifier.wasm b/assets/verifier/malt-verifier.wasm index a32fe9f..20f23f0 100644 Binary files a/assets/verifier/malt-verifier.wasm and b/assets/verifier/malt-verifier.wasm differ diff --git a/assets/writer/PROVENANCE.json b/assets/writer/PROVENANCE.json index 006219e..1ac7c80 100644 --- a/assets/writer/PROVENANCE.json +++ b/assets/writer/PROVENANCE.json @@ -1,13 +1,13 @@ { "schema": "malt.ts-writer.provenance/v1", "source_repository": "https://github.com/DeWebProtocol/malt-ts.git", - "build_inputs_sha256": "0c02f8be81cb7945052893c3e036a69f571be5b26b30478b1be9503df1be9734", + "build_inputs_sha256": "8a05140ad005412d926c45689edab0d59c35fe1c06b9cb44108b1286c6639c97", "core": { "module_path": "github.com/dewebprotocol/malt-core", - "module_version": "v0.0.12-rc.2", + "module_version": "v0.0.12-rc.3", "source_repository": "https://github.com/DeWebProtocol/malt-core.git", - "source_commit": "0c5dc0029bd89180f1ff9c8f87857c17aef6a094", - "module_sum": "h1:5KqS5FXrRkBHki+PO4dgDS2A5MlcgDQD9CBKHuuGAk0=", + "source_commit": "69b49d6efa73f95f2a6bea4ac1741b59d776a239", + "module_sum": "h1:4KSTLafaMAtg6pbxlhTHNfeZhiqhI05dQC+uI2RI3bY=", "go_mod_sum": "h1:r3h6vMg1XN43S1N31hBrROPGP/w1+H5G4q3wiC3qL80=" }, "target": "js/wasm", diff --git a/assets/writer/SHA256SUMS b/assets/writer/SHA256SUMS index 4d2fb85..2c01358 100644 --- a/assets/writer/SHA256SUMS +++ b/assets/writer/SHA256SUMS @@ -1,8 +1,8 @@ -c58f5cbd99e10696d40eceab73d3b73ac611e803a91e9d380353d24fcabd30c2 malt-writer-kzg.wasm -0988b89dcd34b49467eb67bd4196e8bf35560f4e08faefeb416e4d9b904a9d58 malt-writer-ipa-direct.wasm -16e853f8fed1e56a732bacbf5d8d56be21948f73e1ea2127b9d12ec6070dc7bc malt-writer-ipa-compact.wasm -adc75674e1a6551e5a65782ebb90ff87968418b61906027e8da8cc5925f72fee malt-writer-ipa-fast.wasm +8c75655f1bfddce827f7566b23a20a41e30fdebd1faa16b724a35402bbadcec1 malt-writer-kzg.wasm +fa581ac90b6283ae5e997e1a988bfaa3e45fb2504f9de0fb0c961c47698e1bb9 malt-writer-ipa-direct.wasm +03c10b62f03c438e20b3ac975c034bf81943c552f71eba5cdf6d5cd5bfa40460 malt-writer-ipa-compact.wasm +76c1f691de399f35097774f2fd1f28c205dce8d3fbd42fb7201feac73c444e00 malt-writer-ipa-fast.wasm 6311876a80f3c9333f20e6a8ae8b55b7235b1f7411d6ae2224bc90b55fe779a2 malt-writer-worker.mjs 968657d9a8818feb23b6463aca609478c81423a93a8b0dc453705ad009214db0 malt-writer-workers.mjs 0c949f4996f9a89698e4b5c586de32249c3b69b7baadb64d220073cc04acba14 wasm_exec.js -0af41b0801049ead574a91853763465bbedf19c0e049cc96b6db781253e70569 PROVENANCE.json +cf59c821039d6cce03ad5989f09b88f2092588a4fe00a29ab6204dc890d1cd4c PROVENANCE.json diff --git a/assets/writer/malt-writer-ipa-compact.wasm b/assets/writer/malt-writer-ipa-compact.wasm index 4857a62..37ef126 100644 Binary files a/assets/writer/malt-writer-ipa-compact.wasm and b/assets/writer/malt-writer-ipa-compact.wasm differ diff --git a/assets/writer/malt-writer-ipa-direct.wasm b/assets/writer/malt-writer-ipa-direct.wasm index 0ec8a97..ed1b568 100644 Binary files a/assets/writer/malt-writer-ipa-direct.wasm and b/assets/writer/malt-writer-ipa-direct.wasm differ diff --git a/assets/writer/malt-writer-ipa-fast.wasm b/assets/writer/malt-writer-ipa-fast.wasm index c0a1e68..81d86ac 100644 Binary files a/assets/writer/malt-writer-ipa-fast.wasm and b/assets/writer/malt-writer-ipa-fast.wasm differ diff --git a/assets/writer/malt-writer-kzg.wasm b/assets/writer/malt-writer-kzg.wasm index a60e91a..c189ca8 100644 Binary files a/assets/writer/malt-writer-kzg.wasm and b/assets/writer/malt-writer-kzg.wasm differ diff --git a/go.mod b/go.mod index 51dc75e..cdf8f4b 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/dewebprotocol/malt-ts go 1.26.8 -require github.com/dewebprotocol/malt-core v0.0.12-rc.2 +require github.com/dewebprotocol/malt-core v0.0.12-rc.3 require ( github.com/bits-and-blooms/bitset v1.25.0 // indirect diff --git a/go.sum b/go.sum index 17ea2f4..df22a17 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/consensys/gnark-crypto v0.22.0 h1:RYH7FX1/zkmNrSiABo70HAqew41SRUsoluK github.com/consensys/gnark-crypto v0.22.0/go.mod h1:HL8XflRG4cvau1PEG3CWBTD2kkzUzdlqZF6BBgy57F8= github.com/crate-crypto/go-kzg-4844 v1.1.0 h1:EN/u9k2TF6OWSHrCCDBBU6GLNMq88OspHHlMnHfoyU4= github.com/crate-crypto/go-kzg-4844 v1.1.0/go.mod h1:JolLjpSff1tCCJKaJx4psrlEdlXuJEC996PL3tTAFks= -github.com/dewebprotocol/malt-core v0.0.12-rc.2 h1:5KqS5FXrRkBHki+PO4dgDS2A5MlcgDQD9CBKHuuGAk0= -github.com/dewebprotocol/malt-core v0.0.12-rc.2/go.mod h1:r3h6vMg1XN43S1N31hBrROPGP/w1+H5G4q3wiC3qL80= +github.com/dewebprotocol/malt-core v0.0.12-rc.3 h1:4KSTLafaMAtg6pbxlhTHNfeZhiqhI05dQC+uI2RI3bY= +github.com/dewebprotocol/malt-core v0.0.12-rc.3/go.mod h1:r3h6vMg1XN43S1N31hBrROPGP/w1+H5G4q3wiC3qL80= github.com/ipfs/go-cid v0.6.2 h1:VuGwJd+KJTaMJ4S4d5EEf9SXc17YUblS5axCbocn9YE= github.com/ipfs/go-cid v0.6.2/go.mod h1:Xhwg8NzHeK9xPCEZkCw4idzPiuNMpX3fARuI5Iwj1Lo= github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y= diff --git a/malt-core.lock.json b/malt-core.lock.json index 9c22319..c585673 100644 --- a/malt-core.lock.json +++ b/malt-core.lock.json @@ -1,9 +1,9 @@ { "schema": "malt.ts-core-lock/v2", "module_path": "github.com/dewebprotocol/malt-core", - "module_version": "v0.0.12-rc.2", + "module_version": "v0.0.12-rc.3", "source_repository": "https://github.com/DeWebProtocol/malt-core.git", - "source_commit": "0c5dc0029bd89180f1ff9c8f87857c17aef6a094", - "module_sum": "h1:5KqS5FXrRkBHki+PO4dgDS2A5MlcgDQD9CBKHuuGAk0=", + "source_commit": "69b49d6efa73f95f2a6bea4ac1741b59d776a239", + "module_sum": "h1:4KSTLafaMAtg6pbxlhTHNfeZhiqhI05dQC+uI2RI3bY=", "go_mod_sum": "h1:r3h6vMg1XN43S1N31hBrROPGP/w1+H5G4q3wiC3qL80=" } diff --git a/package-lock.json b/package-lock.json index 0daaa4a..16b2131 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dewebprotocol/malt", - "version": "0.0.7", + "version": "0.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dewebprotocol/malt", - "version": "0.0.7", + "version": "0.0.8", "license": "Apache-2.0", "devDependencies": { "happy-dom": "20.11.1", diff --git a/package.json b/package.json index 34ff1a3..3b1ffd9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dewebprotocol/malt", - "version": "0.0.7", + "version": "0.0.8", "description": "Stable TypeScript and browser WASM SDK for MALT", "type": "module", "license": "Apache-2.0", diff --git a/scripts/build-wasm-release.sh b/scripts/build-wasm-release.sh index e506c01..c43bb09 100755 --- a/scripts/build-wasm-release.sh +++ b/scripts/build-wasm-release.sh @@ -65,7 +65,7 @@ cp "${temporary}/assets/verifier/"* "${verifier_staging}/" cp "${temporary}/assets/writer/"* "${writer_staging}/" pin="$("${build_source}/scripts/resolve-core.sh")" IFS=$'\t' read -r _ _ core_module_dir _ _ <<<"${pin}" -authentication_corpus_sha256="$(sha256sum "${core_module_dir}/conformance/authentication-v4.json" | awk '{print $1}')" +authentication_corpus_sha256="$(sha256sum "${core_module_dir}/conformance/authentication-v5.json" | awk '{print $1}')" chmod 0644 "${verifier_staging}/"* "${writer_staging}/"* ( @@ -136,7 +136,7 @@ MANIFEST_PATH="${temporary}/WASM-RELEASE.json" node -e ' target: "js/wasm", archive_format: "ustar+gzip", conformance_corpora: { - authentication: {schema: "malt.conformance.authentication/4", sha256: process.env.AUTHENTICATION_CORPUS_SHA256}, + authentication: {schema: "malt.conformance.authentication/5", sha256: process.env.AUTHENTICATION_CORPUS_SHA256}, }, codegen_environment: {CGO_ENABLED: "0", GOEXPERIMENT: "none", GOWASM: "", GOFIPS140: "off"}, components: {verifier: component("VERIFIER"), writer: component("WRITER")} diff --git a/scripts/check-wasm-release.sh b/scripts/check-wasm-release.sh index 65e5a9f..1c4c76c 100755 --- a/scripts/check-wasm-release.sh +++ b/scripts/check-wasm-release.sh @@ -27,7 +27,7 @@ fi expected_go_version="go${go_directive}" pin="$("${repo_root}/scripts/resolve-core.sh")" IFS=$'\t' read -r _ _ core_module_dir _ _ <<<"${pin}" -expected_authentication_corpus_sha256="$(sha256sum "${core_module_dir}/conformance/authentication-v4.json" | awk '{print $1}')" +expected_authentication_corpus_sha256="$(sha256sum "${core_module_dir}/conformance/authentication-v5.json" | awk '{print $1}')" expected_commit="$(git -C "${repo_root}" rev-parse HEAD)" expected_epoch="$(git -C "${repo_root}" show -s --format=%ct HEAD)" expected_build_inputs="$("${repo_root}/scripts/build-wasm.sh" --print-source-digest)" @@ -84,7 +84,7 @@ AUTHENTICATION_CORPUS_SHA256="${expected_authentication_corpus_sha256}" node -e const version = /^v[0-9]+\.[0-9]+\.[0-9]+(?:[.-][0-9A-Za-z.-]+)?$/ const expectedCodegen = {CGO_ENABLED: "0", GOEXPERIMENT: "none", GOWASM: "", GOFIPS140: "off"} const expectedCorpora = { - authentication: {schema: "malt.conformance.authentication/4", sha256: process.env.AUTHENTICATION_CORPUS_SHA256}, + authentication: {schema: "malt.conformance.authentication/5", sha256: process.env.AUTHENTICATION_CORPUS_SHA256}, } const toolchain = /^go version (go[0-9]+\.[0-9]+\.[0-9]+) ([a-z0-9]+)\/([a-z0-9]+)$/.exec(manifest.go_toolchain || "") if (manifest.schema !== "malt.ts-wasm-release/v1" || diff --git a/scripts/run-authentication-wasm.mjs b/scripts/run-authentication-wasm.mjs index a63403b..5776478 100644 --- a/scripts/run-authentication-wasm.mjs +++ b/scripts/run-authentication-wasm.mjs @@ -2,6 +2,7 @@ import assert from 'node:assert/strict' import { webcrypto } from 'node:crypto' import { readFile } from 'node:fs/promises' import { pathToFileURL } from 'node:url' +import { encodeIndexLabel } from '../src/coordinate.mjs' const [kind, wasm, runtime, corpusPath, backend = 'all'] = process.argv.slice(2) assert(['verifier', 'writer'].includes(kind), 'select verifier or writer') @@ -22,7 +23,7 @@ while (typeof globalThis[name] !== 'function') { await new Promise(resolve => setTimeout(resolve, 10)) } const corpus = JSON.parse(await readFile(corpusPath, 'utf8')) -assert.equal(corpus.schema, 'malt.conformance.authentication/4') +assert.equal(corpus.schema, 'malt.conformance.authentication/5') if (kind === 'verifier') { const derive = (profile, bytes) => JSON.parse(globalThis.maltDeriveCoordinate(profile, bytes)) for (const index of [0n, 42n, 9007199254740993n, 18446744073709551615n]) { @@ -58,6 +59,16 @@ if (kind === 'verifier') { assert.equal(candidate.root, expected.verification.request.root) assert.equal(candidate.profile, 'malt.authentication/6') assert(candidate.nodes.length > 0) + const width = id === 1 ? 4096 : 256 + const target = { '/': 'bafkqaaa' } + const sparseList = { + descriptor: { layout: 2, derivation_profile: 3, vc_profile: id }, + payload_cid: target, + entries: [0, 2 * width].map(index => ({ label: encodeIndexLabel(index), target })) + } + const sparseCandidate = JSON.parse(await globalThis[name](new TextEncoder().encode(JSON.stringify(sparseList)))) + const emptyCell = corpus.vectors.find(vector => vector.id === `profile-${id}.empty-list-cell`) + assert.equal(sparseCandidate.root, emptyCell.verification.request.root, 'sparse List Root differs from Core') await assert.rejects(() => globalThis[name]('{}')) state.descriptor.layout = 255 await assert.rejects(() => globalThis[name](new TextEncoder().encode(JSON.stringify(state)))) diff --git a/scripts/run-verifier-conformance.sh b/scripts/run-verifier-conformance.sh index 840e490..e1bc3b9 100755 --- a/scripts/run-verifier-conformance.sh +++ b/scripts/run-verifier-conformance.sh @@ -22,6 +22,6 @@ fi for backend in all kzg ipa; do node "${repo_root}/scripts/run-authentication-wasm.mjs" verifier \ "${verifier_root}/malt-verifier.wasm" "${verifier_root}/wasm_exec.js" \ - "${malt_module_dir}/conformance/authentication-v4.json" "${backend}" + "${malt_module_dir}/conformance/authentication-v5.json" "${backend}" done printf 'malt-ts verifier passes the MALT %s conformance corpus.\n' "${malt_version}" diff --git a/scripts/run-writer-conformance.sh b/scripts/run-writer-conformance.sh index 02f4130..380e0fb 100755 --- a/scripts/run-writer-conformance.sh +++ b/scripts/run-writer-conformance.sh @@ -31,7 +31,7 @@ for profile in kzg direct compact fast; do wasm="${writer_root}/malt-writer-ipa-${profile}.wasm" profile_arg="${profile}" if [[ "${profile}" == kzg ]]; then backend=kzg; wasm="${writer_root}/malt-writer-kzg.wasm"; profile_arg=; fi - node "${repo_root}/scripts/run-authentication-wasm.mjs" writer "${wasm}" "${writer_root}/wasm_exec.js" "${malt_module_dir}/conformance/authentication-v4.json" "${backend}" + node "${repo_root}/scripts/run-authentication-wasm.mjs" writer "${wasm}" "${writer_root}/wasm_exec.js" "${malt_module_dir}/conformance/authentication-v5.json" "${backend}" node "${repo_root}/scripts/run-retained-writer-wasm.mjs" "${wasm}" "${writer_root}/wasm_exec.js" "${backend}" "${profile_arg}" node "${repo_root}/scripts/run-authentication-batch-wasm.mjs" "${wasm}" "${writer_root}/wasm_exec.js" "${backend}" "${profile_arg}" done diff --git a/scripts/test-core-source.sh b/scripts/test-core-source.sh index b8a1a53..cfe3993 100755 --- a/scripts/test-core-source.sh +++ b/scripts/test-core-source.sh @@ -41,14 +41,14 @@ cp "${go_root}/lib/wasm/wasm_exec.js" "${output}/writer/wasm_exec.js" cp "${go_root}/lib/wasm/wasm_exec.js" "${output}/verifier/wasm_exec.js" cp "${repo_root}/assets/writer/malt-writer-worker.mjs" "${repo_root}/assets/writer/malt-writer-workers.mjs" "${output}/writer/" node "${repo_root}/scripts/run-authentication-wasm.mjs" verifier "${output}/verifier/malt-verifier.wasm" \ - "${output}/verifier/wasm_exec.js" "${core_root}/conformance/authentication-v4.json" all + "${output}/verifier/wasm_exec.js" "${core_root}/conformance/authentication-v5.json" all for profile in kzg direct compact fast; do backend=ipa wasm="${output}/writer/malt-writer-ipa-${profile}.wasm" profile_arg="${profile}" if [[ "${profile}" == kzg ]]; then backend=kzg; wasm="${output}/writer/malt-writer-kzg.wasm"; profile_arg=; fi node "${repo_root}/scripts/run-authentication-wasm.mjs" writer "${wasm}" "${output}/writer/wasm_exec.js" \ - "${core_root}/conformance/authentication-v4.json" "${backend}" + "${core_root}/conformance/authentication-v5.json" "${backend}" node "${repo_root}/scripts/run-retained-writer-wasm.mjs" "${wasm}" "${output}/writer/wasm_exec.js" "${backend}" "${profile_arg}" node "${repo_root}/scripts/run-authentication-batch-wasm.mjs" "${wasm}" "${output}/writer/wasm_exec.js" "${backend}" "${profile_arg}" done diff --git a/src/release.mjs b/src/release.mjs index 1e32b3f..9c369e1 100644 --- a/src/release.mjs +++ b/src/release.mjs @@ -1,8 +1,8 @@ -export const maltTSVersion = '0.0.7' +export const maltTSVersion = '0.0.8' export const maltCoreRelease = Object.freeze({ - version: 'v0.0.12-rc.2', - commit: '0c5dc0029bd89180f1ff9c8f87857c17aef6a094', - moduleSum: 'h1:5KqS5FXrRkBHki+PO4dgDS2A5MlcgDQD9CBKHuuGAk0=', + version: 'v0.0.12-rc.3', + commit: '69b49d6efa73f95f2a6bea4ac1741b59d776a239', + moduleSum: 'h1:4KSTLafaMAtg6pbxlhTHNfeZhiqhI05dQC+uI2RI3bY=', goModSum: 'h1:r3h6vMg1XN43S1N31hBrROPGP/w1+H5G4q3wiC3qL80=' }) diff --git a/test/wasm-rebuild.test.mjs b/test/wasm-rebuild.test.mjs index c0a168a..803c474 100644 --- a/test/wasm-rebuild.test.mjs +++ b/test/wasm-rebuild.test.mjs @@ -12,7 +12,7 @@ function writeSet(directory, host, changes = {}) { fs.mkdirSync(directory, { recursive: true }) const provenance = { go_version: 'go1.26.8', go_toolchain: `go version go1.26.8 ${host}`, - target: 'js/wasm', core: { module_version: 'v0.0.12-rc.2' }, ...changes + target: 'js/wasm', core: { module_version: 'v0.0.12-rc.3' }, ...changes } fs.writeFileSync(path.join(directory, 'PROVENANCE.json'), JSON.stringify(provenance)) fs.writeFileSync(path.join(directory, 'module.wasm'), 'wasm fixture') diff --git a/types/release.d.ts b/types/release.d.ts index 747c721..f9e4d5c 100644 --- a/types/release.d.ts +++ b/types/release.d.ts @@ -1,8 +1,8 @@ -export declare const maltTSVersion: '0.0.7' +export declare const maltTSVersion: '0.0.8' export interface MaltCoreRelease { - readonly version: 'v0.0.12-rc.2' - readonly commit: '0c5dc0029bd89180f1ff9c8f87857c17aef6a094' + readonly version: 'v0.0.12-rc.3' + readonly commit: '69b49d6efa73f95f2a6bea4ac1741b59d776a239' readonly moduleSum: string readonly goModSum: string }