@p2pdotme/sdk 1.2.2 → 1.2.4

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 (58) hide show
  1. package/README.md +1 -1
  2. package/dist/country.cjs +118 -3
  3. package/dist/country.cjs.map +1 -1
  4. package/dist/country.d.cts +13 -1
  5. package/dist/country.d.ts +13 -1
  6. package/dist/country.mjs +115 -3
  7. package/dist/country.mjs.map +1 -1
  8. package/dist/fraud-engine.cjs +2 -1
  9. package/dist/fraud-engine.cjs.map +1 -1
  10. package/dist/fraud-engine.mjs +2 -1
  11. package/dist/fraud-engine.mjs.map +1 -1
  12. package/dist/index.cjs +3 -2
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +1 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.mjs +3 -2
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/orders.cjs +2 -1
  19. package/dist/orders.cjs.map +1 -1
  20. package/dist/orders.d.cts +2 -0
  21. package/dist/orders.d.ts +2 -0
  22. package/dist/orders.mjs +2 -1
  23. package/dist/orders.mjs.map +1 -1
  24. package/dist/prices.cjs +2 -1
  25. package/dist/prices.cjs.map +1 -1
  26. package/dist/prices.d.cts +1 -0
  27. package/dist/prices.d.ts +1 -0
  28. package/dist/prices.mjs +2 -1
  29. package/dist/prices.mjs.map +1 -1
  30. package/dist/profile.cjs +2 -1
  31. package/dist/profile.cjs.map +1 -1
  32. package/dist/profile.d.cts +2 -0
  33. package/dist/profile.d.ts +2 -0
  34. package/dist/profile.mjs +2 -1
  35. package/dist/profile.mjs.map +1 -1
  36. package/dist/qr-parsers.cjs +51 -2
  37. package/dist/qr-parsers.cjs.map +1 -1
  38. package/dist/qr-parsers.d.cts +1 -0
  39. package/dist/qr-parsers.d.ts +1 -0
  40. package/dist/qr-parsers.mjs +51 -2
  41. package/dist/qr-parsers.mjs.map +1 -1
  42. package/dist/react.cjs +2 -1
  43. package/dist/react.cjs.map +1 -1
  44. package/dist/react.d.cts +6 -0
  45. package/dist/react.d.ts +6 -0
  46. package/dist/react.mjs +2 -1
  47. package/dist/react.mjs.map +1 -1
  48. package/dist/stake.cjs +2 -1
  49. package/dist/stake.cjs.map +1 -1
  50. package/dist/stake.d.cts +1 -0
  51. package/dist/stake.d.ts +1 -0
  52. package/dist/stake.mjs +2 -1
  53. package/dist/stake.mjs.map +1 -1
  54. package/dist/zkkyc.cjs +2 -1
  55. package/dist/zkkyc.cjs.map +1 -1
  56. package/dist/zkkyc.mjs +2 -1
  57. package/dist/zkkyc.mjs.map +1 -1
  58. package/package.json +1 -1
package/dist/react.d.cts CHANGED
@@ -148,6 +148,7 @@ declare const ZodGetStakeBoostConfigParamsSchema: z.ZodObject<{
148
148
  NGN: "NGN";
149
149
  USD: "USD";
150
150
  COP: "COP";
151
+ ECU: "ECU";
151
152
  }>;
152
153
  }, z.core.$strip>;
153
154
  type GetStakeBoostConfigParams = z.infer<typeof ZodGetStakeBoostConfigParamsSchema>;
@@ -298,6 +299,7 @@ declare const ZodGetFeeConfigParamsSchema: z.ZodObject<{
298
299
  NGN: "NGN";
299
300
  USD: "USD";
300
301
  COP: "COP";
302
+ ECU: "ECU";
301
303
  }>;
302
304
  }, z.core.$strip>;
303
305
  type GetFeeConfigParams = z.infer<typeof ZodGetFeeConfigParamsSchema>;
@@ -320,6 +322,7 @@ declare const ZodPlaceOrderParamsSchema: z.ZodObject<{
320
322
  NGN: "NGN";
321
323
  USD: "USD";
322
324
  COP: "COP";
325
+ ECU: "ECU";
323
326
  }>;
324
327
  user: z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>;
325
328
  amount: z.ZodBigInt;
@@ -566,6 +569,7 @@ declare const ZodCurrencyScopedParamsSchema: z.ZodObject<{
566
569
  NGN: "NGN";
567
570
  USD: "USD";
568
571
  COP: "COP";
572
+ ECU: "ECU";
569
573
  }>;
570
574
  }, z.core.$strip>;
571
575
  type CurrencyScopedParams = z.infer<typeof ZodCurrencyScopedParamsSchema>;
@@ -631,6 +635,7 @@ declare const ZodGetBalancesParamsSchema: z.ZodObject<{
631
635
  NGN: "NGN";
632
636
  USD: "USD";
633
637
  COP: "COP";
638
+ ECU: "ECU";
634
639
  }>;
635
640
  }, z.core.$strip>;
636
641
  type GetBalancesParams = z.infer<typeof ZodGetBalancesParamsSchema>;
@@ -647,6 +652,7 @@ declare const ZodTxLimitsParamsSchema: z.ZodObject<{
647
652
  NGN: "NGN";
648
653
  USD: "USD";
649
654
  COP: "COP";
655
+ ECU: "ECU";
650
656
  }>;
651
657
  }, z.core.$strip>;
652
658
  type TxLimitsParams = z.infer<typeof ZodTxLimitsParamsSchema>;
package/dist/react.d.ts CHANGED
@@ -148,6 +148,7 @@ declare const ZodGetStakeBoostConfigParamsSchema: z.ZodObject<{
148
148
  NGN: "NGN";
149
149
  USD: "USD";
150
150
  COP: "COP";
151
+ ECU: "ECU";
151
152
  }>;
152
153
  }, z.core.$strip>;
153
154
  type GetStakeBoostConfigParams = z.infer<typeof ZodGetStakeBoostConfigParamsSchema>;
@@ -298,6 +299,7 @@ declare const ZodGetFeeConfigParamsSchema: z.ZodObject<{
298
299
  NGN: "NGN";
299
300
  USD: "USD";
300
301
  COP: "COP";
302
+ ECU: "ECU";
301
303
  }>;
302
304
  }, z.core.$strip>;
303
305
  type GetFeeConfigParams = z.infer<typeof ZodGetFeeConfigParamsSchema>;
@@ -320,6 +322,7 @@ declare const ZodPlaceOrderParamsSchema: z.ZodObject<{
320
322
  NGN: "NGN";
321
323
  USD: "USD";
322
324
  COP: "COP";
325
+ ECU: "ECU";
323
326
  }>;
324
327
  user: z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>;
325
328
  amount: z.ZodBigInt;
@@ -566,6 +569,7 @@ declare const ZodCurrencyScopedParamsSchema: z.ZodObject<{
566
569
  NGN: "NGN";
567
570
  USD: "USD";
568
571
  COP: "COP";
572
+ ECU: "ECU";
569
573
  }>;
570
574
  }, z.core.$strip>;
571
575
  type CurrencyScopedParams = z.infer<typeof ZodCurrencyScopedParamsSchema>;
@@ -631,6 +635,7 @@ declare const ZodGetBalancesParamsSchema: z.ZodObject<{
631
635
  NGN: "NGN";
632
636
  USD: "USD";
633
637
  COP: "COP";
638
+ ECU: "ECU";
634
639
  }>;
635
640
  }, z.core.$strip>;
636
641
  type GetBalancesParams = z.infer<typeof ZodGetBalancesParamsSchema>;
@@ -647,6 +652,7 @@ declare const ZodTxLimitsParamsSchema: z.ZodObject<{
647
652
  NGN: "NGN";
648
653
  USD: "USD";
649
654
  COP: "COP";
655
+ ECU: "ECU";
650
656
  }>;
651
657
  }, z.core.$strip>;
652
658
  type TxLimitsParams = z.infer<typeof ZodTxLimitsParamsSchema>;
package/dist/react.mjs CHANGED
@@ -68,7 +68,8 @@ var CURRENCY = {
68
68
  EUR: "EUR",
69
69
  NGN: "NGN",
70
70
  USD: "USD",
71
- COP: "COP"
71
+ COP: "COP",
72
+ ECU: "ECU"
72
73
  };
73
74
  var CURRENCY_CODES = Object.values(CURRENCY);
74
75