From 9aa1d46cab81da696c96526f4c80b700275ce633 Mon Sep 17 00:00:00 2001 From: fratzinger <22286818+fratzinger@users.noreply.github.com> Date: Fri, 2 Feb 2024 12:52:15 +0100 Subject: [PATCH] Updating changelog --- CHANGELOG.md | 12 ++++++++++-- test/error-handler.test.ts | 2 +- test/filter-params.test.ts | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 592f176..9d39fb5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,24 @@ ## [Unreleased](https://github.com/feathersjs-ecosystem/feathers-stripe/tree/HEAD) -[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-stripe/compare/v2.0.0...HEAD) +[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-stripe/compare/v3.0.0...HEAD) **Merged pull requests:** -- dove & typescript refactor [\#118](https://github.com/feathersjs-ecosystem/feathers-stripe/pull/118) ([fratzinger](https://github.com/fratzinger)) +- feat: search for customer and invoice [\#119](https://github.com/feathersjs-ecosystem/feathers-stripe/pull/119) ([TheNoim](https://github.com/TheNoim)) + +## [v3.0.0](https://github.com/feathersjs-ecosystem/feathers-stripe/tree/v3.0.0) (2024-02-02) + +[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-stripe/compare/v2.0.0...v3.0.0) ## [v2.0.0](https://github.com/feathersjs-ecosystem/feathers-stripe/tree/v2.0.0) (2023-08-31) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-stripe/compare/v1.0.1...v2.0.0) +**Merged pull requests:** + +- dove & typescript refactor [\#118](https://github.com/feathersjs-ecosystem/feathers-stripe/pull/118) ([fratzinger](https://github.com/fratzinger)) + ## [v1.0.1](https://github.com/feathersjs-ecosystem/feathers-stripe/tree/v1.0.1) (2022-03-23) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-stripe/compare/v1.0.0...v1.0.1) diff --git a/test/error-handler.test.ts b/test/error-handler.test.ts index 60131c6..33d2384 100644 --- a/test/error-handler.test.ts +++ b/test/error-handler.test.ts @@ -35,7 +35,7 @@ describe("handleError", () => { }); it("handles StripeConnectionError", () => { - error = new Stripe.errors.StripeConnectionError({ type: "api_error" }) + error = new Stripe.errors.StripeConnectionError({ type: "api_error" }); expect(() => service.handleError(error)).to.throw(Unavailable); }); diff --git a/test/filter-params.test.ts b/test/filter-params.test.ts index 7608702..626ee7d 100644 --- a/test/filter-params.test.ts +++ b/test/filter-params.test.ts @@ -18,7 +18,7 @@ describe("filterQuery", () => { it("replaces $limit with limit", () => { const query = service.filterQuery(params); expectTypeOf(query).toEqualTypeOf<{ limit: number; name: string }>(); - expectTypeOf(query).not.toHaveProperty('$limit'); + expectTypeOf(query).not.toHaveProperty("$limit"); // @ts-expect-error $limit should not exits anymore on this type expect(query.$limit).to.equal(undefined); expect(query.limit).to.equal(5);