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 2.0.4 to 2.0.5

util/unframed.d.ts

11

CHANGELOG.md

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

## [2.0.5](https://github.com/Shopify/app-bridge/compare/v2.0.4...v2.0.5) (2021-10-20)
### Features
* **unframed:** persist MobileWebView object across Android navigations ([0413a6f](https://github.com/Shopify/app-bridge/commit/0413a6f236b216af1498aa0e0db9ffb03c0209b5))
## [2.0.4](https://github.com/Shopify/app-bridge/compare/v2.0.4-alpha.5...v2.0.4) (2021-09-30)

@@ -8,0 +19,0 @@

2

MessageTransport.d.ts

@@ -7,3 +7,5 @@ import type { AnyAction, ActionCallback, Unsubscribe } from './actions/types';

postMessage(message?: any): void;
context?(): string;
};
__context__?: string;
}

@@ -10,0 +12,0 @@ }

13

MessageTransport.js

@@ -9,2 +9,3 @@ "use strict";

var env_1 = require("./util/env");
var unframed_1 = require("./util/unframed");
var Context;

@@ -98,10 +99,8 @@ (function (Context) {

if (env_1.isUnframed && window && window.MobileWebView) {
window.MobileWebView.postMessage({
message: 'unframed/handleMessage',
data: {
id: 'unframed://fromClient',
origin: localOrigin,
data: message,
},
var payloadWithContext = unframed_1.parsePayloadWithContext({
id: 'unframed://fromClient',
origin: localOrigin,
data: message,
});
window.MobileWebView.postMessage(payloadWithContext);
return;

@@ -108,0 +107,0 @@ }

{
"name": "@shopify/app-bridge",
"version": "2.0.4",
"version": "2.0.5",
"types": "index.d.ts",

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

},
"gitHead": "21bc906b981d42cc22a872ea9e48f291cc95ed87"
"gitHead": "34f24f749cde5eeb742adf968895fc75a9b5391a"
}

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