blank-web-sdk
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -103,3 +103,3 @@ "use strict"; | ||
var timer = setTimeout(function () { | ||
reject("timeout"); | ||
reject("Iframe RPC timeout"); | ||
}, 2000); | ||
@@ -130,3 +130,3 @@ _this4._requests[data.id] = function (_d) { | ||
// console.log("EVENT:", event.origin, event.data); | ||
if (event.origin !== _this5._blankUri || event.data == null) { | ||
if (_this5._blankUri.indexOf(event.origin) !== 0 || event.data == null) { | ||
return; | ||
@@ -133,0 +133,0 @@ } |
{ | ||
"name": "blank-web-sdk", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "SDK for web applications created with Blank back-end", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
413568