@dexterai/vault 0.4.0 → 0.4.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/dist/types.d.cts +4 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/types.d.cts
CHANGED
|
@@ -80,6 +80,10 @@ type HumanAmount = string;
|
|
|
80
80
|
interface SessionScope {
|
|
81
81
|
channelId: string;
|
|
82
82
|
maxAmountAtomic: AtomicAmount;
|
|
83
|
+
/** Revolving capacity cap (atomic units) the on-chain meter (current_outstanding)
|
|
84
|
+
* is checked against. Optional; callers who omit it default to maxAmountAtomic
|
|
85
|
+
* (revolving cap == total cap). The on-chain program requires > 0. */
|
|
86
|
+
revolvingCapacityAtomic?: AtomicAmount;
|
|
83
87
|
expiresAtUnix: number;
|
|
84
88
|
allowedCounterparty: string;
|
|
85
89
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ type HumanAmount = string;
|
|
|
80
80
|
interface SessionScope {
|
|
81
81
|
channelId: string;
|
|
82
82
|
maxAmountAtomic: AtomicAmount;
|
|
83
|
+
/** Revolving capacity cap (atomic units) the on-chain meter (current_outstanding)
|
|
84
|
+
* is checked against. Optional; callers who omit it default to maxAmountAtomic
|
|
85
|
+
* (revolving cap == total cap). The on-chain program requires > 0. */
|
|
86
|
+
revolvingCapacityAtomic?: AtomicAmount;
|
|
83
87
|
expiresAtUnix: number;
|
|
84
88
|
allowedCounterparty: string;
|
|
85
89
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexterai/vault",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Canonical off-chain mirror of the dexter-vault Solana Anchor program — Solana instruction builders, byte-precise message encoders, account decoders, secp256r1/Ed25519 precompile helpers, counterfactual Swig derivation, and signer interfaces. The single source of truth for any TypeScript code that produces bytes the on-chain program will verify.",
|
|
5
5
|
"author": "Dexter",
|
|
6
6
|
"license": "MIT",
|