@tap-payments/apple-pay-button 0.0.46-development → 0.0.47-development
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/build/api/app.service.d.ts +13 -2
- package/build/api/app.service.js +12 -1
- package/package.json +1 -1
|
@@ -14,8 +14,19 @@ declare class APPService extends BaseService {
|
|
|
14
14
|
pk: string;
|
|
15
15
|
domain: string;
|
|
16
16
|
}): Promise<void>;
|
|
17
|
-
getHttpHeaders(): Promise<
|
|
18
|
-
[
|
|
17
|
+
getHttpHeaders(): Promise<{
|
|
18
|
+
[x: string]: (string | number | boolean | string[] | import("axios").AxiosHeaders | null) | undefined;
|
|
19
|
+
head?: import("axios").AxiosHeaders | undefined;
|
|
20
|
+
link?: import("axios").AxiosHeaders | undefined;
|
|
21
|
+
get?: import("axios").AxiosHeaders | undefined;
|
|
22
|
+
delete?: import("axios").AxiosHeaders | undefined;
|
|
23
|
+
options?: import("axios").AxiosHeaders | undefined;
|
|
24
|
+
post?: import("axios").AxiosHeaders | undefined;
|
|
25
|
+
put?: import("axios").AxiosHeaders | undefined;
|
|
26
|
+
patch?: import("axios").AxiosHeaders | undefined;
|
|
27
|
+
purge?: import("axios").AxiosHeaders | undefined;
|
|
28
|
+
unlink?: import("axios").AxiosHeaders | undefined;
|
|
29
|
+
common?: import("axios").AxiosHeaders | undefined;
|
|
19
30
|
}>;
|
|
20
31
|
checkoutProfile(request: CheckoutProfileRequest): Promise<{
|
|
21
32
|
merchant: any;
|
package/build/api/app.service.js
CHANGED
|
@@ -13,6 +13,17 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
13
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
14
|
};
|
|
15
15
|
})();
|
|
16
|
+
var __assign = (this && this.__assign) || function () {
|
|
17
|
+
__assign = Object.assign || function(t) {
|
|
18
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19
|
+
s = arguments[i];
|
|
20
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
21
|
+
t[p] = s[p];
|
|
22
|
+
}
|
|
23
|
+
return t;
|
|
24
|
+
};
|
|
25
|
+
return __assign.apply(this, arguments);
|
|
26
|
+
};
|
|
16
27
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17
28
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
29
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -200,7 +211,7 @@ var APPService = (function (_super) {
|
|
|
200
211
|
value: function () {
|
|
201
212
|
return __awaiter(this, void 0, void 0, function () {
|
|
202
213
|
return __generator(this, function (_a) {
|
|
203
|
-
return [2, httpClient.defaults.headers];
|
|
214
|
+
return [2, __assign({}, httpClient.defaults.headers.common)];
|
|
204
215
|
});
|
|
205
216
|
});
|
|
206
217
|
}
|