web3-core
Advanced tools
Comparing version 4.7.1-dev.fab66e9.0 to 4.7.1
import { HexString, JsonRpcPayload, JsonRpcResponse, Transaction, Web3APIMethod, Web3APIReturnType } from 'web3-types'; | ||
import { Schema } from 'web3-validator'; | ||
export declare type TransactionTypeParser = (transaction: Transaction) => HexString | undefined; | ||
export type TransactionTypeParser = (transaction: Transaction) => HexString | undefined; | ||
export interface Method { | ||
@@ -20,5 +20,5 @@ name: string; | ||
} | ||
export declare type CustomTransactionSchema = { | ||
export type CustomTransactionSchema = { | ||
type: string; | ||
properties: Record<string, Schema>; | ||
}; |
@@ -1,9 +0,9 @@ | ||
import { EIP1193Provider, LegacyRequestProvider, LegacySendAsyncProvider, LegacySendProvider, SupportedProviders, Web3BaseProvider, MetaMaskProvider } from 'web3-types'; | ||
export declare const isWeb3Provider: <API extends unknown>(provider: SupportedProviders<API>) => provider is Web3BaseProvider<API>; | ||
export declare const isMetaMaskProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is MetaMaskProvider<API>; | ||
export declare const isLegacyRequestProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is LegacyRequestProvider; | ||
export declare const isEIP1193Provider: <API extends unknown>(provider: SupportedProviders<API>) => provider is EIP1193Provider<API>; | ||
export declare const isLegacySendProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is LegacySendProvider; | ||
export declare const isLegacySendAsyncProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is LegacySendAsyncProvider; | ||
export declare const isSupportedProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is SupportedProviders<API>; | ||
export declare const isSupportSubscriptions: <API extends unknown>(provider: SupportedProviders<API>) => boolean; | ||
import { EIP1193Provider, LegacyRequestProvider, LegacySendAsyncProvider, LegacySendProvider, SupportedProviders, Web3APISpec, Web3BaseProvider, MetaMaskProvider } from 'web3-types'; | ||
export declare const isWeb3Provider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is Web3BaseProvider<API>; | ||
export declare const isMetaMaskProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is MetaMaskProvider<API>; | ||
export declare const isLegacyRequestProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is LegacyRequestProvider; | ||
export declare const isEIP1193Provider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is EIP1193Provider<API>; | ||
export declare const isLegacySendProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is LegacySendProvider; | ||
export declare const isLegacySendAsyncProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is LegacySendAsyncProvider; | ||
export declare const isSupportedProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is SupportedProviders<API>; | ||
export declare const isSupportSubscriptions: <API extends Web3APISpec>(provider: SupportedProviders<API>) => boolean; |
@@ -48,4 +48,4 @@ "use strict"; | ||
execute(options) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
if (this.requests.length === 0) { | ||
@@ -70,4 +70,4 @@ return Promise.resolve([]); | ||
_processBatchRequest(promise) { | ||
var _a, _b; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a, _b; | ||
const response = yield this._requestManager.sendBatch([...this._requests.values()].map(r => r.payload)); | ||
@@ -74,0 +74,0 @@ if (response.length !== this._requests.size) { |
@@ -35,3 +35,3 @@ import { Numbers, HexString, BlockNumberOrTag, Common, DataFormat } from 'web3-types'; | ||
} | ||
declare type ConfigEvent<T, P extends keyof T = keyof T> = P extends unknown ? { | ||
type ConfigEvent<T, P extends keyof T = keyof T> = P extends unknown ? { | ||
name: P; | ||
@@ -252,4 +252,4 @@ oldValue: T[P]; | ||
set defaultMaxPriorityFeePerGas(val: Numbers); | ||
get transactionBuilder(): TransactionBuilder<unknown> | undefined; | ||
set transactionBuilder(val: TransactionBuilder<unknown> | undefined); | ||
get transactionBuilder(): TransactionBuilder | undefined; | ||
set transactionBuilder(val: TransactionBuilder | undefined); | ||
get transactionTypeParser(): TransactionTypeParser | undefined; | ||
@@ -256,0 +256,0 @@ set transactionTypeParser(val: TransactionTypeParser | undefined); |
@@ -27,3 +27,3 @@ "use strict"; | ||
Web3ConfigEvent["CONFIG_CHANGE"] = "CONFIG_CHANGE"; | ||
})(Web3ConfigEvent = exports.Web3ConfigEvent || (exports.Web3ConfigEvent = {})); | ||
})(Web3ConfigEvent || (exports.Web3ConfigEvent = Web3ConfigEvent = {})); | ||
class Web3Config extends web3_event_emitter_js_1.Web3EventEmitter { | ||
@@ -30,0 +30,0 @@ constructor(options) { |
@@ -9,3 +9,3 @@ import { EthExecutionAPI, HexString, Numbers, SupportedProviders, Transaction, Web3AccountProvider, Web3APISpec, Web3BaseProvider, Web3BaseWallet, Web3BaseWalletAccount } from 'web3-types'; | ||
import { Web3SubscriptionManager } from './web3_subscription_manager.js'; | ||
export declare type Web3ContextObject<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
export type Web3ContextObject<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
[key: string]: Web3SubscriptionConstructor<API>; | ||
@@ -22,3 +22,3 @@ } = any> = { | ||
}; | ||
export declare type Web3ContextInitOptions<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
export type Web3ContextInitOptions<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
[key: string]: Web3SubscriptionConstructor<API>; | ||
@@ -35,4 +35,4 @@ } = any> = { | ||
}; | ||
export declare type Web3ContextConstructor<T extends Web3Context, T2 extends unknown[]> = new (...args: [...extras: T2, context: Web3ContextObject]) => T; | ||
export declare type Web3ContextFactory<T extends Web3Context, T2 extends unknown[]> = Web3ContextConstructor<T, T2> & { | ||
export type Web3ContextConstructor<T extends Web3Context, T2 extends unknown[]> = new (...args: [...extras: T2, context: Web3ContextObject]) => T; | ||
export type Web3ContextFactory<T extends Web3Context, T2 extends unknown[]> = Web3ContextConstructor<T, T2> & { | ||
fromContextObject(this: Web3ContextConstructor<T, T2>, contextObject: Web3ContextObject): T; | ||
@@ -210,3 +210,3 @@ }; | ||
} | ||
export declare type TransactionBuilder<API extends Web3APISpec = unknown> = <ReturnType = Transaction>(options: { | ||
export type TransactionBuilder<API extends Web3APISpec = unknown> = <ReturnType = Transaction>(options: { | ||
transaction: Transaction; | ||
@@ -213,0 +213,0 @@ web3Context: Web3Context<API>; |
import { EventEmitter } from 'web3-utils'; | ||
export declare type Web3EventMap = Record<string, unknown>; | ||
export declare type Web3EventKey<T extends Web3EventMap> = string & keyof T; | ||
export declare type Web3EventCallback<T> = (params: T) => void | Promise<void>; | ||
export type Web3EventMap = Record<string, unknown>; | ||
export type Web3EventKey<T extends Web3EventMap> = string & keyof T; | ||
export type Web3EventCallback<T> = (params: T) => void | Promise<void>; | ||
export interface Web3Emitter<T extends Web3EventMap> { | ||
@@ -6,0 +6,0 @@ on<K extends Web3EventKey<T>>(eventName: K, fn: Web3EventCallback<T[K]>): void; |
import { Web3EventCallback, Web3EventEmitter, Web3EventKey, Web3EventMap } from './web3_event_emitter.js'; | ||
export declare type PromiseExecutor<T> = (resolve: (data: T) => void, reject: (reason: unknown) => void) => void; | ||
export type PromiseExecutor<T> = (resolve: (data: T) => void, reject: (reason: unknown) => void) => void; | ||
export declare class Web3PromiEvent<ResolveType, EventMap extends Web3EventMap> extends Web3EventEmitter<EventMap> implements Promise<ResolveType> { | ||
@@ -4,0 +4,0 @@ private readonly _promise; |
@@ -42,3 +42,3 @@ "use strict"; | ||
Web3RequestManagerEvent["BEFORE_PROVIDER_CHANGE"] = "BEFORE_PROVIDER_CHANGE"; | ||
})(Web3RequestManagerEvent = exports.Web3RequestManagerEvent || (exports.Web3RequestManagerEvent = {})); | ||
})(Web3RequestManagerEvent || (exports.Web3RequestManagerEvent = Web3RequestManagerEvent = {})); | ||
const availableProviders = { | ||
@@ -45,0 +45,0 @@ HttpProvider: web3_providers_http_1.default, |
import { DataFormat, JsonRpcNotification, JsonRpcSubscriptionResult, JsonRpcSubscriptionResultOld, Log, Web3APISpec } from 'web3-types'; | ||
import { Web3RequestManager } from './web3_request_manager.js'; | ||
import { Web3SubscriptionConstructor } from './web3_subscriptions.js'; | ||
declare type ShouldUnsubscribeCondition = ({ id, sub, }: { | ||
type ShouldUnsubscribeCondition = ({ id, sub, }: { | ||
id: string; | ||
@@ -6,0 +6,0 @@ sub: unknown; |
@@ -93,4 +93,4 @@ "use strict"; | ||
*/ | ||
subscribe(name, args, returnFormat = web3_types_1.DEFAULT_RETURN_FORMAT) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
subscribe(name_1, args_1) { | ||
return __awaiter(this, arguments, void 0, function* (name, args, returnFormat = web3_types_1.DEFAULT_RETURN_FORMAT) { | ||
const Klass = this.registeredSubscriptions[name]; | ||
@@ -104,2 +104,3 @@ if (!Klass) { | ||
returnFormat, | ||
// eslint.disable-next-line @typescript-eslint/no-unsafe-any | ||
}); | ||
@@ -106,0 +107,0 @@ yield this.addSubscription(subscription); |
@@ -5,3 +5,3 @@ import { BlockOutput, DataFormat, EthExecutionAPI, JsonRpcSubscriptionResult, JsonRpcSubscriptionResultOld, JsonRpcNotification, Log, HexString, Web3APIParams, Web3APISpec } from 'web3-types'; | ||
import { Web3RequestManager } from './web3_request_manager.js'; | ||
declare type CommonSubscriptionEvents = { | ||
type CommonSubscriptionEvents = { | ||
data: unknown; | ||
@@ -35,3 +35,3 @@ error: Error; | ||
protected get subscriptionManager(): Web3SubscriptionManager<API, { | ||
[key: string]: Web3SubscriptionConstructor<API, Web3Subscription<any, any, API, any>>; | ||
[key: string]: Web3SubscriptionConstructor<API>; | ||
}>; | ||
@@ -46,3 +46,3 @@ resubscribe(): Promise<void>; | ||
} | ||
export declare type Web3SubscriptionConstructor<API extends Web3APISpec, SubscriptionType extends Web3Subscription<any, any, API> = Web3Subscription<any, any, API>> = (new (args: any, options: { | ||
export type Web3SubscriptionConstructor<API extends Web3APISpec, SubscriptionType extends Web3Subscription<any, any, API> = Web3Subscription<any, any, API>> = (new (args: any, options: { | ||
subscriptionManager: Web3SubscriptionManager<API>; | ||
@@ -49,0 +49,0 @@ returnFormat?: DataFormat; |
@@ -45,4 +45,4 @@ /* | ||
execute(options) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
if (this.requests.length === 0) { | ||
@@ -67,4 +67,4 @@ return Promise.resolve([]); | ||
_processBatchRequest(promise) { | ||
var _a, _b; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a, _b; | ||
const response = yield this._requestManager.sendBatch([...this._requests.values()].map(r => r.payload)); | ||
@@ -71,0 +71,0 @@ if (response.length !== this._requests.size) { |
@@ -90,4 +90,4 @@ /* | ||
*/ | ||
subscribe(name, args, returnFormat = DEFAULT_RETURN_FORMAT) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
subscribe(name_1, args_1) { | ||
return __awaiter(this, arguments, void 0, function* (name, args, returnFormat = DEFAULT_RETURN_FORMAT) { | ||
const Klass = this.registeredSubscriptions[name]; | ||
@@ -101,2 +101,3 @@ if (!Klass) { | ||
returnFormat, | ||
// eslint.disable-next-line @typescript-eslint/no-unsafe-any | ||
}); | ||
@@ -103,0 +104,0 @@ yield this.addSubscription(subscription); |
import { HexString, JsonRpcPayload, JsonRpcResponse, Transaction, Web3APIMethod, Web3APIReturnType } from 'web3-types'; | ||
import { Schema } from 'web3-validator'; | ||
export declare type TransactionTypeParser = (transaction: Transaction) => HexString | undefined; | ||
export type TransactionTypeParser = (transaction: Transaction) => HexString | undefined; | ||
export interface Method { | ||
@@ -20,3 +20,3 @@ name: string; | ||
} | ||
export declare type CustomTransactionSchema = { | ||
export type CustomTransactionSchema = { | ||
type: string; | ||
@@ -23,0 +23,0 @@ properties: Record<string, Schema>; |
@@ -1,10 +0,10 @@ | ||
import { EIP1193Provider, LegacyRequestProvider, LegacySendAsyncProvider, LegacySendProvider, SupportedProviders, Web3BaseProvider, MetaMaskProvider } from 'web3-types'; | ||
export declare const isWeb3Provider: <API extends unknown>(provider: SupportedProviders<API>) => provider is Web3BaseProvider<API>; | ||
export declare const isMetaMaskProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is MetaMaskProvider<API>; | ||
export declare const isLegacyRequestProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is LegacyRequestProvider; | ||
export declare const isEIP1193Provider: <API extends unknown>(provider: SupportedProviders<API>) => provider is EIP1193Provider<API>; | ||
export declare const isLegacySendProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is LegacySendProvider; | ||
export declare const isLegacySendAsyncProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is LegacySendAsyncProvider; | ||
export declare const isSupportedProvider: <API extends unknown>(provider: SupportedProviders<API>) => provider is SupportedProviders<API>; | ||
export declare const isSupportSubscriptions: <API extends unknown>(provider: SupportedProviders<API>) => boolean; | ||
import { EIP1193Provider, LegacyRequestProvider, LegacySendAsyncProvider, LegacySendProvider, SupportedProviders, Web3APISpec, Web3BaseProvider, MetaMaskProvider } from 'web3-types'; | ||
export declare const isWeb3Provider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is Web3BaseProvider<API>; | ||
export declare const isMetaMaskProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is MetaMaskProvider<API>; | ||
export declare const isLegacyRequestProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is LegacyRequestProvider; | ||
export declare const isEIP1193Provider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is EIP1193Provider<API>; | ||
export declare const isLegacySendProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is LegacySendProvider; | ||
export declare const isLegacySendAsyncProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is LegacySendAsyncProvider; | ||
export declare const isSupportedProvider: <API extends Web3APISpec>(provider: SupportedProviders<API>) => provider is SupportedProviders<API>; | ||
export declare const isSupportSubscriptions: <API extends Web3APISpec>(provider: SupportedProviders<API>) => boolean; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -35,3 +35,3 @@ import { Numbers, HexString, BlockNumberOrTag, Common, DataFormat } from 'web3-types'; | ||
} | ||
declare type ConfigEvent<T, P extends keyof T = keyof T> = P extends unknown ? { | ||
type ConfigEvent<T, P extends keyof T = keyof T> = P extends unknown ? { | ||
name: P; | ||
@@ -252,4 +252,4 @@ oldValue: T[P]; | ||
set defaultMaxPriorityFeePerGas(val: Numbers); | ||
get transactionBuilder(): TransactionBuilder<unknown> | undefined; | ||
set transactionBuilder(val: TransactionBuilder<unknown> | undefined); | ||
get transactionBuilder(): TransactionBuilder | undefined; | ||
set transactionBuilder(val: TransactionBuilder | undefined); | ||
get transactionTypeParser(): TransactionTypeParser | undefined; | ||
@@ -256,0 +256,0 @@ set transactionTypeParser(val: TransactionTypeParser | undefined); |
@@ -9,3 +9,3 @@ import { EthExecutionAPI, HexString, Numbers, SupportedProviders, Transaction, Web3AccountProvider, Web3APISpec, Web3BaseProvider, Web3BaseWallet, Web3BaseWalletAccount } from 'web3-types'; | ||
import { Web3SubscriptionManager } from './web3_subscription_manager.js'; | ||
export declare type Web3ContextObject<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
export type Web3ContextObject<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
[key: string]: Web3SubscriptionConstructor<API>; | ||
@@ -22,3 +22,3 @@ } = any> = { | ||
}; | ||
export declare type Web3ContextInitOptions<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
export type Web3ContextInitOptions<API extends Web3APISpec = unknown, RegisteredSubs extends { | ||
[key: string]: Web3SubscriptionConstructor<API>; | ||
@@ -35,4 +35,4 @@ } = any> = { | ||
}; | ||
export declare type Web3ContextConstructor<T extends Web3Context, T2 extends unknown[]> = new (...args: [...extras: T2, context: Web3ContextObject]) => T; | ||
export declare type Web3ContextFactory<T extends Web3Context, T2 extends unknown[]> = Web3ContextConstructor<T, T2> & { | ||
export type Web3ContextConstructor<T extends Web3Context, T2 extends unknown[]> = new (...args: [...extras: T2, context: Web3ContextObject]) => T; | ||
export type Web3ContextFactory<T extends Web3Context, T2 extends unknown[]> = Web3ContextConstructor<T, T2> & { | ||
fromContextObject(this: Web3ContextConstructor<T, T2>, contextObject: Web3ContextObject): T; | ||
@@ -210,3 +210,3 @@ }; | ||
} | ||
export declare type TransactionBuilder<API extends Web3APISpec = unknown> = <ReturnType = Transaction>(options: { | ||
export type TransactionBuilder<API extends Web3APISpec = unknown> = <ReturnType = Transaction>(options: { | ||
transaction: Transaction; | ||
@@ -213,0 +213,0 @@ web3Context: Web3Context<API>; |
import { EventEmitter } from 'web3-utils'; | ||
export declare type Web3EventMap = Record<string, unknown>; | ||
export declare type Web3EventKey<T extends Web3EventMap> = string & keyof T; | ||
export declare type Web3EventCallback<T> = (params: T) => void | Promise<void>; | ||
export type Web3EventMap = Record<string, unknown>; | ||
export type Web3EventKey<T extends Web3EventMap> = string & keyof T; | ||
export type Web3EventCallback<T> = (params: T) => void | Promise<void>; | ||
export interface Web3Emitter<T extends Web3EventMap> { | ||
@@ -6,0 +6,0 @@ on<K extends Web3EventKey<T>>(eventName: K, fn: Web3EventCallback<T[K]>): void; |
import { Web3EventCallback, Web3EventEmitter, Web3EventKey, Web3EventMap } from './web3_event_emitter.js'; | ||
export declare type PromiseExecutor<T> = (resolve: (data: T) => void, reject: (reason: unknown) => void) => void; | ||
export type PromiseExecutor<T> = (resolve: (data: T) => void, reject: (reason: unknown) => void) => void; | ||
export declare class Web3PromiEvent<ResolveType, EventMap extends Web3EventMap> extends Web3EventEmitter<EventMap> implements Promise<ResolveType> { | ||
@@ -4,0 +4,0 @@ private readonly _promise; |
import { DataFormat, JsonRpcNotification, JsonRpcSubscriptionResult, JsonRpcSubscriptionResultOld, Log, Web3APISpec } from 'web3-types'; | ||
import { Web3RequestManager } from './web3_request_manager.js'; | ||
import { Web3SubscriptionConstructor } from './web3_subscriptions.js'; | ||
declare type ShouldUnsubscribeCondition = ({ id, sub, }: { | ||
type ShouldUnsubscribeCondition = ({ id, sub, }: { | ||
id: string; | ||
@@ -6,0 +6,0 @@ sub: unknown; |
@@ -5,3 +5,3 @@ import { BlockOutput, DataFormat, EthExecutionAPI, JsonRpcSubscriptionResult, JsonRpcSubscriptionResultOld, JsonRpcNotification, Log, HexString, Web3APIParams, Web3APISpec } from 'web3-types'; | ||
import { Web3RequestManager } from './web3_request_manager.js'; | ||
declare type CommonSubscriptionEvents = { | ||
type CommonSubscriptionEvents = { | ||
data: unknown; | ||
@@ -35,3 +35,3 @@ error: Error; | ||
protected get subscriptionManager(): Web3SubscriptionManager<API, { | ||
[key: string]: Web3SubscriptionConstructor<API, Web3Subscription<any, any, API, any>>; | ||
[key: string]: Web3SubscriptionConstructor<API>; | ||
}>; | ||
@@ -46,3 +46,3 @@ resubscribe(): Promise<void>; | ||
} | ||
export declare type Web3SubscriptionConstructor<API extends Web3APISpec, SubscriptionType extends Web3Subscription<any, any, API> = Web3Subscription<any, any, API>> = (new (args: any, options: { | ||
export type Web3SubscriptionConstructor<API extends Web3APISpec, SubscriptionType extends Web3Subscription<any, any, API> = Web3Subscription<any, any, API>> = (new (args: any, options: { | ||
subscriptionManager: Web3SubscriptionManager<API>; | ||
@@ -49,0 +49,0 @@ returnFormat?: DataFormat; |
{ | ||
"name": "web3-core", | ||
"version": "4.7.1-dev.fab66e9.0+fab66e9", | ||
"version": "4.7.1", | ||
"description": "Web3 core tools for sub-packages. This is an internal package.", | ||
@@ -45,13 +45,13 @@ "main": "./lib/commonjs/index.js", | ||
"dependencies": { | ||
"web3-errors": "1.3.1-dev.fab66e9.0+fab66e9", | ||
"web3-eth-accounts": "4.2.2-dev.fab66e9.0+fab66e9", | ||
"web3-eth-iban": "4.0.8-dev.fab66e9.0+fab66e9", | ||
"web3-providers-http": "4.2.1-dev.fab66e9.0+fab66e9", | ||
"web3-providers-ws": "4.0.9-dev.fab66e9.0+fab66e9", | ||
"web3-types": "1.8.2-dev.fab66e9.0+fab66e9", | ||
"web3-utils": "4.3.3-dev.fab66e9.0+fab66e9", | ||
"web3-validator": "2.0.7-dev.fab66e9.0+fab66e9" | ||
"web3-errors": "^1.3.1", | ||
"web3-eth-accounts": "^4.3.1", | ||
"web3-eth-iban": "^4.0.7", | ||
"web3-providers-http": "^4.2.0", | ||
"web3-providers-ws": "^4.0.8", | ||
"web3-types": "^1.10.0", | ||
"web3-utils": "^4.3.3", | ||
"web3-validator": "^2.0.6" | ||
}, | ||
"optionalDependencies": { | ||
"web3-providers-ipc": "4.0.8-dev.fab66e9.0+fab66e9" | ||
"web3-providers-ipc": "^4.0.7" | ||
}, | ||
@@ -72,5 +72,5 @@ "devDependencies": { | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.5.4" | ||
}, | ||
"gitHead": "fab66e99d5108cfc41999ab7260fb050beb76936" | ||
"gitHead": "aa197b8f7914ff336423c4081459c9bf7867c4b3" | ||
} |
@@ -166,2 +166,3 @@ /* | ||
returnFormat, | ||
// eslint.disable-next-line @typescript-eslint/no-unsafe-any | ||
} as any) as InstanceType<RegisteredSubs[T]>; | ||
@@ -168,0 +169,0 @@ |
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
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
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
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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
490431
103
8583
1
0
+ Added@ethereumjs/rlp@4.0.1(transitive)
+ Added@noble/curves@1.4.2(transitive)
+ Added@noble/hashes@1.4.0(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.4.0(transitive)
+ Added@scure/bip39@1.3.0(transitive)
+ Added@types/node@22.10.2(transitive)
+ Added@types/ws@8.5.3(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcrc-32@1.2.2(transitive)
+ Addedcross-fetch@4.1.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedethereum-cryptography@2.2.1(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.2.0(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-typed-array@1.1.15(transitive)
+ Addedisomorphic-ws@5.0.0(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedweb3-errors@1.3.1(transitive)
+ Addedweb3-eth-accounts@4.3.1(transitive)
+ Addedweb3-eth-iban@4.0.7(transitive)
+ Addedweb3-providers-http@4.2.0(transitive)
+ Addedweb3-providers-ipc@4.0.7(transitive)
+ Addedweb3-providers-ws@4.0.8(transitive)
+ Addedweb3-types@1.10.0(transitive)
+ Addedweb3-utils@4.3.3(transitive)
+ Addedweb3-validator@2.0.6(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedwhich-typed-array@1.1.18(transitive)
+ Addedws@8.18.0(transitive)
+ Addedzod@3.24.1(transitive)
Updatedweb3-errors@^1.3.1
Updatedweb3-eth-accounts@^4.3.1
Updatedweb3-eth-iban@^4.0.7
Updatedweb3-providers-http@^4.2.0
Updatedweb3-providers-ws@^4.0.8
Updatedweb3-types@^1.10.0
Updatedweb3-utils@^4.3.3
Updatedweb3-validator@^2.0.6