@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.
- 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 +6 -6
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
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
|
@@ -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
|