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

defender-admin-client

Package Overview
Dependencies
Maintainers
10
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

defender-admin-client - npm Package Compare versions

Comparing version 1.29.0-rc.0 to 1.29.0-rc.1

2

lib/api.js

@@ -69,2 +69,4 @@ "use strict";

async verifyDeployment(params) {
if (lodash_1.isEmpty(params.artifactUri) && (lodash_1.isEmpty(params.artifactPayload) || lodash_1.isEmpty(params.referenceUri)))
throw new Error(`Missing artifact in verification request. Either artifactPayload and referenceUri, or artifactUri must be included in the request.`);
return this.apiCall(async (api) => {

@@ -71,0 +73,0 @@ return (await api.post('/verifications', params));

9

lib/models/verification.d.ts
import { Network } from 'defender-base-client';
export declare type Address = string;
export interface VerificationRequest {
artifactUri: string;
artifactPayload?: string;
artifactUri?: string;
referenceUri?: string;
solidityFilePath: string;

@@ -10,5 +12,6 @@ contractName: string;

}
export declare type Verification = VerificationRequest & {
export declare type Verification = {
verificationId: string;
artifactUri: string;
artifactUri?: string;
referenceUri?: string;
solidityFilePath: string;

@@ -15,0 +18,0 @@ contractName: string;

{
"name": "defender-admin-client",
"version": "1.29.0-rc.0",
"version": "1.29.0-rc.1",
"description": "",

@@ -29,3 +29,3 @@ "main": "./lib/index.js",

},
"gitHead": "afe841f01ea914855a7e8a33ee1033c21114f381"
"gitHead": "01fab929c0e703a77c7f005d1bf12fab0e3d1d0a"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc