@astrox/connection 0.0.32 → 0.0.33

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.
Files changed (31) hide show
  1. package/lib/cjs/connections/ledgerConnection.d.ts +5 -1
  2. package/lib/cjs/connections/ledgerConnection.js +0 -1
  3. package/lib/cjs/connections/ledgerConnection.js.map +1 -1
  4. package/lib/cjs/connections/nnsConnection.d.ts +9 -1
  5. package/lib/cjs/connections/nnsConnection.js +9 -56
  6. package/lib/cjs/connections/nnsConnection.js.map +1 -1
  7. package/lib/cjs/ic/icAuthClient.js +0 -1
  8. package/lib/cjs/ic/icAuthClient.js.map +1 -1
  9. package/lib/cjs/services/history/rosseta.d.ts +62 -0
  10. package/lib/cjs/services/history/rosseta.js +242 -0
  11. package/lib/cjs/services/history/rosseta.js.map +1 -0
  12. package/lib/cjs/utils/constants.d.ts +10 -2
  13. package/lib/cjs/utils/constants.js +11 -3
  14. package/lib/cjs/utils/constants.js.map +1 -1
  15. package/lib/esm/connections/ledgerConnection.d.ts +5 -1
  16. package/lib/esm/connections/ledgerConnection.js +0 -1
  17. package/lib/esm/connections/ledgerConnection.js.map +1 -1
  18. package/lib/esm/connections/nnsConnection.d.ts +9 -1
  19. package/lib/esm/connections/nnsConnection.js +9 -56
  20. package/lib/esm/connections/nnsConnection.js.map +1 -1
  21. package/lib/esm/ic/icAuthClient.js +0 -1
  22. package/lib/esm/ic/icAuthClient.js.map +1 -1
  23. package/lib/esm/services/history/rosseta.d.ts +62 -0
  24. package/lib/esm/services/history/rosseta.js +236 -0
  25. package/lib/esm/services/history/rosseta.js.map +1 -0
  26. package/lib/esm/utils/constants.d.ts +10 -2
  27. package/lib/esm/utils/constants.js +10 -2
  28. package/lib/esm/utils/constants.js.map +1 -1
  29. package/lib/tsconfig-cjs.tsbuildinfo +40 -7
  30. package/lib/tsconfig.tsbuildinfo +40 -7
  31. package/package.json +4 -3
@@ -382,7 +382,7 @@
382
382
  "affectsGlobalScope": false
383
383
  },
384
384
  "../src/ic/icauthclient.ts": {
385
- "version": "a761b3177e7a4e7b0ce8bed90ffc0f31ff9909c8e7bb9244193d919b5042174f",
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": "775a651b990e5612eed8083e7e3f659d84ffb97f9c4d1329c27be33f8ebd7814",
676
- "signature": "75e8b8796af33501416e7b73c7965ac9e71674e1c64056d5643e5b8a01747eb7",
675
+ "version": "ff234b6fd448488801c7371fb394a9ff1ea7ff828c013a4d4ed45158feb13608",
676
+ "signature": "966d082cb2dd0092662b39253814b202bc1b1ff90d9c9295abf4ab916157d208",
677
677
  "affectsGlobalScope": false
678
678
  },
679
679
  "../src/utils/converter.ts": {
@@ -682,8 +682,8 @@
682
682
  "affectsGlobalScope": false
683
683
  },
684
684
  "../src/connections/ledgerconnection.ts": {
685
- "version": "244c80f47013d02c4175af26010b8c57a5110a85f2f71a26eddc7429ead68451",
686
- "signature": "e2a8c2779976698f6b41d0ba2b2db4ef39d4c600f9d29653c33fd732503c1a79",
685
+ "version": "4ef0d57bec0ec74126ad30a65608ec352ed97b860f6631c743ed2bc2b04c5d75",
686
+ "signature": "09762447f0c1a631f8c87c24f5c8c96429c3d94605ac5f194f75debcfc13613c",
687
687
  "affectsGlobalScope": false
688
688
  },
689
689
  "../src/ic/icconnect.ts": {
@@ -722,8 +722,8 @@
722
722
  "affectsGlobalScope": false
723
723
  },
724
724
  "../src/connections/nnsconnection.ts": {
725
- "version": "ced0c83ba46751adab5c84272ea76bf5fe059c706572979fefffc10e5ae0d38e",
726
- "signature": "1bcf59bd7ed3957998f62e468a1504d2fb5a6e51eb8e3a47fd52165c3806777e",
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
  ],
@@ -1765,6 +1778,16 @@
1765
1778
  "../src/ic/index.ts",
1766
1779
  "../src/utils/index.ts"
1767
1780
  ],
1781
+ "../src/services/history/rosseta.ts": [
1782
+ "../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
1783
+ "../node_modules/@types/node/util.d.ts",
1784
+ "../node_modules/cross-fetch/index.d.ts",
1785
+ "../src/canisters/nns-dapp.d.ts",
1786
+ "../src/connections/ledgerconnection.ts",
1787
+ "../src/connections/nnsconnection.ts",
1788
+ "../src/utils/constants.ts",
1789
+ "../src/utils/converter.ts"
1790
+ ],
1768
1791
  "../src/types/index.ts": [
1769
1792
  "../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
1770
1793
  "../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
@@ -2529,6 +2552,9 @@
2529
2552
  "../node_modules/buffer/index.d.ts": [
2530
2553
  "../node_modules/@types/node/util.d.ts"
2531
2554
  ],
2555
+ "../node_modules/cross-fetch/index.d.ts": [
2556
+ "../node_modules/@types/node/util.d.ts"
2557
+ ],
2532
2558
  "../node_modules/js-sha256/index.d.ts": [
2533
2559
  "../node_modules/@types/node/util.d.ts"
2534
2560
  ],
@@ -2610,6 +2636,11 @@
2610
2636
  "../src/ic/index.ts",
2611
2637
  "../src/utils/index.ts"
2612
2638
  ],
2639
+ "../src/services/history/rosseta.ts": [
2640
+ "../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
2641
+ "../src/canisters/nns-dapp.d.ts",
2642
+ "../src/connections/ledgerconnection.ts"
2643
+ ],
2613
2644
  "../src/types/index.ts": [
2614
2645
  "../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
2615
2646
  "../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
@@ -2779,6 +2810,7 @@
2779
2810
  "../node_modules/@types/node/worker_threads.d.ts",
2780
2811
  "../node_modules/@types/node/zlib.d.ts",
2781
2812
  "../node_modules/buffer/index.d.ts",
2813
+ "../node_modules/cross-fetch/index.d.ts",
2782
2814
  "../node_modules/js-sha256/index.d.ts",
2783
2815
  "../node_modules/simple-cbor/src/index.d.ts",
2784
2816
  "../node_modules/simple-cbor/src/serializer.d.ts",
@@ -2801,6 +2833,7 @@
2801
2833
  "../src/ic/icwindow.ts",
2802
2834
  "../src/ic/index.ts",
2803
2835
  "../src/index.ts",
2836
+ "../src/services/history/rosseta.ts",
2804
2837
  "../src/types/index.ts",
2805
2838
  "../src/utils/common/types.ts",
2806
2839
  "../src/utils/constants.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrox/connection",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
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": "89808c580ea0dd1cce1f1b4c84aae0b476b6b700"
53
+ "gitHead": "106388e5e5802e6205efd26ea3dcb0e5e88a073a"
53
54
  }