Skip to content

Commit

Permalink
Prepare v10.0.2 release (#13)
Browse files Browse the repository at this point in the history
* Prepare v10.0.2 release

* Add flag for lavaChainId
  • Loading branch information
0xAleksaOpacic authored May 8, 2023
1 parent 847604e commit 9bc0cf8
Show file tree
Hide file tree
Showing 15 changed files with 406 additions and 405 deletions.
1 change: 1 addition & 0 deletions ethersjs/v5/bin/src/provider/lavaEthersProvider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ interface SendRelayOptions {
pairingListConfig?: string;
networkId?: number;
geolocation?: string;
lavaChainId?: string;
}
export declare class LavaEthersProvider extends BaseProvider {
private lavaSDK;
Expand Down
1 change: 1 addition & 0 deletions ethersjs/v5/bin/src/provider/lavaEthersProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class LavaEthersProvider extends BaseProvider {
chainID: options.chainID,
pairingListConfig: options.pairingListConfig,
geolocation: options.geolocation,
lavaChainId: options.lavaChainId,
});
return this;
}))();
Expand Down
5 changes: 5 additions & 0 deletions ethersjs/v5/bin/supportedChains.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"name": "Avalanche mainnet",
"chainID": "AVAX",
"networkID": 43114
},
{
"name": "Celo Alfajores Testnet",
"chainID": "ALFAJORES",
Expand Down
2 changes: 1 addition & 1 deletion ethersjs/v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "eslint '**/*.ts'"
},
"dependencies": {
"@lavanet/lava-sdk": "0.9.0",
"@lavanet/lava-sdk": "0.10.2",
"ethers-v5": "npm:[email protected]"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions ethersjs/v5/src/provider/lavaEthersProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface SendRelayOptions {
pairingListConfig?: string;
networkId?: number;
geolocation?: string;
lavaChainId?: string;
}

function getLowerCase(value: string): string {
Expand Down Expand Up @@ -47,6 +48,7 @@ export class LavaEthersProvider extends BaseProvider {
chainID: options.chainID,
pairingListConfig: options.pairingListConfig,
geolocation: options.geolocation,
lavaChainId: options.lavaChainId,
});

return this;
Expand Down
185 changes: 95 additions & 90 deletions ethersjs/v5/supportedChains.json
Original file line number Diff line number Diff line change
@@ -1,92 +1,97 @@
[
{
"name": "Celo Alfajores Testnet",
"chainID": "ALFAJORES",
"networkID": 44787
},
{
"name": "Arbitrum mainnet",
"chainID": "ARB1",
"networkID": 42161
},
{
"name": "Arbitrum Nova testnet",
"chainID": "ARBN",
"networkID": 42170
},
{
"name": "Base goerli testnet",
"chainID": "BASET",
"networkID": 84531
},
{
"name": "BSC mainnet",
"chainID": "BSC",
"networkID": 56
},
{
"name": "BSC testnet",
"chainID": "BSCT",
"networkID": 97
},
{
"name": "Canto mainnet",
"chainID": "CANTO",
"networkID": 7700
},
{
"name": "Celo Mainnet",
"chainID": "CELO",
"networkID": 42220
},
{
"name": "Ethereum Mainnet",
"chainID": "ETH1",
"networkID": 1
},
{
"name": "Evmos mainnet",
"chainID": "EVMOS",
"networkID": 9001
},
{
"name": "Evmos testnet",
"chainID": "EVMOST",
"networkID": 9000
},
{
"name": "Fantom Mainnet",
"chainID": "FTM250",
"networkID": 250
},
{
"name": "Fantom Testnet",
"chainID": "FTM4002",
"networkID": 4002
},
{
"name": "Goerli Testnet",
"chainID": "GTH1",
"networkID": 5
},
{
"name": "Optimism mainnet",
"chainID": "OPTM",
"networkID": 10
},
{
"name": "Optimism goerli testnet",
"chainID": "OPTMT",
"networkID": 420
},
{
"name": "Polygon Mainnet",
"chainID": "POLYGON1",
"networkID": 137
},
{
"name": "Polygon testnet",
"chainID": "POLYGON1T",
"networkID": 80001
}
{
"name": "Avalanche mainnet",
"chainID": "AVAX",
"networkID": 43114
},
{
"name": "Celo Alfajores Testnet",
"chainID": "ALFAJORES",
"networkID": 44787
},
{
"name": "Arbitrum mainnet",
"chainID": "ARB1",
"networkID": 42161
},
{
"name": "Arbitrum Nova testnet",
"chainID": "ARBN",
"networkID": 42170
},
{
"name": "Base goerli testnet",
"chainID": "BASET",
"networkID": 84531
},
{
"name": "BSC mainnet",
"chainID": "BSC",
"networkID": 56
},
{
"name": "BSC testnet",
"chainID": "BSCT",
"networkID": 97
},
{
"name": "Canto mainnet",
"chainID": "CANTO",
"networkID": 7700
},
{
"name": "Celo Mainnet",
"chainID": "CELO",
"networkID": 42220
},
{
"name": "Ethereum Mainnet",
"chainID": "ETH1",
"networkID": 1
},
{
"name": "Evmos mainnet",
"chainID": "EVMOS",
"networkID": 9001
},
{
"name": "Evmos testnet",
"chainID": "EVMOST",
"networkID": 9000
},
{
"name": "Fantom Mainnet",
"chainID": "FTM250",
"networkID": 250
},
{
"name": "Fantom Testnet",
"chainID": "FTM4002",
"networkID": 4002
},
{
"name": "Goerli Testnet",
"chainID": "GTH1",
"networkID": 5
},
{
"name": "Optimism mainnet",
"chainID": "OPTM",
"networkID": 10
},
{
"name": "Optimism goerli testnet",
"chainID": "OPTMT",
"networkID": 420
},
{
"name": "Polygon Mainnet",
"chainID": "POLYGON1",
"networkID": 137
},
{
"name": "Polygon testnet",
"chainID": "POLYGON1T",
"networkID": 80001
}
]
8 changes: 4 additions & 4 deletions ethersjs/v5/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1150,10 +1150,10 @@
"@jridgewell/resolve-uri" "3.1.0"
"@jridgewell/sourcemap-codec" "1.4.14"

"@lavanet/lava-sdk@0.9.0":
version "0.9.0"
resolved "https://registry.yarnpkg.com/@lavanet/lava-sdk/-/lava-sdk-0.9.0.tgz#362312950b16dc60681df8ead5fc6c8e12b86fd7"
integrity sha512-PVYOgOtb5VtmIGf48csMkugoi9SGRnG0cQQjjrGrvuSnhjGGtenFoNrytbp7YYCov0FsPZ+tROuD2DEyfdB2eg==
"@lavanet/lava-sdk@0.10.2":
version "0.10.2"
resolved "https://registry.yarnpkg.com/@lavanet/lava-sdk/-/lava-sdk-0.10.2.tgz#6909715ee5667cafdb0a92404b092759274796fa"
integrity sha512-HIRhtZbU3ifMbH1elA/hBjscCYkuicrZKJuubIKfG4C0TqvZDMrBA+UD+m+s37UL4NqIpfcKKdaINrnmxRZzZw==
dependencies:
"@cosmjs/amino" "^0.29.4"
"@cosmjs/crypto" "^0.29.4"
Expand Down
1 change: 1 addition & 0 deletions ethersjs/v6/bin/src/provider/lavaEthersProvider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ interface SendRelayOptions {
pairingListConfig?: string;
networkId?: number;
geolocation?: string;
lavaChainId?: string;
}
export declare class LavaEthersProvider extends AbstractProvider {
private lavaSDK;
Expand Down
1 change: 1 addition & 0 deletions ethersjs/v6/bin/src/provider/lavaEthersProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class LavaEthersProvider extends ethers_1.AbstractProvider {
chainID: options.chainID,
pairingListConfig: options.pairingListConfig,
geolocation: options.geolocation,
lavaChainId: options.lavaChainId,
});
return this;
}))();
Expand Down
5 changes: 5 additions & 0 deletions ethersjs/v6/bin/supportedChains.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"name": "Avalanche mainnet",
"chainID": "AVAX",
"networkID": 43114
},
{
"name": "Celo Alfajores Testnet",
"chainID": "ALFAJORES",
Expand Down
2 changes: 1 addition & 1 deletion ethersjs/v6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "eslint '**/*.ts'"
},
"dependencies": {
"@lavanet/lava-sdk": "0.9.0",
"@lavanet/lava-sdk": "0.10.2",
"ethers": "^6.1.0"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions ethersjs/v6/src/provider/lavaEthersProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ interface SendRelayOptions {
pairingListConfig?: string;
networkId?: number;
geolocation?: string;
lavaChainId?: string;
}

function getLowerCase(value: string): string {
Expand Down Expand Up @@ -51,6 +52,7 @@ export class LavaEthersProvider extends AbstractProvider {
chainID: options.chainID,
pairingListConfig: options.pairingListConfig,
geolocation: options.geolocation,
lavaChainId: options.lavaChainId,
});

return this;
Expand Down
Loading

0 comments on commit 9bc0cf8

Please sign in to comment.