@xchainjs/xchain-doge 2.0.7 → 2.0.9

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/index.esm.js CHANGED
@@ -5,7 +5,7 @@ import * as Dogecoin from 'bitcoinjs-lib';
5
5
  import { ECPairFactory } from 'ecpair';
6
6
  import { HDKey } from '@scure/bip32';
7
7
  import { toBitcoinJS, Client as Client$1 } from '@xchainjs/xchain-utxo';
8
- import accumulative from 'coinselect/accumulative';
8
+ import accumulative from 'coinselect/accumulative.js';
9
9
  import { AssetType } from '@xchainjs/xchain-util';
10
10
  import { SochainProvider, SochainNetwork, BlockcypherProvider, BlockcypherNetwork, BitgoProvider } from '@xchainjs/xchain-utxo-providers';
11
11
  import AppBtc from '@ledgerhq/hw-app-btc';
@@ -167,7 +167,7 @@ const validateAddress = (address, network) => {
167
167
  Dogecoin.address.toOutputScript(address, dogeNetwork(network));
168
168
  return true;
169
169
  }
170
- catch (error) {
170
+ catch (_error) {
171
171
  return false;
172
172
  }
173
173
  };
package/lib/index.js CHANGED
@@ -7,7 +7,7 @@ var Dogecoin = require('bitcoinjs-lib');
7
7
  var ecpair = require('ecpair');
8
8
  var bip32 = require('@scure/bip32');
9
9
  var xchainUtxo = require('@xchainjs/xchain-utxo');
10
- var accumulative = require('coinselect/accumulative');
10
+ var accumulative = require('coinselect/accumulative.js');
11
11
  var xchainUtil = require('@xchainjs/xchain-util');
12
12
  var xchainUtxoProviders = require('@xchainjs/xchain-utxo-providers');
13
13
  var AppBtc = require('@ledgerhq/hw-app-btc');
@@ -194,7 +194,7 @@ const validateAddress = (address, network) => {
194
194
  Dogecoin__namespace.address.toOutputScript(address, dogeNetwork(network));
195
195
  return true;
196
196
  }
197
- catch (error) {
197
+ catch (_error) {
198
198
  return false;
199
199
  }
200
200
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-doge",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Custom Doge client and utilities used by XChain clients",
5
5
  "keywords": [
6
6
  "Xchain",
@@ -29,25 +29,25 @@
29
29
  "build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
30
30
  "test": "jest",
31
31
  "e2e": "jest --config jest.config.e2e.mjs",
32
- "lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
32
+ "lint": "eslint --config ../../eslint.config.mjs \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
33
33
  "postversion": "git push --follow-tags"
34
34
  },
35
35
  "dependencies": {
36
36
  "@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3",
37
37
  "@ledgerhq/hw-app-btc": "^10.9.0",
38
38
  "@scure/bip32": "^1.7.0",
39
- "@xchainjs/xchain-client": "2.0.7",
40
- "@xchainjs/xchain-crypto": "1.0.5",
41
- "@xchainjs/xchain-util": "2.0.4",
42
- "@xchainjs/xchain-utxo": "2.0.7",
43
- "@xchainjs/xchain-utxo-providers": "2.0.7",
39
+ "@xchainjs/xchain-client": "2.0.9",
40
+ "@xchainjs/xchain-crypto": "1.0.6",
41
+ "@xchainjs/xchain-util": "2.0.5",
42
+ "@xchainjs/xchain-utxo": "2.0.9",
43
+ "@xchainjs/xchain-utxo-providers": "2.0.9",
44
44
  "bitcoinjs-lib": "^6.1.7",
45
45
  "coinselect": "3.1.12",
46
46
  "ecpair": "2.1.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@ledgerhq/hw-transport-node-hid": "^6.28.6",
50
- "axios": "^1.8.4",
50
+ "axios": "1.12.1",
51
51
  "axios-mock-adapter": "^2.1.0"
52
52
  },
53
53
  "publishConfig": {