@rango-dev/wallets-core 0.42.1-next.0 → 0.42.1-next.1

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 (38) hide show
  1. package/dist/legacy/mod.js.map +2 -2
  2. package/dist/legacy/types.d.ts +3 -0
  3. package/dist/legacy/types.d.ts.map +1 -1
  4. package/dist/namespaces/common/mod.d.ts +1 -1
  5. package/dist/namespaces/common/mod.d.ts.map +1 -1
  6. package/dist/namespaces/common/types.d.ts +4 -0
  7. package/dist/namespaces/common/types.d.ts.map +1 -1
  8. package/dist/namespaces/cosmos/mod.js +1 -0
  9. package/dist/namespaces/cosmos/mod.js.map +7 -0
  10. package/dist/namespaces/evm/chains.d.ts +5 -0
  11. package/dist/namespaces/evm/chains.d.ts.map +1 -0
  12. package/dist/namespaces/evm/mod.d.ts +1 -0
  13. package/dist/namespaces/evm/mod.d.ts.map +1 -1
  14. package/dist/namespaces/evm/mod.js +1 -1
  15. package/dist/namespaces/evm/mod.js.map +4 -4
  16. package/dist/namespaces/solana/chains.d.ts +3 -0
  17. package/dist/namespaces/solana/chains.d.ts.map +1 -0
  18. package/dist/namespaces/solana/mod.d.ts +1 -0
  19. package/dist/namespaces/solana/mod.d.ts.map +1 -1
  20. package/dist/namespaces/solana/mod.js +1 -1
  21. package/dist/namespaces/solana/mod.js.map +4 -4
  22. package/dist/namespaces/utxo/chains.d.ts +3 -0
  23. package/dist/namespaces/utxo/chains.d.ts.map +1 -0
  24. package/dist/namespaces/utxo/mod.d.ts +1 -0
  25. package/dist/namespaces/utxo/mod.d.ts.map +1 -1
  26. package/dist/namespaces/utxo/mod.js +1 -1
  27. package/dist/namespaces/utxo/mod.js.map +4 -4
  28. package/dist/wallets-core.build.json +1 -1
  29. package/package.json +6 -2
  30. package/src/legacy/types.ts +3 -0
  31. package/src/namespaces/common/mod.ts +1 -1
  32. package/src/namespaces/common/types.ts +5 -0
  33. package/src/namespaces/evm/chains.ts +14 -0
  34. package/src/namespaces/evm/mod.ts +1 -0
  35. package/src/namespaces/solana/chains.ts +6 -0
  36. package/src/namespaces/solana/mod.ts +1 -0
  37. package/src/namespaces/utxo/chains.ts +6 -0
  38. package/src/namespaces/utxo/mod.ts +1 -0
@@ -0,0 +1,14 @@
1
+ import type { Chain } from '../common/types.js';
2
+
3
+ export const ethereum: Chain = {
4
+ name: 'ETH',
5
+ logo: 'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/ETH/icon.svg',
6
+ };
7
+ export const polygon: Chain = {
8
+ name: 'POLYGON',
9
+ logo: 'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/POLYGON/icon.svg',
10
+ };
11
+ export const base: Chain = {
12
+ name: 'BASE',
13
+ logo: 'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BASE/icon.svg',
14
+ };
@@ -4,6 +4,7 @@ export * as and from './and.js';
4
4
  export * as before from './before.js';
5
5
  export * as utils from './utils.js';
6
6
  export * as builders from './builders.js';
7
+ export * as chains from './chains.js';
7
8
 
8
9
  export type { EvmActions, ProviderAPI } from './types.js';
9
10
  export { CAIP_NAMESPACE, CAIP_ETHEREUM_CHAIN_ID } from './constants.js';
@@ -0,0 +1,6 @@
1
+ import type { Chain } from '../common/types.js';
2
+
3
+ export const solana: Chain = {
4
+ name: 'SOLANA',
5
+ logo: 'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/SOLANA/icon.svg',
6
+ };
@@ -3,6 +3,7 @@ export * as after from './after.js';
3
3
  export * as and from './and.js';
4
4
  export * as before from './before.js';
5
5
  export * as builders from './builders.js';
6
+ export * as chains from './chains.js';
6
7
 
7
8
  export type { ProviderAPI, SolanaActions } from './types.js';
8
9
  export { CAIP_NAMESPACE, CAIP_SOLANA_CHAIN_ID } from './constants.js';
@@ -0,0 +1,6 @@
1
+ import type { Chain } from '../common/types.js';
2
+
3
+ export const bitcoin: Chain = {
4
+ name: 'BTC',
5
+ logo: 'https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BTC/icon.svg',
6
+ };
@@ -3,6 +3,7 @@ export * as after from './after.js';
3
3
  export * as and from './and.js';
4
4
  export * as before from './before.js';
5
5
  export * as builders from './builders.js';
6
+ export * as chains from './chains.js';
6
7
 
7
8
  export type { ProviderAPI, UtxoActions } from './types.js';
8
9
  export { CAIP_NAMESPACE, CAIP_BITCOIN_CHAIN_ID } from './constants.js';