@interest-protocol/vortex-sdk 8.3.0 → 8.4.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.
@@ -31,8 +31,8 @@ export declare const toProveInput: ({ root, merklePath0, merklePath1, publicAmou
31
31
  outputCommitment1: string;
32
32
  hashedAccountSecret: string;
33
33
  accountSecret: string;
34
- inPrivateKey0: bigint;
35
- inPrivateKey1: bigint;
34
+ inPrivateKey0: string;
35
+ inPrivateKey1: string;
36
36
  inAmount0: string;
37
37
  inAmount1: string;
38
38
  inBlinding0: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interest-protocol/vortex-sdk",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "./dist/index.mjs",
@@ -134,8 +134,8 @@ export const toProveInput = ({
134
134
  accountSecret === 0n ? '0' : poseidon1(accountSecret).toString(),
135
135
 
136
136
  accountSecret: accountSecret === 0n ? '12345' : accountSecret.toString(),
137
- inPrivateKey0: vortexKeypair.privateKey,
138
- inPrivateKey1: vortexKeypair.privateKey,
137
+ inPrivateKey0: vortexKeypair.privateKey.toString(),
138
+ inPrivateKey1: vortexKeypair.privateKey.toString(),
139
139
  inAmount0: inputUtxo0.amount.toString(),
140
140
  inAmount1: inputUtxo1.amount.toString(),
141
141
  inBlinding0: inputUtxo0.blinding.toString(),