@voucherify/sdk 2.9.0 → 2.9.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 +8 -0
- package/README.md +1 -1
- package/dist/types/Loyalties.d.ts +2 -0
- package/dist/types/Orders.d.ts +1 -1
- package/dist/types/Vouchers.d.ts +3 -0
- package/dist/voucherifysdk.esm.js +3 -2
- package/dist/voucherifysdk.esm.js.map +1 -1
- package/dist/voucherifysdk.umd.development.js +3 -2
- 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
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
this.timeoutMs = timeoutMs;
|
|
86
86
|
this.request = axios.create({
|
|
87
87
|
baseURL: `${this.baseURL}/${this.basePath}/`,
|
|
88
|
+
allowAbsoluteUrls: false,
|
|
88
89
|
headers: this.headers,
|
|
89
90
|
responseType: 'json'
|
|
90
91
|
});
|
|
@@ -1972,7 +1973,7 @@
|
|
|
1972
1973
|
let headers = {
|
|
1973
1974
|
'X-App-Id': options.applicationId,
|
|
1974
1975
|
'X-App-Token': options.secretKey,
|
|
1975
|
-
'X-Voucherify-Channel': options.channel || `${environment()}-SDK-v${"2.9.
|
|
1976
|
+
'X-Voucherify-Channel': options.channel || `${environment()}-SDK-v${"2.9.1"}`,
|
|
1976
1977
|
'Content-Type': 'application/json'
|
|
1977
1978
|
};
|
|
1978
1979
|
|
|
@@ -2238,7 +2239,7 @@
|
|
|
2238
2239
|
let headers = {
|
|
2239
2240
|
'X-Client-Application-Id': options.clientApplicationId,
|
|
2240
2241
|
'X-Client-Token': options.clientSecretKey,
|
|
2241
|
-
'X-Voucherify-Channel': `${environment()}-ClientSide-SDK-v${"2.9.
|
|
2242
|
+
'X-Voucherify-Channel': `${environment()}-ClientSide-SDK-v${"2.9.1"}`
|
|
2242
2243
|
};
|
|
2243
2244
|
|
|
2244
2245
|
if (environment().startsWith('Node')) {
|