@stigg/react-sdk 5.30.0 → 5.31.0
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/index.d.ts +1 -1
- package/dist/react-sdk.cjs.development.js +1 -1
- package/dist/react-sdk.cjs.development.js.map +1 -1
- package/dist/react-sdk.cjs.production.min.js +1 -1
- package/dist/react-sdk.cjs.production.min.js.map +1 -1
- package/dist/react-sdk.esm.js +1 -1
- package/dist/react-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/paywall/PaywallContainer.tsx +2 -0
- package/src/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
2
|
+
"version": "5.31.0",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@emotion/react": "^11.10.5",
|
|
115
115
|
"@emotion/styled": "^11.10.5",
|
|
116
116
|
"@mui/material": "^5.12.0",
|
|
117
|
-
"@stigg/js-client-sdk": "3.
|
|
117
|
+
"@stigg/js-client-sdk": "3.38.0",
|
|
118
118
|
"@stripe/react-stripe-js": "^2.1.1",
|
|
119
119
|
"@stripe/stripe-js": "^1.54.1",
|
|
120
120
|
"@types/styled-components": "^5.1.26",
|
|
@@ -30,6 +30,8 @@ export type PaywallContainerProps = {
|
|
|
30
30
|
billingCountryCode?: string;
|
|
31
31
|
shouldHidePlan?: ShouldHidePlanFn;
|
|
32
32
|
selectDefaultTierIndex?: SelectDefaultTierIndexFn;
|
|
33
|
+
// This is used to override the current subscription in case a many to one plan mapping is needed
|
|
34
|
+
// Many plans mapped to one (fictive) plan
|
|
33
35
|
currentSubscriptionOverride?: CurrentSubscriptionOverrideFn;
|
|
34
36
|
};
|
|
35
37
|
|