@hypermode/functions-as
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -20,1 +20,16 @@ import { graphql } from "."; | ||
} | ||
/** | ||
* @deprecated Import `graphql`, and use `graphql.Variables` instead. | ||
*/ | ||
export class QueryVariables { | ||
private qv: graphql.Variables = new graphql.Variables(); | ||
public set<T>(name: string, value: T): void { | ||
this.qv.set(name, value); | ||
} | ||
public toJSON(): string { | ||
return this.qv.toJSON(); | ||
} | ||
} |
{ | ||
"name": "@hypermode/functions-as", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Hypermode library for AssemblyScript functions", | ||
@@ -5,0 +5,0 @@ "author": "Hypermode, Inc.", |
75969
2311