@arcanetech/privacy-sdk-stellar 0.5.1 → 0.5.4
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/README.md +1 -0
- package/dist/index.d.ts +40 -10
- package/dist/index.js +971 -335
- package/dist/index.js.map +1 -1
- package/dist/node.d.ts +7 -5
- package/dist/node.js +947 -319
- package/dist/node.js.map +1 -1
- package/dist/testing/index.d.ts +1 -0
- package/dist/transact/index.d.ts +40 -10
- package/dist/transact/index.js +905 -291
- package/dist/transact/index.js.map +1 -1
- package/package.json +6 -6
package/dist/node.d.ts
CHANGED
|
@@ -198,14 +198,15 @@ interface StellarTransactEnvironment {
|
|
|
198
198
|
network: StellarNetworkConfig;
|
|
199
199
|
/**
|
|
200
200
|
* Nonce (persistent storage key) of the pool's `ZkConfig` entry this
|
|
201
|
-
* environment's proofs/circuit shape target. Defaults to `
|
|
202
|
-
*
|
|
203
|
-
*
|
|
201
|
+
* environment's proofs/circuit shape target. Defaults to `3n` (bundled 2×2
|
|
202
|
+
* binding layout) when omitted. Also bundled: `7n` (6×6). The value must
|
|
203
|
+
* match the on-chain pool config or bootstrap/execute fails with
|
|
204
|
+
* `no zk circuit configured for nonce …`.
|
|
204
205
|
*/
|
|
205
206
|
zkConfigNonce?: bigint;
|
|
206
207
|
/**
|
|
207
|
-
* Optional nonce-keyed circuit map. Defaults to the SDK bundled 2×2 (nonce
|
|
208
|
-
* and 6×6 (nonce
|
|
208
|
+
* Optional nonce-keyed circuit map. Defaults to the SDK bundled 2×2 (nonce 3)
|
|
209
|
+
* and 6×6 (nonce 7) schemes. URL fields are only for a custom/dev circuit.
|
|
209
210
|
*/
|
|
210
211
|
zkCircuits?: Record<string, StellarZkCircuitDefinition>;
|
|
211
212
|
/**
|
|
@@ -274,6 +275,7 @@ interface StellarTransactArtifacts {
|
|
|
274
275
|
};
|
|
275
276
|
executeFinalizeRequired?: boolean;
|
|
276
277
|
spendSource?: 'privateAddress' | 'escrow';
|
|
278
|
+
zkConfigNonce?: bigint;
|
|
277
279
|
}
|
|
278
280
|
interface StellarOperationReceipt {
|
|
279
281
|
operationId: string;
|