@stripe/connect-js 3.3.28 → 3.3.29

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.
@@ -235,7 +235,7 @@ const createWrapper = stripeConnect => {
235
235
  sdk: true,
236
236
  sdkOptions: {
237
237
  // This will be replaced by the npm package version when bundling
238
- sdkVersion: "3.3.28"
238
+ sdkVersion: "3.3.29"
239
239
  }
240
240
  })
241
241
  }));
package/dist/connect.js CHANGED
@@ -239,7 +239,7 @@ const createWrapper = stripeConnect => {
239
239
  sdk: true,
240
240
  sdkOptions: {
241
241
  // This will be replaced by the npm package version when bundling
242
- sdkVersion: "3.3.28"
242
+ sdkVersion: "3.3.29"
243
243
  }
244
244
  })
245
245
  }));
package/dist/pure.esm.js CHANGED
@@ -235,7 +235,7 @@ const createWrapper = stripeConnect => {
235
235
  sdk: true,
236
236
  sdkOptions: {
237
237
  // This will be replaced by the npm package version when bundling
238
- sdkVersion: "3.3.28"
238
+ sdkVersion: "3.3.29"
239
239
  }
240
240
  })
241
241
  }));
package/dist/pure.js CHANGED
@@ -239,7 +239,7 @@ const createWrapper = stripeConnect => {
239
239
  sdk: true,
240
240
  sdkOptions: {
241
241
  // This will be replaced by the npm package version when bundling
242
- sdkVersion: "3.3.28"
242
+ sdkVersion: "3.3.29"
243
243
  }
244
244
  })
245
245
  }));
@@ -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.28",
3
+ "version": "3.3.29",
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 =