@stripe/connect-js 3.3.1-beta-1 → 3.3.2-beta-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 +9 -1
- package/dist/connect.js +9 -1
- package/dist/pure.esm.js +9 -1
- package/dist/pure.js +9 -1
- package/dist/src/shared.d.ts +1 -1
- package/dist/types/config.d.ts +6 -0
- package/package.json +1 -1
- package/src/shared.ts +5 -0
- package/types/config.ts +6 -0
- package/types/shared.d.ts +2 -0
package/dist/connect.esm.js
CHANGED
|
@@ -22,6 +22,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
22
22
|
"issuing-cards-list": {
|
|
23
23
|
setCardArtFileLink: _cardArtFileLink => {},
|
|
24
24
|
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
25
|
+
},
|
|
26
|
+
"financial-account": {
|
|
27
|
+
setFinancialAccount: _financialAccount => {}
|
|
28
|
+
},
|
|
29
|
+
"financial-account-transactions": {
|
|
30
|
+
setFinancialAccount: _financialAccount => {}
|
|
25
31
|
}
|
|
26
32
|
};
|
|
27
33
|
|
|
@@ -36,6 +42,8 @@ const componentNameMapping = {
|
|
|
36
42
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
37
43
|
"issuing-card": "stripe-connect-issuing-card",
|
|
38
44
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
45
|
+
"financial-account": "stripe-connect-financial-account",
|
|
46
|
+
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
39
47
|
documents: "stripe-connect-documents"
|
|
40
48
|
};
|
|
41
49
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -150,7 +158,7 @@ const createWrapper = stripeConnect => {
|
|
|
150
158
|
sdk: true,
|
|
151
159
|
sdkOptions: {
|
|
152
160
|
// This will be replaced by the npm package version when bundling
|
|
153
|
-
sdkVersion: "3.3.
|
|
161
|
+
sdkVersion: "3.3.2-beta-1"
|
|
154
162
|
}
|
|
155
163
|
})
|
|
156
164
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -26,6 +26,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
26
26
|
"issuing-cards-list": {
|
|
27
27
|
setCardArtFileLink: _cardArtFileLink => {},
|
|
28
28
|
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
29
|
+
},
|
|
30
|
+
"financial-account": {
|
|
31
|
+
setFinancialAccount: _financialAccount => {}
|
|
32
|
+
},
|
|
33
|
+
"financial-account-transactions": {
|
|
34
|
+
setFinancialAccount: _financialAccount => {}
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
|
|
@@ -40,6 +46,8 @@ const componentNameMapping = {
|
|
|
40
46
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
41
47
|
"issuing-card": "stripe-connect-issuing-card",
|
|
42
48
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
49
|
+
"financial-account": "stripe-connect-financial-account",
|
|
50
|
+
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
43
51
|
documents: "stripe-connect-documents"
|
|
44
52
|
};
|
|
45
53
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -154,7 +162,7 @@ const createWrapper = stripeConnect => {
|
|
|
154
162
|
sdk: true,
|
|
155
163
|
sdkOptions: {
|
|
156
164
|
// This will be replaced by the npm package version when bundling
|
|
157
|
-
sdkVersion: "3.3.
|
|
165
|
+
sdkVersion: "3.3.2-beta-1"
|
|
158
166
|
}
|
|
159
167
|
})
|
|
160
168
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -22,6 +22,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
22
22
|
"issuing-cards-list": {
|
|
23
23
|
setCardArtFileLink: _cardArtFileLink => {},
|
|
24
24
|
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
25
|
+
},
|
|
26
|
+
"financial-account": {
|
|
27
|
+
setFinancialAccount: _financialAccount => {}
|
|
28
|
+
},
|
|
29
|
+
"financial-account-transactions": {
|
|
30
|
+
setFinancialAccount: _financialAccount => {}
|
|
25
31
|
}
|
|
26
32
|
};
|
|
27
33
|
|
|
@@ -36,6 +42,8 @@ const componentNameMapping = {
|
|
|
36
42
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
37
43
|
"issuing-card": "stripe-connect-issuing-card",
|
|
38
44
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
45
|
+
"financial-account": "stripe-connect-financial-account",
|
|
46
|
+
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
39
47
|
documents: "stripe-connect-documents"
|
|
40
48
|
};
|
|
41
49
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -150,7 +158,7 @@ const createWrapper = stripeConnect => {
|
|
|
150
158
|
sdk: true,
|
|
151
159
|
sdkOptions: {
|
|
152
160
|
// This will be replaced by the npm package version when bundling
|
|
153
|
-
sdkVersion: "3.3.
|
|
161
|
+
sdkVersion: "3.3.2-beta-1"
|
|
154
162
|
}
|
|
155
163
|
})
|
|
156
164
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -26,6 +26,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
26
26
|
"issuing-cards-list": {
|
|
27
27
|
setCardArtFileLink: _cardArtFileLink => {},
|
|
28
28
|
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
29
|
+
},
|
|
30
|
+
"financial-account": {
|
|
31
|
+
setFinancialAccount: _financialAccount => {}
|
|
32
|
+
},
|
|
33
|
+
"financial-account-transactions": {
|
|
34
|
+
setFinancialAccount: _financialAccount => {}
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
|
|
@@ -40,6 +46,8 @@ const componentNameMapping = {
|
|
|
40
46
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
41
47
|
"issuing-card": "stripe-connect-issuing-card",
|
|
42
48
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
49
|
+
"financial-account": "stripe-connect-financial-account",
|
|
50
|
+
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
43
51
|
documents: "stripe-connect-documents"
|
|
44
52
|
};
|
|
45
53
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -154,7 +162,7 @@ const createWrapper = stripeConnect => {
|
|
|
154
162
|
sdk: true,
|
|
155
163
|
sdkOptions: {
|
|
156
164
|
// This will be replaced by the npm package version when bundling
|
|
157
|
-
sdkVersion: "3.3.
|
|
165
|
+
sdkVersion: "3.3.2-beta-1"
|
|
158
166
|
}
|
|
159
167
|
})
|
|
160
168
|
}));
|
package/dist/src/shared.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { 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-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-documents";
|
|
3
|
+
export type ConnectElementHTMLName = "stripe-connect-payments" | "stripe-connect-payouts" | "stripe-connect-payment-details" | "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-documents";
|
|
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
|
@@ -33,4 +33,10 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
33
33
|
setCardArtFileLink: (_cardArtFileLink: string | undefined) => void;
|
|
34
34
|
setFetchEphemeralKey: (_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined) => void;
|
|
35
35
|
};
|
|
36
|
+
"financial-account": {
|
|
37
|
+
setFinancialAccount: (_financialAccount: string) => void;
|
|
38
|
+
};
|
|
39
|
+
"financial-account-transactions": {
|
|
40
|
+
setFinancialAccount: (_financialAccount: string) => void;
|
|
41
|
+
};
|
|
36
42
|
};
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -21,6 +21,8 @@ export type ConnectElementHTMLName =
|
|
|
21
21
|
| "stripe-connect-instant-payouts"
|
|
22
22
|
| "stripe-connect-issuing-card"
|
|
23
23
|
| "stripe-connect-issuing-cards-list"
|
|
24
|
+
| "stripe-connect-financial-account"
|
|
25
|
+
| "stripe-connect-financial-account-transactions"
|
|
24
26
|
| "stripe-connect-documents";
|
|
25
27
|
|
|
26
28
|
export const componentNameMapping: Record<
|
|
@@ -37,6 +39,9 @@ export const componentNameMapping: Record<
|
|
|
37
39
|
"instant-payouts": "stripe-connect-instant-payouts",
|
|
38
40
|
"issuing-card": "stripe-connect-issuing-card",
|
|
39
41
|
"issuing-cards-list": "stripe-connect-issuing-cards-list",
|
|
42
|
+
"financial-account": "stripe-connect-financial-account",
|
|
43
|
+
"financial-account-transactions":
|
|
44
|
+
"stripe-connect-financial-account-transactions",
|
|
40
45
|
documents: "stripe-connect-documents"
|
|
41
46
|
};
|
|
42
47
|
|
package/types/config.ts
CHANGED
|
@@ -49,5 +49,11 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
49
49
|
setFetchEphemeralKey: (
|
|
50
50
|
_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined
|
|
51
51
|
): void => {}
|
|
52
|
+
},
|
|
53
|
+
"financial-account": {
|
|
54
|
+
setFinancialAccount: (_financialAccount: string): void => {}
|
|
55
|
+
},
|
|
56
|
+
"financial-account-transactions": {
|
|
57
|
+
setFinancialAccount: (_financialAccount: string): void => {}
|
|
52
58
|
}
|
|
53
59
|
};
|