@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/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 `2n` (Commitment
202
- * V2, 95 public signals) when omitted. Nonce `0` is the retired 93-signal
203
- * layout and must be passed explicitly.
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 2)
208
- * and 6×6 (nonce 6) schemes. URL fields are only for a custom/dev circuit.
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;