@nowramp/sdk 0.1.34 → 0.1.35

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -669,8 +669,10 @@ interface CheckoutIntent {
669
669
  interface CreateCheckoutIntentParams {
670
670
  /** Gateway ID to use */
671
671
  gateway: string;
672
- /** External customer ID (optional backend will auto-create guest if omitted) */
672
+ /** Internal customer UUID (from session flow) */
673
673
  customerId?: string;
674
+ /** Partner's external customer ID (e.g. "user_123") — resolves to internal customer */
675
+ externalCustomerId?: string;
674
676
  /** Fiat currency code */
675
677
  fiatCurrency: string;
676
678
  /** Fiat amount (required for buy, optional for sell) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nowramp/sdk",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "Official SDK for embedding the NowRamp fiat-to-crypto widget",
5
5
  "author": "NowRamp <support@nowramp.com>",
6
6
  "license": "MIT",