Comparing version 0.22.3 to 0.22.4
import { TypeKind } from "./enums"; | ||
import { toIdent } from "./util/genutil"; | ||
import { util } from "./util/util"; | ||
@@ -107,3 +108,3 @@ const typeCache = new Map(); | ||
for (const val of type.enum_values) { | ||
Object.defineProperty(scalarObj, val, { | ||
Object.defineProperty(scalarObj, toIdent(val), { | ||
get() { | ||
@@ -110,0 +111,0 @@ return literal(scalarObj, val); |
@@ -65,2 +65,2 @@ "use strict"; | ||
exports._plugJSBI = bigint_1.plugJSBI; | ||
exports._edgedbJsVersion = "0.22.3"; | ||
exports._edgedbJsVersion = "0.22.4"; |
@@ -5,2 +5,3 @@ "use strict"; | ||
const enums_1 = require("./enums"); | ||
const genutil_1 = require("./util/genutil"); | ||
const util_1 = require("./util/util"); | ||
@@ -111,3 +112,3 @@ const typeCache = new Map(); | ||
for (const val of type.enum_values) { | ||
Object.defineProperty(scalarObj, val, { | ||
Object.defineProperty(scalarObj, (0, genutil_1.toIdent)(val), { | ||
get() { | ||
@@ -114,0 +115,0 @@ return literal(scalarObj, val); |
{ | ||
"name": "edgedb", | ||
"version": "0.22.3", | ||
"version": "0.22.4", | ||
"description": "The official Node.js client library for EdgeDB", | ||
@@ -5,0 +5,0 @@ "homepage": "https://edgedb.com/docs", |
Sorry, the diff of this file is too big to display
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
2042725
31725