diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e99be4da..e06494c6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.50.0" + ".": "4.50.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index bfcc3e15..7d8baa4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.50.1 (2025-01-21) + +Full Changelog: [v4.50.0...v4.50.1](https://github.com/orbcorp/orb-node/compare/v4.50.0...v4.50.1) + +### Chores + +* **internal:** add test ([#475](https://github.com/orbcorp/orb-node/issues/475)) ([3654805](https://github.com/orbcorp/orb-node/commit/3654805e3427da36e0b1bf0c0cb08548a70ab8ee)) + ## 4.50.0 (2025-01-18) Full Changelog: [v4.49.0...v4.50.0](https://github.com/orbcorp/orb-node/compare/v4.49.0...v4.50.0) diff --git a/package.json b/package.json index 1cf78c99..174b852f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "4.50.0", + "version": "4.50.1", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 44f8e47e..2fce92da 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.50.0'; // x-release-please-version +export const VERSION = '4.50.1'; // x-release-please-version diff --git a/tests/index.test.ts b/tests/index.test.ts index 4c4b1ef4..3e2a325a 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -96,6 +96,11 @@ describe('instantiate client', () => { expect(response).toEqual({ url: 'http://localhost:5000/foo', custom: true }); }); + test('explicit global fetch', async () => { + // make sure the global fetch type is assignable to our Fetch type + const client = new Orb({ baseURL: 'http://localhost:5000/', apiKey: 'My API Key', fetch: defaultFetch }); + }); + test('custom signal', async () => { const client = new Orb({ baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010',