Socket
Socket
Sign inDemoInstall

@tenderly/hardhat-tenderly

Package Overview
Dependencies
279
Maintainers
3
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0-beta.2 to 1.1.0-beta.3

2

dist/TenderlyRPC.d.ts

@@ -23,4 +23,4 @@ import * as axios from "axios";

setFork(fork: string | undefined): void;
initializeFork(): Promise<void>;
private writeHead;
private initializeFork;
private filterContracts;

@@ -27,0 +27,0 @@ private getForkContractData;

@@ -104,8 +104,2 @@ "use strict";

}
writeHead() {
const fileData = fs_1.default.readFileSync(this.filepath);
const yamlData = yaml.load(fileData.toString());
yamlData.head = this.head;
fs_1.default.writeFileSync(this.filepath, yaml.safeDump(yamlData), "utf8");
}
async initializeFork() {

@@ -124,2 +118,8 @@ const username = this.env.config.tenderly.username;

}
writeHead() {
const fileData = fs_1.default.readFileSync(this.filepath);
const yamlData = yaml.load(fileData.toString());
yamlData.head = this.head;
fs_1.default.writeFileSync(this.filepath, yaml.safeDump(yamlData), "utf8");
}
async filterContracts(flatContracts) {

@@ -126,0 +126,0 @@ let contract;

@@ -12,2 +12,6 @@ import "hardhat/types/config";

tenderlyRPC: {
send: (request: {
method: string;
params?: any[];
}, callback: (error: any, response: any) => void) => void;
verify: (...contracts: any[]) => Promise<void>;

@@ -19,2 +23,3 @@ resetFork: () => string | undefined;

setFork: (fork: string | undefined) => void;
initializeFork: () => Promise<void>;
};

@@ -21,0 +26,0 @@ }

{
"name": "@tenderly/hardhat-tenderly",
"description": "Hardhat plugin for integration with Tenderly",
"version": "1.1.0-beta.2",
"version": "1.1.0-beta.3",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "types": "dist/index.d.ts",

@@ -101,5 +101,5 @@ ![npm (tag)](https://img.shields.io/npm/v/@tenderly/hardhat-tenderly/latest?color=23C197&labelColor=060e18&style=for-the-badge)

For this plugin to function you need to create a `config.yaml` file at
`$HOME/.tenderly/config.yaml` or `%HOMEPATH%\.tenderly\config.yaml` and add an `access_token` field to it:
`$HOME/.tenderly/config.yaml` or `%HOMEPATH%\.tenderly\config.yaml` and add an `access_key` field to it:
```yaml
access_token: topsecretaccesstoken
access_key: topsecretaccesstoken
```

@@ -106,0 +106,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

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