@lifi/data-types 5.15.3 → 5.15.5

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 (57) hide show
  1. package/package.json +1 -1
  2. package/src/_cjs/chains/index.js +8 -8
  3. package/src/_cjs/chains/index.js.map +1 -1
  4. package/src/_cjs/chains/supportedChains.evm.int.spec.js +3 -3
  5. package/src/_cjs/chains/supportedChains.evm.int.spec.js.map +1 -1
  6. package/src/_cjs/chains/supportedChains.evm.js +78 -78
  7. package/src/_cjs/chains/supportedChains.evm.js.map +1 -1
  8. package/src/_cjs/chains/supportedChains.js +6 -6
  9. package/src/_cjs/chains/supportedChains.js.map +1 -1
  10. package/src/_cjs/chains/supportedChains.svm.int.spec.js +3 -3
  11. package/src/_cjs/chains/supportedChains.svm.int.spec.js.map +1 -1
  12. package/src/_cjs/chains/supportedChains.unit.spec.js +14 -14
  13. package/src/_cjs/chains/supportedChains.unit.spec.js.map +1 -1
  14. package/src/_cjs/chains/supportedChains.utxo.int.spec.js +3 -3
  15. package/src/_cjs/chains/supportedChains.utxo.int.spec.js.map +1 -1
  16. package/src/_cjs/coins/coins.int.spec.js +3 -3
  17. package/src/_cjs/coins/coins.int.spec.js.map +1 -1
  18. package/src/_cjs/coins/index.js +1 -1
  19. package/src/_cjs/coins/index.js.map +1 -1
  20. package/src/_cjs/index.js +3 -3
  21. package/src/_cjs/index.js.map +1 -1
  22. package/src/_esm/chains/index.js +5 -5
  23. package/src/_esm/chains/index.js.map +1 -1
  24. package/src/_esm/chains/supportedChains.evm.int.spec.js +1 -1
  25. package/src/_esm/chains/supportedChains.evm.int.spec.js.map +1 -1
  26. package/src/_esm/chains/supportedChains.evm.js +2 -2
  27. package/src/_esm/chains/supportedChains.evm.js.map +1 -1
  28. package/src/_esm/chains/supportedChains.js +3 -3
  29. package/src/_esm/chains/supportedChains.js.map +1 -1
  30. package/src/_esm/chains/supportedChains.svm.int.spec.js +1 -1
  31. package/src/_esm/chains/supportedChains.svm.int.spec.js.map +1 -1
  32. package/src/_esm/chains/supportedChains.unit.spec.js +4 -4
  33. package/src/_esm/chains/supportedChains.unit.spec.js.map +1 -1
  34. package/src/_esm/chains/supportedChains.utxo.int.spec.js +1 -1
  35. package/src/_esm/chains/supportedChains.utxo.int.spec.js.map +1 -1
  36. package/src/_esm/coins/coins.int.spec.js +1 -1
  37. package/src/_esm/coins/coins.int.spec.js.map +1 -1
  38. package/src/_esm/coins/index.js +1 -1
  39. package/src/_esm/coins/index.js.map +1 -1
  40. package/src/_esm/index.js +3 -3
  41. package/src/_esm/index.js.map +1 -1
  42. package/src/_types/chains/index.d.ts +5 -5
  43. package/src/_types/chains/index.d.ts.map +1 -1
  44. package/src/_types/coins/index.d.ts +1 -1
  45. package/src/_types/coins/index.d.ts.map +1 -1
  46. package/src/_types/index.d.ts +3 -3
  47. package/src/_types/index.d.ts.map +1 -1
  48. package/src/chains/index.ts +5 -5
  49. package/src/chains/supportedChains.evm.int.spec.ts +1 -1
  50. package/src/chains/supportedChains.evm.ts +2 -2
  51. package/src/chains/supportedChains.svm.int.spec.ts +1 -1
  52. package/src/chains/supportedChains.ts +3 -3
  53. package/src/chains/supportedChains.unit.spec.ts +8 -4
  54. package/src/chains/supportedChains.utxo.int.spec.ts +1 -1
  55. package/src/coins/coins.int.spec.ts +1 -1
  56. package/src/coins/index.ts +1 -1
  57. package/src/index.ts +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
@@ -1,5 +1,5 @@
1
- export { supportedEVMChains } from './supportedChains.evm'
2
- export { supportedSolanaChains } from './supportedChains.svm'
3
- export { supportedUXTOChains } from './supportedChains.utxo'
4
- export * from './supportedChains'
5
- export * from './utils'
1
+ export { supportedEVMChains } from './supportedChains.evm.js'
2
+ export { supportedSolanaChains } from './supportedChains.svm.js'
3
+ export { supportedUXTOChains } from './supportedChains.utxo.js'
4
+ export * from './supportedChains.js'
5
+ export * from './utils.js'
@@ -1,6 +1,6 @@
1
1
  import { createPublicClient, http } from 'viem'
2
2
  import { describe, expect, test } from 'vitest'
3
- import { supportedEVMChains } from './supportedChains.evm'
3
+ import { supportedEVMChains } from './supportedChains.evm.js'
4
4
 
5
5
  describe.concurrent('EVM chains RPC check', () => {
6
6
  const rpcUrls = supportedEVMChains.flatMap((chain) =>
@@ -1,7 +1,7 @@
1
1
  import type { EVMChain } from '@lifi/types'
2
2
  import { ChainId, ChainKey, ChainType, CoinKey } from '@lifi/types'
3
- import { multicallAddresses } from '../multicall'
4
- import { prefixChainId } from './utils'
3
+ import { multicallAddresses } from '../multicall.js'
4
+ import { prefixChainId } from './utils.js'
5
5
 
6
6
  /**
7
7
  * ChainNames aligned with https://github.com/ethereum-lists/chains/tree/master/_data/chains
@@ -1,6 +1,6 @@
1
1
  import { Connection, PublicKey } from '@solana/web3.js'
2
2
  import { describe, expect, test } from 'vitest'
3
- import { supportedSolanaChains } from './supportedChains.svm'
3
+ import { supportedSolanaChains } from './supportedChains.svm.js'
4
4
 
5
5
  const TokenProgramAddress = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'
6
6
  const WalletAddress = '6AUWsSCRFSCbrHKH9s84wfzJXtD6mNzAHs11x6pGEcmJ'
@@ -1,7 +1,7 @@
1
1
  import type { Chain, ChainKey } from '@lifi/types'
2
- import { supportedEVMChains } from './supportedChains.evm'
3
- import { supportedSolanaChains } from './supportedChains.svm'
4
- import { supportedUXTOChains } from './supportedChains.utxo'
2
+ import { supportedEVMChains } from './supportedChains.evm.js'
3
+ import { supportedSolanaChains } from './supportedChains.svm.js'
4
+ import { supportedUXTOChains } from './supportedChains.utxo.js'
5
5
 
6
6
  // This assignment is required to avoid breaking
7
7
  // changes with the new non EVM support types release
@@ -4,10 +4,14 @@ import {
4
4
  findDefaultToken,
5
5
  findTokenByChainIdAndAddress,
6
6
  findWrappedGasOnChain,
7
- } from '../coins'
8
- import { getChainById, getChainByKey, supportedChains } from './supportedChains'
9
- import { supportedEVMChains } from './supportedChains.evm'
10
- import { prefixChainId } from './utils'
7
+ } from '../coins/index.js'
8
+ import {
9
+ getChainById,
10
+ getChainByKey,
11
+ supportedChains,
12
+ } from './supportedChains.js'
13
+ import { supportedEVMChains } from './supportedChains.evm.js'
14
+ import { prefixChainId } from './utils.js'
11
15
 
12
16
  test('getChainById', () => {
13
17
  expect(getChainById(ChainId.ETH)).toBeDefined()
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, test } from 'vitest'
2
- import { supportedUXTOChains } from './supportedChains.utxo'
2
+ import { supportedUXTOChains } from './supportedChains.utxo.js'
3
3
 
4
4
  describe.concurrent('UTXO chains RPC check', () => {
5
5
  const rpcUrls = supportedUXTOChains.flatMap((chain) =>
@@ -1,6 +1,6 @@
1
1
  import type { StaticToken } from '@lifi/types'
2
2
  import { describe, expect, test } from 'vitest'
3
- import { defaultCoins, wrappedTokens } from './coins'
3
+ import { defaultCoins, wrappedTokens } from './coins.js'
4
4
 
5
5
  describe.concurrent('Coin logo test', { timeout: 30_000 }, () => {
6
6
  const allImages: string[] = []
@@ -1 +1 @@
1
- export * from './coins'
1
+ export * from './coins.js'
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './chains'
2
- export * from './coins'
3
- export * from './multicall'
1
+ export * from './chains/index.js'
2
+ export * from './coins/index.js'
3
+ export * from './multicall.js'