@voucherify/sdk 1.2.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/README.md +129 -129
- package/dist/AsyncActions.d.ts +2 -2
- package/dist/Balance.d.ts +1 -1
- package/dist/Campaigns.d.ts +9 -9
- package/dist/ClientSide.d.ts +8 -8
- package/dist/Consents.d.ts +1 -1
- package/dist/Customers.d.ts +6 -6
- package/dist/Distributions.d.ts +2 -2
- package/dist/Events.d.ts +3 -0
- package/dist/Exports.d.ts +3 -3
- package/dist/Loyalties.d.ts +19 -19
- package/dist/Orders.d.ts +4 -4
- package/dist/Products.d.ts +14 -14
- package/dist/PromotionTiers.d.ts +6 -6
- package/dist/Promotions.d.ts +2 -2
- package/dist/Redemptions.d.ts +5 -5
- package/dist/Rewards.d.ts +8 -8
- package/dist/Segments.d.ts +4 -4
- package/dist/ValidationRules.d.ts +8 -8
- package/dist/Validations.d.ts +1 -1
- package/dist/VoucherifyClientSide.d.ts +2 -2
- package/dist/VoucherifyServerSide.d.ts +3 -3
- package/dist/Vouchers.d.ts +14 -13
- package/dist/helpers.d.ts +0 -1
- package/dist/types/Campaigns.d.ts +3 -0
- package/dist/types/Products.d.ts +7 -9
- package/dist/types/Vouchers.d.ts +12 -15
- package/dist/voucherifysdk.esm.js +136 -160
- package/dist/voucherifysdk.esm.js.map +1 -1
- package/dist/voucherifysdk.umd.development.js +136 -160
- package/dist/voucherifysdk.umd.development.js.map +1 -1
- package/dist/voucherifysdk.umd.production.min.js +1 -1
- package/dist/voucherifysdk.umd.production.min.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
# @voucherify/sdk
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`532e82b`](https://github.com/voucherifyio/voucherify-js-sdk/commit/532e82b2bd3a5991a0fd83af2edc226c6c98c680) [#105](https://github.com/voucherifyio/voucherify-js-sdk/pull/105) Thanks [@jfougere](https://github.com/jfougere)! - Fix missing session attributes in client side validation request
|
|
8
|
+
|
|
9
|
+
## 2.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [`c5c8b97`](https://github.com/voucherifyio/voucherify-js-sdk/commit/c5c8b97ac9aa230ed77012c2782643df7caf119b) [#93](https://github.com/voucherifyio/voucherify-js-sdk/pull/93) Thanks [@awilczek](https://github.com/awilczek)! - Support new async API methods
|
|
14
|
+
|
|
15
|
+
Changes:
|
|
16
|
+
|
|
17
|
+
- Campaign vouchers import
|
|
18
|
+
- added CampaignsVouchersImportResponse
|
|
19
|
+
- Vouchers import
|
|
20
|
+
- added VouchersImportResponse
|
|
21
|
+
- Vouchers bulkUpdate
|
|
22
|
+
- using new API method
|
|
23
|
+
- **BREAKING** change of VouchersBulkUpdateResponse
|
|
24
|
+
- **BREAKING** obligatory 'metadata' field in VouchersBulkUpdateObject
|
|
25
|
+
- Vouchers bulkUpdateMetadata
|
|
26
|
+
- using new API method
|
|
27
|
+
- **BREAKING** change of VouchersBulkUpdateMetadataResponse
|
|
28
|
+
- **BREAKING** obligatory 'metadata' field in VouchersBulkUpdateMetadata
|
|
29
|
+
- Products bulkUpdate
|
|
30
|
+
- using [new API method](https://docs.voucherify.io/reference/post-products-in-bulk)
|
|
31
|
+
- **BREAKING** change of ProductsBulkUpdateResponse
|
|
32
|
+
- Products bulkUpdateMetadata
|
|
33
|
+
- using [new API method](https://docs.voucherify.io/reference/async-update-products-metadata-in-bulk)
|
|
34
|
+
- **BREAKING** change of method name
|
|
35
|
+
- **BREAKING** change of ProductsBulkUpdateMetadataResponse
|
|
36
|
+
- Products getSku
|
|
37
|
+
- using [new API method](https://docs.voucherify.io/reference/get-sku-v20210726)
|
|
38
|
+
- **BREAKING** change of method params
|
|
39
|
+
- changed in CR fixes
|
|
40
|
+
|
|
41
|
+
## 1.3.1
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- [`8ff9b8d`](https://github.com/voucherifyio/voucherify-js-sdk/commit/8ff9b8d6e2535b524b2d5707a69ffd3ced4b2254) [#95](https://github.com/voucherifyio/voucherify-js-sdk/pull/95) Thanks [@pannga](https://github.com/pannga)! - Version 1.3.0 enabled encoding in RequestController - it was used to fix encoding for both server side and client side SDKs. This introduced issue, as we did not notice that ClientSide get methods were explicitly encoding query params (toQueryParams function). That meant the query params were encoded twice and that lead to issues with characters such as %.
|
|
46
|
+
|
|
47
|
+
## 1.3.0
|
|
48
|
+
|
|
49
|
+
### Minor Changes
|
|
50
|
+
|
|
51
|
+
- [`bc0b14b`](https://github.com/voucherifyio/voucherify-js-sdk/commit/bc0b14b56c3b91896e0fbf50e040cee11b24bc4e) [#91](https://github.com/voucherifyio/voucherify-js-sdk/pull/91) Thanks [@pannga](https://github.com/pannga)! - Fixed wrong Qs arrayFormat
|
|
52
|
+
|
|
3
53
|
## 1.2.0
|
|
4
54
|
|
|
5
55
|
### Minor Changes
|