@shopify/app-bridge-host
Advanced tools
Comparing version 2.0.12 to 2.0.13
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.0.13](https://github.com/Shopify/app-bridge/compare/v2.0.12...v2.0.13) (2022-02-25) | ||
**Note:** Version bump only for package @shopify/app-bridge-host | ||
## [2.0.12](https://github.com/Shopify/app-bridge/compare/v2.0.11...v2.0.12) (2022-02-23) | ||
@@ -8,0 +16,0 @@ |
@@ -60,6 +60,10 @@ "use strict"; | ||
var frameOrigin = new URL(url).origin; | ||
if (!this.iframe) { | ||
var iframe = this.iframe; | ||
if (!iframe) { | ||
return; | ||
} | ||
var transport = app_bridge_1.fromFrame(this.iframe, frameOrigin, context); | ||
var transport = app_bridge_1.fromFrame({ | ||
window: iframe.contentWindow, | ||
host: iframe.ownerDocument.defaultView, | ||
}, frameOrigin, context); | ||
this.detach = this.props.app.attach(transport); | ||
@@ -66,0 +70,0 @@ if (!onInit) { |
{ | ||
"name": "@shopify/app-bridge-host", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"types": "index.d.ts", | ||
@@ -73,3 +73,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@shopify/app-bridge": "^2.0.12", | ||
"@shopify/app-bridge": "^2.0.13", | ||
"@shopify/react-compose": "^2.1.6", | ||
@@ -81,3 +81,3 @@ "hoist-non-react-statics": "^3.1.0", | ||
}, | ||
"gitHead": "4aedfd67b2af106040cefc8705e8cb0159eb69cd" | ||
"gitHead": "6d3066203c2126a028e41c60fcc3266769fde0c5" | ||
} |
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
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
355658
6966
Updated@shopify/app-bridge@^2.0.13