@notabene/javascript-sdk
Advanced tools
Comparing version 2.0.4-NEXT.0 to 2.0.4-NEXT.1
@@ -221,3 +221,7 @@ var c = Object.defineProperty; | ||
popup() { | ||
const e = window.open(this.url, "_blank", "popup=true"); | ||
const e = window.open( | ||
this.url, | ||
"_blank", | ||
"popup=true,width=600,height=600" | ||
); | ||
window.addEventListener("message", (s) => { | ||
@@ -224,0 +228,0 @@ var n; |
@@ -13,3 +13,3 @@ { | ||
"packageManager": "yarn@4.5.1", | ||
"version": "2.0.4-NEXT.0", | ||
"version": "2.0.4-NEXT.1", | ||
"source": "src/notabene.ts", | ||
@@ -76,3 +76,2 @@ "main": "dist/notabene.js", | ||
"yarn format:check", | ||
"organize-imports-cli", | ||
"yarn lint:fix", | ||
@@ -79,0 +78,0 @@ "yarn test --run" |
@@ -256,3 +256,7 @@ import { | ||
public popup(): Promise<TransactionResponse<V>> { | ||
const popup = window.open(this.url, '_blank', 'popup=true'); | ||
const popup = window.open( | ||
this.url, | ||
'_blank', | ||
'popup=true,width=600,height=600', | ||
); | ||
window.addEventListener('message', (event: MessageEvent) => { | ||
@@ -259,0 +263,0 @@ if (event.source !== popup) { |
Sorry, the diff of this file is not supported yet
467943
132
4740