@stripe/connect-js 3.3.18-preview-1 → 3.3.19-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 +5 -3
- package/dist/connect.js +5 -3
- package/dist/pure.esm.js +5 -3
- package/dist/pure.js +5 -3
- package/dist/types/config.d.ts +2 -0
- package/package.json +1 -1
- package/types/config.ts +4 -2
package/dist/connect.esm.js
CHANGED
|
@@ -28,10 +28,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
28
28
|
"issuing-card": {
|
|
29
29
|
setDefaultCard: _defaultCard => {},
|
|
30
30
|
setCardSwitching: _cardSwitching => {},
|
|
31
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
31
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
32
|
+
setShowSpendControls: _showSpendControls => {}
|
|
32
33
|
},
|
|
33
34
|
"issuing-cards-list": {
|
|
34
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
35
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
36
|
+
setShowSpendControls: _showSpendControls => {}
|
|
35
37
|
},
|
|
36
38
|
"financial-account": {
|
|
37
39
|
setFinancialAccount: _financialAccount => {}
|
|
@@ -234,7 +236,7 @@ const createWrapper = stripeConnect => {
|
|
|
234
236
|
sdk: true,
|
|
235
237
|
sdkOptions: {
|
|
236
238
|
// This will be replaced by the npm package version when bundling
|
|
237
|
-
sdkVersion: "3.3.
|
|
239
|
+
sdkVersion: "3.3.19-preview-1"
|
|
238
240
|
}
|
|
239
241
|
})
|
|
240
242
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -32,10 +32,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
32
32
|
"issuing-card": {
|
|
33
33
|
setDefaultCard: _defaultCard => {},
|
|
34
34
|
setCardSwitching: _cardSwitching => {},
|
|
35
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
35
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
36
|
+
setShowSpendControls: _showSpendControls => {}
|
|
36
37
|
},
|
|
37
38
|
"issuing-cards-list": {
|
|
38
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
39
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
40
|
+
setShowSpendControls: _showSpendControls => {}
|
|
39
41
|
},
|
|
40
42
|
"financial-account": {
|
|
41
43
|
setFinancialAccount: _financialAccount => {}
|
|
@@ -238,7 +240,7 @@ const createWrapper = stripeConnect => {
|
|
|
238
240
|
sdk: true,
|
|
239
241
|
sdkOptions: {
|
|
240
242
|
// This will be replaced by the npm package version when bundling
|
|
241
|
-
sdkVersion: "3.3.
|
|
243
|
+
sdkVersion: "3.3.19-preview-1"
|
|
242
244
|
}
|
|
243
245
|
})
|
|
244
246
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -28,10 +28,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
28
28
|
"issuing-card": {
|
|
29
29
|
setDefaultCard: _defaultCard => {},
|
|
30
30
|
setCardSwitching: _cardSwitching => {},
|
|
31
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
31
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
32
|
+
setShowSpendControls: _showSpendControls => {}
|
|
32
33
|
},
|
|
33
34
|
"issuing-cards-list": {
|
|
34
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
35
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
36
|
+
setShowSpendControls: _showSpendControls => {}
|
|
35
37
|
},
|
|
36
38
|
"financial-account": {
|
|
37
39
|
setFinancialAccount: _financialAccount => {}
|
|
@@ -234,7 +236,7 @@ const createWrapper = stripeConnect => {
|
|
|
234
236
|
sdk: true,
|
|
235
237
|
sdkOptions: {
|
|
236
238
|
// This will be replaced by the npm package version when bundling
|
|
237
|
-
sdkVersion: "3.3.
|
|
239
|
+
sdkVersion: "3.3.19-preview-1"
|
|
238
240
|
}
|
|
239
241
|
})
|
|
240
242
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -32,10 +32,12 @@ const ConnectElementCustomMethodConfig = {
|
|
|
32
32
|
"issuing-card": {
|
|
33
33
|
setDefaultCard: _defaultCard => {},
|
|
34
34
|
setCardSwitching: _cardSwitching => {},
|
|
35
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
35
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
36
|
+
setShowSpendControls: _showSpendControls => {}
|
|
36
37
|
},
|
|
37
38
|
"issuing-cards-list": {
|
|
38
|
-
setFetchEphemeralKey: _fetchEphemeralKey => {}
|
|
39
|
+
setFetchEphemeralKey: _fetchEphemeralKey => {},
|
|
40
|
+
setShowSpendControls: _showSpendControls => {}
|
|
39
41
|
},
|
|
40
42
|
"financial-account": {
|
|
41
43
|
setFinancialAccount: _financialAccount => {}
|
|
@@ -238,7 +240,7 @@ const createWrapper = stripeConnect => {
|
|
|
238
240
|
sdk: true,
|
|
239
241
|
sdkOptions: {
|
|
240
242
|
// This will be replaced by the npm package version when bundling
|
|
241
|
-
sdkVersion: "3.3.
|
|
243
|
+
sdkVersion: "3.3.19-preview-1"
|
|
242
244
|
}
|
|
243
245
|
})
|
|
244
246
|
}));
|
package/dist/types/config.d.ts
CHANGED
|
@@ -90,9 +90,11 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
90
90
|
setDefaultCard: (_defaultCard: string | undefined) => void;
|
|
91
91
|
setCardSwitching: (_cardSwitching: boolean | undefined) => void;
|
|
92
92
|
setFetchEphemeralKey: (_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined) => void;
|
|
93
|
+
setShowSpendControls: (_showSpendControls: boolean | undefined) => void;
|
|
93
94
|
};
|
|
94
95
|
"issuing-cards-list": {
|
|
95
96
|
setFetchEphemeralKey: (_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined) => void;
|
|
97
|
+
setShowSpendControls: (_showSpendControls: boolean | undefined) => void;
|
|
96
98
|
};
|
|
97
99
|
"financial-account": {
|
|
98
100
|
setFinancialAccount: (_financialAccount: string) => void;
|
package/package.json
CHANGED
package/types/config.ts
CHANGED
|
@@ -128,12 +128,14 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
128
128
|
setCardSwitching: (_cardSwitching: boolean | undefined): void => {},
|
|
129
129
|
setFetchEphemeralKey: (
|
|
130
130
|
_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined
|
|
131
|
-
): void => {}
|
|
131
|
+
): void => {},
|
|
132
|
+
setShowSpendControls: (_showSpendControls: boolean | undefined): void => {}
|
|
132
133
|
},
|
|
133
134
|
"issuing-cards-list": {
|
|
134
135
|
setFetchEphemeralKey: (
|
|
135
136
|
_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined
|
|
136
|
-
): void => {}
|
|
137
|
+
): void => {},
|
|
138
|
+
setShowSpendControls: (_showSpendControls: boolean | undefined): void => {}
|
|
137
139
|
},
|
|
138
140
|
"financial-account": {
|
|
139
141
|
setFinancialAccount: (_financialAccount: string): void => {}
|