@libsql/hrana-client
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -24,2 +24,3 @@ "use strict"; | ||
class ResponseError extends ClientError { | ||
code; | ||
/** @internal */ | ||
@@ -31,2 +32,3 @@ proto; | ||
this.name = "ResponseError"; | ||
this.code = protoError["code"] ?? undefined; | ||
this.proto = protoError; | ||
@@ -33,0 +35,0 @@ this.stack = undefined; |
@@ -14,2 +14,3 @@ import type * as proto from "./proto.js"; | ||
export declare class ResponseError extends ClientError { | ||
code: string | undefined; | ||
/** @internal */ | ||
@@ -16,0 +17,0 @@ proto: proto.Error; |
@@ -19,2 +19,3 @@ /** Generic error produced by the Hrana client. */ | ||
export class ResponseError extends ClientError { | ||
code; | ||
/** @internal */ | ||
@@ -26,2 +27,3 @@ proto; | ||
this.name = "ResponseError"; | ||
this.code = protoError["code"] ?? undefined; | ||
this.proto = protoError; | ||
@@ -28,0 +30,0 @@ this.stack = undefined; |
@@ -32,2 +32,3 @@ export type int32 = number; | ||
"message": string; | ||
"code"?: string | null; | ||
}; | ||
@@ -34,0 +35,0 @@ export type Request = OpenStreamReq | CloseStreamReq | ExecuteReq | BatchReq; |
{ | ||
"name": "@libsql/hrana-client", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"keywords": [ | ||
@@ -38,2 +38,3 @@ "hrana", | ||
"clean": "rm -rf ./lib ./*.tsbuildinfo", | ||
"prepublishOnly": "npm run build", | ||
"prebuild": "rm -rf ./lib-cjs ./lib-esm", | ||
@@ -40,0 +41,0 @@ "build": "npm run build:cjs && npm run build:esm", |
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
76579
1933