@miden-sdk/react 0.14.0 → 0.14.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/index.js CHANGED
@@ -2285,7 +2285,9 @@ function useSend() {
2285
2285
  noteType,
2286
2286
  new import_miden_sdk16.NoteAttachment()
2287
2287
  );
2288
- const txRequest = new import_miden_sdk16.TransactionRequestBuilder().withOwnOutputNotes(new import_miden_sdk16.NoteArray([p2idNote])).build();
2288
+ const ownOutputs = new import_miden_sdk16.NoteArray();
2289
+ ownOutputs.push(p2idNote);
2290
+ const txRequest = new import_miden_sdk16.TransactionRequestBuilder().withOwnOutputNotes(ownOutputs).build();
2289
2291
  const execFromId = parseAccountId(options.from);
2290
2292
  const txId = prover ? await client.submitNewTransactionWithProver(
2291
2293
  execFromId,
package/dist/index.mjs CHANGED
@@ -2239,7 +2239,9 @@ function useSend() {
2239
2239
  noteType,
2240
2240
  new NoteAttachment2()
2241
2241
  );
2242
- const txRequest = new TransactionRequestBuilder().withOwnOutputNotes(new NoteArray([p2idNote])).build();
2242
+ const ownOutputs = new NoteArray();
2243
+ ownOutputs.push(p2idNote);
2244
+ const txRequest = new TransactionRequestBuilder().withOwnOutputNotes(ownOutputs).build();
2243
2245
  const execFromId = parseAccountId(options.from);
2244
2246
  const txId = prover ? await client.submitNewTransactionWithProver(
2245
2247
  execFromId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miden-sdk/react",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "React hooks library for Miden Web Client",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,7 +28,7 @@
28
28
  "test:all": "VITE_CJS_IGNORE_WARNING=1 vitest run && playwright test"
29
29
  },
30
30
  "peerDependencies": {
31
- "@miden-sdk/miden-sdk": "^0.14.0",
31
+ "@miden-sdk/miden-sdk": "^0.14.1",
32
32
  "react": ">=18.0.0"
33
33
  },
34
34
  "dependencies": {