@ecadlabs/tezos-parser
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -8,2 +8,5 @@ "use strict"; | ||
} | ||
ParameterSchema.fromRPCResponse = function (val) { | ||
return new ParameterSchema(val.script.code.find(function (x) { return x.prim === 'parameter'; }).args[0]); | ||
}; | ||
ParameterSchema.prototype.Execute = function (val) { | ||
@@ -10,0 +13,0 @@ return this.root.Execute(val); |
@@ -23,2 +23,5 @@ "use strict"; | ||
} | ||
Schema.fromRPCResponse = function (val) { | ||
return new Schema(val.script.code.find(function (x) { return x.prim === 'storage'; }).args[0]); | ||
}; | ||
Schema.prototype.Execute = function (val) { | ||
@@ -25,0 +28,0 @@ return this.root.Execute(val); |
@@ -455,2 +455,5 @@ import { Buffer } from 'buffer'; | ||
} | ||
Schema.fromRPCResponse = function (val) { | ||
return new Schema(val.script.code.find(function (x) { return x.prim === 'storage'; }).args[0]); | ||
}; | ||
Schema.prototype.Execute = function (val) { | ||
@@ -498,2 +501,5 @@ return this.root.Execute(val); | ||
} | ||
ParameterSchema.fromRPCResponse = function (val) { | ||
return new ParameterSchema(val.script.code.find(function (x) { return x.prim === 'parameter'; }).args[0]); | ||
}; | ||
ParameterSchema.prototype.Execute = function (val) { | ||
@@ -500,0 +506,0 @@ return this.root.Execute(val); |
@@ -459,2 +459,5 @@ (function (global, factory) { | ||
} | ||
Schema.fromRPCResponse = function (val) { | ||
return new Schema(val.script.code.find(function (x) { return x.prim === 'storage'; }).args[0]); | ||
}; | ||
Schema.prototype.Execute = function (val) { | ||
@@ -502,2 +505,5 @@ return this.root.Execute(val); | ||
} | ||
ParameterSchema.fromRPCResponse = function (val) { | ||
return new ParameterSchema(val.script.code.find(function (x) { return x.prim === 'parameter'; }).args[0]); | ||
}; | ||
ParameterSchema.prototype.Execute = function (val) { | ||
@@ -504,0 +510,0 @@ return this.root.Execute(val); |
export declare class ParameterSchema { | ||
private root; | ||
static fromRPCResponse(val: any): ParameterSchema; | ||
constructor(val: any); | ||
@@ -4,0 +5,0 @@ Execute(val: any): any; |
@@ -5,2 +5,3 @@ import { RpcTransaction } from './model'; | ||
private bigMap?; | ||
static fromRPCResponse(val: any): Schema; | ||
constructor(val: any); | ||
@@ -7,0 +8,0 @@ Execute(val: any): any; |
{ | ||
"name": "@ecadlabs/tezos-parser", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
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
145923
2088