@wix/ads-txt
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -68,8 +68,8 @@ "use strict"; | ||
}; | ||
return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings })); | ||
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
/** Retrieves the Ads.txt file. */ | ||
function getAdsTxt(payload) { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getAdsTxtRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getAdsTxtResponse, {}); | ||
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getAdsTxtRequest, {}); | ||
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getAdsTxtResponse, {}); | ||
function __getAdsTxt({ host }) { | ||
@@ -84,3 +84,3 @@ const serializedData = toReq(payload); | ||
}), | ||
params: metro_runtime_1.toURLSearchParams(serializedData), | ||
params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
transformResponse: fromRes, | ||
@@ -100,4 +100,4 @@ }; | ||
function updateAdsTxt(payload) { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateAdsTxtRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_updateAdsTxtResponse, {}); | ||
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateAdsTxtRequest, {}); | ||
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_updateAdsTxtResponse, {}); | ||
function __updateAdsTxt({ host }) { | ||
@@ -126,4 +126,4 @@ const serializedData = toReq(payload); | ||
function appendAdsTxt(payload) { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_appendAdsTxtRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_appendAdsTxtResponse, {}); | ||
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_appendAdsTxtRequest, {}); | ||
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_appendAdsTxtResponse, {}); | ||
function __appendAdsTxt({ host }) { | ||
@@ -130,0 +130,0 @@ const serializedData = toReq(payload); |
@@ -6,3 +6,3 @@ "use strict"; | ||
function getAdsTxt(httpClient) { | ||
return (options) => promote_marketing_v2_ads_txt_universal_1.getAdsTxt(options, | ||
return (options) => (0, promote_marketing_v2_ads_txt_universal_1.getAdsTxt)(options, | ||
// @ts-ignore | ||
@@ -13,3 +13,3 @@ { httpClient }); | ||
function updateAdsTxt(httpClient) { | ||
return (options) => promote_marketing_v2_ads_txt_universal_1.updateAdsTxt(options, | ||
return (options) => (0, promote_marketing_v2_ads_txt_universal_1.updateAdsTxt)(options, | ||
// @ts-ignore | ||
@@ -20,3 +20,3 @@ { httpClient }); | ||
function appendAdsTxt(httpClient) { | ||
return (options) => promote_marketing_v2_ads_txt_universal_1.appendAdsTxt(options, | ||
return (options) => (0, promote_marketing_v2_ads_txt_universal_1.appendAdsTxt)(options, | ||
// @ts-ignore | ||
@@ -23,0 +23,0 @@ { httpClient }); |
@@ -68,3 +68,3 @@ "use strict"; | ||
const { httpClient, sideEffects } = arguments[1]; | ||
const { toAmbassadorRequest } = velo_1.serializer({ | ||
const { toAmbassadorRequest } = (0, velo_1.serializer)({ | ||
rootSchema: _getAdsTxtRequest, | ||
@@ -78,3 +78,3 @@ depSchemas: {}, | ||
}); | ||
const { fromJSON } = velo_1.serializer({ | ||
const { fromJSON } = (0, velo_1.serializer)({ | ||
rootSchema: _getAdsTxtResponse, | ||
@@ -98,3 +98,3 @@ depSchemas: {}, | ||
catch (err) { | ||
const transformedError = velo_1.transformError(err, requestTransformation, [ | ||
const transformedError = (0, velo_1.transformError)(err, requestTransformation, [ | ||
'options', | ||
@@ -122,3 +122,3 @@ ]); | ||
const { httpClient, sideEffects } = arguments[1]; | ||
const { toAmbassadorRequest } = velo_1.serializer({ | ||
const { toAmbassadorRequest } = (0, velo_1.serializer)({ | ||
rootSchema: _updateAdsTxtRequest, | ||
@@ -132,3 +132,3 @@ depSchemas: {}, | ||
}); | ||
const { fromJSON } = velo_1.serializer({ | ||
const { fromJSON } = (0, velo_1.serializer)({ | ||
rootSchema: _updateAdsTxtResponse, | ||
@@ -152,3 +152,3 @@ depSchemas: {}, | ||
catch (err) { | ||
const transformedError = velo_1.transformError(err, requestTransformation, [ | ||
const transformedError = (0, velo_1.transformError)(err, requestTransformation, [ | ||
'options', | ||
@@ -175,3 +175,3 @@ ]); | ||
const { httpClient, sideEffects } = arguments[1]; | ||
const { toAmbassadorRequest } = velo_1.serializer({ | ||
const { toAmbassadorRequest } = (0, velo_1.serializer)({ | ||
rootSchema: _appendAdsTxtRequest, | ||
@@ -185,3 +185,3 @@ depSchemas: {}, | ||
}); | ||
const { fromJSON } = velo_1.serializer({ | ||
const { fromJSON } = (0, velo_1.serializer)({ | ||
rootSchema: _appendAdsTxtResponse, | ||
@@ -205,3 +205,3 @@ depSchemas: {}, | ||
catch (err) { | ||
const transformedError = velo_1.transformError(err, requestTransformation, [ | ||
const transformedError = (0, velo_1.transformError)(err, requestTransformation, [ | ||
'options', | ||
@@ -208,0 +208,0 @@ ]); |
{ | ||
"name": "@wix/ads-txt", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"publishConfig": { | ||
@@ -36,3 +36,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "8bae29352427548797497b904054d0f07dae1bb46553cadceaed840b" | ||
"falconPackageHash": "5db1ede47ca8ef6a87007d669bf0ce17bc20007eeff192d54d5716a9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61600