Socket
Socket
Sign inDemoInstall

@arianee/utils

Package Overview
Dependencies
Maintainers
9
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arianee/utils - npm Package Compare versions

Comparing version 1.12.0 to 1.13.0

4

package.json
{
"name": "@arianee/utils",
"version": "1.12.0",
"version": "1.13.0",
"type": "commonjs",

@@ -11,3 +11,3 @@ "dependencies": {

"peerDependencies": {
"@arianee/common-types": "1.12.0",
"@arianee/common-types": "1.13.0",
"tslib": "2.5.0"

@@ -14,0 +14,0 @@ },

@@ -1,6 +0,10 @@

import { Result, TransactionRequest } from 'ethers';
import { TransactionRequest } from 'ethers';
interface DecodedArianeeTransaction {
contractName: string;
functionName: string;
functionArgs: Result;
functionArgs: {
name: string;
type: string;
value: any;
}[];
from: string;

@@ -7,0 +11,0 @@ to: string;

@@ -44,3 +44,9 @@ "use strict";

functionName: decoded.name,
functionArgs: decoded.args,
functionArgs: decoded.args.map((argValue, argIndex) => {
return {
name: decoded === null || decoded === void 0 ? void 0 : decoded.fragment.inputs[argIndex].name,
type: decoded === null || decoded === void 0 ? void 0 : decoded.fragment.inputs[argIndex].type,
value: argValue,
};
}),
from: from.toString(),

@@ -47,0 +53,0 @@ to: to.toString(),

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