@stripe/connect-js 3.3.3 → 3.3.4
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 +3 -1
- package/dist/connect.js +3 -1
- package/dist/pure.esm.js +3 -1
- package/dist/pure.js +3 -1
- package/dist/src/shared.d.ts +1 -1
- package/package.json +1 -1
- package/src/shared.ts +4 -0
- package/types/shared.d.ts +2 -0
package/dist/connect.esm.js
CHANGED
|
@@ -20,6 +20,8 @@ const componentNameMapping = {
|
|
|
20
20
|
payments: "stripe-connect-payments",
|
|
21
21
|
"payment-details": "stripe-connect-payment-details",
|
|
22
22
|
payouts: "stripe-connect-payouts",
|
|
23
|
+
"account-management": "stripe-connect-account-management",
|
|
24
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
23
25
|
documents: "stripe-connect-documents"
|
|
24
26
|
};
|
|
25
27
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -147,7 +149,7 @@ const createWrapper = stripeConnect => {
|
|
|
147
149
|
sdk: true,
|
|
148
150
|
sdkOptions: {
|
|
149
151
|
// This will be replaced by the npm package version when bundling
|
|
150
|
-
sdkVersion: "3.3.
|
|
152
|
+
sdkVersion: "3.3.4"
|
|
151
153
|
}
|
|
152
154
|
})
|
|
153
155
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -24,6 +24,8 @@ const componentNameMapping = {
|
|
|
24
24
|
payments: "stripe-connect-payments",
|
|
25
25
|
"payment-details": "stripe-connect-payment-details",
|
|
26
26
|
payouts: "stripe-connect-payouts",
|
|
27
|
+
"account-management": "stripe-connect-account-management",
|
|
28
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
27
29
|
documents: "stripe-connect-documents"
|
|
28
30
|
};
|
|
29
31
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -151,7 +153,7 @@ const createWrapper = stripeConnect => {
|
|
|
151
153
|
sdk: true,
|
|
152
154
|
sdkOptions: {
|
|
153
155
|
// This will be replaced by the npm package version when bundling
|
|
154
|
-
sdkVersion: "3.3.
|
|
156
|
+
sdkVersion: "3.3.4"
|
|
155
157
|
}
|
|
156
158
|
})
|
|
157
159
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -20,6 +20,8 @@ const componentNameMapping = {
|
|
|
20
20
|
payments: "stripe-connect-payments",
|
|
21
21
|
"payment-details": "stripe-connect-payment-details",
|
|
22
22
|
payouts: "stripe-connect-payouts",
|
|
23
|
+
"account-management": "stripe-connect-account-management",
|
|
24
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
23
25
|
documents: "stripe-connect-documents"
|
|
24
26
|
};
|
|
25
27
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -147,7 +149,7 @@ const createWrapper = stripeConnect => {
|
|
|
147
149
|
sdk: true,
|
|
148
150
|
sdkOptions: {
|
|
149
151
|
// This will be replaced by the npm package version when bundling
|
|
150
|
-
sdkVersion: "3.3.
|
|
152
|
+
sdkVersion: "3.3.4"
|
|
151
153
|
}
|
|
152
154
|
})
|
|
153
155
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -24,6 +24,8 @@ const componentNameMapping = {
|
|
|
24
24
|
payments: "stripe-connect-payments",
|
|
25
25
|
"payment-details": "stripe-connect-payment-details",
|
|
26
26
|
payouts: "stripe-connect-payouts",
|
|
27
|
+
"account-management": "stripe-connect-account-management",
|
|
28
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
27
29
|
documents: "stripe-connect-documents"
|
|
28
30
|
};
|
|
29
31
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
@@ -151,7 +153,7 @@ const createWrapper = stripeConnect => {
|
|
|
151
153
|
sdk: true,
|
|
152
154
|
sdkOptions: {
|
|
153
155
|
// This will be replaced by the npm package version when bundling
|
|
154
|
-
sdkVersion: "3.3.
|
|
156
|
+
sdkVersion: "3.3.4"
|
|
155
157
|
}
|
|
156
158
|
})
|
|
157
159
|
}));
|
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
|
-
type ConnectElementHTMLName = "stripe-connect-account-onboarding" | "stripe-connect-payments" | "stripe-connect-payment-details" | "stripe-connect-payouts" | "stripe-connect-documents";
|
|
3
|
+
type ConnectElementHTMLName = "stripe-connect-account-onboarding" | "stripe-connect-payments" | "stripe-connect-payment-details" | "stripe-connect-account-management" | "stripe-connect-notification-banner" | "stripe-connect-payouts" | "stripe-connect-documents";
|
|
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
|
@@ -14,6 +14,8 @@ type ConnectElementHTMLName =
|
|
|
14
14
|
| "stripe-connect-account-onboarding"
|
|
15
15
|
| "stripe-connect-payments"
|
|
16
16
|
| "stripe-connect-payment-details"
|
|
17
|
+
| "stripe-connect-account-management"
|
|
18
|
+
| "stripe-connect-notification-banner"
|
|
17
19
|
| "stripe-connect-payouts"
|
|
18
20
|
| "stripe-connect-documents";
|
|
19
21
|
|
|
@@ -25,6 +27,8 @@ export const componentNameMapping: Record<
|
|
|
25
27
|
payments: "stripe-connect-payments",
|
|
26
28
|
"payment-details": "stripe-connect-payment-details",
|
|
27
29
|
payouts: "stripe-connect-payouts",
|
|
30
|
+
"account-management": "stripe-connect-account-management",
|
|
31
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
28
32
|
documents: "stripe-connect-documents"
|
|
29
33
|
};
|
|
30
34
|
|