mainnet-js 3.0.0-next.8 → 3.0.0
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/dist/index.html +1 -1
- package/dist/{mainnet-3.0.0-next.8.js → mainnet-3.0.0.js} +12 -12
- package/dist/module/cache/IndexedDbCache.d.ts +2 -0
- package/dist/module/cache/IndexedDbCache.d.ts.map +1 -1
- package/dist/module/cache/IndexedDbCache.js +37 -0
- package/dist/module/cache/IndexedDbCache.js.map +1 -1
- package/dist/module/cache/MemoryCache.d.ts +4 -1
- package/dist/module/cache/MemoryCache.d.ts.map +1 -1
- package/dist/module/cache/MemoryCache.js +12 -0
- package/dist/module/cache/MemoryCache.js.map +1 -1
- package/dist/module/cache/WebStorageCache.d.ts +2 -0
- package/dist/module/cache/WebStorageCache.d.ts.map +1 -1
- package/dist/module/cache/WebStorageCache.js +12 -0
- package/dist/module/cache/WebStorageCache.js.map +1 -1
- package/dist/module/cache/interface.d.ts +2 -0
- package/dist/module/cache/interface.d.ts.map +1 -1
- package/dist/module/cache/walletCache.d.ts +2 -1
- package/dist/module/cache/walletCache.d.ts.map +1 -1
- package/dist/module/cache/walletCache.js +12 -11
- package/dist/module/cache/walletCache.js.map +1 -1
- package/dist/module/history/getHistory.d.ts.map +1 -1
- package/dist/module/history/getHistory.js +105 -46
- package/dist/module/history/getHistory.js.map +1 -1
- package/dist/module/interface.d.ts +0 -1
- package/dist/module/interface.d.ts.map +1 -1
- package/dist/module/interface.js.map +1 -1
- package/dist/module/network/ElectrumNetworkProvider.d.ts +2 -0
- package/dist/module/network/ElectrumNetworkProvider.d.ts.map +1 -1
- package/dist/module/network/ElectrumNetworkProvider.js +78 -0
- package/dist/module/network/ElectrumNetworkProvider.js.map +1 -1
- package/dist/module/network/NetworkProvider.d.ts +12 -0
- package/dist/module/network/NetworkProvider.d.ts.map +1 -1
- package/dist/module/network/constant.d.ts.map +1 -1
- package/dist/module/network/constant.js +1 -1
- package/dist/module/network/constant.js.map +1 -1
- package/dist/module/transaction/Wif.d.ts.map +1 -1
- package/dist/module/transaction/Wif.js +111 -57
- package/dist/module/transaction/Wif.js.map +1 -1
- package/dist/module/util/checkUtxos.d.ts +1 -1
- package/dist/module/util/checkUtxos.d.ts.map +1 -1
- package/dist/module/util/checkUtxos.js +18 -6
- package/dist/module/util/checkUtxos.js.map +1 -1
- package/dist/module/wallet/Base.d.ts +10 -0
- package/dist/module/wallet/Base.d.ts.map +1 -1
- package/dist/module/wallet/Base.js +29 -5
- package/dist/module/wallet/Base.js.map +1 -1
- package/dist/module/wallet/HDWallet.d.ts.map +1 -1
- package/dist/module/wallet/HDWallet.js +11 -1
- package/dist/module/wallet/HDWallet.js.map +1 -1
- package/dist/module/wallet/Wif.js +2 -2
- package/dist/module/wallet/Wif.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/cache/IndexedDbCache.ts +45 -0
- package/src/cache/MemoryCache.ts +15 -1
- package/src/cache/WebStorageCache.ts +14 -0
- package/src/cache/interface.ts +2 -0
- package/src/cache/walletCache.ts +12 -15
- package/src/history/getHistory.ts +133 -91
- package/src/interface.ts +0 -1
- package/src/network/ElectrumNetworkProvider.ts +101 -0
- package/src/network/NetworkProvider.ts +14 -0
- package/src/network/constant.ts +1 -1
- package/src/transaction/Wif.ts +123 -75
- package/src/util/checkUtxos.ts +19 -16
- package/src/wallet/Base.ts +32 -6
- package/src/wallet/HDWallet.ts +12 -6
- package/src/wallet/Wif.bip39.test.ts +1 -1
- package/src/wallet/Wif.ts +2 -2
- package/dist/module/cache/KeyValueCache.d.ts +0 -9
- package/dist/module/cache/KeyValueCache.d.ts.map +0 -1
- package/dist/module/cache/KeyValueCache.js +0 -3
- package/dist/module/cache/KeyValueCache.js.map +0 -1
- package/src/cache/KeyValueCache.ts +0 -9
package/dist/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<title>The Empty Mainnet App</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"><script defer src="mainnet-3.0.0
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"><script defer src="mainnet-3.0.0.js"></script></head>
|
|
7
7
|
<body><script>document.addEventListener("DOMContentLoaded", async (event) => Object.assign(globalThis, await __mainnetPromise))</script>
|
|
8
8
|
</body>
|
|
9
9
|
</html>
|