Skip to content

Commit

Permalink
feat: fix type imports (#95)
Browse files Browse the repository at this point in the history
* fix type imports

* update more imports

* bumped version
  • Loading branch information
Foivos authored Nov 29, 2023
1 parent edeacb4 commit 4975984
Show file tree
Hide file tree
Showing 9 changed files with 292 additions and 3,547 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "2.1.2",
"version": "2.1.3",
"packages": [
"packages/*"
]
Expand Down
3,811 changes: 277 additions & 3,534 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/axelar-local-dev-aptos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev-aptos",
"version": "2.1.2",
"version": "2.1.3",
"main": "dist/index.js",
"files": [
"dist/",
Expand All @@ -19,7 +19,7 @@
},
"dependencies": {
"@axelar-network/axelar-cgp-aptos": "^1.0.5",
"@axelar-network/axelar-local-dev": "2.1.2",
"@axelar-network/axelar-local-dev": "2.1.3",
"aptos": "1.3.16"
},
"author": "",
Expand Down
4 changes: 2 additions & 2 deletions packages/axelar-local-dev-near/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev-near",
"version": "2.1.2",
"version": "2.1.3",
"description": "",
"main": "dist/index.js",
"files": [
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@axelar-network/axelar-cgp-near": "^1.0.0",
"@axelar-network/axelar-local-dev": "2.1.2"
"@axelar-network/axelar-local-dev": "2.1.3"
},
"author": "",
"license": "ISC"
Expand Down
4 changes: 2 additions & 2 deletions packages/axelar-local-dev-sui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev-sui",
"version": "2.1.2",
"version": "2.1.3",
"main": "dist/index.js",
"files": [
"dist/",
Expand All @@ -18,7 +18,7 @@
},
"dependencies": {
"@axelar-network/axelar-cgp-sui": "https://github.com/axelarnetwork/axelar-cgp-sui.git",
"@axelar-network/axelar-local-dev": "2.1.2",
"@axelar-network/axelar-local-dev": "2.1.3",
"@mysten/sui.js": "^0.41.0"
},
"author": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion packages/axelar-local-dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev",
"version": "2.1.2",
"version": "2.1.3",
"description": "",
"main": "dist/index.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/axelar-local-dev/src/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ import {
} from './contracts';
import { AxelarGateway__factory as AxelarGatewayFactory } from './types/factories/@axelar-network/axelar-cgp-solidity/contracts/AxelarGateway__factory';
import { AxelarGateway } from './types/@axelar-network/axelar-cgp-solidity/contracts/AxelarGateway';
import { InterchainTokenService, InterchainTokenFactory } from './types';
import { InterchainTokenService, InterchainTokenFactory } from './types/@axelar-network/interchain-token-service/contracts';
import { AxelarGasService__factory as AxelarGasServiceFactory } from './types/factories/@axelar-network/axelar-cgp-solidity/contracts/gas-service/AxelarGasService__factory';
import {
InterchainTokenService__factory as InterchainTokenServiceFactory,
InterchainTokenFactory__factory as InterchainTokenFactoryFactory,
} from './types';
} from './types/factories/@axelar-network/interchain-token-service/contracts';
import { AxelarGasService } from './types/@axelar-network/axelar-cgp-solidity/contracts/gas-service/AxelarGasService';
import { ITS, setupITS } from './its';

Expand Down
6 changes: 4 additions & 2 deletions packages/axelar-local-dev/src/its.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { BigNumberish, Contract, Wallet } from 'ethers';
import {
IInterchainToken,
IInterchainToken__factory as IInterchainTokenFactory,
ITokenManager,
} from './types/@axelar-network/interchain-token-service/contracts/interfaces';
import {
IInterchainToken__factory as IInterchainTokenFactory,
ITokenManager__factory as TokenManagerFactory,
} from './types';
} from './types/factories/@axelar-network/interchain-token-service/contracts/interfaces';
import { Network, networks } from './Network';
import { relay } from './relay';

Expand Down
2 changes: 1 addition & 1 deletion packages/axelar-local-dev/src/networkUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ConstAddressDeployer, Create3Deployer, IInterchainTokenService } from '
import {
InterchainTokenService__factory as InterchainTokenServiceFactory,
InterchainTokenFactory__factory as InterchainTokenFactoryFactory,
} from './types';
} from './types/factories/@axelar-network/interchain-token-service/contracts';
import { setupITS } from './its';

const { keccak256, id, solidityPack, toUtf8Bytes } = ethers.utils;
Expand Down

0 comments on commit 4975984

Please sign in to comment.