@nowramp/sdk 0.1.78 → 0.1.79

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 (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -467,6 +467,8 @@ interface SupportedFiat {
467
467
  maxAmount: string;
468
468
  /** Supported payment methods */
469
469
  paymentMethods: string[];
470
+ /** Providers that support this fiat currency */
471
+ providers?: string[];
470
472
  }
471
473
  /**
472
474
  * Crypto currency with network info
@@ -478,6 +480,8 @@ interface SupportedCrypto {
478
480
  name: string;
479
481
  /** Available networks */
480
482
  networks: SupportedNetworkInfo[];
483
+ /** Providers that support this crypto currency */
484
+ providers?: string[];
481
485
  }
482
486
  /**
483
487
  * Blockchain network
@@ -493,6 +497,8 @@ interface SupportedNetworkInfo {
493
497
  maxAmount: string;
494
498
  /** Is the default network for this crypto */
495
499
  isDefault: boolean;
500
+ /** Providers that support this network */
501
+ providers?: string[];
496
502
  }
497
503
  /**
498
504
  * Payment method
@@ -508,6 +514,8 @@ interface SupportedPaymentMethod {
508
514
  supportedFiats: string[];
509
515
  /** Icon URL */
510
516
  icon?: string;
517
+ /** Providers that support this payment method */
518
+ providers?: string[];
511
519
  }
512
520
  /**
513
521
  * Onramp supported configuration (currencies, gateways, payment methods)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nowramp/sdk",
3
- "version": "0.1.78",
3
+ "version": "0.1.79",
4
4
  "description": "Official SDK for embedding the NowRamp fiat-to-crypto widget",
5
5
  "author": "NowRamp <support@nowramp.com>",
6
6
  "license": "MIT",