@stripe/connect-js 2.0.1-beta.6 → 2.0.1-beta.8
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 +5 -2
- package/dist/connect.js +5 -2
- package/dist/pure.esm.js +5 -2
- package/dist/pure.js +5 -2
- package/package.json +1 -1
- package/src/shared.ts +8 -2
- package/types/shared.d.ts +4 -1
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
package/dist/connect.esm.js
CHANGED
|
@@ -3,7 +3,10 @@ const componentNameMapping = {
|
|
|
3
3
|
payouts: "stripe-connect-payouts",
|
|
4
4
|
"payment-details": "stripe-connect-payment-details",
|
|
5
5
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
6
|
-
"payment-method-settings": "stripe-connect-payment-method-settings"
|
|
6
|
+
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
7
|
+
"account-management": "stripe-connect-account-management",
|
|
8
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
9
|
+
"instant-payouts": "stripe-connect-instant-payouts"
|
|
7
10
|
};
|
|
8
11
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
9
12
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -79,7 +82,7 @@ const createWrapper = stripeConnect => {
|
|
|
79
82
|
sdk: true,
|
|
80
83
|
sdkOptions: {
|
|
81
84
|
// This will be replaced by the npm package version when bundling
|
|
82
|
-
sdkVersion: "2.0.1-beta.
|
|
85
|
+
sdkVersion: "2.0.1-beta.8"
|
|
83
86
|
}
|
|
84
87
|
})
|
|
85
88
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -7,7 +7,10 @@ const componentNameMapping = {
|
|
|
7
7
|
payouts: "stripe-connect-payouts",
|
|
8
8
|
"payment-details": "stripe-connect-payment-details",
|
|
9
9
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
10
|
-
"payment-method-settings": "stripe-connect-payment-method-settings"
|
|
10
|
+
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
11
|
+
"account-management": "stripe-connect-account-management",
|
|
12
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
13
|
+
"instant-payouts": "stripe-connect-instant-payouts"
|
|
11
14
|
};
|
|
12
15
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
13
16
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -83,7 +86,7 @@ const createWrapper = stripeConnect => {
|
|
|
83
86
|
sdk: true,
|
|
84
87
|
sdkOptions: {
|
|
85
88
|
// This will be replaced by the npm package version when bundling
|
|
86
|
-
sdkVersion: "2.0.1-beta.
|
|
89
|
+
sdkVersion: "2.0.1-beta.8"
|
|
87
90
|
}
|
|
88
91
|
})
|
|
89
92
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -3,7 +3,10 @@ const componentNameMapping = {
|
|
|
3
3
|
payouts: "stripe-connect-payouts",
|
|
4
4
|
"payment-details": "stripe-connect-payment-details",
|
|
5
5
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
6
|
-
"payment-method-settings": "stripe-connect-payment-method-settings"
|
|
6
|
+
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
7
|
+
"account-management": "stripe-connect-account-management",
|
|
8
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
9
|
+
"instant-payouts": "stripe-connect-instant-payouts"
|
|
7
10
|
};
|
|
8
11
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
9
12
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -79,7 +82,7 @@ const createWrapper = stripeConnect => {
|
|
|
79
82
|
sdk: true,
|
|
80
83
|
sdkOptions: {
|
|
81
84
|
// This will be replaced by the npm package version when bundling
|
|
82
|
-
sdkVersion: "2.0.1-beta.
|
|
85
|
+
sdkVersion: "2.0.1-beta.8"
|
|
83
86
|
}
|
|
84
87
|
})
|
|
85
88
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -7,7 +7,10 @@ const componentNameMapping = {
|
|
|
7
7
|
payouts: "stripe-connect-payouts",
|
|
8
8
|
"payment-details": "stripe-connect-payment-details",
|
|
9
9
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
10
|
-
"payment-method-settings": "stripe-connect-payment-method-settings"
|
|
10
|
+
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
11
|
+
"account-management": "stripe-connect-account-management",
|
|
12
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
13
|
+
"instant-payouts": "stripe-connect-instant-payouts"
|
|
11
14
|
};
|
|
12
15
|
const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
|
|
13
16
|
const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
|
|
@@ -83,7 +86,7 @@ const createWrapper = stripeConnect => {
|
|
|
83
86
|
sdk: true,
|
|
84
87
|
sdkOptions: {
|
|
85
88
|
// This will be replaced by the npm package version when bundling
|
|
86
|
-
sdkVersion: "2.0.1-beta.
|
|
89
|
+
sdkVersion: "2.0.1-beta.8"
|
|
87
90
|
}
|
|
88
91
|
})
|
|
89
92
|
}));
|
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -11,7 +11,10 @@ type ConnectElementHTMLName =
|
|
|
11
11
|
| "stripe-connect-payouts"
|
|
12
12
|
| "stripe-connect-payment-details"
|
|
13
13
|
| "stripe-connect-account-onboarding"
|
|
14
|
-
| "stripe-connect-payment-method-settings"
|
|
14
|
+
| "stripe-connect-payment-method-settings"
|
|
15
|
+
| "stripe-connect-account-management"
|
|
16
|
+
| "stripe-connect-notification-banner"
|
|
17
|
+
| "stripe-connect-instant-payouts";
|
|
15
18
|
|
|
16
19
|
const componentNameMapping: Record<
|
|
17
20
|
ConnectElementTagName,
|
|
@@ -21,7 +24,10 @@ const componentNameMapping: Record<
|
|
|
21
24
|
payouts: "stripe-connect-payouts",
|
|
22
25
|
"payment-details": "stripe-connect-payment-details",
|
|
23
26
|
"account-onboarding": "stripe-connect-account-onboarding",
|
|
24
|
-
"payment-method-settings": "stripe-connect-payment-method-settings"
|
|
27
|
+
"payment-method-settings": "stripe-connect-payment-method-settings",
|
|
28
|
+
"account-management": "stripe-connect-account-management",
|
|
29
|
+
"notification-banner": "stripe-connect-notification-banner",
|
|
30
|
+
"instant-payouts": "stripe-connect-instant-payouts"
|
|
25
31
|
};
|
|
26
32
|
|
|
27
33
|
const EXISTING_SCRIPT_MESSAGE =
|
package/types/shared.d.ts
CHANGED
|
@@ -414,7 +414,10 @@ export type ConnectElementTagName =
|
|
|
414
414
|
| "payouts"
|
|
415
415
|
| "payment-details"
|
|
416
416
|
| "account-onboarding"
|
|
417
|
-
| "payment-method-settings"
|
|
417
|
+
| "payment-method-settings"
|
|
418
|
+
| "account-management"
|
|
419
|
+
| "notification-banner"
|
|
420
|
+
| "instant-payouts";
|
|
418
421
|
|
|
419
422
|
export declare const findScript: () => HTMLScriptElement | null;
|
|
420
423
|
|
|
File without changes
|