@stripe/connect-js 3.3.5-beta-1 → 3.3.6-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 +4 -2
- package/dist/connect.js +4 -2
- package/dist/pure.esm.js +4 -2
- package/dist/pure.js +4 -2
- package/dist/src/shared.d.ts +1 -1
- package/package.json +1 -1
- package/src/shared.ts +6 -2
- package/types/shared.d.ts +3 -1
package/dist/connect.esm.js
CHANGED
|
@@ -48,7 +48,9 @@ const componentNameMapping = {
|
|
|
48
48
|
"financial-account": "stripe-connect-financial-account",
|
|
49
49
|
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
50
50
|
"capital-overview": "stripe-connect-capital-overview",
|
|
51
|
-
documents: "stripe-connect-documents"
|
|
51
|
+
documents: "stripe-connect-documents",
|
|
52
|
+
"tax-registrations": "stripe-connect-tax-registrations",
|
|
53
|
+
"tax-settings": "stripe-connect-tax-settings"
|
|
52
54
|
};
|
|
53
55
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
54
56
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -175,7 +177,7 @@ const createWrapper = stripeConnect => {
|
|
|
175
177
|
sdk: true,
|
|
176
178
|
sdkOptions: {
|
|
177
179
|
// This will be replaced by the npm package version when bundling
|
|
178
|
-
sdkVersion: "3.3.
|
|
180
|
+
sdkVersion: "3.3.6-beta-1"
|
|
179
181
|
}
|
|
180
182
|
})
|
|
181
183
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -52,7 +52,9 @@ const componentNameMapping = {
|
|
|
52
52
|
"financial-account": "stripe-connect-financial-account",
|
|
53
53
|
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
54
54
|
"capital-overview": "stripe-connect-capital-overview",
|
|
55
|
-
documents: "stripe-connect-documents"
|
|
55
|
+
documents: "stripe-connect-documents",
|
|
56
|
+
"tax-registrations": "stripe-connect-tax-registrations",
|
|
57
|
+
"tax-settings": "stripe-connect-tax-settings"
|
|
56
58
|
};
|
|
57
59
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
58
60
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -179,7 +181,7 @@ const createWrapper = stripeConnect => {
|
|
|
179
181
|
sdk: true,
|
|
180
182
|
sdkOptions: {
|
|
181
183
|
// This will be replaced by the npm package version when bundling
|
|
182
|
-
sdkVersion: "3.3.
|
|
184
|
+
sdkVersion: "3.3.6-beta-1"
|
|
183
185
|
}
|
|
184
186
|
})
|
|
185
187
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -48,7 +48,9 @@ const componentNameMapping = {
|
|
|
48
48
|
"financial-account": "stripe-connect-financial-account",
|
|
49
49
|
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
50
50
|
"capital-overview": "stripe-connect-capital-overview",
|
|
51
|
-
documents: "stripe-connect-documents"
|
|
51
|
+
documents: "stripe-connect-documents",
|
|
52
|
+
"tax-registrations": "stripe-connect-tax-registrations",
|
|
53
|
+
"tax-settings": "stripe-connect-tax-settings"
|
|
52
54
|
};
|
|
53
55
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
54
56
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -175,7 +177,7 @@ const createWrapper = stripeConnect => {
|
|
|
175
177
|
sdk: true,
|
|
176
178
|
sdkOptions: {
|
|
177
179
|
// This will be replaced by the npm package version when bundling
|
|
178
|
-
sdkVersion: "3.3.
|
|
180
|
+
sdkVersion: "3.3.6-beta-1"
|
|
179
181
|
}
|
|
180
182
|
})
|
|
181
183
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -52,7 +52,9 @@ const componentNameMapping = {
|
|
|
52
52
|
"financial-account": "stripe-connect-financial-account",
|
|
53
53
|
"financial-account-transactions": "stripe-connect-financial-account-transactions",
|
|
54
54
|
"capital-overview": "stripe-connect-capital-overview",
|
|
55
|
-
documents: "stripe-connect-documents"
|
|
55
|
+
documents: "stripe-connect-documents",
|
|
56
|
+
"tax-registrations": "stripe-connect-tax-registrations",
|
|
57
|
+
"tax-settings": "stripe-connect-tax-settings"
|
|
56
58
|
};
|
|
57
59
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
58
60
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -179,7 +181,7 @@ const createWrapper = stripeConnect => {
|
|
|
179
181
|
sdk: true,
|
|
180
182
|
sdkOptions: {
|
|
181
183
|
// This will be replaced by the npm package version when bundling
|
|
182
|
-
sdkVersion: "3.3.
|
|
184
|
+
sdkVersion: "3.3.6-beta-1"
|
|
183
185
|
}
|
|
184
186
|
})
|
|
185
187
|
}));
|
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-financial-account" | "stripe-connect-financial-account-transactions" | "stripe-connect-capital-overview" | "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-capital-overview" | "stripe-connect-documents" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings";
|
|
4
4
|
export declare const componentNameMapping: Record<ConnectElementTagName, ConnectElementHTMLName>;
|
|
5
5
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|
|
6
6
|
debugInstance: () => Promise<StripeConnectInstance>;
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -24,7 +24,9 @@ export type ConnectElementHTMLName =
|
|
|
24
24
|
| "stripe-connect-financial-account"
|
|
25
25
|
| "stripe-connect-financial-account-transactions"
|
|
26
26
|
| "stripe-connect-capital-overview"
|
|
27
|
-
| "stripe-connect-documents"
|
|
27
|
+
| "stripe-connect-documents"
|
|
28
|
+
| "stripe-connect-tax-registrations"
|
|
29
|
+
| "stripe-connect-tax-settings";
|
|
28
30
|
|
|
29
31
|
export const componentNameMapping: Record<
|
|
30
32
|
ConnectElementTagName,
|
|
@@ -44,7 +46,9 @@ export const componentNameMapping: Record<
|
|
|
44
46
|
"financial-account-transactions":
|
|
45
47
|
"stripe-connect-financial-account-transactions",
|
|
46
48
|
"capital-overview": "stripe-connect-capital-overview",
|
|
47
|
-
documents: "stripe-connect-documents"
|
|
49
|
+
documents: "stripe-connect-documents",
|
|
50
|
+
"tax-registrations": "stripe-connect-tax-registrations",
|
|
51
|
+
"tax-settings": "stripe-connect-tax-settings"
|
|
48
52
|
};
|
|
49
53
|
|
|
50
54
|
type StripeConnectInstanceExtended = StripeConnectInstance & {
|