Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@shopify/app-bridge-host

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/app-bridge-host - npm Package Compare versions

Comparing version 1.6.0-alpha.1 to 1.6.0-alpha.2

@@ -6,2 +6,18 @@ # Change Log

# [1.6.0-alpha.2](https://github.com/Shopify/app-bridge/compare/v1.6.0-alpha.1...v1.6.0-alpha.2) (2019-06-04)
### Bug Fixes
* **contextual-save-bar:** use normalized type for the store ([3dc6194](https://github.com/Shopify/app-bridge/commit/3dc6194))
### Features
* **nfc:** added nfc action support to scanner action ([55b4810](https://github.com/Shopify/app-bridge/commit/55b4810))
# [1.6.0-alpha.1](https://github.com/Shopify/app-bridge/compare/v1.6.0-alpha.0...v1.6.0-alpha.1) (2019-06-03)

@@ -8,0 +24,0 @@

{
"name": "@shopify/app-bridge-host",
"version": "1.6.0-alpha.1",
"version": "1.6.0-alpha.2",
"types": "index.d.ts",

@@ -57,3 +57,3 @@ "main": "index.js",

"dependencies": {
"@shopify/app-bridge": "^1.6.0-alpha.1",
"@shopify/app-bridge": "^1.6.0-alpha.2",
"@shopify/javascript-utilities": "^2.3.0",

@@ -67,3 +67,3 @@ "hoist-non-react-statics": "^3.1.0",

},
"gitHead": "bf40fd3f734035f93d87887bc9c47865dc1a1223"
"gitHead": "630d35f2a07342ddad0872a8379c057200643e1e"
}

@@ -10,4 +10,15 @@ import { AnyAction, ActionCreatorsMapObject } from 'redux';

export declare const contextualSaveBarActionCreatorsMap: ContextualSaveBarActionCreatorsMap;
export declare type ContextualSaveBarStore = ContextualSaveBar.Payload | null;
interface NormalizedStore {
id: string;
saveAction: {
disabled: boolean;
};
discardAction: {
disabled: boolean;
discardConfirmationModal: boolean;
};
}
export declare type ContextualSaveBarStore = NormalizedStore | null;
export declare const defaultContextualSaveBarStore: null;
export default function contextualSaveBarReducer(state: ContextualSaveBar.Payload | null | undefined, action: ContextualSaveBar.ContextualSaveBarAction | AnyAction): ContextualSaveBar.Payload | null;
export default function contextualSaveBarReducer(state: NormalizedStore | null | undefined, action: ContextualSaveBar.ContextualSaveBarAction | AnyAction): ContextualSaveBarStore;
export {};