@vendit-dev/thirdparty-adapters 0.4.0-beta.8 → 0.4.0-beta.9

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.
@@ -95,7 +95,9 @@ var AmanoKoreaAdapter = /** @class */ (function () {
95
95
  parsedCredential = this.parseJSONSafe(existingAuth);
96
96
  console.log('🚀 ~ file: amanoKorea.ts:111 ~ AmanoKoreaAdapter ~ parsedCredential:', parsedCredential);
97
97
  if (parsedCredential === null || parsedCredential === void 0 ? void 0 : parsedCredential.authorization) {
98
- this.setAuthorization(parsedCredential.authorization);
98
+ this.setAuthorization({
99
+ authorization: parsedCredential.authorization,
100
+ });
99
101
  this.API_HOST = parsedCredential.apiHost;
100
102
  }
101
103
  return [2 /*return*/, this.parseJSONSafe(existingAuth)];
@@ -114,7 +116,9 @@ var AmanoKoreaAdapter = /** @class */ (function () {
114
116
  parsedCredential_1 = this.parseJSONSafe(existingAuth);
115
117
  console.log('🚀 ~ file: amanoKorea.ts:124 ~ AmanoKoreaAdapter ~ parsedCredential:', parsedCredential_1);
116
118
  if (parsedCredential_1 === null || parsedCredential_1 === void 0 ? void 0 : parsedCredential_1.authorization) {
117
- this.setAuthorization(parsedCredential_1.authorization);
119
+ this.setAuthorization({
120
+ authorization: parsedCredential_1.authorization,
121
+ });
118
122
  this.API_HOST = parsedCredential_1.apiHost;
119
123
  }
120
124
  return [2 /*return*/, this.parseJSONSafe(existingAuth)];
@@ -134,7 +138,9 @@ var AmanoKoreaAdapter = /** @class */ (function () {
134
138
  parsedCredential = this.parseJSONSafe(newAuth.credential);
135
139
  console.log('🚀 ~ file: amanoKorea.ts:151 ~ AmanoKoreaAdapter ~ parsedCredential:', parsedCredential);
136
140
  if (parsedCredential === null || parsedCredential === void 0 ? void 0 : parsedCredential.authorization) {
137
- this.setAuthorization(parsedCredential.authorization);
141
+ this.setAuthorization({
142
+ authorization: parsedCredential.authorization,
143
+ });
138
144
  this.API_HOST = parsedCredential.apiHost;
139
145
  }
140
146
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendit-dev/thirdparty-adapters",
3
- "version": "0.4.0-beta.8",
3
+ "version": "0.4.0-beta.9",
4
4
  "description": "Third party adapters between v-cloud and other PMS/CMS providers.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {