@auspicion/provident-storeroom-js-wasm 2.0.0 → 2.0.1
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/BUILD-INFO.txt +2 -2
- package/README.md +4 -3
- package/index.d.ts +40 -2
- package/package.json +1 -1
- package/storeroom_js_binding_bg.wasm +0 -0
package/BUILD-INFO.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@auspicion/provident-storeroom-js-wasm 2.0.
|
|
2
|
-
built from the checkout at /
|
|
1
|
+
@auspicion/provident-storeroom-js-wasm 2.0.1
|
|
2
|
+
built from the checkout at /home/runner/work/Provident-Storeroom/Provident-Storeroom
|
|
3
3
|
wasm-bindgen (pinned by the crate)
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ an edit belongs.
|
|
|
50
50
|
|
|
51
51
|
**⟶ AND THE ONE FIGURE THIS PAGE CAN BE RIGHT ABOUT IS GENERATED AND ASSERTED, 2026-10-28 — `DEF-AC`'s third part, and `D-57`'s one surviving figure.** `RCA-8(g)` ANNOTATE-BESIDE: **every clause above stands BYTE-FOR-BYTE and is read THROUGH this one; nothing above moves.** **THE DEFECT THIS CLOSES: THIS PAGE DECLARED NO VERSION AT ALL** — a shipped document a consumer reads first, saying nothing about which release it describes — **so `scripts/publish.sh --figures` now GENERATES the line below from `bindings/js/package.json`'s `version` and REFUSES when it disagrees, exactly as it does at the guide's and the change list's own marked lines: three shipped documents, three version lines, one generator, one assertion.** **AND THE CUT-STATE IS NOT STATED HERE, OR ANYWHERE ELSE IN THIS PACKAGE'S DOCUMENTS** (`D-57`, the architect verbatim: *"Drop the cut-state"*): a document is sealed before the tag that would make its cut-state true, so **the cut-state is not a document's to state**; the record of what has been cut is the change list's, and it is past tense. **EVERY OTHER CLAIM OF THIS PAGE STANDS EXACTLY AS IT STOOD.**
|
|
52
52
|
|
|
53
|
-
PUBLISH-README-VERSION-LINE: THE VERSION THIS README DESCRIBES IS `2.0.
|
|
53
|
+
PUBLISH-README-VERSION-LINE: THE VERSION THIS README DESCRIBES IS `2.0.1`.
|
|
54
54
|
|
|
55
55
|
## The one entry
|
|
56
56
|
|
|
@@ -71,14 +71,15 @@ the package's own resolution step and is not an entry point.**
|
|
|
71
71
|
|
|
72
72
|
## The surface
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
**and they are these
|
|
74
|
+
**⟶ AND THE FIGURE IS FIFTEEN, 2026-11-17: `readTiered` (the tier readout) was in the instance and absent from this table.** **`storeCreate(cfg)` answers an
|
|
75
|
+
instance carrying exactly FIFTEEN own members** — `10 + 1 + 1 + 1 + 2 = 15` ✓ — **and they are these fifteen and no others** (`bindings/js/index.d.ts`, `StoreInstance`;
|
|
76
76
|
`docs/specs/storeroom-held-listener-identity/contract.md §2.7` item 9):
|
|
77
77
|
|
|
78
78
|
| The member | Its answer |
|
|
79
79
|
| --- | --- |
|
|
80
80
|
| `read(address, tier?)` | a leaf's literal, a branch's assembled value, or the empty address's whole register |
|
|
81
81
|
| `readLiteral(address, tier?)` | the same, narrowed to a leaf (`ReadTargetIsBranch` on a branch) |
|
|
82
|
+
| `readTiered(address)` | `{ value, tier }[]` — the standing versions at an address and the tier each is at; **a shadowed address answers more than one** |
|
|
82
83
|
| `write(address, tier, value, commit?)` | `{op, watched, triggered}` — **four positions, `commit` the fourth and optional** |
|
|
83
84
|
| `delete(address, tier?)` | `{address, op, tiers, triggered}`, plus a non-enumerable `discarded` witness |
|
|
84
85
|
| `rollback(opId)` | `{opId, undoneOps, restoredTo}` |
|
package/index.d.ts
CHANGED
|
@@ -693,7 +693,10 @@ export interface BaseState {
|
|
|
693
693
|
* read returns `undefined` because the key is absent, and it is absent from the write's record, the delete's
|
|
694
694
|
* record and every op the kernel's repair leg copies. **THE CLASS IS `MAJOR` (`2.0.0`, `D-190`) for exactly
|
|
695
695
|
* this reason**: a PUBLISHED declaration member left the surface, which no `MINOR` absorbs — **`D-158`'s
|
|
696
|
-
* `MINOR` at `1.13.0` is SUPERSEDED and this declaration describes `2.0.0`.**
|
|
696
|
+
* `MINOR` at `1.13.0` is SUPERSEDED and this declaration describes `2.0.0`.** **⟶ AND THE LINE THAT NAMES THE VERSION IS RE-CUT, 2026-11-20 — the
|
|
697
|
+
* sentence above is `2.0.0`'s own reading and stands; **what a reader needs is that this declaration now describes `2.0.1`**, whose class is a `PATCH` because
|
|
698
|
+
* `D-203`'s fix changes the ARM's emitted declaration and no runtime byte** (`D-203` item 5: *"a patch on the arm at most … could not construct at all"*).
|
|
699
|
+
* **The `MAJOR` reading above is not withdrawn: it is `2.0.0`'s, and this file has carried two classes since.**
|
|
697
700
|
*/
|
|
698
701
|
export interface JournalOp {
|
|
699
702
|
readonly opId: string;
|
|
@@ -1646,7 +1649,42 @@ export interface StoreInstance {
|
|
|
1646
1649
|
* runtime first, this checkout's own module-relative addon second, and answers the declared absent form
|
|
1647
1650
|
* when neither yields a loadable artefact.
|
|
1648
1651
|
*/
|
|
1649
|
-
|
|
1652
|
+
/**
|
|
1653
|
+
* **⟦ THE FACTORY'S POSITION IS THE DECLARATION'S SECOND REALM-CONDITIONAL BYTE, ADDED 2026-11-20 — `D-203`, WHOSE
|
|
1654
|
+
* OWN THREE ROWS THIS REGION EXISTS FOR.** *"the arm's runtime takes TWO positions"*
|
|
1655
|
+
* (`bindings/js/platforms/wasm/index.mjs`'s own docblock: *"`storeCreate(bindings, cfg)` takes the initialised module
|
|
1656
|
+
* at its FIRST position"*) · *"the guide teaches TWO"* (`docs/guides/package-use.md` §13.1: *"THE FACTORY TAKES TWO
|
|
1657
|
+
* POSITIONS — `storeCreate(bindings, cfg)` — and the first is the module"*) · *"the arm's SHIPPED declaration takes
|
|
1658
|
+
* ONE"* — which is what this region removes: the arm's emission was the Node arm's signature byte for byte, so **a
|
|
1659
|
+
* TypeScript consumer of `@auspicion/provident-storeroom-js-wasm` could not spell the construction its runtime and its
|
|
1660
|
+
* guide require** (`D-203` item 3: *"`storeCreate(bindings, cfg)` fails the declared signature; `storeCreate(cfg)`
|
|
1661
|
+
* compiles and cannot carry the injected module"*).
|
|
1662
|
+
*
|
|
1663
|
+
* **THE TWO COMMENT LINES THAT BRACKET THE DECLARATION BELOW — both at this file's marker depth of two spaces, and
|
|
1664
|
+
* neither carrying a member's name-and-colon or name-and-paren shape — DELIMIT THE SECOND REGION
|
|
1665
|
+
* `scripts/emit-declarations.mjs` READS**, exactly as the `filePath` markers above delimit the first (`D-155` item 2;
|
|
1666
|
+
* `docs/L3/wasm-realm/design.md` §6). **The form is the reason the region can stand here at all**: no member read a
|
|
1667
|
+
* battery file performs on an interface block matches a line whose first two characters after the indentation are
|
|
1668
|
+
* `//`, and the one read this file's module level is subject to — the count of lines beginning `export function` —
|
|
1669
|
+
* is a count of lines that begin at column zero, which a marker at two spaces is not. **So this region moves no member
|
|
1670
|
+
* census, no status count, no export count and no rank.**
|
|
1671
|
+
*
|
|
1672
|
+
* **WHAT THE WASM ARM'S EMISSION PUTS INSIDE IT IS ONE LINE, AND ITS FIRST TYPE IS `unknown` BECAUSE THAT IS THE
|
|
1673
|
+
* HONEST TYPE OF A HOST-SUPPLIED MODULE**: `export function storeCreate(bindings: unknown, cfg: StoreConfig):
|
|
1674
|
+
* StoreInstance;`. **A NAMED TYPE IN THAT POSITION WOULD BE THIS PACKAGE CLAIMING THE HOST'S SHAPE** — the module is
|
|
1675
|
+
* the host's, the package instantiates nothing (`D-155` item 3), and the runtime validates what arrives
|
|
1676
|
+
* (`bindings/js/src/entry/addon-slot.mjs`'s `installAddon`, which refuses `null`, `undefined`, a primitive, a function
|
|
1677
|
+
* and an object carrying no callable `storeCreate`) — **so the declaration admits every value and the runtime is what
|
|
1678
|
+
* says which values are a module.**
|
|
1679
|
+
*
|
|
1680
|
+
* **AND THE NODE ARM'S SIGNATURE DOES NOT MOVE**, byte for byte: the region's Node body is the line below, the
|
|
1681
|
+
* emission of the Node arm is this file's own bytes with the region unchanged, and the script asserts that identity
|
|
1682
|
+
* before it writes either file. **A reader who opened this declaration to find the ONE name and the ONE position the
|
|
1683
|
+
* Node arm has still finds them, one marker pair down.**
|
|
1684
|
+
*/
|
|
1685
|
+
// ⟦realm:factory:begin⟧
|
|
1686
|
+
export function storeCreate(bindings: unknown, cfg: StoreConfig): StoreInstance;
|
|
1687
|
+
// ⟦realm:factory:end⟧
|
|
1650
1688
|
|
|
1651
1689
|
/**
|
|
1652
1690
|
* **THE POST-CREATION CONSTRAINT PAIR — `parameter-semantics.md §2.24` (`PAR-JS-24`)**: the key the three
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auspicion/provident-storeroom-js-wasm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "provident-storeroom for a WebAssembly host — the same store, the same package, with its bindings handed in.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.mjs",
|
|
Binary file
|