@sip-protocol/sdk 0.6.11 → 0.6.13

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/browser.js CHANGED
@@ -21974,7 +21974,7 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
21974
21974
  for (let i = 0; i < len; i++) {
21975
21975
  result = result * 256n + BigInt(bytes[i]);
21976
21976
  }
21977
- return result.toString();
21977
+ return `0x${result.toString(16)}`;
21978
21978
  }
21979
21979
  bigintToBytes(value, length) {
21980
21980
  const bytes = new Uint8Array(length);
package/dist/browser.mjs CHANGED
@@ -987,7 +987,7 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
987
987
  for (let i = 0; i < len; i++) {
988
988
  result = result * 256n + BigInt(bytes[i]);
989
989
  }
990
- return result.toString();
990
+ return `0x${result.toString(16)}`;
991
991
  }
992
992
  bigintToBytes(value, length) {
993
993
  const bytes = new Uint8Array(length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sip-protocol/sdk",
3
- "version": "0.6.11",
3
+ "version": "0.6.13",
4
4
  "description": "Core SDK for Shielded Intents Protocol - Privacy layer for cross-chain transactions",
5
5
  "author": "SIP Protocol <hello@sip-protocol.org>",
6
6
  "homepage": "https://sip-protocol.org",
@@ -54,8 +54,8 @@
54
54
  "@noble/ciphers": "^2.0.1",
55
55
  "@noble/curves": "^1.3.0",
56
56
  "@noble/hashes": "^1.3.3",
57
- "@noir-lang/noir_js": "^1.0.0-beta.16",
58
- "@noir-lang/types": "1.0.0-beta.16",
57
+ "@noir-lang/noir_js": "1.0.0-beta.15",
58
+ "@noir-lang/types": "1.0.0-beta.15",
59
59
  "@scure/base": "^2.0.0",
60
60
  "@sip-protocol/types": "^0.2.0"
61
61
  },
@@ -1035,7 +1035,8 @@ export class BrowserNoirProvider implements ProofProvider {
1035
1035
  for (let i = 0; i < len; i++) {
1036
1036
  result = result * 256n + BigInt(bytes[i])
1037
1037
  }
1038
- return result.toString()
1038
+ // Return hex format with 0x prefix to match other field inputs
1039
+ return `0x${result.toString(16)}`
1039
1040
  }
1040
1041
 
1041
1042
  private bigintToBytes(value: bigint, length: number): Uint8Array {