@stripe/connect-js 3.3.38-preview-1 → 3.3.39-preview-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.
@@ -301,7 +301,7 @@ const createWrapper = stripeConnect => {
301
301
  sdk: true,
302
302
  sdkOptions: {
303
303
  // This will be replaced by the npm package version when bundling
304
- sdkVersion: "3.3.38-preview-1"
304
+ sdkVersion: "3.3.39-preview-1"
305
305
  }
306
306
  })
307
307
  }));
package/dist/connect.js CHANGED
@@ -305,7 +305,7 @@ const createWrapper = stripeConnect => {
305
305
  sdk: true,
306
306
  sdkOptions: {
307
307
  // This will be replaced by the npm package version when bundling
308
- sdkVersion: "3.3.38-preview-1"
308
+ sdkVersion: "3.3.39-preview-1"
309
309
  }
310
310
  })
311
311
  }));
package/dist/pure.esm.js CHANGED
@@ -301,7 +301,7 @@ const createWrapper = stripeConnect => {
301
301
  sdk: true,
302
302
  sdkOptions: {
303
303
  // This will be replaced by the npm package version when bundling
304
- sdkVersion: "3.3.38-preview-1"
304
+ sdkVersion: "3.3.39-preview-1"
305
305
  }
306
306
  })
307
307
  }));
package/dist/pure.js CHANGED
@@ -305,7 +305,7 @@ const createWrapper = stripeConnect => {
305
305
  sdk: true,
306
306
  sdkOptions: {
307
307
  // This will be replaced by the npm package version when bundling
308
- sdkVersion: "3.3.38-preview-1"
308
+ sdkVersion: "3.3.39-preview-1"
309
309
  }
310
310
  })
311
311
  }));
@@ -9,6 +9,11 @@ export type FetchEphemeralKeyFunction = (fetchParams: {
9
9
  export type CollectionOptions = {
10
10
  fields: "currently_due" | "eventually_due";
11
11
  futureRequirements?: "omit" | "include";
12
+ requirements?: {
13
+ only: string[];
14
+ } | {
15
+ exclude: string[];
16
+ };
12
17
  };
13
18
  export type Status = "blocked" | "canceled" | "disputed" | "early_fraud_warning" | "failed" | "incomplete" | "partially_refunded" | "pending" | "refund_pending" | "refunded" | "successful" | "uncaptured";
14
19
  export type PaymentMethod = "ach_credit_transfer" | "ach_debit" | "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "amex_express_checkout" | "android_pay" | "apple_pay" | "au_becs_debit" | "nz_bank_account" | "bancontact" | "bacs_debit" | "bitcoin_source" | "bitcoin" | "blik" | "boleto" | "boleto_pilot" | "card_present" | "card" | "cashapp" | "crypto" | "customer_balance" | "demo_pay" | "dummy_passthrough_card" | "gbp_credit_transfer" | "google_pay" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "id_bank_transfer" | "id_credit_transfer" | "jp_credit_transfer" | "interac_present" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "kr_market" | "link" | "masterpass" | "mb_way" | "meta_pay" | "multibanco" | "mobilepay" | "naver_pay" | "netbanking" | "ng_bank" | "ng_bank_transfer" | "ng_card" | "ng_market" | "ng_ussd" | "vipps" | "oxxo" | "p24" | "payto" | "pay_by_bank" | "paper_check" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "south_korea_market" | "swish" | "three_d_secure" | "three_d_secure_2" | "three_d_secure_2_eap" | "twint" | "upi" | "us_bank_account" | "visa_checkout" | "wechat" | "wechat_pay" | "zip";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.38-preview-1",
3
+ "version": "3.3.39-preview-1",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
package/types/config.ts CHANGED
@@ -13,6 +13,13 @@ export type FetchEphemeralKeyFunction = (fetchParams: {
13
13
  export type CollectionOptions = {
14
14
  fields: "currently_due" | "eventually_due";
15
15
  futureRequirements?: "omit" | "include";
16
+ requirements?:
17
+ | {
18
+ only: string[];
19
+ }
20
+ | {
21
+ exclude: string[];
22
+ };
16
23
  };
17
24
 
18
25
  export type Status =