@p2pdotme/sdk 1.0.0 → 1.0.1

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/react.d.cts CHANGED
@@ -26,6 +26,7 @@ declare const ZodCurrencySchema: z.ZodEnum<{
26
26
  EUR: "EUR";
27
27
  NGN: "NGN";
28
28
  USD: "USD";
29
+ COP: "COP";
29
30
  }>;
30
31
  type CurrencyType = z.infer<typeof ZodCurrencySchema>;
31
32
 
@@ -189,6 +190,7 @@ declare const ZodPlaceOrderParamsSchema: z.ZodObject<{
189
190
  EUR: "EUR";
190
191
  NGN: "NGN";
191
192
  USD: "USD";
193
+ COP: "COP";
192
194
  }>;
193
195
  fiatAmount: z.ZodBigInt;
194
196
  user: z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>;
@@ -235,6 +237,7 @@ declare const ZodGetBalancesParamsSchema: z.ZodObject<{
235
237
  EUR: "EUR";
236
238
  NGN: "NGN";
237
239
  USD: "USD";
240
+ COP: "COP";
238
241
  }>;
239
242
  }, z.core.$strip>;
240
243
  type GetBalancesParams = z.infer<typeof ZodGetBalancesParamsSchema>;
@@ -250,6 +253,7 @@ declare const ZodTxLimitsParamsSchema: z.ZodObject<{
250
253
  EUR: "EUR";
251
254
  NGN: "NGN";
252
255
  USD: "USD";
256
+ COP: "COP";
253
257
  }>;
254
258
  }, z.core.$strip>;
255
259
  type TxLimitsParams = z.infer<typeof ZodTxLimitsParamsSchema>;
@@ -264,6 +268,7 @@ declare const ZodPriceConfigParamsSchema: z.ZodObject<{
264
268
  EUR: "EUR";
265
269
  NGN: "NGN";
266
270
  USD: "USD";
271
+ COP: "COP";
267
272
  }>;
268
273
  }, z.core.$strip>;
269
274
  type PriceConfigParams = z.infer<typeof ZodPriceConfigParamsSchema>;
package/dist/react.d.ts CHANGED
@@ -26,6 +26,7 @@ declare const ZodCurrencySchema: z.ZodEnum<{
26
26
  EUR: "EUR";
27
27
  NGN: "NGN";
28
28
  USD: "USD";
29
+ COP: "COP";
29
30
  }>;
30
31
  type CurrencyType = z.infer<typeof ZodCurrencySchema>;
31
32
 
@@ -189,6 +190,7 @@ declare const ZodPlaceOrderParamsSchema: z.ZodObject<{
189
190
  EUR: "EUR";
190
191
  NGN: "NGN";
191
192
  USD: "USD";
193
+ COP: "COP";
192
194
  }>;
193
195
  fiatAmount: z.ZodBigInt;
194
196
  user: z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>;
@@ -235,6 +237,7 @@ declare const ZodGetBalancesParamsSchema: z.ZodObject<{
235
237
  EUR: "EUR";
236
238
  NGN: "NGN";
237
239
  USD: "USD";
240
+ COP: "COP";
238
241
  }>;
239
242
  }, z.core.$strip>;
240
243
  type GetBalancesParams = z.infer<typeof ZodGetBalancesParamsSchema>;
@@ -250,6 +253,7 @@ declare const ZodTxLimitsParamsSchema: z.ZodObject<{
250
253
  EUR: "EUR";
251
254
  NGN: "NGN";
252
255
  USD: "USD";
256
+ COP: "COP";
253
257
  }>;
254
258
  }, z.core.$strip>;
255
259
  type TxLimitsParams = z.infer<typeof ZodTxLimitsParamsSchema>;
@@ -264,6 +268,7 @@ declare const ZodPriceConfigParamsSchema: z.ZodObject<{
264
268
  EUR: "EUR";
265
269
  NGN: "NGN";
266
270
  USD: "USD";
271
+ COP: "COP";
267
272
  }>;
268
273
  }, z.core.$strip>;
269
274
  type PriceConfigParams = z.infer<typeof ZodPriceConfigParamsSchema>;
package/dist/react.mjs CHANGED
@@ -106,7 +106,8 @@ var ZodCurrencySchema = z.enum([
106
106
  "VEN",
107
107
  "EUR",
108
108
  "NGN",
109
- "USD"
109
+ "USD",
110
+ "COP"
110
111
  ]);
111
112
  function validate(schema, data, toError) {
112
113
  const result = schema.safeParse(data);