@libsql/core
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -17,2 +17,3 @@ "use strict"; | ||
let syncUrl = config.syncUrl; | ||
let syncInterval = config.syncInterval; | ||
const intMode = "" + (config.intMode ?? "number"); | ||
@@ -28,2 +29,3 @@ if (intMode !== "number" && intMode !== "bigint" && intMode !== "string") { | ||
syncUrl, | ||
syncInterval, | ||
intMode, | ||
@@ -94,2 +96,3 @@ fetch: config.fetch, | ||
syncUrl, | ||
syncInterval, | ||
intMode, | ||
@@ -96,0 +99,0 @@ fetch: config.fetch, |
@@ -17,2 +17,4 @@ /** Configuration object for {@link createClient}. */ | ||
syncUrl?: string; | ||
/** Sync interval in seconds. */ | ||
syncInterval?: number; | ||
/** Enables or disables TLS for `libsql:` URLs. | ||
@@ -19,0 +21,0 @@ * |
@@ -11,2 +11,3 @@ import type { Config, IntMode } from "./api.js"; | ||
syncUrl: string | undefined; | ||
syncInterval: number | undefined; | ||
intMode: IntMode; | ||
@@ -13,0 +14,0 @@ fetch: Function | undefined; |
@@ -14,2 +14,3 @@ import { LibsqlError } from "./api.js"; | ||
let syncUrl = config.syncUrl; | ||
let syncInterval = config.syncInterval; | ||
const intMode = "" + (config.intMode ?? "number"); | ||
@@ -25,2 +26,3 @@ if (intMode !== "number" && intMode !== "bigint" && intMode !== "string") { | ||
syncUrl, | ||
syncInterval, | ||
intMode, | ||
@@ -91,2 +93,3 @@ fetch: config.fetch, | ||
syncUrl, | ||
syncInterval, | ||
intMode, | ||
@@ -93,0 +96,0 @@ fetch: config.fetch, |
{ | ||
"name": "@libsql/core", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "libsql", |
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
42657
1043