@receiz/sdk 93.2.0 → 95.0.0

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.
@@ -8,6 +8,8 @@ verify proof object -> project immediately -> admit into durable proof memory ->
8
8
 
9
9
  The SDK is convenience. It is not authority. The authority remains the sealed artifact, proof bundle, verified append, ownership append, and settlement ledger record.
10
10
 
11
+ Kai Klok is the proof object state machine. `kaiPulseEternal` is the pulse unit carried by that state machine. A complete Receiz proof object carries Kai; without its Kai coordinate it is not complete Receiz proof truth.
12
+
11
13
  ## Install
12
14
 
13
15
  ```bash
@@ -72,6 +74,14 @@ const knownTruth = memory.entries();
72
74
 
73
75
  Then ask Receiz for verified additions after your known head. Do not ask whether known proof is still true.
74
76
 
77
+ ## Receiz Account Restore Boundary
78
+
79
+ Receiz Key, Identity Record, and Identity Seal restore use the same law inside Receiz itself. Current restore artifacts carry `receiz.account.state.v3`, which includes profile/account state, action ledger, calendar events, wallet settlement rows and notes, Sports vault cards, pack purchases, card appends, event proofs, entries, competitions, and tournament state.
80
+
81
+ That private identity artifact is stronger than a later API response. Restore projects the carried account proof memory first; server/database sync may only mirror missing rows or append verified additions the artifact does not possess. It must not rediscover old truth before use.
82
+
83
+ Developer apps should apply the same pattern with SDK proof memory: store admitted proof objects locally, paint from that known prefix immediately, then request additions after the known head. The SDK does not mint private Receiz login images or keys; it gives external apps the same admit-once, append-forever operating model.
84
+
75
85
  ## Duplicate Transport Is Safe
76
86
 
77
87
  If the same proof object arrives again through another transport, the register keeps the first admitted payload and only fills missing fields. This prevents a weaker partial response from dropping known truth.
@@ -114,6 +124,7 @@ Use this order in every integration:
114
124
  3. Project display-ready rows from the verified object.
115
125
  4. Admit the object into proof memory.
116
126
  5. Persist the proof memory snapshot.
117
- 6. Append later verified additions without rediscovering known truth.
127
+ 6. Resume from the known Kai/proof head.
128
+ 7. Append later verified additions without rediscovering known truth.
118
129
 
119
130
  This gives users truthful first paint and gives developers a simple integration that stays aligned with Receiz primitives.
@@ -4,15 +4,18 @@
4
4
  "assetType": "proof_object",
5
5
  "proof": {
6
6
  "kind": "receiz.proof_bundle",
7
- "payloadVersion": 1,
7
+ "payloadVersion": "v2",
8
8
  "createdAtMs": 1782400000000,
9
9
  "ts": "2026-06-25T00:00:00.000Z",
10
10
  "code": "EXAMPLE",
11
11
  "slug": "developer-example",
12
12
  "verifyPath": "/v/developer-example/EXAMPLE/123456",
13
13
  "verifyUrl": "https://receiz.com/v/developer-example/EXAMPLE/123456",
14
- "kaiPulseEternal": 123456,
15
- "artifactSha256Basis": "sha256:example-artifact-basis"
14
+ "kaiPulseEternal": "123456",
15
+ "kaiKlok": "kai:123456",
16
+ "receizClaimId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
17
+ "sigilClaimSeed": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
18
+ "artifactSha256Basis": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
16
19
  },
17
20
  "owner": {
18
21
  "receizSubject": "sub_example_receiz_subject",
@@ -9,9 +9,18 @@
9
9
  "appendHash": "sha256:example-append",
10
10
  "proofBundle": {
11
11
  "kind": "receiz.proof_bundle",
12
+ "payloadVersion": "v2",
13
+ "createdAtMs": 1782400000000,
14
+ "ts": "2026-06-25T00:00:00.000Z",
15
+ "code": "EXAMPLE",
16
+ "slug": "developer-example",
12
17
  "verifyPath": "/v/developer-example/EXAMPLE/123456",
13
18
  "verifyUrl": "https://receiz.com/v/developer-example/EXAMPLE/123456",
14
- "kaiPulseEternal": 123456
19
+ "kaiPulseEternal": "123456",
20
+ "kaiKlok": "kai:123456",
21
+ "receizClaimId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
22
+ "sigilClaimSeed": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
23
+ "artifactSha256Basis": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
15
24
  }
16
25
  }
17
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@receiz/sdk",
3
- "version": "93.2.0",
3
+ "version": "95.0.0",
4
4
  "description": "TypeScript SDK for Receiz proof-native artifact, public proof, wallet, sports, and Connect integrations.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",