@stripe/connect-js 3.3.16-beta-1 → 3.3.17-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/types/config.d.ts +6 -0
- package/package.json +1 -1
- package/types/config.ts +13 -1
package/dist/connect.esm.js
CHANGED
|
@@ -61,7 +61,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
61
61
|
setOnApplicationSubmitted: _listener => {}
|
|
62
62
|
},
|
|
63
63
|
"capital-financing-promotion": {
|
|
64
|
-
|
|
64
|
+
setLayout: _layout => {},
|
|
65
|
+
setOnApplicationSubmitted: _listener => {},
|
|
66
|
+
setOnEligibleFinancingOfferLoaded: _listener => {}
|
|
65
67
|
}
|
|
66
68
|
};
|
|
67
69
|
|
|
@@ -231,7 +233,7 @@ const createWrapper = stripeConnect => {
|
|
|
231
233
|
sdk: true,
|
|
232
234
|
sdkOptions: {
|
|
233
235
|
// This will be replaced by the npm package version when bundling
|
|
234
|
-
sdkVersion: "3.3.
|
|
236
|
+
sdkVersion: "3.3.17-beta-1"
|
|
235
237
|
}
|
|
236
238
|
})
|
|
237
239
|
}));
|
package/dist/connect.js
CHANGED
|
@@ -65,7 +65,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
65
65
|
setOnApplicationSubmitted: _listener => {}
|
|
66
66
|
},
|
|
67
67
|
"capital-financing-promotion": {
|
|
68
|
-
|
|
68
|
+
setLayout: _layout => {},
|
|
69
|
+
setOnApplicationSubmitted: _listener => {},
|
|
70
|
+
setOnEligibleFinancingOfferLoaded: _listener => {}
|
|
69
71
|
}
|
|
70
72
|
};
|
|
71
73
|
|
|
@@ -235,7 +237,7 @@ const createWrapper = stripeConnect => {
|
|
|
235
237
|
sdk: true,
|
|
236
238
|
sdkOptions: {
|
|
237
239
|
// This will be replaced by the npm package version when bundling
|
|
238
|
-
sdkVersion: "3.3.
|
|
240
|
+
sdkVersion: "3.3.17-beta-1"
|
|
239
241
|
}
|
|
240
242
|
})
|
|
241
243
|
}));
|
package/dist/pure.esm.js
CHANGED
|
@@ -61,7 +61,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
61
61
|
setOnApplicationSubmitted: _listener => {}
|
|
62
62
|
},
|
|
63
63
|
"capital-financing-promotion": {
|
|
64
|
-
|
|
64
|
+
setLayout: _layout => {},
|
|
65
|
+
setOnApplicationSubmitted: _listener => {},
|
|
66
|
+
setOnEligibleFinancingOfferLoaded: _listener => {}
|
|
65
67
|
}
|
|
66
68
|
};
|
|
67
69
|
|
|
@@ -231,7 +233,7 @@ const createWrapper = stripeConnect => {
|
|
|
231
233
|
sdk: true,
|
|
232
234
|
sdkOptions: {
|
|
233
235
|
// This will be replaced by the npm package version when bundling
|
|
234
|
-
sdkVersion: "3.3.
|
|
236
|
+
sdkVersion: "3.3.17-beta-1"
|
|
235
237
|
}
|
|
236
238
|
})
|
|
237
239
|
}));
|
package/dist/pure.js
CHANGED
|
@@ -65,7 +65,9 @@ const ConnectElementCustomMethodConfig = {
|
|
|
65
65
|
setOnApplicationSubmitted: _listener => {}
|
|
66
66
|
},
|
|
67
67
|
"capital-financing-promotion": {
|
|
68
|
-
|
|
68
|
+
setLayout: _layout => {},
|
|
69
|
+
setOnApplicationSubmitted: _listener => {},
|
|
70
|
+
setOnEligibleFinancingOfferLoaded: _listener => {}
|
|
69
71
|
}
|
|
70
72
|
};
|
|
71
73
|
|
|
@@ -235,7 +237,7 @@ const createWrapper = stripeConnect => {
|
|
|
235
237
|
sdk: true,
|
|
236
238
|
sdkOptions: {
|
|
237
239
|
// This will be replaced by the npm package version when bundling
|
|
238
|
-
sdkVersion: "3.3.
|
|
240
|
+
sdkVersion: "3.3.17-beta-1"
|
|
239
241
|
}
|
|
240
242
|
})
|
|
241
243
|
}));
|
package/dist/types/config.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export type EmbeddedError = {
|
|
|
29
29
|
type: EmbeddedErrorType;
|
|
30
30
|
message?: string;
|
|
31
31
|
};
|
|
32
|
+
export type FinancingProductType = {
|
|
33
|
+
productType: "standard" | "refill" | "none";
|
|
34
|
+
};
|
|
35
|
+
export type FinancingPromotionLayoutType = "full" | "banner";
|
|
32
36
|
export type EmbeddedErrorType =
|
|
33
37
|
/**
|
|
34
38
|
* Failure to connect to Stripe's API.
|
|
@@ -117,6 +121,8 @@ export declare const ConnectElementCustomMethodConfig: {
|
|
|
117
121
|
setOnApplicationSubmitted: (_listener: (() => void) | undefined) => void;
|
|
118
122
|
};
|
|
119
123
|
"capital-financing-promotion": {
|
|
124
|
+
setLayout: (_layout: FinancingPromotionLayoutType | undefined) => void;
|
|
120
125
|
setOnApplicationSubmitted: (_listener: (() => void) | undefined) => void;
|
|
126
|
+
setOnEligibleFinancingOfferLoaded: (_listener: (({ productType }: FinancingProductType) => void) | undefined) => void;
|
|
121
127
|
};
|
|
122
128
|
};
|
package/package.json
CHANGED
package/types/config.ts
CHANGED
|
@@ -39,6 +39,12 @@ export type EmbeddedError = {
|
|
|
39
39
|
message?: string;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
+
export type FinancingProductType = {
|
|
43
|
+
productType: "standard" | "refill" | "none";
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type FinancingPromotionLayoutType = "full" | "banner";
|
|
47
|
+
|
|
42
48
|
export type EmbeddedErrorType =
|
|
43
49
|
/**
|
|
44
50
|
* Failure to connect to Stripe's API.
|
|
@@ -163,6 +169,12 @@ export const ConnectElementCustomMethodConfig = {
|
|
|
163
169
|
setOnApplicationSubmitted: (_listener: (() => void) | undefined): void => {}
|
|
164
170
|
},
|
|
165
171
|
"capital-financing-promotion": {
|
|
166
|
-
|
|
172
|
+
setLayout: (_layout: FinancingPromotionLayoutType | undefined): void => {},
|
|
173
|
+
setOnApplicationSubmitted: (
|
|
174
|
+
_listener: (() => void) | undefined
|
|
175
|
+
): void => {},
|
|
176
|
+
setOnEligibleFinancingOfferLoaded: (
|
|
177
|
+
_listener: (({ productType }: FinancingProductType) => void) | undefined
|
|
178
|
+
): void => {}
|
|
167
179
|
}
|
|
168
180
|
};
|