diff --git a/.changeset/proud-nails-smoke.md b/.changeset/proud-nails-smoke.md deleted file mode 100644 index d9ff9ef10..000000000 --- a/.changeset/proud-nails-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@voucherify/sdk': minor ---- - -Update axios to 1.6.5 in SDK package diff --git a/.changeset/right-po-voucherify.md b/.changeset/right-po-voucherify.md deleted file mode 100644 index a9778a938..000000000 --- a/.changeset/right-po-voucherify.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@voucherify/sdk': minor ---- - -Add support for few endpoints of Loyalties API. -- Added support for new endpoints: `POST /v1/qualifications`, `POST /client/v1/qualifications` [(examples of usage available in readme.md)](..%2F..%2Fpackages%2Fsdk%2FREADME.md) -- New exported types/interfaces: `InapplicableTo`, `Referrer`, `ReferrerWithSummaryLoyaltyReferrals`, `Customer`, `CustomerWithSummaryLoyaltyReferrals`, `CustomerSummary`, `CustomerSummaryRedemptions`, `CustomerSummaryOrders`, `CustomerLoyalty`, `CustomerReferrals`, `Discount`, `DiscountAmount_`, `DiscountUnit_`, `DiscountUnitBase_`, `DiscountUnitMultiple_`, `DiscountPercent_`, `DiscountFixed_`, `Order`, `OrderItem`, `OrderCalculated`, `OrderRedemptions`, `OrderItemCalculated`, `QualificationsCheckEligibilityRequestBody`, `QualificationsCheckEligibilityResponseBody`, `QualificationsFiltersFields`, `QualificationsFiltersCondition`, `QualificationsFieldConditions`, `QualificationsRedeemablesResponse`, `QualificationsStackingRulesResponse`, `QualificationsRedeemable`, `QualificationsRedeemableBase`, `RedeemableSingleResultResponse`, `ValidationRulesAssignmentsList`, -- Added optional properties to `ApplicableTo`: `product_id`, `product_source_id`, `quantity_limit`, `aggregated_quantity_limit`, `amount_limit`, `aggregated_amount_limit`, `order_item_indices` -- Added required property: `data_ref: 'data'` to `ApplicableToResultList` // NOTE: as this type is only used in responses, this is not a breaking change. -- Added optional properties to `CustomerRequest`: `birthday` and `birthdate` diff --git a/packages/react-widget/CHANGELOG.md b/packages/react-widget/CHANGELOG.md index 2c11c214d..bb6072168 100644 --- a/packages/react-widget/CHANGELOG.md +++ b/packages/react-widget/CHANGELOG.md @@ -1,5 +1,12 @@ # @voucherify/react-widget +## 2.7.0 + +### Patch Changes + +- Updated dependencies [[`32fa44a`](https://github.com/voucherifyio/voucherify-js-sdk/commit/32fa44ab17b21bda9daf953eaf4969d528c2d707), [`8df2fed`](https://github.com/voucherifyio/voucherify-js-sdk/commit/8df2fed2b4319f681d0ff17b9bb15e6bbf80dd7c)]: + - @voucherify/sdk@2.7.0 + ## 2.6.0 ### Patch Changes diff --git a/packages/react-widget/package.json b/packages/react-widget/package.json index c7d433bd9..960679e55 100644 --- a/packages/react-widget/package.json +++ b/packages/react-widget/package.json @@ -1,6 +1,6 @@ { "name": "@voucherify/react-widget", - "version": "2.6.0", + "version": "2.7.0", "description": "Official Voucherify React Widget", "author": "Voucherify", "license": "MIT", @@ -39,7 +39,7 @@ "react-dom": "^17.0.0" }, "dependencies": { - "@voucherify/sdk": "2.6.0" + "@voucherify/sdk": "2.7.0" }, "devDependencies": { "@types/react": "^17.0.0", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 3bb6e636b..3ec078af2 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,18 @@ # @voucherify/sdk +## 2.7.0 + +### Minor Changes + +- [`32fa44a`](https://github.com/voucherifyio/voucherify-js-sdk/commit/32fa44ab17b21bda9daf953eaf4969d528c2d707) [#255](https://github.com/voucherifyio/voucherify-js-sdk/pull/255) Thanks [@awilczek](https://github.com/awilczek)! - Update axios to 1.6.5 in SDK package + +* [`8df2fed`](https://github.com/voucherifyio/voucherify-js-sdk/commit/8df2fed2b4319f681d0ff17b9bb15e6bbf80dd7c) [#254](https://github.com/voucherifyio/voucherify-js-sdk/pull/254) Thanks [@p-zielinski](https://github.com/p-zielinski)! - Add support for few endpoints of Loyalties API. + - Added support for new endpoints: `POST /v1/qualifications`, `POST /client/v1/qualifications` [(examples of usage available in readme.md)](..%2F..%2Fpackages%2Fsdk%2FREADME.md) + - New exported types/interfaces: `InapplicableTo`, `Referrer`, `ReferrerWithSummaryLoyaltyReferrals`, `Customer`, `CustomerWithSummaryLoyaltyReferrals`, `CustomerSummary`, `CustomerSummaryRedemptions`, `CustomerSummaryOrders`, `CustomerLoyalty`, `CustomerReferrals`, `Discount`, `DiscountAmount_`, `DiscountUnit_`, `DiscountUnitBase_`, `DiscountUnitMultiple_`, `DiscountPercent_`, `DiscountFixed_`, `Order`, `OrderItem`, `OrderCalculated`, `OrderRedemptions`, `OrderItemCalculated`, `QualificationsCheckEligibilityRequestBody`, `QualificationsCheckEligibilityResponseBody`, `QualificationsFiltersFields`, `QualificationsFiltersCondition`, `QualificationsFieldConditions`, `QualificationsRedeemablesResponse`, `QualificationsStackingRulesResponse`, `QualificationsRedeemable`, `QualificationsRedeemableBase`, `RedeemableSingleResultResponse`, `ValidationRulesAssignmentsList`, + - Added optional properties to `ApplicableTo`: `product_id`, `product_source_id`, `quantity_limit`, `aggregated_quantity_limit`, `amount_limit`, `aggregated_amount_limit`, `order_item_indices` + - Added required property: `data_ref: 'data'` to `ApplicableToResultList` // NOTE: as this type is only used in responses, this is not a breaking change. + - Added optional properties to `CustomerRequest`: `birthday` and `birthdate` + ## 2.6.0 ### Minor Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index d53d564c3..0fa909b9a 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@voucherify/sdk", - "version": "2.6.0", + "version": "2.7.0", "description": "Official Voucherify JS SDK", "author": "Voucherify", "license": "MIT",