@stripe/connect-js 3.3.24 → 3.3.25
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 +1 -1
- package/dist/connect.js +1 -1
- package/dist/pure.esm.js +1 -1
- package/dist/pure.js +1 -1
- package/package.json +1 -1
- package/src/shared.ts +2 -1
package/dist/connect.esm.js
CHANGED
package/dist/connect.js
CHANGED
package/dist/pure.esm.js
CHANGED
package/dist/pure.js
CHANGED
package/package.json
CHANGED
package/src/shared.ts
CHANGED
|
@@ -109,7 +109,8 @@ export const isWindowStripeConnectDefined = (stripeConnect: unknown) => {
|
|
|
109
109
|
stripeConnect &&
|
|
110
110
|
typeof stripeConnect === "object" &&
|
|
111
111
|
"init" in stripeConnect &&
|
|
112
|
-
typeof stripeConnect
|
|
112
|
+
typeof (stripeConnect as { init: unknown } & Record<string, unknown>)
|
|
113
|
+
.init === "function"
|
|
113
114
|
);
|
|
114
115
|
};
|
|
115
116
|
|