Socket
Socket
Sign inDemoInstall

@stardust-collective/dag4-xchain-ethereum

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stardust-collective/dag4-xchain-ethereum - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

23

cjs/client.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -6,3 +25,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

Object.defineProperty(exports, "__esModule", { value: true });
exports.XChainEthClient = void 0;
exports.XChainEthClient = exports.utils = void 0;
const ethers_1 = require("ethers");

@@ -12,2 +31,4 @@ const xchain_ethereum_1 = require("@xchainjs/xchain-ethereum");

const token_balances_1 = require("./token-balances");
const utils = __importStar(require("@xchainjs/xchain-util"));
exports.utils = utils;
class XChainEthClient extends xchain_ethereum_1.Client {

@@ -14,0 +35,0 @@ constructor({ network = 'testnet', explorerUrl, privateKey, etherscanApiKey, infuraCreds }) {

@@ -5,2 +5,4 @@ import { BigNumber, ethers, FixedNumber } from 'ethers';

import { getAddressBalances } from './token-balances';
import * as utils from '@xchainjs/xchain-util';
export { utils };
export class XChainEthClient extends Client {

@@ -7,0 +9,0 @@ constructor({ network = 'testnet', explorerUrl, privateKey, etherscanApiKey, infuraCreds }) {

2

package.json
{
"name": "@stardust-collective/dag4-xchain-ethereum",
"version": "0.1.1",
"version": "0.1.2",
"description": "Cross chain communication with Ethereum",

@@ -5,0 +5,0 @@ "author": "Frank Fox",

import { ExplorerUrl, InfuraCreds } from '@xchainjs/xchain-ethereum';
import { Network } from '@xchainjs/xchain-client';
import { Client } from '@xchainjs/xchain-ethereum';
import * as utils from '@xchainjs/xchain-util';
export { utils };
declare type XClientEthParams = {

@@ -33,2 +35,1 @@ explorerUrl?: ExplorerUrl;

};
export {};

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