Socket
Socket
Sign inDemoInstall

@truffle/contract-schema

Package Overview
Dependencies
Maintainers
6
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@truffle/contract-schema - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16-migrate-describe.0

4

package.json
{
"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;

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