Skip to content

Commit 02430ea

Browse files
committed
v2
1 parent 4736c1a commit 02430ea

File tree

19 files changed

+48
-73
lines changed

19 files changed

+48
-73
lines changed

v1/packages/chain-registry/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
31-
"devDependencies": {
32-
"@chain-registry/utils": "^1.51.149",
33-
"deepmerge": "^4.2.2"
34-
},
3531
"dependencies": {
3632
"@chain-registry/types": "^0.50.149"
3733
},

v2/packages/chain-registry/README.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -56,26 +56,26 @@ will output:
5656
```js
5757
{
5858
'$schema': '../assetlist.schema.json',
59-
chain_name: 'osmosis',
59+
chainName: 'osmosis',
6060
assets: [
6161
{
6262
description: 'The native token of Osmosis',
63-
denom_units: [Array],
63+
denomUnits: [Array],
6464
base: 'uosmo',
6565
name: 'Osmosis',
6666
display: 'osmo',
6767
symbol: 'OSMO',
68-
logo_URIs: [Object],
69-
coingecko_id: 'osmosis'
68+
logoUris: [Object],
69+
coingeckoId: 'osmosis'
7070
},
7171
{
72-
denom_units: [Array],
72+
denomUnits: [Array],
7373
base: 'uion',
7474
name: 'Ion',
7575
display: 'ion',
7676
symbol: 'ION',
77-
logo_URIs: [Object],
78-
coingecko_id: 'ion'
77+
logoUris: [Object],
78+
coingeckoId: 'ion'
7979
}
8080
]
8181
}
@@ -236,22 +236,6 @@ git commit -am "new registry updates"
236236
lerna publish
237237
```
238238

239-
### Updating Submodule Data
240-
241-
Use the following Makefile commands to update the data in the submodules. These commands will ensure that your submodules are synchronized with their respective remote repositories.
242-
243-
- **update-registry**: Updates the submodule to the latest commits of the `cosmos/chain-registry` repository. This should be used to pull the most current production data into your local environment.
244-
245-
```
246-
make update-registry
247-
```
248-
249-
- **update-fixtures**: Updates the submodule to the latest commits of the `hyperweb-io/chain-registry-fixtures` repository. Use this for testing purposes to ensure that your tests are running against stable, controlled data sets.
250-
251-
```
252-
make update-fixtures
253-
```
254-
255239
## Interchain JavaScript Stack ⚛️
256240

257241
A unified toolkit for building applications and smart contracts in the Interchain ecosystem

v2/packages/chain-registry/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@chain-registry/v2",
3-
"version": "1.71.237",
2+
"name": "chain-registry",
3+
"version": "2.0.0",
44
"description": "Cosmos chain registry ⚛️",
55
"author": "Dan Lynch <[email protected]>",
66
"homepage": "https://github.com/hyperweb-io/chain-registry/tree/master/packages/chain-registry#readme",
@@ -28,12 +28,8 @@
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
31-
"devDependencies": {
32-
"@chain-registry/utils": "^1.47.14",
33-
"deepmerge": "^4.2.2"
34-
},
3531
"dependencies": {
36-
"@chain-registry/v2-types": "^0.53.146"
32+
"@chain-registry/types": "^2.0.0"
3733
},
3834
"keywords": [
3935
"chain-registry",

v2/packages/chain-registry/scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const NON_COSMOS_NETWORK_TYPE = 'noncosmos';
1010
const registryDirInRepoPath = 'repos/chain-registry';
1111
const registryDir = path.resolve( path.join(__dirname, '/../../../../', registryDirInRepoPath));
1212

13-
const chainRegTypesModule = '@chain-registry/v2-types';
13+
const chainRegTypesModule = '@chain-registry/types';
1414

1515
// function camelCaseTransform(key: string): string {
1616
// return key.replace(/[-_\s]+(.)?/g, (_, c) => c ? c.toUpperCase() : '');

v2/packages/client/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@chain-registry/v2-client",
3-
"version": "1.54.237",
2+
"name": "@chain-registry/client",
3+
"version": "2.0.0",
44
"description": "Chain Registry Client",
55
"author": "Dan Lynch <[email protected]>",
66
"homepage": "https://github.com/hyperweb-io/chain-registry",
@@ -35,8 +35,8 @@
3535
"supertest": "6.3.3"
3636
},
3737
"dependencies": {
38-
"@chain-registry/v2-types": "^0.53.146",
39-
"@chain-registry/v2-utils": "^1.52.237",
38+
"@chain-registry/types": "^2.0.0",
39+
"@chain-registry/utils": "^2.0.0",
4040
"bfs-path": "^1.0.2",
4141
"cross-fetch": "^3.1.5"
4242
},

v2/packages/client/test-utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AssetList, Chain, IBCData } from '@chain-registry/v2-types';
1+
import { AssetList, Chain, IBCData } from '@chain-registry/types';
22

33
import _assets from '../../../../__fixtures__/v2/assets.json';
44
import _chains from '../../../../__fixtures__/v2/chains.json';

v2/packages/cosmostation/__tests__/chainInfo.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { assetLists, chains } from '@chain-registry/v2';
2-
import { Chain } from '@chain-registry/v2-types';
1+
import { assetLists, chains } from 'chain-registry';
2+
import { Chain } from '@chain-registry/types';
33

44
import { chainRegistryChainToCosmostation } from '../src/';
55

v2/packages/cosmostation/__tests__/cosmostation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assetLists, chains } from '@chain-registry/v2';
1+
import { assetLists, chains } from 'chain-registry';
22

33
import { chainRegistryChainToCosmostation } from '../src';
44

v2/packages/cosmostation/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@chain-registry/v2-cosmostation",
3-
"version": "1.70.146",
2+
"name": "@chain-registry/cosmostation",
3+
"version": "2.0.0",
44
"description": "Chain Registry to Cosmostation",
55
"author": "Dan Lynch <[email protected]>",
66
"homepage": "https://github.com/hyperweb-io/chain-registry",
@@ -29,11 +29,11 @@
2929
"test:watch": "jest --watch"
3030
},
3131
"devDependencies": {
32-
"chain-registry": "^1.64.16"
32+
"chain-registry": "^2.0.0"
3333
},
3434
"dependencies": {
35-
"@chain-registry/types": "^0.46.14",
36-
"@chain-registry/utils": "^1.47.14",
35+
"@chain-registry/types": "^2.0.0",
36+
"@chain-registry/utils": "^2.0.0",
3737
"@cosmostation/extension-client": "0.1.15"
3838
},
3939
"keywords": [

v2/packages/cosmostation/test-utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AssetList, Chain, IBCData } from '@chain-registry/v2-types';
1+
import { AssetList, Chain, IBCData } from '@chain-registry/types';
22

33
import _assets from '../../../../__fixtures__/v2/assets.json';
44
import _chains from '../../../../__fixtures__/v2/chains.json';

0 commit comments

Comments
 (0)