defender-admin-client
Advanced tools
Comparing version 1.29.0-rc.0 to 1.29.0-rc.1
@@ -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)); |
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
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
116498
294