@shopify/app-bridge-host
Advanced tools
Comparing version 1.4.1 to 1.4.2-alpha.0
@@ -6,2 +6,14 @@ # Change Log | ||
## [1.4.2-alpha.0](https://github.com/Shopify/app-bridge/compare/v1.4.1...v1.4.2-alpha.0) (2019-05-23) | ||
### Features | ||
* add contextual save bar action set ([#931](https://github.com/Shopify/app-bridge/issues/931)) ([8ef8792](https://github.com/Shopify/app-bridge/commit/8ef8792)) | ||
* **host:** add contextual save bar reducer and feature permission ([5fa5e6c](https://github.com/Shopify/app-bridge/commit/5fa5e6c)) | ||
## [1.4.1](https://github.com/Shopify/app-bridge/compare/v1.4.0...v1.4.1) (2019-05-23) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "@shopify/app-bridge-host", | ||
"version": "1.4.1", | ||
"version": "1.4.2-alpha.0", | ||
"types": "index.d.ts", | ||
@@ -57,3 +57,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@shopify/app-bridge": "^1.4.1", | ||
"@shopify/app-bridge": "^1.4.2-alpha.0", | ||
"@shopify/javascript-utilities": "^2.3.0", | ||
@@ -67,3 +67,3 @@ "hoist-non-react-statics": "^3.1.0", | ||
}, | ||
"gitHead": "270fbe5b4dec2b32e4f0c14447e5c1b02c9fbb70" | ||
"gitHead": "1eb17f4b1b3f6a934c5c659a070a2e1ee3d6fb7c" | ||
} |
@@ -47,3 +47,8 @@ "use strict"; | ||
var _a, _b, _c, _d, _e; | ||
var excludeGroups = [Actions.Group.Cart, Actions.Group.Camera, Actions.Group.Fullscreen]; | ||
var excludeGroups = [ | ||
Actions.Group.Cart, | ||
Actions.Group.Camera, | ||
Actions.Group.Fullscreen, | ||
Actions.Group.ContextualSaveBar, | ||
]; | ||
var overrideFeatures = (_a = {}, | ||
@@ -50,0 +55,0 @@ _a[app_bridge_1.Context.Modal] = (_b = {}, |
@@ -12,2 +12,3 @@ import { AppBridgeActionCreatorsMap } from './appBridge'; | ||
import { StaffMemberStore, StaffMemberActionCreatorsMap } from './staffMember'; | ||
import { ContextualSaveBarStore, ContextualSaveBarActionCreatorsMap } from './contextualSaveBar'; | ||
/** | ||
@@ -30,2 +31,3 @@ * The interface for the app state | ||
isFullscreen: boolean; | ||
contextualSaveBar: ContextualSaveBarStore; | ||
} | ||
@@ -47,2 +49,3 @@ /** | ||
appBridge: AppBridgeActionCreatorsMap; | ||
contextualSaveBar: ContextualSaveBarActionCreatorsMap; | ||
} | ||
@@ -49,0 +52,0 @@ /** |
@@ -35,2 +35,3 @@ "use strict"; | ||
var fullscreen_1 = __importStar(require("./fullscreen")); | ||
var contextualSaveBar_1 = __importStar(require("./contextualSaveBar")); | ||
/** | ||
@@ -42,2 +43,3 @@ * The interface for the app's default state | ||
appInfo: appInfo_1.defaultAppInfoStore, | ||
contextualSaveBar: contextualSaveBar_1.defaultContextualSaveBarStore, | ||
features: features_1.defaultFeaturesStore, | ||
@@ -56,2 +58,3 @@ toast: toast_1.defaultToastStore, | ||
var appStateReducers = utilities_1.wrapReducers({ | ||
contextualSaveBar: contextualSaveBar_1.default, | ||
toast: toast_1.default, | ||
@@ -58,0 +61,0 @@ loading: loading_1.default, |
@@ -13,5 +13,6 @@ import { Application } from '../../types'; | ||
import { ToastStore, ToastActionCreatorsMap } from './embeddedApp/toast'; | ||
export { DispatchProps, StoreReadyAction, Store, AppBridgeStore, AppInfoStore, FeaturesState, LoadingStore, ModalStore, NavigationStore, ResourcePickerStore, StaffMemberStore, TitleBarStore, ToastStore, AppInfoActionCreatorsMap, FeaturesActionCreatorsMap, LoadingActionCreatorsMap, ModalActionCreatorsMap, NavigationActionCreatorsMap, ResourcePickerActionCreatorsMap, StaffMemberActionCreatorsMap, TitleBarActionCreatorsMap, ToastActionCreatorsMap, }; | ||
import { ContextualSaveBarStore } from './embeddedApp/contextualSaveBar'; | ||
export { DispatchProps, StoreReadyAction, Store, AppBridgeStore, AppInfoStore, ContextualSaveBarStore, FeaturesState, LoadingStore, ModalStore, NavigationStore, ResourcePickerStore, StaffMemberStore, TitleBarStore, ToastStore, AppInfoActionCreatorsMap, FeaturesActionCreatorsMap, LoadingActionCreatorsMap, ModalActionCreatorsMap, NavigationActionCreatorsMap, ResourcePickerActionCreatorsMap, StaffMemberActionCreatorsMap, TitleBarActionCreatorsMap, ToastActionCreatorsMap, }; | ||
export default appBridgeReducer; | ||
export declare function mapAppStoreToProps(state: Store): Store; | ||
export declare function mapAppDispatchToProps(app: Application): DispatchProps; |
@@ -22,2 +22,3 @@ "use strict"; | ||
var toast_1 = require("./embeddedApp/toast"); | ||
var contextualSaveBar_1 = require("./embeddedApp/contextualSaveBar"); | ||
exports.default = appBridge_1.default; | ||
@@ -42,2 +43,3 @@ function mapAppStoreToProps(state) { | ||
appBridge: redux_1.bindActionCreators(appBridge_1.appBridgeActionCreatorsMap, appDispatch), | ||
contextualSaveBar: redux_1.bindActionCreators(contextualSaveBar_1.contextualSaveBarActionCreatorsMap, appDispatch), | ||
}, | ||
@@ -44,0 +46,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
126642
156
2864
0
2