@planetscale/database
Advanced tools
Comparing version 1.17.0 to 1.18.0
@@ -16,3 +16,3 @@ import { decodeUtf8, uint8Array } from './text.js'; | ||
if (isJson(field)) { | ||
return JSON.parse(value); | ||
return JSON.parse(decodeUtf8(value)); | ||
} | ||
@@ -19,0 +19,0 @@ if (isIntegral(field)) { |
@@ -19,3 +19,3 @@ "use strict"; | ||
if (isJson(field)) { | ||
return JSON.parse(value); | ||
return JSON.parse((0, text_js_1.decodeUtf8)(value)); | ||
} | ||
@@ -22,0 +22,0 @@ if (isIntegral(field)) { |
@@ -1,1 +0,1 @@ | ||
export declare const Version = "1.17.0"; | ||
export declare const Version = "1.18.0"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Version = void 0; | ||
exports.Version = '1.17.0'; | ||
exports.Version = '1.18.0'; |
@@ -1,1 +0,1 @@ | ||
export declare const Version = "1.17.0"; | ||
export declare const Version = "1.18.0"; |
@@ -1,1 +0,1 @@ | ||
export const Version = '1.17.0'; | ||
export const Version = '1.18.0'; |
{ | ||
"name": "@planetscale/database", | ||
"version": "1.17.0", | ||
"version": "1.18.0", | ||
"description": "A Fetch API-compatible PlanetScale database driver", | ||
@@ -5,0 +5,0 @@ "files": [ |
49901