@epilot/pricing-client 2.1.7 → 2.1.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.
- package/dist/client.js +16 -1
- package/dist/index.js +1 -5
- package/package.json +4 -3
- package/CHANGELOG.md +0 -253
- package/package-lock.json +0 -19184
package/dist/client.js
CHANGED
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
exports.getClient = void 0;
|
|
18
|
+
var lambda_powertools_correlation_ids_1 = __importDefault(require("@dazn/lambda-powertools-correlation-ids"));
|
|
7
19
|
var openapi_client_axios_1 = __importDefault(require("openapi-client-axios"));
|
|
8
20
|
var definition_1 = __importDefault(require("./definition"));
|
|
9
21
|
var getClient = function () {
|
|
22
|
+
var _a;
|
|
10
23
|
var api = new openapi_client_axios_1.default({
|
|
11
24
|
definition: definition_1.default,
|
|
12
25
|
quick: true,
|
|
13
26
|
});
|
|
14
|
-
|
|
27
|
+
var apiClient = api.initSync();
|
|
28
|
+
apiClient.defaults.headers.common = __assign(__assign({}, ((_a = apiClient.defaults.headers.common) !== null && _a !== void 0 ? _a : {})), (lambda_powertools_correlation_ids_1.default.get() || {}));
|
|
29
|
+
return apiClient;
|
|
15
30
|
};
|
|
16
31
|
exports.getClient = getClient;
|
|
17
32
|
//# sourceMappingURL=client.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/pricing-client",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
4
4
|
"description": "Client for epilot Pricing APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -47,9 +47,10 @@
|
|
|
47
47
|
"axios": "^0.25.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
+
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
|
|
50
51
|
"buffer": "^6.0.3",
|
|
51
52
|
"https-browserify": "^1.0.0",
|
|
52
|
-
"openapi-client-axios": "^5.
|
|
53
|
+
"openapi-client-axios": "^5.3.0",
|
|
53
54
|
"stream-http": "^3.1.1",
|
|
54
55
|
"url": "^0.11.0",
|
|
55
56
|
"util": "^0.12.3"
|
|
@@ -69,5 +70,5 @@
|
|
|
69
70
|
"webpack": "~5.18.0",
|
|
70
71
|
"webpack-cli": "^4.4.0"
|
|
71
72
|
},
|
|
72
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "1cd202255ce447f3167d54b2589f6a90386850cb"
|
|
73
74
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [1.12.3](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.12.2...@epilot/pricing-client@1.12.3) (2022-05-11)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [1.12.2](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.12.2-alpha.0...@epilot/pricing-client@1.12.2) (2022-05-03)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Reverts
|
|
18
|
-
|
|
19
|
-
* Revert "chore(release): publish" ([79a1d35](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/79a1d359edd3d0bd3442a9dd3da293b40017d363))
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## [1.12.1](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.10.0...@epilot/pricing-client@1.12.1) (2022-04-28)
|
|
26
|
-
|
|
27
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# [1.10.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.9.0...@epilot/pricing-client@1.10.0) (2022-04-25)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Features
|
|
37
|
-
|
|
38
|
-
* prod availability ([ca41cc0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/ca41cc0f87823ffbc6936b3f8b1fe143e512a446))
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
# [1.9.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.8.0...@epilot/pricing-client@1.9.0) (2022-04-22)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
### Features
|
|
48
|
-
|
|
49
|
-
* support additional addresses for orders ([4db6f30](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/4db6f30428ed57233ceccb6d697288354d7b02db))
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
# [1.8.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.7.0...@epilot/pricing-client@1.8.0) (2022-04-08)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Features
|
|
59
|
-
|
|
60
|
-
* tracing for staging ([2182fed](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/2182fed2fec3fa108004dceef35ff3f2440bc816))
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
# [1.7.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.6.5...@epilot/pricing-client@1.7.0) (2022-04-07)
|
|
67
|
-
|
|
68
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
## [1.6.6-alpha.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.6.5...@epilot/pricing-client@1.6.6-alpha.0) (2022-04-07)
|
|
75
|
-
|
|
76
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## [1.6.5](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.6.4...@epilot/pricing-client@1.6.5) (2022-04-04)
|
|
83
|
-
|
|
84
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
## [1.6.4](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.6.3...@epilot/pricing-client@1.6.4) (2022-04-04)
|
|
91
|
-
|
|
92
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
## [1.6.3](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.6.2...@epilot/pricing-client@1.6.3) (2022-03-29)
|
|
99
|
-
|
|
100
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
## [1.6.2](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.4...@epilot/pricing-client@1.6.2) (2022-03-25)
|
|
107
|
-
|
|
108
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
## [1.6.1](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.7-alpha.0...@epilot/pricing-client@1.6.1) (2022-03-18)
|
|
115
|
-
|
|
116
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## [1.5.7-alpha.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.4...@epilot/pricing-client@1.5.7-alpha.0) (2022-03-16)
|
|
123
|
-
|
|
124
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
## [1.5.6](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.4...@epilot/pricing-client@1.5.6) (2022-03-12)
|
|
131
|
-
|
|
132
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## [1.5.5](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.4...@epilot/pricing-client@1.5.5) (2022-03-11)
|
|
139
|
-
|
|
140
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
## [1.5.4](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.2...@epilot/pricing-client@1.5.4) (2022-02-11)
|
|
147
|
-
|
|
148
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
## [1.5.2](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.1...@epilot/pricing-client@1.5.2) (2022-01-19)
|
|
155
|
-
|
|
156
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
## [1.5.1](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.5.0...@epilot/pricing-client@1.5.1) (2022-01-19)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
### Bug Fixes
|
|
166
|
-
|
|
167
|
-
* create opportunity api spec ([c1480fa](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/c1480fa810fb018e451773f1805988cad371b669))
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
# [1.5.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.3.1...@epilot/pricing-client@1.5.0) (2022-01-19)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
### Bug Fixes
|
|
177
|
-
|
|
178
|
-
* lock files ([cf87d25](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/cf87d25cb8de79b92e5d9da5904fd9e4ac612099))
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
### Features
|
|
182
|
-
|
|
183
|
-
* adds opportunity support ([d9cd33f](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/d9cd33fca52e62ae198a64b3fbb4479d41b24be4))
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
## [1.3.1](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.3.0...@epilot/pricing-client@1.3.1) (2022-01-19)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
### Bug Fixes
|
|
193
|
-
|
|
194
|
-
* bug generating orders and updates types with opportunity ([b8c6e64](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/b8c6e64d414edeb0d9f5b66f7554dea4c56539d9))
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
# [1.3.0](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.15...@epilot/pricing-client@1.3.0) (2022-01-03)
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
### Features
|
|
204
|
-
|
|
205
|
-
* adds support for files ([709e89f](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/commit/709e89f98064646d6111f76c2cde255490e5ed79))
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
## [1.2.15](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.14...@epilot/pricing-client@1.2.15) (2021-12-22)
|
|
212
|
-
|
|
213
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
## [1.2.14](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.13...@epilot/pricing-client@1.2.14) (2021-12-22)
|
|
220
|
-
|
|
221
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
## [1.2.13](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.12...@epilot/pricing-client@1.2.13) (2021-12-16)
|
|
228
|
-
|
|
229
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
## [1.2.12](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.11...@epilot/pricing-client@1.2.12) (2021-12-16)
|
|
236
|
-
|
|
237
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
## [1.2.11](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.10...@epilot/pricing-client@1.2.11) (2021-12-16)
|
|
244
|
-
|
|
245
|
-
**Note:** Version bump only for package @epilot/pricing-client
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
## [1.2.10](https://gitlab.com/e-pilot/product/checkout-and-pricing/pricing-api/compare/@epilot/pricing-client@1.2.9...@epilot/pricing-client@1.2.10) (2021-12-16)
|
|
252
|
-
|
|
253
|
-
**Note:** Version bump only for package @epilot/pricing-client
|