@fractalwagmi/popup-connection
Advanced tools
Comparing version 1.0.23 to 1.0.24
@@ -11,4 +11,4 @@ import { Platform, PopupConnection } from "./core/types"; | ||
connection: PopupConnection | undefined; | ||
open: (url: string) => void; | ||
open: (url: string, nonce?: string) => void; | ||
}; | ||
//# sourceMappingURL=use-popup-connection.d.ts.map |
@@ -13,5 +13,6 @@ "use strict"; | ||
})); | ||
const open = (0, react_1.useCallback)((url) => { | ||
const open = (0, react_1.useCallback)((url, nonce) => { | ||
connectionManagerRef.current.open({ | ||
heightPx, | ||
nonce, | ||
url, | ||
@@ -18,0 +19,0 @@ widthPx, |
@@ -11,4 +11,4 @@ import { Platform, PopupConnection } from "./core/types"; | ||
connection: PopupConnection | undefined; | ||
open: (url: string) => void; | ||
open: (url: string, nonce?: string) => void; | ||
}; | ||
//# sourceMappingURL=use-popup-connection.d.ts.map |
@@ -10,5 +10,6 @@ import { ConnectionManager } from "./connection-manager.js"; | ||
})); | ||
const open = useCallback((url) => { | ||
const open = useCallback((url, nonce) => { | ||
connectionManagerRef.current.open({ | ||
heightPx, | ||
nonce, | ||
url, | ||
@@ -15,0 +16,0 @@ widthPx, |
{ | ||
"name": "@fractalwagmi/popup-connection", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"description": "Popup connection manager for communicating with Fractal.is", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
130818
25201
0
1687
1