@dynamic-labs/bitcoin 4.5.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.5.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.5.0...v4.5.1) (2025-02-05)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* improve sdk performance ([#7992](https://github.com/dynamic-labs/dynamic-auth/issues/7992)) ([7c541d4](https://github.com/dynamic-labs/dynamic-auth/commit/7c541d498b3afe708e468327e53c839826029490))
|
|
8
|
+
|
|
2
9
|
## [4.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.4.4...v4.5.0) (2025-02-04)
|
|
3
10
|
|
|
4
11
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/bitcoin",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"bitcoinjs-lib": "6.1.5",
|
|
26
26
|
"sats-connect": "3.0.1",
|
|
27
27
|
"jsontokens": "4.0.1",
|
|
28
|
-
"@dynamic-labs/assert-package-version": "4.5.
|
|
29
|
-
"@dynamic-labs/types": "4.5.
|
|
30
|
-
"@dynamic-labs/utils": "4.5.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.5.
|
|
32
|
-
"@dynamic-labs/wallet-connector-core": "4.5.
|
|
28
|
+
"@dynamic-labs/assert-package-version": "4.5.1",
|
|
29
|
+
"@dynamic-labs/types": "4.5.1",
|
|
30
|
+
"@dynamic-labs/utils": "4.5.1",
|
|
31
|
+
"@dynamic-labs/wallet-book": "4.5.1",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "4.5.1",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
@@ -311,6 +311,11 @@ class BitcoinWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
311
311
|
return this.signMessage(messageToSign, { address });
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
315
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
316
|
+
return ['https://btcscan.org/'];
|
|
317
|
+
});
|
|
318
|
+
}
|
|
314
319
|
}
|
|
315
320
|
|
|
316
321
|
exports.BitcoinWalletConnector = BitcoinWalletConnector;
|
|
@@ -52,4 +52,5 @@ export declare abstract class BitcoinWalletConnector extends WalletConnectorBase
|
|
|
52
52
|
protocol?: BitcoinSignProtocol;
|
|
53
53
|
}): Promise<string | undefined>;
|
|
54
54
|
proveOwnership(address: string, messageToSign: string): Promise<string | undefined>;
|
|
55
|
+
getBlockExplorerUrlsForCurrentNetwork(): Promise<string[]>;
|
|
55
56
|
}
|
|
@@ -307,6 +307,11 @@ class BitcoinWalletConnector extends WalletConnectorBase {
|
|
|
307
307
|
return this.signMessage(messageToSign, { address });
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
311
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
312
|
+
return ['https://btcscan.org/'];
|
|
313
|
+
});
|
|
314
|
+
}
|
|
310
315
|
}
|
|
311
316
|
|
|
312
317
|
export { BitcoinWalletConnector };
|