Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libsql/hrana-client

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libsql/hrana-client - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

lib-cjs/libsql_url.js

11

lib-cjs/errors.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebSocketUnsupportedError = exports.ClosedError = exports.ResponseError = exports.ProtoError = exports.ClientError = void 0;
exports.LibsqlUrlParseError = exports.WebSocketUnsupportedError = exports.ClosedError = exports.ResponseError = exports.ProtoError = exports.ClientError = void 0;
/** Generic error produced by the Hrana client. */

@@ -55,1 +55,10 @@ class ClientError extends Error {

exports.WebSocketUnsupportedError = WebSocketUnsupportedError;
/** Error thrown when a libsql URL is not valid. */
class LibsqlUrlParseError extends ClientError {
/** @private */
constructor(message) {
super(message);
this.name = "LibsqlUrlParseError";
}
}
exports.LibsqlUrlParseError = LibsqlUrlParseError;

4

lib-cjs/index.js

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.open = exports.Stream = exports.Stmt = exports.raw = exports.BatchCond = exports.BatchStep = exports.Batch = exports.Client = void 0;
exports.open = exports.Stream = exports.Stmt = exports.raw = exports.parseLibsqlUrl = exports.BatchCond = exports.BatchStep = exports.Batch = exports.Client = void 0;
const isomorphic_ws_1 = require("@libsql/isomorphic-ws");

@@ -41,2 +41,4 @@ const client_js_1 = require("./client.js");

Object.defineProperty(exports, "BatchCond", { enumerable: true, get: function () { return batch_js_1.BatchCond; } });
var libsql_url_js_1 = require("./libsql_url.js");
Object.defineProperty(exports, "parseLibsqlUrl", { enumerable: true, get: function () { return libsql_url_js_1.parseLibsqlUrl; } });
/** @internal */

@@ -43,0 +45,0 @@ exports.raw = __importStar(require("./raw.js"));

@@ -30,1 +30,6 @@ import type * as proto from "./proto.js";

}
/** Error thrown when a libsql URL is not valid. */
export declare class LibsqlUrlParseError extends ClientError {
/** @private */
constructor(message: string);
}

@@ -47,1 +47,9 @@ /** Generic error produced by the Hrana client. */

}
/** Error thrown when a libsql URL is not valid. */
export class LibsqlUrlParseError extends ClientError {
/** @private */
constructor(message) {
super(message);
this.name = "LibsqlUrlParseError";
}
}

@@ -7,2 +7,4 @@ /// <reference types="node" />

export { Batch, BatchStep, BatchCond } from "./batch.js";
export type { ParsedLibsqlUrl } from "./libsql_url.js";
export { parseLibsqlUrl } from "./libsql_url.js";
/** @internal */

@@ -9,0 +11,0 @@ export * as raw from "./raw.js";

@@ -7,2 +7,3 @@ import { WebSocket } from "@libsql/isomorphic-ws";

export { Batch, BatchStep, BatchCond } from "./batch.js";
export { parseLibsqlUrl } from "./libsql_url.js";
/** @internal */

@@ -9,0 +10,0 @@ export * as raw from "./raw.js";

{
"name": "@libsql/hrana-client",
"version": "0.3.6",
"version": "0.3.7",
"keywords": [

@@ -38,3 +38,3 @@ "hrana",

"clean": "rm -rf ./lib ./*.tsbuildinfo",
"prepublishOnly": "npm run build",
"prepublishOnly": "npm run clean-build",
"prebuild": "rm -rf ./lib-cjs ./lib-esm",

@@ -41,0 +41,0 @@ "build": "npm run build:cjs && npm run build:esm",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc