@sip-protocol/sdk 0.11.1 → 0.12.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.
Files changed (39) hide show
  1. package/dist/{TransportWebUSB-2KITI5HD.mjs → TransportWebUSB-TXDZJBGS.mjs} +12 -12
  2. package/dist/browser.d.mts +1 -1
  3. package/dist/browser.d.ts +1 -1
  4. package/dist/browser.js +864 -545
  5. package/dist/browser.mjs +13 -3
  6. package/dist/{chunk-L4RKPNIJ.mjs → chunk-4EHEBTKP.mjs} +132 -87
  7. package/dist/{chunk-7IUKXWDN.mjs → chunk-MKTCJPFH.mjs} +331 -94
  8. package/dist/{chunk-IBZVA5Y7.mjs → chunk-NMC5RNMV.mjs} +2 -2
  9. package/dist/{chunk-XGB3TDIC.mjs → chunk-S3F4CPQ5.mjs} +5 -1
  10. package/dist/{constants-DCJYTIU3.mjs → constants-NCGOQF7S.mjs} +1 -1
  11. package/dist/{dist-PYEXZNFD.mjs → dist-4KSUM2PU.mjs} +2 -2
  12. package/dist/{dist-IFHPYLDX.mjs → dist-4O5YILSN.mjs} +2 -2
  13. package/dist/{fulfillment_proof-ANHVPKTB.mjs → fulfillment_proof-WCEE5GGO.mjs} +1 -1
  14. package/dist/{funding_proof-ICFZ5LHY.mjs → funding_proof-X5IP4SG5.mjs} +1 -1
  15. package/dist/{index-DH5XRHYV.d.mts → index-B_fGN4Fk.d.mts} +796 -597
  16. package/dist/{index-mw7KGX5M.d.ts → index-rqQpCeVM.d.ts} +796 -597
  17. package/dist/index.d.mts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +864 -545
  20. package/dist/index.mjs +13 -3
  21. package/dist/proofs/halo2.mjs +1 -1
  22. package/dist/proofs/kimchi.mjs +1 -1
  23. package/dist/proofs/noir.mjs +1 -1
  24. package/dist/{solana-7QOA3HBZ.mjs → solana-VKZI66MK.mjs} +12 -2
  25. package/dist/{validity_proof-3POXLPNY.mjs → validity_proof-2GVV6GA6.mjs} +1 -1
  26. package/package.json +6 -5
  27. package/src/chains/solana/gasless-cashout.ts +331 -0
  28. package/src/chains/solana/index.ts +16 -0
  29. package/src/chains/solana/privacy-adapter.ts +1 -0
  30. package/src/chains/solana/providers/webhook.ts +1 -0
  31. package/src/chains/solana/relayer-fee.ts +39 -0
  32. package/src/chains/solana/scan.ts +11 -70
  33. package/src/chains/solana/stealth-scanner.ts +8 -0
  34. package/src/chains/solana/stealth-signer.ts +145 -0
  35. package/src/chains/solana/types.ts +2 -0
  36. package/src/index.ts +14 -0
  37. package/src/proofs/parallel/concurrency.ts +2 -2
  38. package/src/solana/jito-relayer.ts +40 -8
  39. package/src/wallet/solana/privacy-adapter.ts +29 -66
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  __require
4
- } from "./chunk-XGB3TDIC.mjs";
4
+ } from "./chunk-S3F4CPQ5.mjs";
5
5
 
6
6
  // ../../node_modules/.pnpm/agent-base@7.1.4/node_modules/agent-base/dist/helpers.js
7
7
  var require_helpers = __commonJS({
@@ -113,7 +113,7 @@ var require_dist = __commonJS({
113
113
  var http = __importStar(__require("http"));
114
114
  var https_1 = __require("https");
115
115
  __exportStar(require_helpers(), exports);
116
- var INTERNAL = Symbol("AgentBaseInternalState");
116
+ var INTERNAL = /* @__PURE__ */ Symbol("AgentBaseInternalState");
117
117
  var Agent = class extends http.Agent {
118
118
  constructor(opts) {
119
119
  super(opts);
@@ -11,7 +11,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
11
11
  throw Error('Dynamic require of "' + x + '" is not supported');
12
12
  });
13
13
  var __commonJS = (cb, mod) => function __require2() {
14
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
14
+ try {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ } catch (e) {
17
+ throw mod = 0, e;
18
+ }
15
19
  };
16
20
  var __export = (target, all) => {
17
21
  for (var name in all)
@@ -25,7 +25,7 @@ import {
25
25
  getTokenMint,
26
26
  sanitizeUrl
27
27
  } from "./chunk-KXETSSKP.mjs";
28
- import "./chunk-XGB3TDIC.mjs";
28
+ import "./chunk-S3F4CPQ5.mjs";
29
29
  export {
30
30
  ATA_RENT_LAMPORTS,
31
31
  DEFAULT_SCAN_LIMIT,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  require_dist,
3
3
  require_src
4
- } from "./chunk-IBZVA5Y7.mjs";
4
+ } from "./chunk-NMC5RNMV.mjs";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
8
- } from "./chunk-XGB3TDIC.mjs";
8
+ } from "./chunk-S3F4CPQ5.mjs";
9
9
 
10
10
  // ../../node_modules/.pnpm/smart-buffer@4.2.0/node_modules/smart-buffer/build/utils.js
11
11
  var require_utils = __commonJS({
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  require_dist,
3
3
  require_src
4
- } from "./chunk-IBZVA5Y7.mjs";
4
+ } from "./chunk-NMC5RNMV.mjs";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
8
- } from "./chunk-XGB3TDIC.mjs";
8
+ } from "./chunk-S3F4CPQ5.mjs";
9
9
 
10
10
  // ../../node_modules/.pnpm/https-proxy-agent@7.0.6/node_modules/https-proxy-agent/dist/parse-proxy-response.js
11
11
  var require_parse_proxy_response = __commonJS({
@@ -8,7 +8,7 @@ import {
8
8
  hash,
9
9
  noir_version
10
10
  } from "./chunk-GMDGB22A.mjs";
11
- import "./chunk-XGB3TDIC.mjs";
11
+ import "./chunk-S3F4CPQ5.mjs";
12
12
  export {
13
13
  abi,
14
14
  bytecode,
@@ -8,7 +8,7 @@ import {
8
8
  hash,
9
9
  noir_version
10
10
  } from "./chunk-PRRZAWJE.mjs";
11
- import "./chunk-XGB3TDIC.mjs";
11
+ import "./chunk-S3F4CPQ5.mjs";
12
12
  export {
13
13
  abi,
14
14
  bytecode,