btc-wallet 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +13 -10
- package/dist/index.js.map +2 -2
- package/esm/index.js +13 -10
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2437,15 +2437,18 @@ function sendInitializeData(wallet, originalWallet) {
|
|
2437
2437
|
const originalPublicKey = yield originalWallet.getPublicKey();
|
2438
2438
|
const iframe = document.getElementById("satoshi-wallet-iframe");
|
2439
2439
|
if ((iframe == null ? void 0 : iframe.contentWindow) && ((_b = iframe.contentDocument) == null ? void 0 : _b.readyState) === "complete") {
|
2440
|
-
iframe.contentWindow.postMessage(
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2445
|
-
|
2446
|
-
|
2447
|
-
|
2448
|
-
|
2440
|
+
iframe.contentWindow.postMessage(
|
2441
|
+
{
|
2442
|
+
action: "initializeData",
|
2443
|
+
success: true,
|
2444
|
+
data: {
|
2445
|
+
accountId,
|
2446
|
+
originalAccountId,
|
2447
|
+
originalPublicKey
|
2448
|
+
}
|
2449
|
+
},
|
2450
|
+
{ targetOrigin: window.location.origin }
|
2451
|
+
);
|
2449
2452
|
}
|
2450
2453
|
});
|
2451
2454
|
}
|
@@ -2885,7 +2888,7 @@ function pollTransactionStatuses(network, hashes) {
|
|
2885
2888
|
|
2886
2889
|
// src/index.ts
|
2887
2890
|
var getVersion = () => {
|
2888
|
-
return "0.0
|
2891
|
+
return "0.1.0";
|
2889
2892
|
};
|
2890
2893
|
if (typeof window !== "undefined") {
|
2891
2894
|
window.__PARTICLE_BTC_CONNECT_VERSION = getVersion();
|