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

@shopify/app-bridge-host

Package Overview
Dependencies
Maintainers
0
Versions
383
Alerts
File Explorer

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 5.1.0-snapshot-20240813172155 to 5.1.0-snapshot-20240813194513

2

components/ContextualSaveBar/ContextualSaveBar.js

@@ -69,3 +69,3 @@ 'use strict';

var message = i18n.translate('message');
var cancelAction = tslib.__assign(tslib.__assign({}, discardAction), { onAction: handleContextualBarDiscard, showConfirmation: discardAction.discardConfirmationModal });
var cancelAction = tslib.__assign(tslib.__assign({}, discardAction), { onAction: handleContextualBarDiscard });
var primaryAction = tslib.__assign(tslib.__assign({}, saveAction), { onAction: handleContextualBarSave });

@@ -72,0 +72,0 @@ var leaveConfirmationMarkup = leaveConfirmationDisable ? null : (React__default.default.createElement(LeaveConfirmation, { onConfirm: handleContextualBarDiscard }));

@@ -62,3 +62,3 @@ import { __rest, __awaiter, __generator, __assign } from 'tslib';

var message = i18n.translate('message');
var cancelAction = __assign(__assign({}, discardAction), { onAction: handleContextualBarDiscard, showConfirmation: discardAction.discardConfirmationModal });
var cancelAction = __assign(__assign({}, discardAction), { onAction: handleContextualBarDiscard });
var primaryAction = __assign(__assign({}, saveAction), { onAction: handleContextualBarSave });

@@ -65,0 +65,0 @@ var leaveConfirmationMarkup = leaveConfirmationDisable ? null : (React.createElement(LeaveConfirmation, { onConfirm: handleContextualBarDiscard }));

{
"name": "@shopify/app-bridge-host",
"version": "5.1.0-snapshot-20240813172155",
"version": "5.1.0-snapshot-20240813194513",
"types": "index.d.ts",

@@ -157,3 +157,3 @@ "module": "esm/index.js",

"dependencies": {
"@shopify/app-bridge-core": "1.4.0-snapshot-20240813172155",
"@shopify/app-bridge-core": "1.4.0-snapshot-20240813194513",
"@shopify/react-compose": "^2.1.12 || ^3.0.0",

@@ -160,0 +160,0 @@ "@shopify/useful-types": "^5.1.2",

@@ -26,13 +26,11 @@ import { __assign, __rest } from 'tslib';

case ContextualSaveBar.Action.UPDATE: {
var _a = action.payload, id = _a.id, _b = _a.fullWidth, fullWidth = _b === void 0 ? false : _b, _c = _a.saveAction, saveAction = _c === void 0 ? {
var _a = action.payload, id = _a.id, _b = _a.saveAction, saveAction = _b === void 0 ? {
disabled: false,
loading: false,
} : _c, _d = _a.discardAction, discardAction = _d === void 0 ? {
} : _b, _c = _a.discardAction, discardAction = _c === void 0 ? {
disabled: false,
loading: false,
discardConfirmationModal: false,
} : _d, _e = _a.leaveConfirmationDisable, leaveConfirmationDisable = _e === void 0 ? false : _e;
} : _c, _d = _a.leaveConfirmationDisable, leaveConfirmationDisable = _d === void 0 ? false : _d;
return {
id: id,
fullWidth: fullWidth,
saveAction: {

@@ -45,3 +43,2 @@ disabled: saveAction.disabled,

loading: discardAction.loading,
discardConfirmationModal: discardAction.discardConfirmationModal,
},

@@ -48,0 +45,0 @@ leaveConfirmationDisable: leaveConfirmationDisable,

{
"name": "@shopify/app-bridge-host",
"version": "5.1.0-snapshot-20240813172155",
"version": "5.1.0-snapshot-20240813194513",
"types": "index.d.ts",

@@ -157,3 +157,3 @@ "module": "esm/index.js",

"dependencies": {
"@shopify/app-bridge-core": "1.4.0-snapshot-20240813172155",
"@shopify/app-bridge-core": "1.4.0-snapshot-20240813194513",
"@shopify/react-compose": "^2.1.12 || ^3.0.0",

@@ -160,0 +160,0 @@ "@shopify/useful-types": "^5.1.2",

@@ -14,3 +14,2 @@ import { AnyAction, ActionCreatorsMapObject } from 'redux';

id: string;
fullWidth: boolean;
saveAction: {

@@ -23,3 +22,2 @@ disabled: boolean;

loading: boolean;
discardConfirmationModal: boolean;
};

@@ -26,0 +24,0 @@ leaveConfirmationDisable: boolean;

@@ -53,13 +53,11 @@ 'use strict';

case ContextualSaveBar__namespace.Action.UPDATE: {
var _a = action.payload, id = _a.id, _b = _a.fullWidth, fullWidth = _b === void 0 ? false : _b, _c = _a.saveAction, saveAction = _c === void 0 ? {
var _a = action.payload, id = _a.id, _b = _a.saveAction, saveAction = _b === void 0 ? {
disabled: false,
loading: false,
} : _c, _d = _a.discardAction, discardAction = _d === void 0 ? {
} : _b, _c = _a.discardAction, discardAction = _c === void 0 ? {
disabled: false,
loading: false,
discardConfirmationModal: false,
} : _d, _e = _a.leaveConfirmationDisable, leaveConfirmationDisable = _e === void 0 ? false : _e;
} : _c, _d = _a.leaveConfirmationDisable, leaveConfirmationDisable = _d === void 0 ? false : _d;
return {
id: id,
fullWidth: fullWidth,
saveAction: {

@@ -72,3 +70,2 @@ disabled: saveAction.disabled,

loading: discardAction.loading,
discardConfirmationModal: discardAction.discardConfirmationModal,
},

@@ -75,0 +72,0 @@ leaveConfirmationDisable: leaveConfirmationDisable,

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