@rhinestone/deposit-modal 0.20.0 → 0.21.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 (53) hide show
  1. package/README.md +45 -17
  2. package/dist/{BankOnrampStep-JG32OCM2.mjs → BankOnrampStep-JTU7WS5R.mjs} +22 -12
  3. package/dist/{BankOnrampStep-NPGXAA7U.cjs → BankOnrampStep-QCPISCAQ.cjs} +34 -24
  4. package/dist/{DepositModalReown-3FGTPER6.mjs → DepositModalReown-FJBSF4VL.mjs} +5 -3
  5. package/dist/{DepositModalReown-ALVWADG7.cjs → DepositModalReown-QJ6O2FWY.cjs} +18 -16
  6. package/dist/{WithdrawModal-LL4Z5WZP.mjs → WithdrawModal-CB7RNEPI.mjs} +3 -3
  7. package/dist/WithdrawModal-E2BTWJV7.cjs +12 -0
  8. package/dist/{chunk-B2LZQIGB.mjs → chunk-2D3J53PX.mjs} +1 -1
  9. package/dist/{chunk-CXRH5MKO.cjs → chunk-4O2UGFFT.cjs} +385 -297
  10. package/dist/{chunk-HP7S7AD6.mjs → chunk-7CHQA2OZ.mjs} +1 -1
  11. package/dist/chunk-ADEWTBSN.cjs +19 -0
  12. package/dist/{chunk-FMUSY563.cjs → chunk-AV3SA7TW.cjs} +3 -3
  13. package/dist/{chunk-247GJH57.mjs → chunk-B2LUWNFX.mjs} +583 -533
  14. package/dist/{chunk-Z4RBTNKX.cjs → chunk-CAIRS4LK.cjs} +732 -682
  15. package/dist/{chunk-OPT5EW6L.cjs → chunk-CG3JKPUF.cjs} +2 -2
  16. package/dist/{chunk-5QUWEFD4.mjs → chunk-CXEQFRX4.mjs} +1 -1
  17. package/dist/chunk-PP4QE32S.mjs +19 -0
  18. package/dist/{chunk-XBJCZYBX.mjs → chunk-PZIKRYMO.mjs} +1 -1
  19. package/dist/{chunk-BTEG2VNZ.cjs → chunk-U7NYYT4Q.cjs} +58 -58
  20. package/dist/{chunk-32ERBFMO.mjs → chunk-UNXUOV3F.mjs} +131 -43
  21. package/dist/{chunk-EKFXUF5A.cjs → chunk-VQAV6ESI.cjs} +1 -1
  22. package/dist/{chunk-6CTJFR3T.mjs → chunk-WK2ELRL3.mjs} +5 -16
  23. package/dist/{chunk-PYRXOP2Y.cjs → chunk-X425VJFY.cjs} +10 -21
  24. package/dist/compliance.cjs +4 -4
  25. package/dist/compliance.mjs +3 -3
  26. package/dist/constants.cjs +2 -2
  27. package/dist/constants.d.cts +1 -1
  28. package/dist/constants.d.ts +1 -1
  29. package/dist/constants.mjs +1 -1
  30. package/dist/deposit.cjs +6 -4
  31. package/dist/deposit.d.cts +2 -2
  32. package/dist/deposit.d.ts +2 -2
  33. package/dist/deposit.mjs +5 -3
  34. package/dist/embed.cjs +16 -14
  35. package/dist/embed.d.cts +1 -1
  36. package/dist/embed.d.ts +1 -1
  37. package/dist/embed.mjs +6 -4
  38. package/dist/index.cjs +7 -5
  39. package/dist/index.d.cts +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.mjs +6 -4
  42. package/dist/onramp.cjs +5 -4
  43. package/dist/onramp.mjs +4 -3
  44. package/dist/server.cjs +12 -8
  45. package/dist/server.mjs +11 -7
  46. package/dist/{types-CixUBhrM.d.cts → types-BrxDZNEr.d.cts} +23 -11
  47. package/dist/{types-BxSrazbq.d.ts → types-DCUB4DY8.d.ts} +23 -11
  48. package/dist/withdraw.cjs +4 -4
  49. package/dist/withdraw.d.cts +2 -2
  50. package/dist/withdraw.d.ts +2 -2
  51. package/dist/withdraw.mjs +3 -3
  52. package/package.json +5 -5
  53. package/dist/WithdrawModal-5YWFJSYY.cjs +0 -12
@@ -40,7 +40,7 @@ import {
40
40
  useTokenPrices,
41
41
  useWithdrawAnalyticsEmitter,
42
42
  warnRemovedProps
43
- } from "./chunk-32ERBFMO.mjs";
43
+ } from "./chunk-UNXUOV3F.mjs";
44
44
  import {
45
45
  BodyHeader,
46
46
  ChevronDownIcon,
@@ -0,0 +1,19 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/core/ramp-utils.ts
2
+ function rampQuery(value) {
3
+ return new URLSearchParams(
4
+ Object.entries(value).filter(([, value2]) => value2 !== void 0).map(([key, value2]) => [key, String(value2)])
5
+ ).toString();
6
+ }
7
+ function rampResourceId(value) {
8
+ if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(
9
+ value
10
+ )) {
11
+ throw new Error("Invalid ramp resource ID");
12
+ }
13
+ return value;
14
+ }
15
+
16
+
17
+
18
+
19
+ exports.rampQuery = rampQuery; exports.rampResourceId = rampResourceId;
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOPT5EW6Lcjs = require('./chunk-OPT5EW6L.cjs');
3
+ var _chunkCG3JKPUFcjs = require('./chunk-CG3JKPUF.cjs');
4
4
 
5
5
  // src/core/compliance-service.ts
6
6
  function getComplianceStatus(options) {
7
- return _chunkOPT5EW6Lcjs.createBearerTransport.call(void 0, options)("/compliance/status");
7
+ return _chunkCG3JKPUFcjs.createBearerTransport.call(void 0, options)("/compliance/status");
8
8
  }
9
9
  function startComplianceVerification(options) {
10
- return _chunkOPT5EW6Lcjs.createBearerTransport.call(void 0, options)(
10
+ return _chunkCG3JKPUFcjs.createBearerTransport.call(void 0, options)(
11
11
  "/compliance/verification",
12
12
  {}
13
13
  );