@stripe/connect-js 3.3.34-preview-1 → 3.3.35-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.
- package/dist/connect.esm.js +6 -1
- package/dist/connect.js +6 -1
- package/dist/pure.esm.js +6 -1
- package/dist/pure.js +6 -1
- package/dist/src/shared.d.ts +1 -1
- package/dist/types/config.d.ts +8 -0
- package/package.json +1 -1
- package/src/shared.ts +2 -0
- package/types/config.ts +10 -0
- package/types/shared.d.ts +1 -0
package/dist/connect.esm.js
CHANGED
|
@@ -32,6 +32,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
32
32
|
setCollectionOptions: _collectionOptions => {},
|
|
33
33
|
setOnNotificationsChange: _listener => {}
|
|
34
34
|
},
|
|
35
|
+
"instant-payouts-promotion": {
|
|
36
|
+
setOnInstantPayoutsPromotionLoaded: _listener => {},
|
|
37
|
+
setOnInstantPayoutCreated: _listener => {}
|
|
38
|
+
},
|
|
35
39
|
"issuing-card": {
|
|
36
40
|
setDefaultCard: _defaultCard => {},
|
|
37
41
|
setCardSwitching: _cardSwitching => {},
|
|
@@ -122,6 +126,7 @@ const componentNameMapping = {
|
|
|
122
126
|
"account-management": "stripe-connect-account-management",
|
|
123
127
|
"notification-banner": "stripe-connect-notification-banner",
|
|
124
128
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
129
|
+
"instant-payouts-promotion": "stripe-connect-instant-payouts-promotion",
|
|
125
130
|
"issuing-card": "stripe-connect-issuing-card",
|
|
126
131
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
127
132
|
"financial-account": "stripe-connect-financial-account",
|
|
@@ -289,7 +294,7 @@ const createWrapper = stripeConnect => {
|
|
|
289
294
|
sdk: true,
|
|
290
295
|
sdkOptions: {
|
|
291
296
|
// This will be replaced by the npm package version when bundling
|
|
292
|
-
sdkVersion: "3.3.
|
|
297
|
+
sdkVersion: "3.3.35-preview-1"
|
|
293
298
|
}
|
|
294
299
|
})
|
|
295
300
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -36,6 +36,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
36
36
|
setCollectionOptions: _collectionOptions => {},
|
|
37
37
|
setOnNotificationsChange: _listener => {}
|
|
38
38
|
},
|
|
39
|
+
"instant-payouts-promotion": {
|
|
40
|
+
setOnInstantPayoutsPromotionLoaded: _listener => {},
|
|
41
|
+
setOnInstantPayoutCreated: _listener => {}
|
|
42
|
+
},
|
|
39
43
|
"issuing-card": {
|
|
40
44
|
setDefaultCard: _defaultCard => {},
|
|
41
45
|
setCardSwitching: _cardSwitching => {},
|
|
@@ -126,6 +130,7 @@ const componentNameMapping = {
|
|
|
126
130
|
"account-management": "stripe-connect-account-management",
|
|
127
131
|
"notification-banner": "stripe-connect-notification-banner",
|
|
128
132
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
133
|
+
"instant-payouts-promotion": "stripe-connect-instant-payouts-promotion",
|
|
129
134
|
"issuing-card": "stripe-connect-issuing-card",
|
|
130
135
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
131
136
|
"financial-account": "stripe-connect-financial-account",
|
|
@@ -293,7 +298,7 @@ const createWrapper = stripeConnect => {
|
|
|
293
298
|
sdk: true,
|
|
294
299
|
sdkOptions: {
|
|
295
300
|
// This will be replaced by the npm package version when bundling
|
|
296
|
-
sdkVersion: "3.3.
|
|
301
|
+
sdkVersion: "3.3.35-preview-1"
|
|
297
302
|
}
|
|
298
303
|
})
|
|
299
304
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -32,6 +32,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
32
32
|
setCollectionOptions: _collectionOptions => {},
|
|
33
33
|
setOnNotificationsChange: _listener => {}
|
|
34
34
|
},
|
|
35
|
+
"instant-payouts-promotion": {
|
|
36
|
+
setOnInstantPayoutsPromotionLoaded: _listener => {},
|
|
37
|
+
setOnInstantPayoutCreated: _listener => {}
|
|
38
|
+
},
|
|
35
39
|
"issuing-card": {
|
|
36
40
|
setDefaultCard: _defaultCard => {},
|
|
37
41
|
setCardSwitching: _cardSwitching => {},
|
|
@@ -122,6 +126,7 @@ const componentNameMapping = {
|
|
|
122
126
|
"account-management": "stripe-connect-account-management",
|
|
123
127
|
"notification-banner": "stripe-connect-notification-banner",
|
|
124
128
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
129
|
+
"instant-payouts-promotion": "stripe-connect-instant-payouts-promotion",
|
|
125
130
|
"issuing-card": "stripe-connect-issuing-card",
|
|
126
131
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
127
132
|
"financial-account": "stripe-connect-financial-account",
|
|
@@ -289,7 +294,7 @@ const createWrapper = stripeConnect => {
|
|
|
289
294
|
sdk: true,
|
|
290
295
|
sdkOptions: {
|
|
291
296
|
// This will be replaced by the npm package version when bundling
|
|
292
|
-
sdkVersion: "3.3.
|
|
297
|
+
sdkVersion: "3.3.35-preview-1"
|
|
293
298
|
}
|
|
294
299
|
})
|
|
295
300
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -36,6 +36,10 @@ const ConnectElementCustomMethodConfig = {
|
|
|
36
36
|
setCollectionOptions: _collectionOptions => {},
|
|
37
37
|
setOnNotificationsChange: _listener => {}
|
|
38
38
|
},
|
|
39
|
+
"instant-payouts-promotion": {
|
|
40
|
+
setOnInstantPayoutsPromotionLoaded: _listener => {},
|
|
41
|
+
setOnInstantPayoutCreated: _listener => {}
|
|
42
|
+
},
|
|
39
43
|
"issuing-card": {
|
|
40
44
|
setDefaultCard: _defaultCard => {},
|
|
41
45
|
setCardSwitching: _cardSwitching => {},
|
|
@@ -126,6 +130,7 @@ const componentNameMapping = {
|
|
|
126
130
|
"account-management": "stripe-connect-account-management",
|
|
127
131
|
"notification-banner": "stripe-connect-notification-banner",
|
|
128
132
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
133
|
+
"instant-payouts-promotion": "stripe-connect-instant-payouts-promotion",
|
|
129
134
|
"issuing-card": "stripe-connect-issuing-card",
|
|
130
135
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
131
136
|
"financial-account": "stripe-connect-financial-account",
|
|
@@ -293,7 +298,7 @@ const createWrapper = stripeConnect => {
|
|
|
293
298
|
sdk: true,
|
|
294
299
|
sdkOptions: {
|
|
295
300
|
// This will be replaced by the npm package version when bundling
|
|
296
|
-
sdkVersion: "3.3.
|
|
301
|
+
sdkVersion: "3.3.35-preview-1"
|
|
297
302
|
}
|
|
298
303
|
})
|
|
299
304
|
}));
|
package/dist/src/shared.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IStripeConnectInitParams, StripeConnectInstance, ConnectElementTagName } from "../types";
|
|
2
2
|
export type LoadConnectAndInitialize = (initParams: IStripeConnectInitParams) => StripeConnectInstance;
|
|
3
|
-
export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-payment-disputes" | "stripe-connect-disputes-list" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-issuing-card" | "stripe-connect-issuing-cards-list" | "stripe-connect-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-recipients" | "stripe-connect-capital-financing" | "stripe-connect-capital-financing-application" | "stripe-connect-capital-financing-promotion" | "stripe-connect-capital-overview" | "stripe-connect-documents" | "stripe-connect-product-tax-code-selector" | "stripe-connect-export-tax-transactions" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart";
|
|
3
|
+
export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "stripe-connect-payment-disputes" | "stripe-connect-disputes-list" | "stripe-connect-account-onboarding" | "stripe-connect-payment-method-settings" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-instant-payouts" | "stripe-connect-instant-payouts-promotion" | "stripe-connect-issuing-card" | "stripe-connect-issuing-cards-list" | "stripe-connect-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-recipients" | "stripe-connect-capital-financing" | "stripe-connect-capital-financing-application" | "stripe-connect-capital-financing-promotion" | "stripe-connect-capital-overview" | "stripe-connect-documents" | "stripe-connect-product-tax-code-selector" | "stripe-connect-export-tax-transactions" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" | "stripe-connect-app-viewport" | "stripe-connect-reporting-chart";
|
|
4
4
|
export declare const componentNameMapping: Record<ConnectElementTagName, ConnectElementHTMLName>;
|
|
5
5
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
|
6
6
|
debugInstance: () => Promise<StripeConnectInstance>;
|
package/dist/types/config.d.ts
CHANGED
|
@@ -127,6 +127,14 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
127
127
|
setCollectionOptions: (_collectionOptions: CollectionOptions | undefined) => void;
|
|
128
128
|
setOnNotificationsChange: (_listener: (({ total, actionRequired }: NotificationCount) => void) | undefined) => void;
|
|
129
129
|
};
|
|
130
|
+
"instant-payouts-promotion": {
|
|
131
|
+
setOnInstantPayoutsPromotionLoaded: (_listener: (({ promotionShown }: {
|
|
132
|
+
promotionShown: boolean;
|
|
133
|
+
}) => void) | undefined) => void;
|
|
134
|
+
setOnInstantPayoutCreated: (_listener: (({ payoutId }: {
|
|
135
|
+
payoutId: string;
|
|
136
|
+
}) => void) | undefined) => void;
|
|
137
|
+
};
|
|
130
138
|
"issuing-card": {
|
|
131
139
|
setDefaultCard: (_defaultCard: string | undefined) => void;
|
|
132
140
|
setCardSwitching: (_cardSwitching: boolean | undefined) => void;
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -24,6 +24,7 @@ export type ConnectElementHTMLName =
|
|
|
24
24
|
| "stripe-connect-account-management"
|
|
25
25
|
| "stripe-connect-notification-banner"
|
|
26
26
|
| "stripe-connect-instant-payouts"
|
|
27
|
+
| "stripe-connect-instant-payouts-promotion"
|
|
27
28
|
| "stripe-connect-issuing-card"
|
|
28
29
|
| "stripe-connect-issuing-cards-list"
|
|
29
30
|
| "stripe-connect-financial-account"
|
|
@@ -59,6 +60,7 @@ export const componentNameMapping: Record<
|
|
|
59
60
|
"account-management": "stripe-connect-account-management",
|
|
60
61
|
"notification-banner": "stripe-connect-notification-banner",
|
|
61
62
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
63
|
+
"instant-payouts-promotion": "stripe-connect-instant-payouts-promotion",
|
|
62
64
|
"issuing-card": "stripe-connect-issuing-card",
|
|
63
65
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
64
66
|
"financial-account": "stripe-connect-financial-account",
|
package/types/config.ts
CHANGED
|
@@ -255,6 +255,16 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
255
255
|
| undefined
|
|
256
256
|
): void => {},
|
|
257
257
|
},
|
|
258
|
+
"instant-payouts-promotion": {
|
|
259
|
+
setOnInstantPayoutsPromotionLoaded: (
|
|
260
|
+
_listener:
|
|
261
|
+
| (({ promotionShown }: { promotionShown: boolean }) => void)
|
|
262
|
+
| undefined
|
|
263
|
+
): void => {},
|
|
264
|
+
setOnInstantPayoutCreated: (
|
|
265
|
+
_listener: (({ payoutId }: { payoutId: string }) => void) | undefined
|
|
266
|
+
): void => {},
|
|
267
|
+
},
|
|
258
268
|
"issuing-card": {
|
|
259
269
|
setDefaultCard: (_defaultCard: string | undefined): void => {},
|
|
260
270
|
setCardSwitching: (_cardSwitching: boolean | undefined): void => {},
|
package/types/shared.d.ts
CHANGED