@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.
@@ -289,7 +289,7 @@ const createWrapper = stripeConnect => {
289
289
  sdk: true,
290
290
  sdkOptions: {
291
291
  // This will be replaced by the npm package version when bundling
292
- sdkVersion: "3.3.33-preview-1"
292
+ sdkVersion: "3.3.34-preview-1"
293
293
  }
294
294
  })
295
295
  }));
package/dist/connect.js CHANGED
@@ -293,7 +293,7 @@ const createWrapper = stripeConnect => {
293
293
  sdk: true,
294
294
  sdkOptions: {
295
295
  // This will be replaced by the npm package version when bundling
296
- sdkVersion: "3.3.33-preview-1"
296
+ sdkVersion: "3.3.34-preview-1"
297
297
  }
298
298
  })
299
299
  }));
package/dist/pure.esm.js CHANGED
@@ -289,7 +289,7 @@ const createWrapper = stripeConnect => {
289
289
  sdk: true,
290
290
  sdkOptions: {
291
291
  // This will be replaced by the npm package version when bundling
292
- sdkVersion: "3.3.33-preview-1"
292
+ sdkVersion: "3.3.34-preview-1"
293
293
  }
294
294
  })
295
295
  }));
package/dist/pure.js CHANGED
@@ -293,7 +293,7 @@ const createWrapper = stripeConnect => {
293
293
  sdk: true,
294
294
  sdkOptions: {
295
295
  // This will be replaced by the npm package version when bundling
296
- sdkVersion: "3.3.33-preview-1"
296
+ sdkVersion: "3.3.34-preview-1"
297
297
  }
298
298
  })
299
299
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.33-preview-1",
3
+ "version": "3.3.34-preview-1",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
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.init === "function"
139
+ typeof (stripeConnect as { init: unknown } & Record<string, unknown>)
140
+ .init === "function"
140
141
  );
141
142
  };
142
143