@invisi-labs/sdk 1.1.3 → 1.1.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/sqlite.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AtomicRecordStore, a as AtomicRecord, T as TransactionalWalletStore, W as WalletRecordCodec } from './store-1zgwa--h.cjs';
2
- import './state-DHl6j33x.cjs';
1
+ import { A as AtomicRecordStore, a as AtomicRecord, T as TransactionalWalletStore, W as WalletRecordCodec } from './store-Cz75STRl.cjs';
2
+ import './state-AUnz7TG7.cjs';
3
3
  import '@invisi-labs/core';
4
4
  import '@invisi-labs/prover';
5
5
 
package/dist/sqlite.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AtomicRecordStore, a as AtomicRecord, T as TransactionalWalletStore, W as WalletRecordCodec } from './store-Dlol1q1s.js';
2
- import './state-DHl6j33x.js';
1
+ import { A as AtomicRecordStore, a as AtomicRecord, T as TransactionalWalletStore, W as WalletRecordCodec } from './store-BMN8kd0c.js';
2
+ import './state-AUnz7TG7.js';
3
3
  import '@invisi-labs/core';
4
4
  import '@invisi-labs/prover';
5
5
 
package/dist/sqlite.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransactionalWalletStore
3
- } from "./chunk-FSQYZO66.js";
3
+ } from "./chunk-BE52B32Z.js";
4
4
  import "./chunk-4HMM7ZKY.js";
5
5
 
6
6
  // src/integrations/sqlite.ts
@@ -54,6 +54,8 @@ interface WalletState {
54
54
  operations: Record<string, OperationRecord>;
55
55
  /** Last canonical block observed while processing known candidates; never a completeness claim. */
56
56
  observedThrough?: Checkpoint;
57
+ /** Completed contiguous RPC discovery ranges; independent of operation reconciliation. */
58
+ discoveryThrough?: Checkpoint;
57
59
  invalidated?: string;
58
60
  }
59
61
  interface WalletStore {
@@ -73,4 +75,4 @@ interface BalanceSnapshot {
73
75
  }
74
76
  declare function walletBalance(state: WalletState, tokenAddress: Hex): BalanceSnapshot;
75
77
 
76
- export { type BalanceSnapshot as B, type OperationStatus as O, type StoredNote as S, type WalletScope as W, type WalletState as a, type WalletStore as b, walletBalance as w };
78
+ export { type BalanceSnapshot as B, type Checkpoint as C, type OperationStatus as O, type ReceiptPosition as R, type SpentState as S, type WalletScope as W, type WalletState as a, type WalletStore as b, type StoredNote as c, walletBalance as w };
@@ -54,6 +54,8 @@ interface WalletState {
54
54
  operations: Record<string, OperationRecord>;
55
55
  /** Last canonical block observed while processing known candidates; never a completeness claim. */
56
56
  observedThrough?: Checkpoint;
57
+ /** Completed contiguous RPC discovery ranges; independent of operation reconciliation. */
58
+ discoveryThrough?: Checkpoint;
57
59
  invalidated?: string;
58
60
  }
59
61
  interface WalletStore {
@@ -73,4 +75,4 @@ interface BalanceSnapshot {
73
75
  }
74
76
  declare function walletBalance(state: WalletState, tokenAddress: Hex): BalanceSnapshot;
75
77
 
76
- export { type BalanceSnapshot as B, type OperationStatus as O, type StoredNote as S, type WalletScope as W, type WalletState as a, type WalletStore as b, walletBalance as w };
78
+ export { type BalanceSnapshot as B, type Checkpoint as C, type OperationStatus as O, type ReceiptPosition as R, type SpentState as S, type WalletScope as W, type WalletState as a, type WalletStore as b, type StoredNote as c, walletBalance as w };
@@ -1,4 +1,4 @@
1
- import { a as WalletState, b as WalletStore, W as WalletScope } from './state-DHl6j33x.js';
1
+ import { a as WalletState, b as WalletStore, W as WalletScope } from './state-AUnz7TG7.js';
2
2
 
3
3
  /** A stored encrypted blob and its CAS revision. No private state is exposed to adapters. */
4
4
  interface AtomicRecord {
@@ -1,4 +1,4 @@
1
- import { a as WalletState, b as WalletStore, W as WalletScope } from './state-DHl6j33x.cjs';
1
+ import { a as WalletState, b as WalletStore, W as WalletScope } from './state-AUnz7TG7.cjs';
2
2
 
3
3
  /** A stored encrypted blob and its CAS revision. No private state is exposed to adapters. */
4
4
  interface AtomicRecord {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invisi-labs/sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Invisi client wallet sessions, operations and infrastructure integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -36,10 +36,10 @@
36
36
  "dependencies": {
37
37
  "ethers": "^6.17.0",
38
38
  "@noble/hashes": "1.8.0",
39
- "@invisi-labs/prover": "1.1.3",
40
- "@invisi-labs/core": "1.1.3",
41
- "@invisi-labs/rpc": "1.1.3",
42
- "@invisi-labs/protocol": "1.1.3"
39
+ "@invisi-labs/core": "1.1.5",
40
+ "@invisi-labs/protocol": "1.1.5",
41
+ "@invisi-labs/prover": "1.1.5",
42
+ "@invisi-labs/rpc": "1.1.5"
43
43
  },
44
44
  "devDependencies": {
45
45
  "tsup": "^8.0.0",