@talismn/balances-react 0.0.0-pr2091-20250715125148 → 0.0.0-pr2092-20250715131755

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.
@@ -89,30 +89,6 @@ export declare const chaindataAtom: import("jotai").Atom<{
89
89
  "evm-erc20"?: undefined;
90
90
  "evm-uniswapv2"?: undefined;
91
91
  } | undefined;
92
- } | {
93
- id: string;
94
- name: string;
95
- nativeTokenId: string;
96
- nativeCurrency: {
97
- decimals: number;
98
- symbol: string;
99
- name: string;
100
- coingeckoId?: string | undefined;
101
- mirrorOf?: string | undefined;
102
- logo?: string | undefined;
103
- };
104
- blockExplorerUrls: string[];
105
- platform: "solana";
106
- rpcs: string[];
107
- isTestnet?: boolean | undefined;
108
- isDefault?: boolean | undefined;
109
- forceScan?: boolean | undefined;
110
- logo?: string | undefined;
111
- themeColor?: string | undefined;
112
- genesisHash?: string | undefined;
113
- balancesConfig?: {
114
- "sol-native"?: undefined;
115
- } | undefined;
116
92
  })[];
117
93
  tokens: ({
118
94
  id: string;
@@ -258,19 +234,6 @@ export declare const chaindataAtom: import("jotai").Atom<{
258
234
  coingeckoId?: string | undefined;
259
235
  noDiscovery?: boolean | undefined;
260
236
  mirrorOf?: string | undefined;
261
- } | {
262
- id: string;
263
- networkId: string;
264
- decimals: number;
265
- symbol: string;
266
- type: "sol-native";
267
- platform: "solana";
268
- isDefault?: boolean | undefined;
269
- name?: string | undefined;
270
- logo?: string | undefined;
271
- coingeckoId?: string | undefined;
272
- noDiscovery?: boolean | undefined;
273
- mirrorOf?: string | undefined;
274
237
  })[];
275
238
  } | Promise<{
276
239
  networks: ({
@@ -363,30 +326,6 @@ export declare const chaindataAtom: import("jotai").Atom<{
363
326
  "evm-erc20"?: undefined;
364
327
  "evm-uniswapv2"?: undefined;
365
328
  } | undefined;
366
- } | {
367
- id: string;
368
- name: string;
369
- nativeTokenId: string;
370
- nativeCurrency: {
371
- decimals: number;
372
- symbol: string;
373
- name: string;
374
- coingeckoId?: string | undefined;
375
- mirrorOf?: string | undefined;
376
- logo?: string | undefined;
377
- };
378
- blockExplorerUrls: string[];
379
- platform: "solana";
380
- rpcs: string[];
381
- isTestnet?: boolean | undefined;
382
- isDefault?: boolean | undefined;
383
- forceScan?: boolean | undefined;
384
- logo?: string | undefined;
385
- themeColor?: string | undefined;
386
- genesisHash?: string | undefined;
387
- balancesConfig?: {
388
- "sol-native"?: undefined;
389
- } | undefined;
390
329
  })[];
391
330
  tokens: ({
392
331
  id: string;
@@ -532,19 +471,6 @@ export declare const chaindataAtom: import("jotai").Atom<{
532
471
  coingeckoId?: string | undefined;
533
472
  noDiscovery?: boolean | undefined;
534
473
  mirrorOf?: string | undefined;
535
- } | {
536
- id: string;
537
- networkId: string;
538
- decimals: number;
539
- symbol: string;
540
- type: "sol-native";
541
- platform: "solana";
542
- isDefault?: boolean | undefined;
543
- name?: string | undefined;
544
- logo?: string | undefined;
545
- coingeckoId?: string | undefined;
546
- noDiscovery?: boolean | undefined;
547
- mirrorOf?: string | undefined;
548
474
  })[];
549
475
  }>>;
550
476
  export declare const tokensAtom: import("jotai").Atom<Promise<({
@@ -691,19 +617,6 @@ export declare const tokensAtom: import("jotai").Atom<Promise<({
691
617
  coingeckoId?: string | undefined;
692
618
  noDiscovery?: boolean | undefined;
693
619
  mirrorOf?: string | undefined;
694
- } | {
695
- id: string;
696
- networkId: string;
697
- decimals: number;
698
- symbol: string;
699
- type: "sol-native";
700
- platform: "solana";
701
- isDefault?: boolean | undefined;
702
- name?: string | undefined;
703
- logo?: string | undefined;
704
- coingeckoId?: string | undefined;
705
- noDiscovery?: boolean | undefined;
706
- mirrorOf?: string | undefined;
707
620
  })[]>>;
708
621
  export declare const networksAtom: import("jotai").Atom<Promise<({
709
622
  id: string;
@@ -795,28 +708,4 @@ export declare const networksAtom: import("jotai").Atom<Promise<({
795
708
  "evm-erc20"?: undefined;
796
709
  "evm-uniswapv2"?: undefined;
797
710
  } | undefined;
798
- } | {
799
- id: string;
800
- name: string;
801
- nativeTokenId: string;
802
- nativeCurrency: {
803
- decimals: number;
804
- symbol: string;
805
- name: string;
806
- coingeckoId?: string | undefined;
807
- mirrorOf?: string | undefined;
808
- logo?: string | undefined;
809
- };
810
- blockExplorerUrls: string[];
811
- platform: "solana";
812
- rpcs: string[];
813
- isTestnet?: boolean | undefined;
814
- isDefault?: boolean | undefined;
815
- forceScan?: boolean | undefined;
816
- logo?: string | undefined;
817
- themeColor?: string | undefined;
818
- genesisHash?: string | undefined;
819
- balancesConfig?: {
820
- "sol-native"?: undefined;
821
- } | undefined;
822
711
  })[]>>;
@@ -91,30 +91,6 @@ export declare const useChaindata: () => {
91
91
  "evm-erc20"?: undefined;
92
92
  "evm-uniswapv2"?: undefined;
93
93
  } | undefined;
94
- } | {
95
- id: string;
96
- name: string;
97
- nativeTokenId: string;
98
- nativeCurrency: {
99
- decimals: number;
100
- symbol: string;
101
- name: string;
102
- coingeckoId?: string | undefined;
103
- mirrorOf?: string | undefined;
104
- logo?: string | undefined;
105
- };
106
- blockExplorerUrls: string[];
107
- platform: "solana";
108
- rpcs: string[];
109
- isTestnet?: boolean | undefined;
110
- isDefault?: boolean | undefined;
111
- forceScan?: boolean | undefined;
112
- logo?: string | undefined;
113
- themeColor?: string | undefined;
114
- genesisHash?: string | undefined;
115
- balancesConfig?: {
116
- "sol-native"?: undefined;
117
- } | undefined;
118
94
  })[];
119
95
  tokens: ({
120
96
  id: string;
@@ -260,19 +236,6 @@ export declare const useChaindata: () => {
260
236
  coingeckoId?: string | undefined;
261
237
  noDiscovery?: boolean | undefined;
262
238
  mirrorOf?: string | undefined;
263
- } | {
264
- id: string;
265
- networkId: string;
266
- decimals: number;
267
- symbol: string;
268
- type: "sol-native";
269
- platform: "solana";
270
- isDefault?: boolean | undefined;
271
- name?: string | undefined;
272
- logo?: string | undefined;
273
- coingeckoId?: string | undefined;
274
- noDiscovery?: boolean | undefined;
275
- mirrorOf?: string | undefined;
276
239
  })[];
277
240
  };
278
241
  export declare const useNetworks: () => ({
@@ -365,30 +328,6 @@ export declare const useNetworks: () => ({
365
328
  "evm-erc20"?: undefined;
366
329
  "evm-uniswapv2"?: undefined;
367
330
  } | undefined;
368
- } | {
369
- id: string;
370
- name: string;
371
- nativeTokenId: string;
372
- nativeCurrency: {
373
- decimals: number;
374
- symbol: string;
375
- name: string;
376
- coingeckoId?: string | undefined;
377
- mirrorOf?: string | undefined;
378
- logo?: string | undefined;
379
- };
380
- blockExplorerUrls: string[];
381
- platform: "solana";
382
- rpcs: string[];
383
- isTestnet?: boolean | undefined;
384
- isDefault?: boolean | undefined;
385
- forceScan?: boolean | undefined;
386
- logo?: string | undefined;
387
- themeColor?: string | undefined;
388
- genesisHash?: string | undefined;
389
- balancesConfig?: {
390
- "sol-native"?: undefined;
391
- } | undefined;
392
331
  })[];
393
332
  export declare const useNetworksById: () => import("lodash").Dictionary<{
394
333
  id: string;
@@ -480,30 +419,6 @@ export declare const useNetworksById: () => import("lodash").Dictionary<{
480
419
  "evm-erc20"?: undefined;
481
420
  "evm-uniswapv2"?: undefined;
482
421
  } | undefined;
483
- } | {
484
- id: string;
485
- name: string;
486
- nativeTokenId: string;
487
- nativeCurrency: {
488
- decimals: number;
489
- symbol: string;
490
- name: string;
491
- coingeckoId?: string | undefined;
492
- mirrorOf?: string | undefined;
493
- logo?: string | undefined;
494
- };
495
- blockExplorerUrls: string[];
496
- platform: "solana";
497
- rpcs: string[];
498
- isTestnet?: boolean | undefined;
499
- isDefault?: boolean | undefined;
500
- forceScan?: boolean | undefined;
501
- logo?: string | undefined;
502
- themeColor?: string | undefined;
503
- genesisHash?: string | undefined;
504
- balancesConfig?: {
505
- "sol-native"?: undefined;
506
- } | undefined;
507
422
  }>;
508
423
  export declare const useNetwork: (networkId?: NetworkId) => {
509
424
  id: string;
@@ -595,30 +510,6 @@ export declare const useNetwork: (networkId?: NetworkId) => {
595
510
  "evm-erc20"?: undefined;
596
511
  "evm-uniswapv2"?: undefined;
597
512
  } | undefined;
598
- } | {
599
- id: string;
600
- name: string;
601
- nativeTokenId: string;
602
- nativeCurrency: {
603
- decimals: number;
604
- symbol: string;
605
- name: string;
606
- coingeckoId?: string | undefined;
607
- mirrorOf?: string | undefined;
608
- logo?: string | undefined;
609
- };
610
- blockExplorerUrls: string[];
611
- platform: "solana";
612
- rpcs: string[];
613
- isTestnet?: boolean | undefined;
614
- isDefault?: boolean | undefined;
615
- forceScan?: boolean | undefined;
616
- logo?: string | undefined;
617
- themeColor?: string | undefined;
618
- genesisHash?: string | undefined;
619
- balancesConfig?: {
620
- "sol-native"?: undefined;
621
- } | undefined;
622
513
  };
623
514
  export declare const useTokens: () => ({
624
515
  id: string;
@@ -764,19 +655,6 @@ export declare const useTokens: () => ({
764
655
  coingeckoId?: string | undefined;
765
656
  noDiscovery?: boolean | undefined;
766
657
  mirrorOf?: string | undefined;
767
- } | {
768
- id: string;
769
- networkId: string;
770
- decimals: number;
771
- symbol: string;
772
- type: "sol-native";
773
- platform: "solana";
774
- isDefault?: boolean | undefined;
775
- name?: string | undefined;
776
- logo?: string | undefined;
777
- coingeckoId?: string | undefined;
778
- noDiscovery?: boolean | undefined;
779
- mirrorOf?: string | undefined;
780
658
  })[];
781
659
  export declare const useTokensById: () => import("lodash").Dictionary<{
782
660
  id: string;
@@ -922,19 +800,6 @@ export declare const useTokensById: () => import("lodash").Dictionary<{
922
800
  coingeckoId?: string | undefined;
923
801
  noDiscovery?: boolean | undefined;
924
802
  mirrorOf?: string | undefined;
925
- } | {
926
- id: string;
927
- networkId: string;
928
- decimals: number;
929
- symbol: string;
930
- type: "sol-native";
931
- platform: "solana";
932
- isDefault?: boolean | undefined;
933
- name?: string | undefined;
934
- logo?: string | undefined;
935
- coingeckoId?: string | undefined;
936
- noDiscovery?: boolean | undefined;
937
- mirrorOf?: string | undefined;
938
803
  }>;
939
804
  export declare const useToken: (tokenId?: TokenId) => {
940
805
  id: string;
@@ -1080,17 +945,4 @@ export declare const useToken: (tokenId?: TokenId) => {
1080
945
  coingeckoId?: string | undefined;
1081
946
  noDiscovery?: boolean | undefined;
1082
947
  mirrorOf?: string | undefined;
1083
- } | {
1084
- id: string;
1085
- networkId: string;
1086
- decimals: number;
1087
- symbol: string;
1088
- type: "sol-native";
1089
- platform: "solana";
1090
- isDefault?: boolean | undefined;
1091
- name?: string | undefined;
1092
- logo?: string | undefined;
1093
- coingeckoId?: string | undefined;
1094
- noDiscovery?: boolean | undefined;
1095
- mirrorOf?: string | undefined;
1096
948
  };
@@ -10,7 +10,6 @@ var jotaiEffect = require('jotai-effect');
10
10
  var lodashEs = require('lodash-es');
11
11
  var chainConnector = require('@talismn/chain-connector');
12
12
  var chainConnectorEvm = require('@talismn/chain-connector-evm');
13
- var chainConnectorSol = require('@talismn/chain-connector-sol');
14
13
  var connectionMeta = require('@talismn/connection-meta');
15
14
  var util = require('@talismn/util');
16
15
  var utils = require('jotai/utils');
@@ -42,11 +41,9 @@ const chainConnectorsAtom = jotai.atom(get => {
42
41
  const chaindataProvider = get(chaindataProviderAtom);
43
42
  const substrate = new chainConnector.ChainConnector(chaindataProvider, connectionMeta.connectionMetaDb);
44
43
  const evm = new chainConnectorEvm.ChainConnectorEvm(chaindataProvider);
45
- const solana = new chainConnectorSol.ChainConnectorSol(chaindataProvider);
46
44
  return {
47
45
  substrate,
48
- evm,
49
- solana
46
+ evm
50
47
  };
51
48
  });
52
49
 
@@ -10,7 +10,6 @@ var jotaiEffect = require('jotai-effect');
10
10
  var lodashEs = require('lodash-es');
11
11
  var chainConnector = require('@talismn/chain-connector');
12
12
  var chainConnectorEvm = require('@talismn/chain-connector-evm');
13
- var chainConnectorSol = require('@talismn/chain-connector-sol');
14
13
  var connectionMeta = require('@talismn/connection-meta');
15
14
  var util = require('@talismn/util');
16
15
  var utils = require('jotai/utils');
@@ -42,11 +41,9 @@ const chainConnectorsAtom = jotai.atom(get => {
42
41
  const chaindataProvider = get(chaindataProviderAtom);
43
42
  const substrate = new chainConnector.ChainConnector(chaindataProvider, connectionMeta.connectionMetaDb);
44
43
  const evm = new chainConnectorEvm.ChainConnectorEvm(chaindataProvider);
45
- const solana = new chainConnectorSol.ChainConnectorSol(chaindataProvider);
46
44
  return {
47
45
  substrate,
48
- evm,
49
- solana
46
+ evm
50
47
  };
51
48
  });
52
49
 
@@ -9,7 +9,6 @@ import { atomEffect } from 'jotai-effect';
9
9
  import { keyBy, fromPairs } from 'lodash-es';
10
10
  import { ChainConnector } from '@talismn/chain-connector';
11
11
  import { ChainConnectorEvm } from '@talismn/chain-connector-evm';
12
- import { ChainConnectorSol } from '@talismn/chain-connector-sol';
13
12
  import { connectionMetaDb } from '@talismn/connection-meta';
14
13
  import { firstThenDebounce, isTruthy, isAbortError } from '@talismn/util';
15
14
  import { atomWithObservable } from 'jotai/utils';
@@ -37,11 +36,9 @@ const chainConnectorsAtom = atom(get => {
37
36
  const chaindataProvider = get(chaindataProviderAtom);
38
37
  const substrate = new ChainConnector(chaindataProvider, connectionMetaDb);
39
38
  const evm = new ChainConnectorEvm(chaindataProvider);
40
- const solana = new ChainConnectorSol(chaindataProvider);
41
39
  return {
42
40
  substrate,
43
- evm,
44
- solana
41
+ evm
45
42
  };
46
43
  });
47
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talismn/balances-react",
3
- "version": "0.0.0-pr2091-20250715125148",
3
+ "version": "0.0.0-pr2092-20250715131755",
4
4
  "author": "Talisman",
5
5
  "homepage": "https://talisman.xyz",
6
6
  "license": "GPL-3.0-or-later",
@@ -30,15 +30,14 @@
30
30
  "lodash-es": "4.17.21",
31
31
  "react-use": "^17.5.1",
32
32
  "rxjs": "^7.8.1",
33
- "@talismn/balances": "0.0.0-pr2091-20250715125148",
34
- "@talismn/chain-connector-evm": "0.0.0-pr2091-20250715125148",
35
- "@talismn/chaindata-provider": "0.0.0-pr2091-20250715125148",
36
- "@talismn/chain-connector-sol": "0.0.0-pr2091-20250715125148",
37
- "@talismn/chain-connector": "0.0.0-pr2091-20250715125148",
38
- "@talismn/connection-meta": "0.0.0-pr2091-20250715125148",
39
- "@talismn/scale": "0.0.0-pr2091-20250715125148",
40
- "@talismn/token-rates": "0.0.0-pr2091-20250715125148",
41
- "@talismn/util": "0.0.0-pr2091-20250715125148"
33
+ "@talismn/chain-connector-evm": "0.0.0-pr2092-20250715131755",
34
+ "@talismn/balances": "0.0.0-pr2092-20250715131755",
35
+ "@talismn/connection-meta": "0.0.0-pr2092-20250715131755",
36
+ "@talismn/chaindata-provider": "0.0.0-pr2092-20250715131755",
37
+ "@talismn/token-rates": "0.0.0-pr2092-20250715131755",
38
+ "@talismn/chain-connector": "0.0.0-pr2092-20250715131755",
39
+ "@talismn/util": "0.0.0-pr2092-20250715131755",
40
+ "@talismn/scale": "0.0.0-pr2092-20250715131755"
42
41
  },
43
42
  "devDependencies": {
44
43
  "@types/jest": "^29.5.14",
@@ -49,8 +48,8 @@
49
48
  "react": "^18.3.1",
50
49
  "ts-jest": "^29.2.5",
51
50
  "typescript": "^5.6.3",
52
- "@talismn/eslint-config": "0.0.3",
53
- "@talismn/tsconfig": "0.0.2"
51
+ "@talismn/tsconfig": "0.0.2",
52
+ "@talismn/eslint-config": "0.0.3"
54
53
  },
55
54
  "peerDependencies": {
56
55
  "@polkadot/util-crypto": "*",