New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0 to 0.3.1

1

lib-cjs/batch.js

@@ -51,2 +51,3 @@ "use strict";

#conditions;
/** @private */
_index;

@@ -53,0 +54,0 @@ /** @private */

@@ -6,2 +6,3 @@ "use strict";

class ClientError extends Error {
/** @private */
constructor(message) {

@@ -15,2 +16,3 @@ super(message);

class ProtoError extends ClientError {
/** @private */
constructor(message) {

@@ -24,3 +26,5 @@ super(message);

class ResponseError extends ClientError {
/** @internal */
proto;
/** @private */
constructor(message, protoError) {

@@ -36,2 +40,3 @@ super(message);

class ClosedError extends ClientError {
/** @private */
constructor(message, cause) {

@@ -38,0 +43,0 @@ super(message);

@@ -42,2 +42,3 @@ "use strict";

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

@@ -44,0 +45,0 @@ var stmt_js_1 = require("./stmt.js");

@@ -24,2 +24,3 @@ import type { Client, StreamState } from "./client.js";

#private;
/** @private */
_index: number | undefined;

@@ -26,0 +27,0 @@ /** @private */

@@ -47,2 +47,3 @@ import { ProtoError } from "./errors.js";

#conditions;
/** @private */
_index;

@@ -49,0 +50,0 @@ /** @private */

import type * as proto from "./proto.js";
/** Generic error produced by the Hrana client. */
export declare class ClientError extends Error {
/** @private */
constructor(message: string);

@@ -8,2 +9,3 @@ }

export declare class ProtoError extends ClientError {
/** @private */
constructor(message: string);

@@ -13,3 +15,5 @@ }

export declare class ResponseError extends ClientError {
/** @internal */
proto: proto.Error;
/** @private */
constructor(message: string, protoError: proto.Error);

@@ -19,3 +23,4 @@ }

export declare class ClosedError extends ClientError {
/** @private */
constructor(message: string, cause: Error);
}
/** Generic error produced by the Hrana client. */
export class ClientError extends Error {
/** @private */
constructor(message) {

@@ -10,2 +11,3 @@ super(message);

export class ProtoError extends ClientError {
/** @private */
constructor(message) {

@@ -18,3 +20,5 @@ super(message);

export class ResponseError extends ClientError {
/** @internal */
proto;
/** @private */
constructor(message, protoError) {

@@ -29,2 +33,3 @@ super(message);

export class ClosedError extends ClientError {
/** @private */
constructor(message, cause) {

@@ -31,0 +36,0 @@ super(message);

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

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

@@ -14,4 +15,5 @@ export type { StmtResult, RowsResult, RowResult, ValueResult, Row } from "./result.js";

export type { Value, InValue } from "./value.js";
/** @internal */
export type { proto };
/** Open a Hrana client connected to the given `url`. */
export declare function open(url: string | URL, jwt?: string): Client;

@@ -6,2 +6,3 @@ import WebSocket from "isomorphic-ws";

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

@@ -8,0 +9,0 @@ export { Stmt } from "./stmt.js";

2

package.json
{
"name": "@libsql/hrana-client",
"version": "0.3.0",
"version": "0.3.1",
"keywords": [

@@ -5,0 +5,0 @@ "hrana",

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