orb-billing
Advanced tools
Comparing version 4.15.1 to 4.16.0
# Changelog | ||
## 4.16.0 (2024-09-06) | ||
Full Changelog: [v4.15.1...v4.16.0](https://github.com/orbcorp/orb-node/compare/v4.15.1...v4.16.0) | ||
### Features | ||
* **api:** OpenAPI spec update via Stainless API ([#308](https://github.com/orbcorp/orb-node/issues/308)) ([6ff542e](https://github.com/orbcorp/orb-node/commit/6ff542e1e1f36fad4d9c92c891872113bcb50e63)) | ||
### Bug Fixes | ||
* **uploads:** avoid making redundant memory copies ([#309](https://github.com/orbcorp/orb-node/issues/309)) ([f626def](https://github.com/orbcorp/orb-node/commit/f626deff3d2af5dc08d0d9d44f9e91924750c0c6)) | ||
### Chores | ||
* **internal:** dependency updates ([#305](https://github.com/orbcorp/orb-node/issues/305)) ([b647ed0](https://github.com/orbcorp/orb-node/commit/b647ed07527e9b40d86c6262cd042f906b33abe4)) | ||
* **internal:** minor bump qs version ([#307](https://github.com/orbcorp/orb-node/issues/307)) ([e69ddaf](https://github.com/orbcorp/orb-node/commit/e69ddafc73d93581b55f05c0d86d521ecf030125)) | ||
## 4.15.1 (2024-09-05) | ||
@@ -4,0 +23,0 @@ |
{ | ||
"name": "orb-billing", | ||
"version": "4.15.1", | ||
"version": "4.16.0", | ||
"description": "The official TypeScript library for the Orb API", | ||
@@ -27,3 +27,3 @@ "author": "Orb <team@withorb.com>", | ||
"@types/node-fetch": "^2.6.4", | ||
"@types/qs": "^6.9.7", | ||
"@types/qs": "^6.9.15", | ||
"abort-controller": "^3.0.0", | ||
@@ -30,0 +30,0 @@ "agentkeepalive": "^4.2.1", |
@@ -110,4 +110,6 @@ import { type RequestOptions } from './core'; | ||
// Use the file's options if there isn't one provided | ||
options ??= isFileLike(value) ? { lastModified: value.lastModified, type: value.type } : {}; | ||
// If we've been given a `File` we don't need to do anything | ||
if (isFileLike(value)) { | ||
return value; | ||
} | ||
@@ -130,3 +132,3 @@ if (isResponseLike(value)) { | ||
if (!options.type) { | ||
if (!options?.type) { | ||
const type = (bits[0] as any)?.type; | ||
@@ -133,0 +135,0 @@ if (typeof type === 'string') { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '4.15.1'; // x-release-please-version | ||
export const VERSION = '4.16.0'; // x-release-please-version |
@@ -46,4 +46,6 @@ "use strict"; | ||
value = await value; | ||
// Use the file's options if there isn't one provided | ||
options ?? (options = (0, exports.isFileLike)(value) ? { lastModified: value.lastModified, type: value.type } : {}); | ||
// If we've been given a `File` we don't need to do anything | ||
if ((0, exports.isFileLike)(value)) { | ||
return value; | ||
} | ||
if ((0, exports.isResponseLike)(value)) { | ||
@@ -60,3 +62,3 @@ const blob = await value.blob(); | ||
name || (name = getName(value) ?? 'unknown_file'); | ||
if (!options.type) { | ||
if (!options?.type) { | ||
const type = bits[0]?.type; | ||
@@ -63,0 +65,0 @@ if (typeof type === 'string') { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.15.1"; | ||
export declare const VERSION = "4.16.0"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '4.15.1'; // x-release-please-version | ||
exports.VERSION = '4.16.0'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is too big to display
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 too big to display
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
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
3128793
58893
Updated@types/qs@^6.9.15