@truffle/contract-schema
Advanced tools
Comparing version 3.0.15 to 3.0.16-migrate-describe.0
{ | ||
"name": "@truffle/contract-schema", | ||
"version": "3.0.15", | ||
"version": "3.0.16-migrate-describe.0", | ||
"description": "JSON schema for contract artifacts", | ||
@@ -42,3 +42,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "8e9210bc449edbd74867cf5b432122eb63100607" | ||
"gitHead": "1c74e3104627687fee6ee3a10795ff4c82322bba" | ||
} |
@@ -10,3 +10,3 @@ { | ||
"contractName": { | ||
"allOf": [{ "$ref": "#/definitions/ContractName" }], | ||
"$ref": "#/definitions/ContractName", | ||
"description": "Name used to identify the contract", | ||
@@ -16,3 +16,3 @@ "default": "Contract" | ||
"abi": { | ||
"allOf": [{ "$ref": "abi.spec.json#" }], | ||
"$ref": "abi.spec.json#", | ||
"description": "Interface description returned by compiler for source" | ||
@@ -22,15 +22,15 @@ }, | ||
"bytecode": { | ||
"allOf": [{ "$ref": "#/definitions/Bytecode" }], | ||
"$ref": "#/definitions/Bytecode", | ||
"description": "Bytecode sent as contract-creation transaction data, with unresolved link references" | ||
}, | ||
"deployedBytecode": { | ||
"allOf": [{ "$ref": "#/definitions/Bytecode" }], | ||
"description": "On-chain deployed contract bytecode, with unresolved link references" | ||
"$ref": "#/definitions/Bytecode", | ||
"description": "On-chain deployed contract bytecode, with unresolved link references" | ||
}, | ||
"sourceMap": { | ||
"allOf": [{ "$ref": "#/definitions/SourceMap" }], | ||
"$ref": "#/definitions/SourceMap", | ||
"description": "Source mapping for contract-creation transaction data bytecode" | ||
}, | ||
"deployedSourceMap": { | ||
"allOf": [{ "$ref": "#/definitions/SourceMap" }], | ||
"$ref": "#/definitions/SourceMap", | ||
"description": "Source mapping for contract bytecode" | ||
@@ -37,0 +37,0 @@ }, |
@@ -7,3 +7,5 @@ /** | ||
export type ContractName = string; | ||
/** | ||
* Interface description returned by compiler for source | ||
*/ | ||
export type Abi = ( | ||
@@ -69,4 +71,2 @@ | { | ||
export type Metadata = string; | ||
export type Bytecode = string; | ||
export type SourceMap = string; | ||
export type Source = string; | ||
@@ -83,6 +83,3 @@ export type SourcePath = string; | ||
*/ | ||
contractName?: ContractName; | ||
/** | ||
* Interface description returned by compiler for source | ||
*/ | ||
contractName?: string; | ||
abi: Abi; | ||
@@ -93,15 +90,15 @@ metadata?: Metadata; | ||
*/ | ||
bytecode?: Bytecode; | ||
bytecode?: string; | ||
/** | ||
* On-chain deployed contract bytecode, with unresolved link references | ||
*/ | ||
deployedBytecode?: Bytecode; | ||
deployedBytecode?: string; | ||
/** | ||
* Source mapping for contract-creation transaction data bytecode | ||
*/ | ||
sourceMap?: SourceMap; | ||
sourceMap?: string; | ||
/** | ||
* Source mapping for contract bytecode | ||
*/ | ||
deployedSourceMap?: SourceMap; | ||
deployedSourceMap?: string; | ||
source?: Source; | ||
@@ -108,0 +105,0 @@ sourcePath?: SourcePath; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
147748
3730
1