@01/as-virtual-code
Advanced tools
Comparing version 0.0.1-alpha6 to 0.0.1-alpha7
@@ -127,3 +127,3 @@ import { JSON } from "assemblyscript-json"; | ||
fromJSON(data: JSON.Obj): EvaluationPayload { | ||
static fromJSON(data: JSON.Obj): EvaluationPayload { | ||
if (data.isObj) { | ||
@@ -147,4 +147,4 @@ const code: JSON.Obj | null = data.get("code") as JSON.Obj; | ||
fromString(data: string): EvaluationPayload { | ||
return this.fromJSON(<JSON.Obj>JSON.parse(data)); | ||
static fromString(data: string): EvaluationPayload { | ||
return EvaluationPayload.fromJSON(<JSON.Obj>JSON.parse(data)); | ||
} | ||
@@ -151,0 +151,0 @@ } |
{ | ||
"name": "@01/as-virtual-code", | ||
"description": "JSON Based Virtual Code Evaluator written in AssemblyScript", | ||
"version": "0.0.1-alpha6", | ||
"version": "0.0.1-alpha7", | ||
"types": "assembly/index.ts", | ||
@@ -6,0 +6,0 @@ "private": false, |
151587