Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xchainjs/xchain-arbitrum

Package Overview
Dependencies
Maintainers
10
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-arbitrum - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

4

lib/client.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc