@stripe/connect-js 3.3.33-preview-1 → 3.3.34-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 +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
|
@@ -136,7 +136,8 @@ export const isWindowStripeConnectDefined = (stripeConnect: unknown) => {
|
|
|
136
136
|
stripeConnect &&
|
|
137
137
|
typeof stripeConnect === "object" &&
|
|
138
138
|
"init" in stripeConnect &&
|
|
139
|
-
typeof stripeConnect
|
|
139
|
+
typeof (stripeConnect as { init: unknown } & Record<string, unknown>)
|
|
140
|
+
.init === "function"
|
|
140
141
|
);
|
|
141
142
|
};
|
|
142
143
|
|