@xchainjs/xchain-arbitrum
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -1,4 +0,4 @@ | ||
import { Client as XchainEvmClient } from '@xchainjs/xchain-evm'; | ||
import { Client as XchainEvmClient, EVMClientParams } from '@xchainjs/xchain-evm'; | ||
export declare class Client extends XchainEvmClient { | ||
constructor(config?: import("@xchainjs/xchain-evm").EVMClientParams); | ||
constructor(config?: Omit<EVMClientParams, 'signer'>); | ||
} |
@@ -1,3 +0,3 @@ | ||
import { Client as Client$1 } from '@xchainjs/xchain-evm'; | ||
import { Network, ExplorerProvider } from '@xchainjs/xchain-client'; | ||
import { Client as Client$1, KeystoreSigner } from '@xchainjs/xchain-evm'; | ||
import { EtherscanProvider } from '@xchainjs/xchain-evm-providers'; | ||
@@ -99,3 +99,11 @@ import { ethers, BigNumber } from 'ethers'; | ||
// Call the constructor of the parent class (XchainEvmClient) with the provided config | ||
super(config); | ||
super(Object.assign(Object.assign({}, config), { signer: config.phrase | ||
? new KeystoreSigner({ | ||
phrase: config.phrase, | ||
provider: config.providers[config.network || Network.Mainnet], | ||
derivationPath: config.rootDerivationPaths | ||
? config.rootDerivationPaths[config.network || Network.Mainnet] | ||
: '', | ||
}) | ||
: undefined })); | ||
} | ||
@@ -102,0 +110,0 @@ } |
@@ -5,4 +5,4 @@ 'use strict'; | ||
var xchainClient = require('@xchainjs/xchain-client'); | ||
var xchainEvm = require('@xchainjs/xchain-evm'); | ||
var xchainClient = require('@xchainjs/xchain-client'); | ||
var xchainEvmProviders = require('@xchainjs/xchain-evm-providers'); | ||
@@ -104,3 +104,11 @@ var ethers = require('ethers'); | ||
// Call the constructor of the parent class (XchainEvmClient) with the provided config | ||
super(config); | ||
super(Object.assign(Object.assign({}, config), { signer: config.phrase | ||
? new xchainEvm.KeystoreSigner({ | ||
phrase: config.phrase, | ||
provider: config.providers[config.network || xchainClient.Network.Mainnet], | ||
derivationPath: config.rootDerivationPaths | ||
? config.rootDerivationPaths[config.network || xchainClient.Network.Mainnet] | ||
: '', | ||
}) | ||
: undefined })); | ||
} | ||
@@ -107,0 +115,0 @@ } |
{ | ||
"name": "@xchainjs/xchain-arbitrum", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Arbitrum EVM client for XChainJS", | ||
@@ -37,8 +37,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@xchainjs/xchain-client": "*", | ||
"@xchainjs/xchain-evm": "*", | ||
"@xchainjs/xchain-evm-providers": "*", | ||
"@xchainjs/xchain-util": "*", | ||
"@xchainjs/xchain-client": "workspace:*", | ||
"@xchainjs/xchain-evm": "workspace:*", | ||
"@xchainjs/xchain-evm-providers": "workspace:*", | ||
"@xchainjs/xchain-util": "workspace:*", | ||
"ethers": "5.7.2" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 4 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
33990
244
1
0
- Removed@ledgerhq/cryptoassets@12.1.0(transitive)
- Removed@ledgerhq/cryptoassets-evm-signatures@13.5.1(transitive)
- Removed@ledgerhq/devices@8.4.4(transitive)
- Removed@ledgerhq/domain-service@1.2.10(transitive)
- Removed@ledgerhq/errors@6.19.1(transitive)
- Removed@ledgerhq/evm-tools@1.2.4(transitive)
- Removed@ledgerhq/hw-app-eth@6.36.0(transitive)
- Removed@ledgerhq/hw-transport@6.31.4(transitive)
- Removed@ledgerhq/hw-transport-mocker@6.29.4(transitive)
- Removed@ledgerhq/live-env@2.4.0(transitive)
- Removed@ledgerhq/logs@6.12.0(transitive)
- Removed@ledgerhq/types-live@6.52.4(transitive)
- Removed@noble/hashes@1.5.0(transitive)
- Removed@supercharge/promise-pool@2.4.0(transitive)
- Removed@xchainjs/xchain-client@1.0.7(transitive)
- Removed@xchainjs/xchain-crypto@0.3.6(transitive)
- Removed@xchainjs/xchain-evm@1.0.11(transitive)
- Removed@xchainjs/xchain-evm-providers@1.0.9(transitive)
- Removed@xchainjs/xchain-util@1.0.6(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaxios@1.7.41.7.7(transitive)
- Removedbase-x@3.0.10(transitive)
- Removedbech32@2.0.0(transitive)
- Removedbignumber.js@9.0.09.1.2(transitive)
- Removedbip39@3.1.0(transitive)
- Removedbs58@4.0.1(transitive)
- Removedbs58check@2.1.2(transitive)
- Removedcipher-base@1.0.4(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcreate-hash@1.2.0(transitive)
- Removedcrypto-js@4.2.0(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedeip55@2.1.1(transitive)
- Removedelliptic@6.6.0(transitive)
- Removedevents@3.3.0(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedform-data@4.0.1(transitive)
- Removedhash-base@3.1.0(transitive)
- Removedhdkey@2.1.0(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedkeccak@3.0.4(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedmd5.js@1.3.5(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removednode-addon-api@2.0.25.1.0(transitive)
- Removednode-gyp-build@4.8.2(transitive)
- Removedproxy-from-env@1.1.0(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedripemd160@2.0.2(transitive)
- Removedrxjs@7.8.1(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedscheduler@0.23.2(transitive)
- Removedsecp256k1@4.0.4(transitive)
- Removedsemver@7.6.3(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtslib@2.8.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedutility-types@3.11.0(transitive)
- Removeduuid@9.0.1(transitive)