New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/app-bridge

Package Overview
Dependencies
Maintainers
18
Versions
323
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/app-bridge - npm Package Compare versions

Comparing version 3.4.0-alpha.2 to 3.4.0-alpha.3

18

actions/ContextualSaveBar/index.d.ts

@@ -53,2 +53,19 @@ import { ClientApplication } from '../../client';

}
export declare type ShowOptions = Pick<Options, 'fullWidth' | 'leaveConfirmationDisable'>;
export interface SaveActionOptions extends ContextAction {
onAction?: () => void;
}
export interface DiscardActionOptions extends DiscardAction {
onAction?: () => void;
}
export interface ContextualSaveBarApi {
show: ({ fullWidth, leaveConfirmationDisable }?: ShowOptions) => void;
hide: () => void;
saveAction: {
setOptions: (options: Partial<SaveActionOptions>) => void;
};
discardAction: {
setOptions: (options: Partial<DiscardActionOptions>) => void;
};
}
export declare function show(payload: Payload): any;

@@ -58,2 +75,3 @@ export declare function hide(payload: Payload): any;

export declare function discard(payload: Payload): any;
export declare function update(payload: Payload): any;
/**

@@ -60,0 +78,0 @@ * ContextualSaveBar action set

6

actions/ContextualSaveBar/index.js

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.create = exports.ContextualSaveBar = exports.discard = exports.save = exports.hide = exports.show = exports.Action = void 0;
exports.create = exports.ContextualSaveBar = exports.update = exports.discard = exports.save = exports.hide = exports.show = exports.Action = void 0;
var helper_1 = require("../helper");

@@ -68,2 +68,6 @@ var ActionSet_1 = require("../ActionSet");

exports.discard = discard;
function update(payload) {
return createContextBarAction(Action.UPDATE, payload);
}
exports.update = update;
/**

@@ -70,0 +74,0 @@ * ContextualSaveBar action set

4

package.json
{
"name": "@shopify/app-bridge",
"version": "3.4.0-alpha.2",
"version": "3.4.0-alpha.3",
"types": "index.d.ts",

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

},
"gitHead": "ef9ef574ac65e5a0fe1607194476254b68ad68e0"
"gitHead": "29170e9d2ea6f43911d8273d259469e624e75cd5"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc