diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5f8b241b..bca107b6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.41.0" + ".": "4.42.0" } diff --git a/.stats.yml b/.stats.yml index 26721953..fcff3ba6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 97 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-908960f165205e2874dd29322cc974df5ab10c7634ab9a342ab22047013de1b4.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-02151f7654870aee7820ee1c04659a469e6b67ac4977116334512c6b6e6a2016.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 10006852..54c7b1a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 4.42.0 (2024-12-17) + +Full Changelog: [v4.41.0...v4.42.0](https://github.com/orbcorp/orb-node/compare/v4.41.0...v4.42.0) + +### Features + +* **api:** api update ([#423](https://github.com/orbcorp/orb-node/issues/423)) ([b8c44bd](https://github.com/orbcorp/orb-node/commit/b8c44bdbf7fbfe584665e6462cb2d942572a98ed)) + + +### Chores + +* **internal:** fix some typos ([#421](https://github.com/orbcorp/orb-node/issues/421)) ([6924597](https://github.com/orbcorp/orb-node/commit/69245977847e1615f4e93b971b4b9741e67a2287)) + ## 4.41.0 (2024-12-12) Full Changelog: [v4.40.0...v4.41.0](https://github.com/orbcorp/orb-node/compare/v4.40.0...v4.41.0) diff --git a/package.json b/package.json index 74590c78..b929ac51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "4.41.0", + "version": "4.42.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/core.ts b/src/core.ts index bbbd87ae..01507926 100644 --- a/src/core.ts +++ b/src/core.ts @@ -163,7 +163,7 @@ export abstract class APIClient { maxRetries = 2, timeout = 60000, // 1 minute httpAgent, - fetch: overridenFetch, + fetch: overriddenFetch, }: { baseURL: string; maxRetries?: number | undefined; @@ -176,7 +176,7 @@ export abstract class APIClient { this.timeout = validatePositiveInteger('timeout', timeout); this.httpAgent = httpAgent; - this.fetch = overridenFetch ?? fetch; + this.fetch = overriddenFetch ?? fetch; } protected authHeaders(opts: FinalRequestOptions): Headers { diff --git a/src/resources/customers/credits/ledger.ts b/src/resources/customers/credits/ledger.ts index fdc64ae9..7844012b 100644 --- a/src/resources/customers/credits/ledger.ts +++ b/src/resources/customers/credits/ledger.ts @@ -123,10 +123,11 @@ export class Ledger extends APIResource { * will return a credit block that represents the changes (i.e. balance changes * or transfers). * 2. A ledger entry will be added to the credits ledger for this customer, and - * therefore returned in the [View Credits Ledger](fetch-customer-credits) - * response as well as serialized in the response to this request. In the case - * of deductions without a specified block, multiple ledger entries may be - * created if the deduction spans credit blocks. + * therefore returned in the + * [View Credits Ledger](fetch-customer-credits-ledger) response as well as + * serialized in the response to this request. In the case of deductions without + * a specified block, multiple ledger entries may be created if the deduction + * spans credit blocks. * 3. If `invoice_settings` is specified, an invoice will be created that reflects * the cost of the credits (based on `amount` and `per_unit_cost_basis`). * @@ -242,10 +243,11 @@ export class Ledger extends APIResource { * will return a credit block that represents the changes (i.e. balance changes * or transfers). * 2. A ledger entry will be added to the credits ledger for this customer, and - * therefore returned in the [View Credits Ledger](fetch-customer-credits) - * response as well as serialized in the response to this request. In the case - * of deductions without a specified block, multiple ledger entries may be - * created if the deduction spans credit blocks. + * therefore returned in the + * [View Credits Ledger](fetch-customer-credits-ledger) response as well as + * serialized in the response to this request. In the case of deductions without + * a specified block, multiple ledger entries may be created if the deduction + * spans credit blocks. * 3. If `invoice_settings` is specified, an invoice will be created that reflects * the cost of the credits (based on `amount` and `per_unit_cost_basis`). * diff --git a/src/version.ts b/src/version.ts index 1ab18091..c1a790c3 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.41.0'; // x-release-please-version +export const VERSION = '4.42.0'; // x-release-please-version diff --git a/tests/index.test.ts b/tests/index.test.ts index 9b8c6c65..e8fb5d03 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -177,7 +177,7 @@ describe('instantiate client', () => { expect(client.apiKey).toBe('My API Key'); }); - test('with overriden environment variable arguments', () => { + test('with overridden environment variable arguments', () => { // set options via env var process.env['ORB_API_KEY'] = 'another My API Key'; const client = new Orb({ apiKey: 'My API Key' });