@truffle/contract-schema
Advanced tools
Comparing version 3.0.17-alphaTez.0 to 3.0.17
@@ -66,5 +66,2 @@ var pkgVersion = require("./package.json").version; | ||
}, | ||
code: { | ||
sources: ["code"] | ||
}, | ||
bytecode: { | ||
@@ -142,2 +139,3 @@ sources: ["bytecode", "binary", "unlinked_binary", "evm.bytecode.object"], | ||
}, | ||
networkType: {}, | ||
devdoc: {}, | ||
@@ -144,0 +142,0 @@ userdoc: {} |
{ | ||
"name": "@truffle/contract-schema", | ||
"version": "3.0.17-alphaTez.0", | ||
"version": "3.0.17", | ||
"description": "JSON schema for contract artifacts", | ||
@@ -42,3 +42,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "6b8472aae37a5cd7bff9541816c51f10182e6e8d" | ||
"gitHead": "18f422dc3eb9c9bbd13d0bffe0db2ad33c24632d" | ||
} |
@@ -19,3 +19,2 @@ { | ||
"metadata": { "$ref": "#/definitions/Metadata" }, | ||
"code": { "$ref": "#/definitions/Code" }, | ||
"bytecode": { | ||
@@ -59,2 +58,3 @@ "$ref": "#/definitions/Bytecode", | ||
}, | ||
"networkType": { "$ref": "#/definitions/NetworkType" }, | ||
"devdoc": { "$ref": "#/definitions/NatSpec" }, | ||
@@ -91,3 +91,3 @@ "userdoc": { "$ref": "#/definitions/NatSpec" } | ||
"Code": { | ||
"NetworkType": { | ||
"type": "string" | ||
@@ -94,0 +94,0 @@ }, |
@@ -70,6 +70,6 @@ /** | ||
export type Metadata = string; | ||
export type Code = string; | ||
export type Source = string; | ||
export type SourcePath = string; | ||
export type SchemaVersion = string; | ||
export type NetworkType = string; | ||
@@ -86,3 +86,2 @@ /** | ||
metadata?: Metadata; | ||
code?: Code; | ||
/** | ||
@@ -118,2 +117,3 @@ * Bytecode sent as contract-creation transaction data, with unresolved link references | ||
updatedAt?: string; | ||
networkType?: NetworkType; | ||
devdoc?: NatSpec; | ||
@@ -120,0 +120,0 @@ userdoc?: NatSpec; |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
148714
18
3755
0
1