@xchainjs/xchain-radix 2.0.8 → 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 +4 -4
- package/lib/index.js +4 -4
- package/package.json +4 -4
package/lib/index.esm.js
CHANGED
|
@@ -581,7 +581,7 @@ class Client extends BaseXChainClient {
|
|
|
581
581
|
}
|
|
582
582
|
return true;
|
|
583
583
|
}
|
|
584
|
-
catch (
|
|
584
|
+
catch (_error) {
|
|
585
585
|
return false;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
@@ -655,7 +655,7 @@ class Client extends BaseXChainClient {
|
|
|
655
655
|
txList.txs.push(transaction);
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
|
-
catch (
|
|
658
|
+
catch (_error) { }
|
|
659
659
|
}
|
|
660
660
|
txList.total = txList.txs.length;
|
|
661
661
|
return txList;
|
|
@@ -692,7 +692,7 @@ class Client extends BaseXChainClient {
|
|
|
692
692
|
throw new Error('Incomplete transaction data received');
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
catch (
|
|
695
|
+
catch (_error) {
|
|
696
696
|
throw new Error('Failed to fetch transaction data');
|
|
697
697
|
}
|
|
698
698
|
});
|
|
@@ -743,7 +743,7 @@ class Client extends BaseXChainClient {
|
|
|
743
743
|
};
|
|
744
744
|
return transaction;
|
|
745
745
|
}
|
|
746
|
-
catch (
|
|
746
|
+
catch (_error) {
|
|
747
747
|
return {
|
|
748
748
|
from: [],
|
|
749
749
|
to: [],
|
package/lib/index.js
CHANGED
|
@@ -587,7 +587,7 @@ class Client extends xchainClient.BaseXChainClient {
|
|
|
587
587
|
}
|
|
588
588
|
return true;
|
|
589
589
|
}
|
|
590
|
-
catch (
|
|
590
|
+
catch (_error) {
|
|
591
591
|
return false;
|
|
592
592
|
}
|
|
593
593
|
}
|
|
@@ -661,7 +661,7 @@ class Client extends xchainClient.BaseXChainClient {
|
|
|
661
661
|
txList.txs.push(transaction);
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
|
-
catch (
|
|
664
|
+
catch (_error) { }
|
|
665
665
|
}
|
|
666
666
|
txList.total = txList.txs.length;
|
|
667
667
|
return txList;
|
|
@@ -698,7 +698,7 @@ class Client extends xchainClient.BaseXChainClient {
|
|
|
698
698
|
throw new Error('Incomplete transaction data received');
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
catch (
|
|
701
|
+
catch (_error) {
|
|
702
702
|
throw new Error('Failed to fetch transaction data');
|
|
703
703
|
}
|
|
704
704
|
});
|
|
@@ -749,7 +749,7 @@ class Client extends xchainClient.BaseXChainClient {
|
|
|
749
749
|
};
|
|
750
750
|
return transaction;
|
|
751
751
|
}
|
|
752
|
-
catch (
|
|
752
|
+
catch (_error) {
|
|
753
753
|
return {
|
|
754
754
|
from: [],
|
|
755
755
|
to: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-radix",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Custom Radix client and utilities used by XChainJS clients",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"XRD",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
|
|
31
31
|
"test": "jest",
|
|
32
32
|
"compile": "tsc -p tsconfig.build.json",
|
|
33
|
-
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
|
|
33
|
+
"lint": "eslint --config ../../eslint.config.mjs \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
|
|
34
34
|
"fund": "ts-node src/utils.ts"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"@radixdlt/radix-engine-toolkit": "^1.0.3",
|
|
43
43
|
"@scure/base": "^1.2.6",
|
|
44
44
|
"@scure/bip32": "^1.7.0",
|
|
45
|
-
"@xchainjs/xchain-client": "2.0.
|
|
45
|
+
"@xchainjs/xchain-client": "2.0.9",
|
|
46
46
|
"@xchainjs/xchain-crypto": "1.0.6",
|
|
47
|
-
"@xchainjs/xchain-util": "2.0.
|
|
47
|
+
"@xchainjs/xchain-util": "2.0.5",
|
|
48
48
|
"bip39": "^3.1.0",
|
|
49
49
|
"micro-key-producer": "^0.7.6"
|
|
50
50
|
}
|