flowgrid-sdk 1.0.0 → 1.0.2

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.
@@ -70,8 +70,6 @@ export interface OutOfStockConfig {
70
70
  hadDemand: boolean;
71
71
  /** Number of users who viewed while out of stock */
72
72
  viewsWhileOOS?: number;
73
- /** Expected restock date */
74
- expectedRestock?: string;
75
73
  }
76
74
  /**
77
75
  * Inventory response from API.
@@ -108,8 +108,8 @@ export interface ShippingInfo {
108
108
  export interface PaymentInfo {
109
109
  /** Payment method (e.g., "credit_card", "paypal", "apple_pay") */
110
110
  method: string;
111
- /** Payment provider */
112
- provider?: string;
111
+ /** Payment provider (e.g., "stripe", "paypal", "adyen") */
112
+ provider?: "stripe" | "paypal" | "adyen" | "checkout_com" | "worldpay" | "braintree" | "square" | "apple_pay" | "google_pay" | "samsung_pay" | "amazon_pay" | "klarna" | "afterpay" | "affirm" | "zip" | "alipay" | "wechat_pay" | "razorpay" | "paystack" | "flutterwave" | "mercado_pago" | "coinbase_commerce" | "bitpay" | "other" | string;
113
113
  /** Last 4 digits of card (if applicable) */
114
114
  cardLast4?: string;
115
115
  /** Card brand (if applicable) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowgrid-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A TypeScript SDK for tracking user events, feature usage, experiments, and feature flags with Flowgrid.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",