@astrox/connection 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/cjs/connections/baseConnection.d.ts +3 -32
- package/lib/cjs/connections/baseConnection.js.map +1 -1
- package/lib/cjs/connections/ledgerConnection.d.ts +3 -8
- package/lib/cjs/connections/ledgerConnection.js +1 -0
- package/lib/cjs/connections/ledgerConnection.js.map +1 -1
- package/lib/cjs/connections/nnsConnection.d.ts +2 -1
- package/lib/cjs/connections/nnsConnection.js.map +1 -1
- package/lib/cjs/ic/icAuthClient.d.ts +1 -1
- package/lib/cjs/ic/icAuthClient.js +1 -1
- package/lib/cjs/ic/icAuthClient.js.map +1 -1
- package/lib/cjs/ic/icConnect.d.ts +1 -1
- package/lib/cjs/ic/icConnect.js +1 -1
- package/lib/cjs/ic/icConnect.js.map +1 -1
- package/lib/cjs/ic/icStorage.d.ts +1 -1
- package/lib/cjs/ic/icWindow.d.ts +1 -1
- package/lib/cjs/types/index.d.ts +164 -0
- package/lib/cjs/types/index.js +17 -0
- package/lib/cjs/types/index.js.map +1 -0
- package/lib/esm/connections/baseConnection.d.ts +3 -32
- package/lib/esm/connections/baseConnection.js.map +1 -1
- package/lib/esm/connections/ledgerConnection.d.ts +3 -8
- package/lib/esm/connections/ledgerConnection.js +2 -1
- package/lib/esm/connections/ledgerConnection.js.map +1 -1
- package/lib/esm/connections/nnsConnection.d.ts +2 -1
- package/lib/esm/connections/nnsConnection.js +1 -1
- package/lib/esm/connections/nnsConnection.js.map +1 -1
- package/lib/esm/ic/icAuthClient.d.ts +1 -1
- package/lib/esm/ic/icAuthClient.js +1 -1
- package/lib/esm/ic/icAuthClient.js.map +1 -1
- package/lib/esm/ic/icConnect.d.ts +1 -1
- package/lib/esm/ic/icConnect.js +1 -1
- package/lib/esm/ic/icConnect.js.map +1 -1
- package/lib/esm/ic/icStorage.d.ts +1 -1
- package/lib/esm/ic/icWindow.d.ts +1 -1
- package/lib/esm/types/index.d.ts +164 -0
- package/lib/esm/types/index.js +14 -0
- package/lib/esm/types/index.js.map +1 -0
- package/lib/tsconfig-cjs.tsbuildinfo +80 -75
- package/lib/tsconfig.tsbuildinfo +80 -75
- package/package.json +2 -2
package/lib/tsconfig.tsbuildinfo
CHANGED
@@ -366,9 +366,29 @@
|
|
366
366
|
"signature": "a20903ac93855eeaa0850e870e3555435ea016de8a9f04f7866d58f1c3d15261",
|
367
367
|
"affectsGlobalScope": false
|
368
368
|
},
|
369
|
-
"../src/
|
370
|
-
"version": "
|
371
|
-
"signature": "
|
369
|
+
"../src/utils/common/types.ts": {
|
370
|
+
"version": "8d5a23a2d4611a1bc7f2997705e1e6b37fca54f6943a350e798eacab4ae9293c",
|
371
|
+
"signature": "a154801238398d40726b2dd310f5edfa8f2e9e8ffed153c88acb262d05dc9e49",
|
372
|
+
"affectsGlobalScope": false
|
373
|
+
},
|
374
|
+
"../node_modules/@dfinity/authentication/lib/cjs/index.d.ts": {
|
375
|
+
"version": "75904b787aa1956bbee1e493b13a6f8d3e6cdc88b8ce4248455cd8168637ede1",
|
376
|
+
"signature": "75904b787aa1956bbee1e493b13a6f8d3e6cdc88b8ce4248455cd8168637ede1",
|
377
|
+
"affectsGlobalScope": false
|
378
|
+
},
|
379
|
+
"../src/ic/icstorage.ts": {
|
380
|
+
"version": "22bfaaaea7014139a5f216f66773126d5f7186cbc2aaf865d3fa48996c60c9ea",
|
381
|
+
"signature": "dd08e3de8be4c5ec503659cadcefa01afdc8ec02227b866aa9087f663d85f6be",
|
382
|
+
"affectsGlobalScope": false
|
383
|
+
},
|
384
|
+
"../src/ic/icauthclient.ts": {
|
385
|
+
"version": "4a06c649735ac75b71bae401743eec573a9632019511c505c05e84a39bf08a85",
|
386
|
+
"signature": "9dde7ceba13f1b005ee820e9976834ee51771113443c14cde94fa6479549a55c",
|
387
|
+
"affectsGlobalScope": false
|
388
|
+
},
|
389
|
+
"../src/ic/icwindow.ts": {
|
390
|
+
"version": "ef2bed90062db1339f92c62720db5a6bcfba8333c0c1831f50fc2ef92bde654a",
|
391
|
+
"signature": "4f2890393161c48a09154afb638631c1f0bea48bb46827a285ead79ab679ed86",
|
372
392
|
"affectsGlobalScope": false
|
373
393
|
},
|
374
394
|
"../src/canisters/ledger.idl.js": {
|
@@ -661,19 +681,34 @@
|
|
661
681
|
"signature": "f35f7890ee86b24a1f8f5610771ddc7828d5241b1eefb0bca0b91150a2b3e37e",
|
662
682
|
"affectsGlobalScope": false
|
663
683
|
},
|
664
|
-
"../src/utils/common/types.ts": {
|
665
|
-
"version": "8d5a23a2d4611a1bc7f2997705e1e6b37fca54f6943a350e798eacab4ae9293c",
|
666
|
-
"signature": "a154801238398d40726b2dd310f5edfa8f2e9e8ffed153c88acb262d05dc9e49",
|
667
|
-
"affectsGlobalScope": false
|
668
|
-
},
|
669
684
|
"../src/utils/converter.ts": {
|
670
685
|
"version": "9f4e5ed7886fab48a40b6a38a2dda63c7931ca0e204bdab6771d4be7f33224be",
|
671
686
|
"signature": "eaf97519e6b43e001856dbdbc94a3f68c5522a4cba12e320b6ce75e3072f3930",
|
672
687
|
"affectsGlobalScope": false
|
673
688
|
},
|
674
689
|
"../src/connections/ledgerconnection.ts": {
|
675
|
-
"version": "
|
676
|
-
"signature": "
|
690
|
+
"version": "89e9c39a4f027e07869a9c0e0087d903e9d0ce74020a437bbf582ade7f0ac26f",
|
691
|
+
"signature": "c4a2d3d36c18baad2ed80242c4d483d0e1831144988db7f117ac6e2afe79ecd5",
|
692
|
+
"affectsGlobalScope": false
|
693
|
+
},
|
694
|
+
"../src/ic/icconnect.ts": {
|
695
|
+
"version": "e7ad4a6e06b4f929c7e36151b28dfce762e7805d8c528ef56e2942bd89c3d3c0",
|
696
|
+
"signature": "00879e90edffba8e1093ffe9a417e33e6ef1e2a19e0a8e269c613028958d6509",
|
697
|
+
"affectsGlobalScope": true
|
698
|
+
},
|
699
|
+
"../src/ic/index.ts": {
|
700
|
+
"version": "e27e2bf15aef8ea587963ac5a0bfa08b40082ef0ec8117678c830fc2f6e32084",
|
701
|
+
"signature": "e27e2bf15aef8ea587963ac5a0bfa08b40082ef0ec8117678c830fc2f6e32084",
|
702
|
+
"affectsGlobalScope": false
|
703
|
+
},
|
704
|
+
"../src/types/index.ts": {
|
705
|
+
"version": "19bddda63d867ec26987cf0f579306bef0fb3112256de50d188867ef716e60e4",
|
706
|
+
"signature": "d750a3f4999d9b92dbcac72c6339fce871dbb20cff001903a8f8f687c35f0178",
|
707
|
+
"affectsGlobalScope": false
|
708
|
+
},
|
709
|
+
"../src/connections/baseconnection.ts": {
|
710
|
+
"version": "dc8f835404a60620c647a3344775d561cf6fbe197d1a330403378c4159c7ee0e",
|
711
|
+
"signature": "e6e7666a8fa98ef23b6abee54f16fdcfcb77a1bc41a287a51df0e16f036d841c",
|
677
712
|
"affectsGlobalScope": false
|
678
713
|
},
|
679
714
|
"../src/canisters/nns-dapp.idl.js": {
|
@@ -692,8 +727,8 @@
|
|
692
727
|
"affectsGlobalScope": false
|
693
728
|
},
|
694
729
|
"../src/connections/nnsconnection.ts": {
|
695
|
-
"version": "
|
696
|
-
"signature": "
|
730
|
+
"version": "a4d1c9b174cb0a3633ca339204eba6ec3a62e894a5890c67e1d4bd417df70369",
|
731
|
+
"signature": "1bcf59bd7ed3957998f62e468a1504d2fb5a6e51eb8e3a47fd52165c3806777e",
|
697
732
|
"affectsGlobalScope": false
|
698
733
|
},
|
699
734
|
"../src/utils/index.ts": {
|
@@ -701,41 +736,6 @@
|
|
701
736
|
"signature": "c7ea6be1c5a500e80211046a59e0ca64b5910137dba5cea498fe963e0dbd0511",
|
702
737
|
"affectsGlobalScope": false
|
703
738
|
},
|
704
|
-
"../node_modules/@dfinity/authentication/lib/cjs/index.d.ts": {
|
705
|
-
"version": "75904b787aa1956bbee1e493b13a6f8d3e6cdc88b8ce4248455cd8168637ede1",
|
706
|
-
"signature": "75904b787aa1956bbee1e493b13a6f8d3e6cdc88b8ce4248455cd8168637ede1",
|
707
|
-
"affectsGlobalScope": false
|
708
|
-
},
|
709
|
-
"../src/ic/icstorage.ts": {
|
710
|
-
"version": "b6ed5873ae97be24a5d69797566b9efb20d213862061a86638d5346b9e7f60db",
|
711
|
-
"signature": "88c188618f6fa69c7937123fc5243d22c38dea9fa9b600ed097cf2e69e13b045",
|
712
|
-
"affectsGlobalScope": false
|
713
|
-
},
|
714
|
-
"../src/ic/icwindow.ts": {
|
715
|
-
"version": "8f2a84e616084d5ea3a18a03470cc9b02ecd99fc0cfa854e15ed6758ad856f63",
|
716
|
-
"signature": "dd4eba4f154f00a24d43d167d2bbd244c5995171b917c7093681fdf5b3e392c2",
|
717
|
-
"affectsGlobalScope": false
|
718
|
-
},
|
719
|
-
"../src/ic/icconnect.ts": {
|
720
|
-
"version": "56879d45f44e8d3fd07f6c11c9626c141eb54ad6497669bb2f621d44419aa409",
|
721
|
-
"signature": "e09ce6efb1fe879a9f0598375c5fe8b33291c64a50940826522e5d819fa5fe84",
|
722
|
-
"affectsGlobalScope": true
|
723
|
-
},
|
724
|
-
"../src/ic/types.ts": {
|
725
|
-
"version": "c0b7a977862b80094a701884057520b4e7f71e2cf7119182fd5afa35c40ee9c3",
|
726
|
-
"signature": "e307dd848492952650c374bf56f687351bc53c1c0bc7467c2fd0ef4ac4ee59e0",
|
727
|
-
"affectsGlobalScope": false
|
728
|
-
},
|
729
|
-
"../src/ic/icauthclient.ts": {
|
730
|
-
"version": "4807408a81dadb61031eac5d05615cc73d3d46460909a05209e4a8654c4c3ed1",
|
731
|
-
"signature": "f34a486f43efaba27b7e388b84a313c938474c5e834ac472f690e96cfe78a6a8",
|
732
|
-
"affectsGlobalScope": false
|
733
|
-
},
|
734
|
-
"../src/ic/index.ts": {
|
735
|
-
"version": "e27e2bf15aef8ea587963ac5a0bfa08b40082ef0ec8117678c830fc2f6e32084",
|
736
|
-
"signature": "e27e2bf15aef8ea587963ac5a0bfa08b40082ef0ec8117678c830fc2f6e32084",
|
737
|
-
"affectsGlobalScope": false
|
738
|
-
},
|
739
739
|
"../src/index.ts": {
|
740
740
|
"version": "525231644e8d15ffb5f9563fd30d8c70c1676c615b3b0af442f77e44b59db31a",
|
741
741
|
"signature": "525231644e8d15ffb5f9563fd30d8c70c1676c615b3b0af442f77e44b59db31a",
|
@@ -1714,7 +1714,8 @@
|
|
1714
1714
|
"../node_modules/@dfinity/candid/lib/cjs/idl.d.ts",
|
1715
1715
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1716
1716
|
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
1717
|
-
"../node_modules/@types/node/util.d.ts"
|
1717
|
+
"../node_modules/@types/node/util.d.ts",
|
1718
|
+
"../src/types/index.ts"
|
1718
1719
|
],
|
1719
1720
|
"../src/connections/ledgerconnection.ts": [
|
1720
1721
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
@@ -1723,6 +1724,7 @@
|
|
1723
1724
|
"../src/canisters/ledger.d.ts",
|
1724
1725
|
"../src/canisters/ledger.idl.js",
|
1725
1726
|
"../src/connections/baseconnection.ts",
|
1727
|
+
"../src/types/index.ts",
|
1726
1728
|
"../src/utils/constants.ts",
|
1727
1729
|
"../src/utils/converter.ts"
|
1728
1730
|
],
|
@@ -1734,6 +1736,7 @@
|
|
1734
1736
|
"../src/canisters/nns-dapp.d.ts",
|
1735
1737
|
"../src/canisters/nns-dapp.idl.js",
|
1736
1738
|
"../src/connections/baseconnection.ts",
|
1739
|
+
"../src/types/index.ts",
|
1737
1740
|
"../src/utils/constants.ts"
|
1738
1741
|
],
|
1739
1742
|
"../src/ic/icauthclient.ts": [
|
@@ -1742,7 +1745,7 @@
|
|
1742
1745
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1743
1746
|
"../node_modules/@types/node/util.d.ts",
|
1744
1747
|
"../src/ic/icstorage.ts",
|
1745
|
-
"../src/
|
1748
|
+
"../src/types/index.ts"
|
1746
1749
|
],
|
1747
1750
|
"../src/ic/icconnect.ts": [
|
1748
1751
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
@@ -1753,29 +1756,21 @@
|
|
1753
1756
|
"../src/ic/icauthclient.ts",
|
1754
1757
|
"../src/ic/icstorage.ts",
|
1755
1758
|
"../src/ic/icwindow.ts",
|
1756
|
-
"../src/
|
1759
|
+
"../src/types/index.ts"
|
1757
1760
|
],
|
1758
1761
|
"../src/ic/icstorage.ts": [
|
1759
1762
|
"../node_modules/@types/node/util.d.ts",
|
1760
|
-
"../src/
|
1763
|
+
"../src/types/index.ts"
|
1761
1764
|
],
|
1762
1765
|
"../src/ic/icwindow.ts": [
|
1763
1766
|
"../node_modules/@types/node/util.d.ts",
|
1764
|
-
"../src/
|
1767
|
+
"../src/types/index.ts"
|
1765
1768
|
],
|
1766
1769
|
"../src/ic/index.ts": [
|
1767
1770
|
"../node_modules/@types/node/util.d.ts",
|
1768
1771
|
"../src/ic/icauthclient.ts",
|
1769
1772
|
"../src/ic/icconnect.ts"
|
1770
1773
|
],
|
1771
|
-
"../src/ic/types.ts": [
|
1772
|
-
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
1773
|
-
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
1774
|
-
"../node_modules/@types/node/util.d.ts",
|
1775
|
-
"../src/connections/ledgerconnection.ts",
|
1776
|
-
"../src/ic/icconnect.ts",
|
1777
|
-
"../src/utils/common/types.ts"
|
1778
|
-
],
|
1779
1774
|
"../src/index.ts": [
|
1780
1775
|
"../node_modules/@types/node/util.d.ts",
|
1781
1776
|
"../src/connections/baseconnection.ts",
|
@@ -1784,6 +1779,14 @@
|
|
1784
1779
|
"../src/ic/index.ts",
|
1785
1780
|
"../src/utils/index.ts"
|
1786
1781
|
],
|
1782
|
+
"../src/types/index.ts": [
|
1783
|
+
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
1784
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
1785
|
+
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
1786
|
+
"../node_modules/@types/node/util.d.ts",
|
1787
|
+
"../src/ic/index.ts",
|
1788
|
+
"../src/utils/common/types.ts"
|
1789
|
+
],
|
1787
1790
|
"../src/utils/common/types.ts": [
|
1788
1791
|
"../node_modules/@types/node/util.d.ts"
|
1789
1792
|
],
|
@@ -2582,24 +2585,26 @@
|
|
2582
2585
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2583
2586
|
"../node_modules/@dfinity/candid/lib/cjs/idl.d.ts",
|
2584
2587
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2585
|
-
"../
|
2588
|
+
"../src/types/index.ts"
|
2586
2589
|
],
|
2587
2590
|
"../src/connections/ledgerconnection.ts": [
|
2588
2591
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2589
2592
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2590
2593
|
"../src/canisters/ledger.d.ts",
|
2591
|
-
"../src/connections/baseconnection.ts"
|
2594
|
+
"../src/connections/baseconnection.ts",
|
2595
|
+
"../src/types/index.ts"
|
2592
2596
|
],
|
2593
2597
|
"../src/connections/nnsconnection.ts": [
|
2594
2598
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2595
2599
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2596
2600
|
"../src/canisters/nns-dapp.d.ts",
|
2597
|
-
"../src/connections/baseconnection.ts"
|
2601
|
+
"../src/connections/baseconnection.ts",
|
2602
|
+
"../src/types/index.ts"
|
2598
2603
|
],
|
2599
2604
|
"../src/ic/icauthclient.ts": [
|
2600
2605
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2601
2606
|
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2602
|
-
"../src/
|
2607
|
+
"../src/types/index.ts"
|
2603
2608
|
],
|
2604
2609
|
"../src/ic/icconnect.ts": [
|
2605
2610
|
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
@@ -2607,25 +2612,18 @@
|
|
2607
2612
|
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
2608
2613
|
"../src/ic/icauthclient.ts",
|
2609
2614
|
"../src/ic/icwindow.ts",
|
2610
|
-
"../src/
|
2615
|
+
"../src/types/index.ts"
|
2611
2616
|
],
|
2612
2617
|
"../src/ic/icstorage.ts": [
|
2613
|
-
"../src/
|
2618
|
+
"../src/types/index.ts"
|
2614
2619
|
],
|
2615
2620
|
"../src/ic/icwindow.ts": [
|
2616
|
-
"../src/
|
2621
|
+
"../src/types/index.ts"
|
2617
2622
|
],
|
2618
2623
|
"../src/ic/index.ts": [
|
2619
2624
|
"../src/ic/icauthclient.ts",
|
2620
2625
|
"../src/ic/icconnect.ts"
|
2621
2626
|
],
|
2622
|
-
"../src/ic/types.ts": [
|
2623
|
-
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2624
|
-
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
2625
|
-
"../src/connections/ledgerconnection.ts",
|
2626
|
-
"../src/ic/icconnect.ts",
|
2627
|
-
"../src/utils/common/types.ts"
|
2628
|
-
],
|
2629
2627
|
"../src/index.ts": [
|
2630
2628
|
"../src/connections/baseconnection.ts",
|
2631
2629
|
"../src/connections/ledgerconnection.ts",
|
@@ -2633,6 +2631,13 @@
|
|
2633
2631
|
"../src/ic/index.ts",
|
2634
2632
|
"../src/utils/index.ts"
|
2635
2633
|
],
|
2634
|
+
"../src/types/index.ts": [
|
2635
|
+
"../node_modules/@dfinity/agent/lib/cjs/index.d.ts",
|
2636
|
+
"../node_modules/@dfinity/identity/lib/cjs/index.d.ts",
|
2637
|
+
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
2638
|
+
"../src/ic/index.ts",
|
2639
|
+
"../src/utils/common/types.ts"
|
2640
|
+
],
|
2636
2641
|
"../src/utils/converter.ts": [
|
2637
2642
|
"../node_modules/@dfinity/principal/lib/cjs/index.d.ts",
|
2638
2643
|
"../src/utils/common/types.ts"
|
@@ -2820,8 +2825,8 @@
|
|
2820
2825
|
"../src/ic/icstorage.ts",
|
2821
2826
|
"../src/ic/icwindow.ts",
|
2822
2827
|
"../src/ic/index.ts",
|
2823
|
-
"../src/ic/types.ts",
|
2824
2828
|
"../src/index.ts",
|
2829
|
+
"../src/types/index.ts",
|
2825
2830
|
"../src/utils/common/types.ts",
|
2826
2831
|
"../src/utils/constants.ts",
|
2827
2832
|
"../src/utils/converter.ts",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@astrox/connection",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.14",
|
4
4
|
"author": "AstroX",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "JavaScript and TypeScript library to work with candid interfaces",
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"@types/crc": "^3.4.0",
|
50
50
|
"crc": "^3.8.0"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "fd926777277f63a38aaf2c87fd2d650703c46707"
|
53
53
|
}
|