@iblai/web-utils 1.7.0 → 1.7.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/data-layer/src/features/monetization/types.d.ts +1 -0
- package/dist/data-layer/src/features/periodic-agents/api-slice.d.ts +2655 -0
- package/dist/data-layer/src/index.d.ts +1 -0
- package/dist/index.d.ts +12 -7
- package/dist/index.esm.js +19 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +20 -7
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/web-utils/src/features/apple-restriction/__tests__/slice.test.d.ts +1 -0
- package/dist/web-utils/src/features/apple-restriction/slice.d.ts +7 -0
- package/dist/web-utils/src/features/index.d.ts +1 -0
- package/dist/web-utils/src/features/subscription/slice.d.ts +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4009,9 +4009,8 @@ function formatProdErrorMessage(code) {
|
|
|
4009
4009
|
const SUBSCRIPTION_USER_CAPABILITIES = {
|
|
4010
4010
|
FREE_TRIAL: "FREE_TRIAL"};
|
|
4011
4011
|
|
|
4012
|
-
const initialState$
|
|
4012
|
+
const initialState$8 = {
|
|
4013
4013
|
openPricingModal: false,
|
|
4014
|
-
openAppleRestrictionModal: false,
|
|
4015
4014
|
freeTrialUsageOptions: {
|
|
4016
4015
|
count: 0,
|
|
4017
4016
|
limitReached: false,
|
|
@@ -4032,14 +4031,11 @@ const initialState$7 = {
|
|
|
4032
4031
|
};
|
|
4033
4032
|
const subscriptionSlice = createSlice({
|
|
4034
4033
|
name: "subscription",
|
|
4035
|
-
initialState: initialState$
|
|
4034
|
+
initialState: initialState$8,
|
|
4036
4035
|
reducers: {
|
|
4037
4036
|
setOpenPricingModal(state, action) {
|
|
4038
4037
|
state.openPricingModal = action.payload;
|
|
4039
4038
|
},
|
|
4040
|
-
setOpenAppleRestrictionModal(state, action) {
|
|
4041
|
-
state.openAppleRestrictionModal = action.payload;
|
|
4042
|
-
},
|
|
4043
4039
|
setFreeTrialUsageOptions(state, action) {
|
|
4044
4040
|
state.freeTrialUsageOptions = action.payload;
|
|
4045
4041
|
},
|
|
@@ -4054,9 +4050,24 @@ const subscriptionSlice = createSlice({
|
|
|
4054
4050
|
},
|
|
4055
4051
|
},
|
|
4056
4052
|
});
|
|
4057
|
-
const { setOpenPricingModal,
|
|
4053
|
+
const { setOpenPricingModal, setFreeTrialUsageOptions, setPricingModalData, setSubscriptionStatus, setError402Detected, } = subscriptionSlice.actions;
|
|
4058
4054
|
const subscriptionReducer = subscriptionSlice.reducer;
|
|
4059
4055
|
|
|
4056
|
+
const initialState$7 = {
|
|
4057
|
+
openAppleRestrictionModal: false,
|
|
4058
|
+
};
|
|
4059
|
+
const appleRestrictionSlice = createSlice({
|
|
4060
|
+
name: "appleRestriction",
|
|
4061
|
+
initialState: initialState$7,
|
|
4062
|
+
reducers: {
|
|
4063
|
+
setOpenAppleRestrictionModal(state, action) {
|
|
4064
|
+
state.openAppleRestrictionModal = action.payload;
|
|
4065
|
+
},
|
|
4066
|
+
},
|
|
4067
|
+
});
|
|
4068
|
+
const { setOpenAppleRestrictionModal } = appleRestrictionSlice.actions;
|
|
4069
|
+
const appleRestrictionReducer = appleRestrictionSlice.reducer;
|
|
4070
|
+
|
|
4060
4071
|
const initialState$6 = {
|
|
4061
4072
|
topBannerOptions: {
|
|
4062
4073
|
bannerText: "",
|
|
@@ -17914,6 +17925,8 @@ exports.addMessage = addMessage;
|
|
|
17914
17925
|
exports.addProtocolToUrl = addProtocolToUrl;
|
|
17915
17926
|
exports.advancedTabs = advancedTabs;
|
|
17916
17927
|
exports.advancedTabsProperties = advancedTabsProperties;
|
|
17928
|
+
exports.appleRestrictionReducer = appleRestrictionReducer;
|
|
17929
|
+
exports.appleRestrictionSlice = appleRestrictionSlice;
|
|
17917
17930
|
exports.chatActions = chatActions;
|
|
17918
17931
|
exports.chatInputSlice = chatInputSlice;
|
|
17919
17932
|
exports.chatInputSliceActions = chatInputSliceActions;
|