orb-billing
Advanced tools
Comparing version 1.24.1 to 1.24.2
# Changelog | ||
## 1.24.2 (2023-10-26) | ||
Full Changelog: [v1.24.1...v1.24.2](https://github.com/orbcorp/orb-node/compare/v1.24.1...v1.24.2) | ||
### Bug Fixes | ||
* **client:** include more detail in error messages ([#13](https://github.com/orbcorp/orb-node/issues/13)) ([178571c](https://github.com/orbcorp/orb-node/commit/178571c28fc3be1593670b0aaf5122cb60afb366)) | ||
## 1.24.1 (2023-10-26) | ||
@@ -4,0 +12,0 @@ |
22
error.js
@@ -179,3 +179,3 @@ "use strict"; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -191,3 +191,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -203,3 +203,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -216,3 +216,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -228,3 +228,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -240,3 +240,3 @@ this.title = data?.['title']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -252,3 +252,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -264,3 +264,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -276,3 +276,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -288,3 +288,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -300,3 +300,3 @@ this.type = data?.['type']; | ||
const data = error; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
this.status = data?.['status']; | ||
@@ -303,0 +303,0 @@ this.type = data?.['type']; |
{ | ||
"name": "orb-billing", | ||
"version": "1.24.1", | ||
"version": "1.24.2", | ||
"description": "Client library for the Orb API", | ||
@@ -5,0 +5,0 @@ "author": "Orb <team@withorb.com>", |
@@ -209,3 +209,3 @@ // File generated from our OpenAPI spec by Stainless. | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -235,3 +235,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -263,3 +263,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -290,3 +290,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -316,3 +316,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -342,3 +342,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -368,3 +368,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -394,3 +394,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -420,3 +420,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -446,3 +446,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -472,3 +472,3 @@ this.status = data?.['status']; | ||
const data = error as Record<string, any>; | ||
super(status, error, data?.['title'] || message, headers); | ||
super(status, error, message, headers); | ||
@@ -475,0 +475,0 @@ this.status = data?.['status']; |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '1.24.1'; // x-release-please-version | ||
export const VERSION = '1.24.2'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.24.1"; | ||
export declare const VERSION = "1.24.2"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '1.24.1'; // x-release-please-version | ||
exports.VERSION = '1.24.2'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2304436