@voucherify/sdk 2.7.0 → 2.7.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.
@@ -34,6 +34,7 @@
34
34
  this.related_object_ids = void 0;
35
35
  this.related_object_type = void 0;
36
36
  this.related_object_total = void 0;
37
+ this.error = void 0;
37
38
  this.cause = void 0;
38
39
  this.code = body.code;
39
40
  this.key = body.key;
@@ -44,6 +45,7 @@
44
45
  this.related_object_ids = body.related_object_ids;
45
46
  this.related_object_type = body.related_object_type;
46
47
  this.related_object_total = body.related_object_total;
48
+ this.error = body.error;
47
49
  this.cause = axiosError;
48
50
  }
49
51
 
@@ -1946,7 +1948,7 @@
1946
1948
  let headers = {
1947
1949
  'X-App-Id': options.applicationId,
1948
1950
  'X-App-Token': options.secretKey,
1949
- 'X-Voucherify-Channel': options.channel || `${environment()}-SDK-v${"2.7.0"}`,
1951
+ 'X-Voucherify-Channel': options.channel || `${environment()}-SDK-v${"2.7.1"}`,
1950
1952
  'Content-Type': 'application/json'
1951
1953
  };
1952
1954
 
@@ -2212,7 +2214,7 @@
2212
2214
  let headers = {
2213
2215
  'X-Client-Application-Id': options.clientApplicationId,
2214
2216
  'X-Client-Token': options.clientSecretKey,
2215
- 'X-Voucherify-Channel': `${environment()}-ClientSide-SDK-v${"2.7.0"}`
2217
+ 'X-Voucherify-Channel': `${environment()}-ClientSide-SDK-v${"2.7.1"}`
2216
2218
  };
2217
2219
 
2218
2220
  if (environment().startsWith('Node')) {