@auditable/privacy-pool-zk-sdk 0.6.1-rc.5 → 0.7.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.
package/dist/cli.js CHANGED
@@ -2176,6 +2176,7 @@ function helperSubmitWithPassageOperation(helperContractId, params, passageId, e
2176
2176
  function: 'submit_with_passage',
2177
2177
  args: [
2178
2178
  addressToScVal(params.owner),
2179
+ stellarSdk.nativeToScVal(params.nonce, { type: 'u64' }),
2179
2180
  stellarSdk.xdr.ScVal.scvBytes(params.proofBytes),
2180
2181
  stellarSdk.xdr.ScVal.scvBytes(params.publicSignalsBytes),
2181
2182
  onboardingOptionToScVal(params.onboarding),
@@ -2530,6 +2531,7 @@ async function handleKytSubmitApproved(args) {
2530
2531
  rpcUrl: parsed['rpc-url'] ?? 'https://soroban-testnet.stellar.org',
2531
2532
  poolContract: requireParsedArg(parsed, 'pool'),
2532
2533
  owner: requireParsedArg(parsed, 'owner'),
2534
+ nonce: BigInt(parsed['nonce'] ?? '0'),
2533
2535
  proofBytes: hexToBuffer('proof', requireParsedArg(parsed, 'proof')),
2534
2536
  publicSignalsBytes: hexToBuffer('public-signals', requireParsedArg(parsed, 'public-signals')),
2535
2537
  kytSubmitHelperId: requireParsedArg(parsed, 'helper'),