@xchainjs/xchain-dash 2.0.4 → 2.0.5
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/lib/client.d.ts +1 -0
- package/lib/index.esm.js +6 -6
- package/lib/index.js +20 -20
- package/package.json +9 -10
package/lib/client.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
2
3
|
import { AssetInfo, FeeRate, TxHistoryParams } from '@xchainjs/xchain-client';
|
|
3
4
|
import { Address } from '@xchainjs/xchain-util';
|
|
4
5
|
import { Balance, Client as UTXOClient, Tx, TxParams, TxsPage, UTXO, UtxoClientParams } from '@xchainjs/xchain-utxo';
|
package/lib/index.esm.js
CHANGED
|
@@ -1427,12 +1427,12 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
1427
1427
|
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
1428
1428
|
|
|
1429
1429
|
var utils = /*#__PURE__*/Object.freeze({
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1430
|
+
__proto__: null,
|
|
1431
|
+
hasBrowserEnv: hasBrowserEnv,
|
|
1432
|
+
hasStandardBrowserEnv: hasStandardBrowserEnv,
|
|
1433
|
+
hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
|
|
1434
|
+
navigator: _navigator,
|
|
1435
|
+
origin: origin
|
|
1436
1436
|
});
|
|
1437
1437
|
|
|
1438
1438
|
var platform = {
|
package/lib/index.js
CHANGED
|
@@ -16,21 +16,21 @@ var AppBtc = require('@ledgerhq/hw-app-btc');
|
|
|
16
16
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
17
|
|
|
18
18
|
function _interopNamespace(e) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
if (e && e.__esModule) return e;
|
|
20
|
+
var n = Object.create(null);
|
|
21
|
+
if (e) {
|
|
22
|
+
Object.keys(e).forEach(function (k) {
|
|
23
|
+
if (k !== 'default') {
|
|
24
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
25
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return e[k]; }
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
n.default = e;
|
|
33
|
-
return Object.freeze(n);
|
|
31
|
+
}
|
|
32
|
+
n.default = e;
|
|
33
|
+
return Object.freeze(n);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
var dashcore__namespace = /*#__PURE__*/_interopNamespace(dashcore);
|
|
@@ -1454,12 +1454,12 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
1454
1454
|
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
1455
1455
|
|
|
1456
1456
|
var utils = /*#__PURE__*/Object.freeze({
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1457
|
+
__proto__: null,
|
|
1458
|
+
hasBrowserEnv: hasBrowserEnv,
|
|
1459
|
+
hasStandardBrowserEnv: hasStandardBrowserEnv,
|
|
1460
|
+
hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
|
|
1461
|
+
navigator: _navigator,
|
|
1462
|
+
origin: origin
|
|
1463
1463
|
});
|
|
1464
1464
|
|
|
1465
1465
|
var platform = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-dash",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Custom Dash client and utilities used by XChainJS clients",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"XChain",
|
|
@@ -35,22 +35,21 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3",
|
|
37
37
|
"@dashevo/dashcore-lib": "^0.25.0",
|
|
38
|
-
"@ledgerhq/hw-app-btc": "10.9.0",
|
|
38
|
+
"@ledgerhq/hw-app-btc": "^10.9.0",
|
|
39
39
|
"@scure/bip32": "^1.7.0",
|
|
40
|
-
"@xchainjs/xchain-client": "2.0.
|
|
41
|
-
"@xchainjs/xchain-crypto": "1.0.
|
|
40
|
+
"@xchainjs/xchain-client": "2.0.5",
|
|
41
|
+
"@xchainjs/xchain-crypto": "1.0.3",
|
|
42
42
|
"@xchainjs/xchain-util": "2.0.3",
|
|
43
|
-
"@xchainjs/xchain-utxo": "2.0.
|
|
44
|
-
"@xchainjs/xchain-utxo-providers": "2.0.
|
|
43
|
+
"@xchainjs/xchain-utxo": "2.0.5",
|
|
44
|
+
"@xchainjs/xchain-utxo-providers": "2.0.5",
|
|
45
45
|
"bitcoinjs-lib": "^6.1.7",
|
|
46
46
|
"coinselect": "3.1.12",
|
|
47
47
|
"ecpair": "2.1.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@ledgerhq/hw-transport-node-hid": "6.28.6",
|
|
51
|
-
"
|
|
52
|
-
"axios": "1.
|
|
53
|
-
"axios-mock-adapter": "2.1.0"
|
|
50
|
+
"@ledgerhq/hw-transport-node-hid": "^6.28.6",
|
|
51
|
+
"axios": "^1.8.4",
|
|
52
|
+
"axios-mock-adapter": "^2.1.0"
|
|
54
53
|
},
|
|
55
54
|
"publishConfig": {
|
|
56
55
|
"access": "public",
|