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

@venly/web3-provider

Package Overview
Dependencies
Maintainers
4
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@venly/web3-provider - npm Package Compare versions

Comparing version 3.3.0-develop.1 to 3.3.0-develop.2

4

dist/venlyController.d.ts

@@ -15,4 +15,4 @@ import { VenlyConnect, AuthenticationOptions, Account, AuthenticationResult } from '@venly/connect';

getAccounts(): Promise<string[]>;
processTransaction(params: any, req: any): Promise<any>;
processSignTransaction(params: any, req: any): Promise<string>;
processTransaction(txParams: any, req: any): Promise<any>;
processSignTransaction(txParams: any, req: any): Promise<string>;
processEthSignMessage(params: any, req: any): Promise<any>;

@@ -19,0 +19,0 @@ processTypedMessage(params: any, req: any, version: any): Promise<string>;

@@ -68,5 +68,6 @@ "use strict";

}
processTransaction(params, req) {
processTransaction(txParams, req) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
const params = req.params[0];
const signer = this.venlyConnect.createSigner();

@@ -81,5 +82,6 @@ const transactionData = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ walletId: this.getWalletIdFrom(params.from), type: types_1.REQUEST_TYPES[this.options.secretType].transaction }, params.to && { to: params.to }), params.data && { data: params.data }), params.value && { value: bignumber_1.BigNumber.from(params.value).toString() }), params.gas && { gas: bignumber_1.BigNumber.from(params.gas).toString() }), params.gasPrice && { gasPrice: bignumber_1.BigNumber.from(params.gasPrice).toString() }), params.nonce && { nonce: bignumber_1.BigNumber.from(params.nonce).toString() });

}
processSignTransaction(params, req) {
processSignTransaction(txParams, req) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
const params = req.params[0];
const signer = this.venlyConnect.createSigner();

@@ -86,0 +88,0 @@ const transactionData = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ walletId: this.getWalletIdFrom(params.from), type: types_1.REQUEST_TYPES[this.options.secretType].signature }, params.to && { to: params.to }), params.data && { data: params.data }), params.value && { value: bignumber_1.BigNumber.from(params.value).toString() }), params.gas && { gas: bignumber_1.BigNumber.from(params.gas).toString() }), params.gasPrice && { gasPrice: bignumber_1.BigNumber.from(params.gasPrice).toString() }), params.nonce && { nonce: bignumber_1.BigNumber.from(params.nonce).toString() });

{
"name": "@venly/web3-provider",
"version": "3.3.0-develop.1",
"version": "3.3.0-develop.2",
"description": "Venly enabled Web3 Provider for the web",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

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