@astrox/connection 0.0.32 → 0.0.37
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/cjs/connections/ledgerConnection.d.ts +5 -1
- package/lib/cjs/connections/ledgerConnection.js +0 -1
- package/lib/cjs/connections/ledgerConnection.js.map +1 -1
- package/lib/cjs/connections/nnsConnection.d.ts +9 -1
- package/lib/cjs/connections/nnsConnection.js +9 -56
- package/lib/cjs/connections/nnsConnection.js.map +1 -1
- package/lib/cjs/ic/icAuthClient.js +0 -1
- package/lib/cjs/ic/icAuthClient.js.map +1 -1
- package/lib/cjs/ic/icConnect.d.ts +5 -2
- package/lib/cjs/ic/icConnect.js +65 -8
- package/lib/cjs/ic/icConnect.js.map +1 -1
- package/lib/cjs/services/history/rosseta.d.ts +62 -0
- package/lib/cjs/services/history/rosseta.js +242 -0
- package/lib/cjs/services/history/rosseta.js.map +1 -0
- package/lib/cjs/types/index.d.ts +49 -1
- package/lib/cjs/types/index.js +8 -1
- package/lib/cjs/types/index.js.map +1 -1
- package/lib/cjs/utils/constants.d.ts +10 -2
- package/lib/cjs/utils/constants.js +11 -3
- package/lib/cjs/utils/constants.js.map +1 -1
- package/lib/esm/connections/ledgerConnection.d.ts +5 -1
- package/lib/esm/connections/ledgerConnection.js +0 -1
- package/lib/esm/connections/ledgerConnection.js.map +1 -1
- package/lib/esm/connections/nnsConnection.d.ts +9 -1
- package/lib/esm/connections/nnsConnection.js +9 -56
- package/lib/esm/connections/nnsConnection.js.map +1 -1
- package/lib/esm/ic/icAuthClient.js +0 -1
- package/lib/esm/ic/icAuthClient.js.map +1 -1
- package/lib/esm/ic/icConnect.d.ts +5 -2
- package/lib/esm/ic/icConnect.js +66 -9
- package/lib/esm/ic/icConnect.js.map +1 -1
- package/lib/esm/services/history/rosseta.d.ts +62 -0
- package/lib/esm/services/history/rosseta.js +236 -0
- package/lib/esm/services/history/rosseta.js.map +1 -0
- package/lib/esm/types/index.d.ts +49 -1
- package/lib/esm/types/index.js +7 -0
- package/lib/esm/types/index.js.map +1 -1
- package/lib/esm/utils/constants.d.ts +10 -2
- package/lib/esm/utils/constants.js +10 -2
- package/lib/esm/utils/constants.js.map +1 -1
- package/lib/tsconfig-cjs.tsbuildinfo +46 -11
- package/lib/tsconfig.tsbuildinfo +46 -11
- package/package.json +4 -3
@@ -1,9 +1,17 @@
|
|
1
|
+
export const LEDGER_CANISTER_ID = 'ryjl3-tyaaa-aaaaa-aaaba-cai';
|
2
|
+
export const NNS_CANISTER_ID = 'qoctq-giaaa-aaaaa-aaaea-cai';
|
1
3
|
export const SUB_ACCOUNT_BYTE_LENGTH = 32;
|
2
4
|
export const CREATE_CANISTER_MEMO = BigInt(0x41455243); // CREA,
|
3
5
|
export const TOP_UP_CANISTER_MEMO = BigInt(0x50555054); // TPUP
|
4
6
|
export const TRANSACTION_FEE = BigInt(10000);
|
5
|
-
export const
|
6
|
-
|
7
|
+
export const NET_ID = {
|
8
|
+
blockchain: 'Internet Computer',
|
9
|
+
network: '00000000000000020101',
|
10
|
+
};
|
11
|
+
export const ROSETTA_URL = 'https://rosetta-api.internetcomputer.org';
|
12
|
+
export const IC_EXPLORER = 'https://dashboard.internetcomputer.org';
|
13
|
+
export const IC_ROCKS = 'https://ic.rocks';
|
14
|
+
export const MAX_TRANSACTION_DECISION_MILSECONDS = 120000;
|
7
15
|
export const PRINCIPAL_REGEX = /(\w{5}-){10}\w{3}/;
|
8
16
|
export const ALPHANUM_REGEX = /^[a-zA-Z0-9]+$/;
|
9
17
|
export const CANISTER_REGEX = /(\w{5}-){4}\w{3}/;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAC1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO;AAE/D,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,KAAM,CAAC,CAAC;AAE9C,MAAM,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAChE,MAAM,CAAC,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAI7D,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAC1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO;AAE/D,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,KAAM,CAAC,CAAC;AAE9C,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,UAAU,EAAE,mBAAmB;IAC/B,OAAO,EAAE,sBAAsB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,0CAA0C,CAAC;AACtE,MAAM,CAAC,MAAM,WAAW,GAAG,wCAAwC,CAAC;AACpE,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC;AAE3C,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC;AAE1D,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC;AACnD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAC/C,MAAM,CAAC,MAAM,cAAc,GAAG,kBAAkB,CAAC;AACjD,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,WAAW;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;CACrB,CAAC"}
|
@@ -382,7 +382,7 @@
|
|
382
382
|
"affectsGlobalScope": false
|
383
383
|
},
|
384
384
|
"../src/ic/icauthclient.ts": {
|
385
|
-
"version": "
|
385
|
+
"version": "7ac54ce1fa4156339dc992c6a51f0c92e1365ac0478b46a459a83e668fa0e512",
|
386
386
|
"signature": "9dde7ceba13f1b005ee820e9976834ee51771113443c14cde94fa6479549a55c",
|
387
387
|
"affectsGlobalScope": false
|
388
388
|
},
|
@@ -672,8 +672,8 @@
|
|
672
672
|
"affectsGlobalScope": false
|
673
673
|
},
|
674
674
|
"../src/utils/constants.ts": {
|
675
|
-
"version": "
|
676
|
-
"signature": "
|
675
|
+
"version": "ff234b6fd448488801c7371fb394a9ff1ea7ff828c013a4d4ed45158feb13608",
|
676
|
+
"signature": "966d082cb2dd0092662b39253814b202bc1b1ff90d9c9295abf4ab916157d208",
|
677
677
|
"affectsGlobalScope": false
|
678
678
|
},
|
679
679
|
"../src/utils/converter.ts": {
|
@@ -682,13 +682,13 @@
|
|
682
682
|
"affectsGlobalScope": false
|
683
683
|
},
|
684
684
|
"../src/connections/ledgerconnection.ts": {
|
685
|
-
"version": "
|
686
|
-
"signature": "
|
685
|
+
"version": "4ef0d57bec0ec74126ad30a65608ec352ed97b860f6631c743ed2bc2b04c5d75",
|
686
|
+
"signature": "09762447f0c1a631f8c87c24f5c8c96429c3d94605ac5f194f75debcfc13613c",
|
687
687
|
"affectsGlobalScope": false
|
688
688
|
},
|
689
689
|
"../src/ic/icconnect.ts": {
|
690
|
-
"version": "
|
691
|
-
"signature": "
|
690
|
+
"version": "0314b14a429c47c11c06bc5e8e567783c77cd506b0589c17378c6dd7b59d2f37",
|
691
|
+
"signature": "f8bcf08e22541b60e6989e1eafe151938ef131d243e886ef461a3dad7231b99c",
|
692
692
|
"affectsGlobalScope": true
|
693
693
|
},
|
694
694
|
"../src/ic/index.ts": {
|
@@ -697,8 +697,8 @@
|
|
697
697
|
"affectsGlobalScope": false
|
698
698
|
},
|
699
699
|
"../src/types/index.ts": {
|
700
|
-
"version": "
|
701
|
-
"signature": "
|
700
|
+
"version": "61abd697cfe524d78254004d821c855d06bbbea44521bf30a4d65cb21abd3aa0",
|
701
|
+
"signature": "e8761efbe968e1c121b0a2d4bf0f59458c0d174062c5028164fafc3cf90ec723",
|
702
702
|
"affectsGlobalScope": false
|
703
703
|
},
|
704
704
|
"../src/connections/baseconnection.ts": {
|
@@ -722,8 +722,8 @@
|
|
722
722
|
"affectsGlobalScope": false
|
723
723
|
},
|
724
724
|
"../src/connections/nnsconnection.ts": {
|
725
|
-
"version": "
|
726
|
-
"signature": "
|
725
|
+
"version": "be4f9dbf023b6159d6d310d92b85a609593e61adceb51efb4890b069f0264b9f",
|
726
|
+
"signature": "371b90a63663eed76f7dfd2bff22042ec0756af19e35c56aac2dc7f633e9fa1b",
|
727
727
|
"affectsGlobalScope": false
|
728
728
|
},
|
729
729
|
"../src/utils/index.ts": {
|
@@ -756,6 +756,16 @@
|
|
756
756
|
"signature": "94e42869eebfdbd8ed4f97bc0f5a17ac86265829b64246969bce4e9044640544",
|
757
757
|
"affectsGlobalScope": false
|
758
758
|
},
|
759
|
+
"../node_modules/cross-fetch/index.d.ts": {
|
760
|
+
"version": "409cf8770fbb9f099124e9ca744282ebfd85df2fd3650ae05c4ee3d03af66714",
|
761
|
+
"signature": "409cf8770fbb9f099124e9ca744282ebfd85df2fd3650ae05c4ee3d03af66714",
|
762
|
+
"affectsGlobalScope": true
|
763
|
+
},
|
764
|
+
"../src/services/history/rosseta.ts": {
|
765
|
+
"version": "af1bfc4ea39badf0b2e974b0bf2f867086c578cc2e7bab5ea083857d99a04d80",
|
766
|
+
"signature": "f4ccc63137b2164d482e52fb9b25f98c35778871b5ec22a990998b7b6844d14e",
|
767
|
+
"affectsGlobalScope": false
|
768
|
+
},
|
759
769
|
"../../../node_modules/.pnpm/@babel+types@7.16.0/node_modules/@babel/types/lib/index.d.ts": {
|
760
770
|
"version": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54",
|
761
771
|
"signature": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54",
|
@@ -1650,6 +1660,9 @@
|
|
1650
1660
|
"../node_modules/buffer/index.d.ts": [
|
1651
1661
|
"../node_modules/@types/node/util.d.ts"
|
1652
1662
|
],
|
1663
|
+
"../node_modules/cross-fetch/index.d.ts": [
|
1664
|
+
"../node_modules/@types/node/util.d.ts"
|
1665
|
+
],
|
1653
1666
|
"../node_modules/js-sha256/index.d.ts": [
|
1654
1667
|
"../node_modules/@types/node/util.d.ts"
|
1655
1668
|
],
|
@@ -1737,7 +1750,9 @@
|
|
1737
1750
|
"../src/ic/icconnect.ts": [
|
1738
1751
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
1739
1752
|
"../node_modules/@dfinity/candid/lib/cjs/idl.d.ts",
|
1753
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1740
1754
|
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
1755
|
+
"../node_modules/@types/node/console.d.ts",
|
1741
1756
|
"../node_modules/@types/node/util.d.ts",
|
1742
1757
|
"../src/connections/ledgerconnection.ts",
|
1743
1758
|
"../src/ic/icauthclient.ts",
|
@@ -1766,6 +1781,16 @@
|
|
1766
1781
|
"../src/ic/index.ts",
|
1767
1782
|
"../src/utils/index.ts"
|
1768
1783
|
],
|
1784
|
+
"../src/services/history/rosseta.ts": [
|
1785
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1786
|
+
"../node_modules/@types/node/util.d.ts",
|
1787
|
+
"../node_modules/cross-fetch/index.d.ts",
|
1788
|
+
"../src/canisters/nns-dapp.d.ts",
|
1789
|
+
"../src/connections/ledgerconnection.ts",
|
1790
|
+
"../src/connections/nnsconnection.ts",
|
1791
|
+
"../src/utils/constants.ts",
|
1792
|
+
"../src/utils/converter.ts"
|
1793
|
+
],
|
1769
1794
|
"../src/types/index.ts": [
|
1770
1795
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
1771
1796
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
@@ -2530,6 +2555,9 @@
|
|
2530
2555
|
"../node_modules/buffer/index.d.ts": [
|
2531
2556
|
"../node_modules/@types/node/util.d.ts"
|
2532
2557
|
],
|
2558
|
+
"../node_modules/cross-fetch/index.d.ts": [
|
2559
|
+
"../node_modules/@types/node/util.d.ts"
|
2560
|
+
],
|
2533
2561
|
"../node_modules/js-sha256/index.d.ts": [
|
2534
2562
|
"../node_modules/@types/node/util.d.ts"
|
2535
2563
|
],
|
@@ -2611,6 +2639,11 @@
|
|
2611
2639
|
"../src/ic/index.ts",
|
2612
2640
|
"../src/utils/index.ts"
|
2613
2641
|
],
|
2642
|
+
"../src/services/history/rosseta.ts": [
|
2643
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2644
|
+
"../src/canisters/nns-dapp.d.ts",
|
2645
|
+
"../src/connections/ledgerconnection.ts"
|
2646
|
+
],
|
2614
2647
|
"../src/types/index.ts": [
|
2615
2648
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2616
2649
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
@@ -2780,6 +2813,7 @@
|
|
2780
2813
|
"../node_modules/@types/node/worker_threads.d.ts",
|
2781
2814
|
"../node_modules/@types/node/zlib.d.ts",
|
2782
2815
|
"../node_modules/buffer/index.d.ts",
|
2816
|
+
"../node_modules/cross-fetch/index.d.ts",
|
2783
2817
|
"../node_modules/js-sha256/index.d.ts",
|
2784
2818
|
"../node_modules/simple-cbor/src/index.d.ts",
|
2785
2819
|
"../node_modules/simple-cbor/src/serializer.d.ts",
|
@@ -2802,6 +2836,7 @@
|
|
2802
2836
|
"../src/ic/icwindow.ts",
|
2803
2837
|
"../src/ic/index.ts",
|
2804
2838
|
"../src/index.ts",
|
2839
|
+
"../src/services/history/rosseta.ts",
|
2805
2840
|
"../src/types/index.ts",
|
2806
2841
|
"../src/utils/common/types.ts",
|
2807
2842
|
"../src/utils/constants.ts",
|
package/lib/tsconfig.tsbuildinfo
CHANGED
@@ -382,7 +382,7 @@
|
|
382
382
|
"affectsGlobalScope": false
|
383
383
|
},
|
384
384
|
"../src/ic/icauthclient.ts": {
|
385
|
-
"version": "
|
385
|
+
"version": "7ac54ce1fa4156339dc992c6a51f0c92e1365ac0478b46a459a83e668fa0e512",
|
386
386
|
"signature": "9dde7ceba13f1b005ee820e9976834ee51771113443c14cde94fa6479549a55c",
|
387
387
|
"affectsGlobalScope": false
|
388
388
|
},
|
@@ -672,8 +672,8 @@
|
|
672
672
|
"affectsGlobalScope": false
|
673
673
|
},
|
674
674
|
"../src/utils/constants.ts": {
|
675
|
-
"version": "
|
676
|
-
"signature": "
|
675
|
+
"version": "ff234b6fd448488801c7371fb394a9ff1ea7ff828c013a4d4ed45158feb13608",
|
676
|
+
"signature": "966d082cb2dd0092662b39253814b202bc1b1ff90d9c9295abf4ab916157d208",
|
677
677
|
"affectsGlobalScope": false
|
678
678
|
},
|
679
679
|
"../src/utils/converter.ts": {
|
@@ -682,13 +682,13 @@
|
|
682
682
|
"affectsGlobalScope": false
|
683
683
|
},
|
684
684
|
"../src/connections/ledgerconnection.ts": {
|
685
|
-
"version": "
|
686
|
-
"signature": "
|
685
|
+
"version": "4ef0d57bec0ec74126ad30a65608ec352ed97b860f6631c743ed2bc2b04c5d75",
|
686
|
+
"signature": "09762447f0c1a631f8c87c24f5c8c96429c3d94605ac5f194f75debcfc13613c",
|
687
687
|
"affectsGlobalScope": false
|
688
688
|
},
|
689
689
|
"../src/ic/icconnect.ts": {
|
690
|
-
"version": "
|
691
|
-
"signature": "
|
690
|
+
"version": "0314b14a429c47c11c06bc5e8e567783c77cd506b0589c17378c6dd7b59d2f37",
|
691
|
+
"signature": "f8bcf08e22541b60e6989e1eafe151938ef131d243e886ef461a3dad7231b99c",
|
692
692
|
"affectsGlobalScope": true
|
693
693
|
},
|
694
694
|
"../src/ic/index.ts": {
|
@@ -697,8 +697,8 @@
|
|
697
697
|
"affectsGlobalScope": false
|
698
698
|
},
|
699
699
|
"../src/types/index.ts": {
|
700
|
-
"version": "
|
701
|
-
"signature": "
|
700
|
+
"version": "61abd697cfe524d78254004d821c855d06bbbea44521bf30a4d65cb21abd3aa0",
|
701
|
+
"signature": "e8761efbe968e1c121b0a2d4bf0f59458c0d174062c5028164fafc3cf90ec723",
|
702
702
|
"affectsGlobalScope": false
|
703
703
|
},
|
704
704
|
"../src/connections/baseconnection.ts": {
|
@@ -722,8 +722,8 @@
|
|
722
722
|
"affectsGlobalScope": false
|
723
723
|
},
|
724
724
|
"../src/connections/nnsconnection.ts": {
|
725
|
-
"version": "
|
726
|
-
"signature": "
|
725
|
+
"version": "be4f9dbf023b6159d6d310d92b85a609593e61adceb51efb4890b069f0264b9f",
|
726
|
+
"signature": "371b90a63663eed76f7dfd2bff22042ec0756af19e35c56aac2dc7f633e9fa1b",
|
727
727
|
"affectsGlobalScope": false
|
728
728
|
},
|
729
729
|
"../src/utils/index.ts": {
|
@@ -756,6 +756,16 @@
|
|
756
756
|
"signature": "94e42869eebfdbd8ed4f97bc0f5a17ac86265829b64246969bce4e9044640544",
|
757
757
|
"affectsGlobalScope": false
|
758
758
|
},
|
759
|
+
"../node_modules/cross-fetch/index.d.ts": {
|
760
|
+
"version": "409cf8770fbb9f099124e9ca744282ebfd85df2fd3650ae05c4ee3d03af66714",
|
761
|
+
"signature": "409cf8770fbb9f099124e9ca744282ebfd85df2fd3650ae05c4ee3d03af66714",
|
762
|
+
"affectsGlobalScope": true
|
763
|
+
},
|
764
|
+
"../src/services/history/rosseta.ts": {
|
765
|
+
"version": "af1bfc4ea39badf0b2e974b0bf2f867086c578cc2e7bab5ea083857d99a04d80",
|
766
|
+
"signature": "f4ccc63137b2164d482e52fb9b25f98c35778871b5ec22a990998b7b6844d14e",
|
767
|
+
"affectsGlobalScope": false
|
768
|
+
},
|
759
769
|
"../../../node_modules/.pnpm/@babel+types@7.16.0/node_modules/@babel/types/lib/index.d.ts": {
|
760
770
|
"version": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54",
|
761
771
|
"signature": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54",
|
@@ -1649,6 +1659,9 @@
|
|
1649
1659
|
"../node_modules/buffer/index.d.ts": [
|
1650
1660
|
"../node_modules/@types/node/util.d.ts"
|
1651
1661
|
],
|
1662
|
+
"../node_modules/cross-fetch/index.d.ts": [
|
1663
|
+
"../node_modules/@types/node/util.d.ts"
|
1664
|
+
],
|
1652
1665
|
"../node_modules/js-sha256/index.d.ts": [
|
1653
1666
|
"../node_modules/@types/node/util.d.ts"
|
1654
1667
|
],
|
@@ -1736,7 +1749,9 @@
|
|
1736
1749
|
"../src/ic/icconnect.ts": [
|
1737
1750
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
1738
1751
|
"../node_modules/@dfinity/candid/lib/cjs/idl.d.ts",
|
1752
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1739
1753
|
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
1754
|
+
"../node_modules/@types/node/console.d.ts",
|
1740
1755
|
"../node_modules/@types/node/util.d.ts",
|
1741
1756
|
"../src/connections/ledgerconnection.ts",
|
1742
1757
|
"../src/ic/icauthclient.ts",
|
@@ -1765,6 +1780,16 @@
|
|
1765
1780
|
"../src/ic/index.ts",
|
1766
1781
|
"../src/utils/index.ts"
|
1767
1782
|
],
|
1783
|
+
"../src/services/history/rosseta.ts": [
|
1784
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1785
|
+
"../node_modules/@types/node/util.d.ts",
|
1786
|
+
"../node_modules/cross-fetch/index.d.ts",
|
1787
|
+
"../src/canisters/nns-dapp.d.ts",
|
1788
|
+
"../src/connections/ledgerconnection.ts",
|
1789
|
+
"../src/connections/nnsconnection.ts",
|
1790
|
+
"../src/utils/constants.ts",
|
1791
|
+
"../src/utils/converter.ts"
|
1792
|
+
],
|
1768
1793
|
"../src/types/index.ts": [
|
1769
1794
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
1770
1795
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
@@ -2529,6 +2554,9 @@
|
|
2529
2554
|
"../node_modules/buffer/index.d.ts": [
|
2530
2555
|
"../node_modules/@types/node/util.d.ts"
|
2531
2556
|
],
|
2557
|
+
"../node_modules/cross-fetch/index.d.ts": [
|
2558
|
+
"../node_modules/@types/node/util.d.ts"
|
2559
|
+
],
|
2532
2560
|
"../node_modules/js-sha256/index.d.ts": [
|
2533
2561
|
"../node_modules/@types/node/util.d.ts"
|
2534
2562
|
],
|
@@ -2610,6 +2638,11 @@
|
|
2610
2638
|
"../src/ic/index.ts",
|
2611
2639
|
"../src/utils/index.ts"
|
2612
2640
|
],
|
2641
|
+
"../src/services/history/rosseta.ts": [
|
2642
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2643
|
+
"../src/canisters/nns-dapp.d.ts",
|
2644
|
+
"../src/connections/ledgerconnection.ts"
|
2645
|
+
],
|
2613
2646
|
"../src/types/index.ts": [
|
2614
2647
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2615
2648
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
@@ -2779,6 +2812,7 @@
|
|
2779
2812
|
"../node_modules/@types/node/worker_threads.d.ts",
|
2780
2813
|
"../node_modules/@types/node/zlib.d.ts",
|
2781
2814
|
"../node_modules/buffer/index.d.ts",
|
2815
|
+
"../node_modules/cross-fetch/index.d.ts",
|
2782
2816
|
"../node_modules/js-sha256/index.d.ts",
|
2783
2817
|
"../node_modules/simple-cbor/src/index.d.ts",
|
2784
2818
|
"../node_modules/simple-cbor/src/serializer.d.ts",
|
@@ -2801,6 +2835,7 @@
|
|
2801
2835
|
"../src/ic/icwindow.ts",
|
2802
2836
|
"../src/ic/index.ts",
|
2803
2837
|
"../src/index.ts",
|
2838
|
+
"../src/services/history/rosseta.ts",
|
2804
2839
|
"../src/types/index.ts",
|
2805
2840
|
"../src/utils/common/types.ts",
|
2806
2841
|
"../src/utils/constants.ts",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@astrox/connection",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.37",
|
4
4
|
"author": "AstroX",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "JavaScript and TypeScript library to work with candid interfaces",
|
@@ -47,7 +47,8 @@
|
|
47
47
|
"@dfinity/identity": "^0.10.1",
|
48
48
|
"@dfinity/principal": "^0.10.1",
|
49
49
|
"@types/crc": "^3.4.0",
|
50
|
-
"crc": "^3.8.0"
|
50
|
+
"crc": "^3.8.0",
|
51
|
+
"cross-fetch": "^3.1.4"
|
51
52
|
},
|
52
|
-
"gitHead": "
|
53
|
+
"gitHead": "634661c968e1052292fb82cfce589fbe92a8accb"
|
53
54
|
}
|