@p2pdotme/sdk 1.2.4 → 1.2.6

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 (57) hide show
  1. package/dist/country.cjs +87 -3
  2. package/dist/country.cjs.map +1 -1
  3. package/dist/country.d.cts +14 -1
  4. package/dist/country.d.ts +14 -1
  5. package/dist/country.mjs +85 -3
  6. package/dist/country.mjs.map +1 -1
  7. package/dist/fraud-engine.cjs +2 -1
  8. package/dist/fraud-engine.cjs.map +1 -1
  9. package/dist/fraud-engine.mjs +2 -1
  10. package/dist/fraud-engine.mjs.map +1 -1
  11. package/dist/index.cjs +3 -2
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +1 -0
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.mjs +3 -2
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/orders.cjs +2 -1
  18. package/dist/orders.cjs.map +1 -1
  19. package/dist/orders.d.cts +2 -0
  20. package/dist/orders.d.ts +2 -0
  21. package/dist/orders.mjs +2 -1
  22. package/dist/orders.mjs.map +1 -1
  23. package/dist/prices.cjs +2 -1
  24. package/dist/prices.cjs.map +1 -1
  25. package/dist/prices.d.cts +1 -0
  26. package/dist/prices.d.ts +1 -0
  27. package/dist/prices.mjs +2 -1
  28. package/dist/prices.mjs.map +1 -1
  29. package/dist/profile.cjs +2 -1
  30. package/dist/profile.cjs.map +1 -1
  31. package/dist/profile.d.cts +2 -0
  32. package/dist/profile.d.ts +2 -0
  33. package/dist/profile.mjs +2 -1
  34. package/dist/profile.mjs.map +1 -1
  35. package/dist/qr-parsers.cjs +51 -2
  36. package/dist/qr-parsers.cjs.map +1 -1
  37. package/dist/qr-parsers.d.cts +1 -0
  38. package/dist/qr-parsers.d.ts +1 -0
  39. package/dist/qr-parsers.mjs +51 -2
  40. package/dist/qr-parsers.mjs.map +1 -1
  41. package/dist/react.cjs +2 -1
  42. package/dist/react.cjs.map +1 -1
  43. package/dist/react.d.cts +6 -0
  44. package/dist/react.d.ts +6 -0
  45. package/dist/react.mjs +2 -1
  46. package/dist/react.mjs.map +1 -1
  47. package/dist/stake.cjs +2 -1
  48. package/dist/stake.cjs.map +1 -1
  49. package/dist/stake.d.cts +1 -0
  50. package/dist/stake.d.ts +1 -0
  51. package/dist/stake.mjs +2 -1
  52. package/dist/stake.mjs.map +1 -1
  53. package/dist/zkkyc.cjs +2 -1
  54. package/dist/zkkyc.cjs.map +1 -1
  55. package/dist/zkkyc.mjs +2 -1
  56. package/dist/zkkyc.mjs.map +1 -1
  57. package/package.json +1 -1
package/dist/react.d.cts CHANGED
@@ -149,6 +149,7 @@ declare const ZodGetStakeBoostConfigParamsSchema: z.ZodObject<{
149
149
  USD: "USD";
150
150
  COP: "COP";
151
151
  ECU: "ECU";
152
+ PEN: "PEN";
152
153
  }>;
153
154
  }, z.core.$strip>;
154
155
  type GetStakeBoostConfigParams = z.infer<typeof ZodGetStakeBoostConfigParamsSchema>;
@@ -300,6 +301,7 @@ declare const ZodGetFeeConfigParamsSchema: z.ZodObject<{
300
301
  USD: "USD";
301
302
  COP: "COP";
302
303
  ECU: "ECU";
304
+ PEN: "PEN";
303
305
  }>;
304
306
  }, z.core.$strip>;
305
307
  type GetFeeConfigParams = z.infer<typeof ZodGetFeeConfigParamsSchema>;
@@ -323,6 +325,7 @@ declare const ZodPlaceOrderParamsSchema: z.ZodObject<{
323
325
  USD: "USD";
324
326
  COP: "COP";
325
327
  ECU: "ECU";
328
+ PEN: "PEN";
326
329
  }>;
327
330
  user: z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>;
328
331
  amount: z.ZodBigInt;
@@ -570,6 +573,7 @@ declare const ZodCurrencyScopedParamsSchema: z.ZodObject<{
570
573
  USD: "USD";
571
574
  COP: "COP";
572
575
  ECU: "ECU";
576
+ PEN: "PEN";
573
577
  }>;
574
578
  }, z.core.$strip>;
575
579
  type CurrencyScopedParams = z.infer<typeof ZodCurrencyScopedParamsSchema>;
@@ -636,6 +640,7 @@ declare const ZodGetBalancesParamsSchema: z.ZodObject<{
636
640
  USD: "USD";
637
641
  COP: "COP";
638
642
  ECU: "ECU";
643
+ PEN: "PEN";
639
644
  }>;
640
645
  }, z.core.$strip>;
641
646
  type GetBalancesParams = z.infer<typeof ZodGetBalancesParamsSchema>;
@@ -653,6 +658,7 @@ declare const ZodTxLimitsParamsSchema: z.ZodObject<{
653
658
  USD: "USD";
654
659
  COP: "COP";
655
660
  ECU: "ECU";
661
+ PEN: "PEN";
656
662
  }>;
657
663
  }, z.core.$strip>;
658
664
  type TxLimitsParams = z.infer<typeof ZodTxLimitsParamsSchema>;
package/dist/react.d.ts CHANGED
@@ -149,6 +149,7 @@ declare const ZodGetStakeBoostConfigParamsSchema: z.ZodObject<{
149
149
  USD: "USD";
150
150
  COP: "COP";
151
151
  ECU: "ECU";
152
+ PEN: "PEN";
152
153
  }>;
153
154
  }, z.core.$strip>;
154
155
  type GetStakeBoostConfigParams = z.infer<typeof ZodGetStakeBoostConfigParamsSchema>;
@@ -300,6 +301,7 @@ declare const ZodGetFeeConfigParamsSchema: z.ZodObject<{
300
301
  USD: "USD";
301
302
  COP: "COP";
302
303
  ECU: "ECU";
304
+ PEN: "PEN";
303
305
  }>;
304
306
  }, z.core.$strip>;
305
307
  type GetFeeConfigParams = z.infer<typeof ZodGetFeeConfigParamsSchema>;
@@ -323,6 +325,7 @@ declare const ZodPlaceOrderParamsSchema: z.ZodObject<{
323
325
  USD: "USD";
324
326
  COP: "COP";
325
327
  ECU: "ECU";
328
+ PEN: "PEN";
326
329
  }>;
327
330
  user: z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>;
328
331
  amount: z.ZodBigInt;
@@ -570,6 +573,7 @@ declare const ZodCurrencyScopedParamsSchema: z.ZodObject<{
570
573
  USD: "USD";
571
574
  COP: "COP";
572
575
  ECU: "ECU";
576
+ PEN: "PEN";
573
577
  }>;
574
578
  }, z.core.$strip>;
575
579
  type CurrencyScopedParams = z.infer<typeof ZodCurrencyScopedParamsSchema>;
@@ -636,6 +640,7 @@ declare const ZodGetBalancesParamsSchema: z.ZodObject<{
636
640
  USD: "USD";
637
641
  COP: "COP";
638
642
  ECU: "ECU";
643
+ PEN: "PEN";
639
644
  }>;
640
645
  }, z.core.$strip>;
641
646
  type GetBalancesParams = z.infer<typeof ZodGetBalancesParamsSchema>;
@@ -653,6 +658,7 @@ declare const ZodTxLimitsParamsSchema: z.ZodObject<{
653
658
  USD: "USD";
654
659
  COP: "COP";
655
660
  ECU: "ECU";
661
+ PEN: "PEN";
656
662
  }>;
657
663
  }, z.core.$strip>;
658
664
  type TxLimitsParams = z.infer<typeof ZodTxLimitsParamsSchema>;
package/dist/react.mjs CHANGED
@@ -69,7 +69,8 @@ var CURRENCY = {
69
69
  NGN: "NGN",
70
70
  USD: "USD",
71
71
  COP: "COP",
72
- ECU: "ECU"
72
+ ECU: "ECU",
73
+ PEN: "PEN"
73
74
  };
74
75
  var CURRENCY_CODES = Object.values(CURRENCY);
75
76