Socket
Socket
Sign inDemoInstall

web3

Package Overview
Dependencies
70
Maintainers
4
Versions
449
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.5.1-dev.f696e47.0 to 4.6.0

lib/commonjs/web3_eip6963.d.ts

1

lib/commonjs/providers.exports.d.ts
export { Eip1193Provider, SocketProvider } from 'web3-utils';
export * as http from 'web3-providers-http';
export * as ws from 'web3-providers-ws';
export * from './web3_eip6963.js';

@@ -41,2 +41,5 @@ "use strict";

};
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -49,2 +52,3 @@ exports.ws = exports.http = exports.SocketProvider = exports.Eip1193Provider = void 0;

exports.ws = __importStar(require("web3-providers-ws"));
__exportStar(require("./web3_eip6963.js"), exports);
//# sourceMappingURL=providers.exports.js.map

2

lib/commonjs/version.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Web3PkgInfo = void 0;
/* eslint-disable header/header */ exports.Web3PkgInfo = { version: '4.5.0' };
/* eslint-disable header/header */ exports.Web3PkgInfo = { version: '4.6.0' };
//# sourceMappingURL=version.js.map

@@ -15,2 +15,4 @@ import { Web3Context, Web3ContextInitOptions, Web3SubscriptionConstructor } from 'web3-core';

static utils: typeof utils;
static requestEIP6963Providers: () => Promise<unknown>;
static onNewProviderDiscovered: (callback: (providerEvent: import("./web3_eip6963.js").EIP6963AnnounceProviderEvent<unknown>) => void) => void;
static modules: {

@@ -17,0 +19,0 @@ Web3Eth: typeof Web3Eth;

@@ -61,2 +61,3 @@ "use strict";

const version_js_1 = require("./version.js");
const web3_eip6963_js_1 = require("./web3_eip6963.js");
class Web3 extends web3_core_1.Web3Context {

@@ -165,2 +166,4 @@ constructor(providerOrContext) {

Web3.utils = utils;
Web3.requestEIP6963Providers = web3_eip6963_js_1.requestEIP6963Providers;
Web3.onNewProviderDiscovered = web3_eip6963_js_1.onNewProviderDiscovered;
Web3.modules = {

@@ -167,0 +170,0 @@ Web3Eth: web3_eth_1.Web3Eth,

@@ -20,2 +20,3 @@ /*

export * as ws from 'web3-providers-ws';
export * from './web3_eip6963.js';
//# sourceMappingURL=providers.exports.js.map

@@ -1,2 +0,2 @@

/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.5.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.6.0' };
//# sourceMappingURL=version.js.map

@@ -32,2 +32,3 @@ /*

import { Web3PkgInfo } from './version.js';
import { onNewProviderDiscovered, requestEIP6963Providers } from './web3_eip6963.js';
export class Web3 extends Web3Context {

@@ -134,2 +135,4 @@ constructor(providerOrContext) {

Web3.utils = utils;
Web3.requestEIP6963Providers = requestEIP6963Providers;
Web3.onNewProviderDiscovered = onNewProviderDiscovered;
Web3.modules = {

@@ -136,0 +139,0 @@ Web3Eth,

export { Eip1193Provider, SocketProvider } from 'web3-utils';
export * as http from 'web3-providers-http';
export * as ws from 'web3-providers-ws';
export * from './web3_eip6963.js';
//# sourceMappingURL=providers.exports.d.ts.map

@@ -15,2 +15,4 @@ import { Web3Context, Web3ContextInitOptions, Web3SubscriptionConstructor } from 'web3-core';

static utils: typeof utils;
static requestEIP6963Providers: () => Promise<unknown>;
static onNewProviderDiscovered: (callback: (providerEvent: import("./web3_eip6963.js").EIP6963AnnounceProviderEvent<unknown>) => void) => void;
static modules: {

@@ -17,0 +19,0 @@ Web3Eth: typeof Web3Eth;

{
"name": "web3",
"version": "4.5.1-dev.f696e47.0+f696e47",
"version": "4.6.0",
"description": "Ethereum JavaScript API",

@@ -86,23 +86,23 @@ "main": "./lib/commonjs/index.js",

"typescript": "^4.7.4",
"web3-providers-ipc": "4.0.8-dev.f696e47.0+f696e47"
"web3-providers-ipc": "^4.0.7"
},
"dependencies": {
"web3-core": "4.3.3-dev.f696e47.0+f696e47",
"web3-errors": "1.1.5-dev.f696e47.0+f696e47",
"web3-eth": "4.4.1-dev.f696e47.0+f696e47",
"web3-eth-abi": "4.2.1-dev.f696e47.0+f696e47",
"web3-eth-accounts": "4.1.2-dev.f696e47.0+f696e47",
"web3-eth-contract": "4.2.1-dev.f696e47.0+f696e47",
"web3-eth-ens": "4.0.9-dev.f696e47.0+f696e47",
"web3-eth-iban": "4.0.8-dev.f696e47.0+f696e47",
"web3-eth-personal": "4.0.9-dev.f696e47.0+f696e47",
"web3-net": "4.0.8-dev.f696e47.0+f696e47",
"web3-providers-http": "4.1.1-dev.f696e47.0+f696e47",
"web3-providers-ws": "4.0.8-dev.f696e47.0+f696e47",
"web3-rpc-methods": "1.1.5-dev.f696e47.0+f696e47",
"web3-types": "1.4.1-dev.f696e47.0+f696e47",
"web3-utils": "4.2.1-dev.f696e47.0+f696e47",
"web3-validator": "2.0.5-dev.f696e47.0+f696e47"
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-abi": "^4.2.0",
"web3-eth-accounts": "^4.1.1",
"web3-eth-contract": "^4.2.0",
"web3-eth-ens": "^4.1.0",
"web3-eth-iban": "^4.0.7",
"web3-eth-personal": "^4.0.8",
"web3-net": "^4.0.7",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.1",
"web3-validator": "^2.0.4"
},
"gitHead": "f696e47b89d6613dc3a254ec5449f3ceeacf3cd8"
"gitHead": "a7bbd7af6adef17d9e51adac57891aa9fdabd59f"
}

@@ -22,1 +22,2 @@ /*

export * as ws from 'web3-providers-ws';
export * from './web3_eip6963.js';

@@ -1,1 +0,1 @@

/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.5.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.6.0' };

@@ -47,2 +47,3 @@ /*

import { Web3PkgInfo } from './version.js';
import { onNewProviderDiscovered, requestEIP6963Providers } from './web3_eip6963.js';

@@ -56,2 +57,4 @@ export class Web3<

public static utils = utils;
public static requestEIP6963Providers = requestEIP6963Providers;
public static onNewProviderDiscovered = onNewProviderDiscovered;
public static modules = {

@@ -58,0 +61,0 @@ Web3Eth,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc