@stripe/connect-js 2.0.1-beta.7 → 2.0.1-beta.8

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.
@@ -82,7 +82,7 @@ const createWrapper = stripeConnect => {
82
82
  sdk: true,
83
83
  sdkOptions: {
84
84
  // This will be replaced by the npm package version when bundling
85
- sdkVersion: "2.0.1-beta.7"
85
+ sdkVersion: "2.0.1-beta.8"
86
86
  }
87
87
  })
88
88
  }));
package/dist/connect.js CHANGED
@@ -86,7 +86,7 @@ const createWrapper = stripeConnect => {
86
86
  sdk: true,
87
87
  sdkOptions: {
88
88
  // This will be replaced by the npm package version when bundling
89
- sdkVersion: "2.0.1-beta.7"
89
+ sdkVersion: "2.0.1-beta.8"
90
90
  }
91
91
  })
92
92
  }));
package/dist/pure.esm.js CHANGED
@@ -82,7 +82,7 @@ const createWrapper = stripeConnect => {
82
82
  sdk: true,
83
83
  sdkOptions: {
84
84
  // This will be replaced by the npm package version when bundling
85
- sdkVersion: "2.0.1-beta.7"
85
+ sdkVersion: "2.0.1-beta.8"
86
86
  }
87
87
  })
88
88
  }));
package/dist/pure.js CHANGED
@@ -86,7 +86,7 @@ const createWrapper = stripeConnect => {
86
86
  sdk: true,
87
87
  sdkOptions: {
88
88
  // This will be replaced by the npm package version when bundling
89
- sdkVersion: "2.0.1-beta.7"
89
+ sdkVersion: "2.0.1-beta.8"
90
90
  }
91
91
  })
92
92
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "2.0.1-beta.7",
3
+ "version": "2.0.1-beta.8",
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  StripeConnectWrapper,
3
3
  IStripeConnectInitParams,
4
- ConnectElementTagName,
4
+ ConnectElementTagName
5
5
  } from "../types";
6
6
 
7
7
  export type LoadConnect = () => Promise<StripeConnectWrapper>;
@@ -27,7 +27,7 @@ const componentNameMapping: Record<
27
27
  "payment-method-settings": "stripe-connect-payment-method-settings",
28
28
  "account-management": "stripe-connect-account-management",
29
29
  "notification-banner": "stripe-connect-notification-banner",
30
- "instant-payouts": "stripe-connect-instant-payouts",
30
+ "instant-payouts": "stripe-connect-instant-payouts"
31
31
  };
32
32
 
33
33
  const EXISTING_SCRIPT_MESSAGE =
@@ -133,9 +133,9 @@ const createWrapper = (stripeConnect: any) => {
133
133
  sdk: true,
134
134
  sdkOptions: {
135
135
  // This will be replaced by the npm package version when bundling
136
- sdkVersion: "_NPM_PACKAGE_VERSION_",
137
- },
138
- },
136
+ sdkVersion: "_NPM_PACKAGE_VERSION_"
137
+ }
138
+ }
139
139
  });
140
140
 
141
141
  // We wrap create so we can map its different strings to supported components
@@ -150,7 +150,7 @@ const createWrapper = (stripeConnect: any) => {
150
150
  return oldCreate(htmlName);
151
151
  };
152
152
  return stripeConnectInstance;
153
- },
153
+ }
154
154
  };
155
155
  return wrapper;
156
156
  };
File without changes