@planetscale/database
Advanced tools
Comparing version 1.13.0 to 1.14.0
@@ -63,3 +63,3 @@ export { format } from './sanitization.js'; | ||
export declare class Client { | ||
private config; | ||
readonly config: Config; | ||
constructor(config: Config); | ||
@@ -91,3 +91,3 @@ transaction<T>(fn: (tx: Transaction) => Promise<T>): Promise<T>; | ||
export declare class Connection { | ||
private config; | ||
readonly config: Config; | ||
private session; | ||
@@ -94,0 +94,0 @@ private url; |
@@ -26,3 +26,3 @@ "use strict"; | ||
} | ||
if (typeof value === 'number') { | ||
if (['number', 'bigint'].includes(typeof value)) { | ||
return String(value); | ||
@@ -29,0 +29,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const Version = "1.13.0"; | ||
export declare const Version = "1.14.0"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Version = void 0; | ||
exports.Version = '1.13.0'; | ||
exports.Version = '1.14.0'; |
@@ -63,3 +63,3 @@ export { format } from './sanitization.js'; | ||
export declare class Client { | ||
private config; | ||
readonly config: Config; | ||
constructor(config: Config); | ||
@@ -91,3 +91,3 @@ transaction<T>(fn: (tx: Transaction) => Promise<T>): Promise<T>; | ||
export declare class Connection { | ||
private config; | ||
readonly config: Config; | ||
private session; | ||
@@ -94,0 +94,0 @@ private url; |
@@ -22,3 +22,3 @@ export function format(query, values) { | ||
} | ||
if (typeof value === 'number') { | ||
if (['number', 'bigint'].includes(typeof value)) { | ||
return String(value); | ||
@@ -25,0 +25,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const Version = "1.13.0"; | ||
export declare const Version = "1.14.0"; |
@@ -1,1 +0,1 @@ | ||
export const Version = '1.13.0'; | ||
export const Version = '1.14.0'; |
{ | ||
"name": "@planetscale/database", | ||
"version": "1.13.0", | ||
"version": "1.14.0", | ||
"description": "A Fetch API-compatible PlanetScale database driver", | ||
@@ -5,0 +5,0 @@ "files": [ |
47236