@wix/app-market
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -73,8 +73,8 @@ "use strict"; | ||
}; | ||
return metro_runtime_1.resolveUrl(Object.assign(opts, { domainToMappings })); | ||
return (0, metro_runtime_1.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
/** Submit a BI event to Wix. */ | ||
function sendBiEvent(payload) { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_sendBIEventRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_sendBIEventResponse, {}); | ||
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_sendBIEventRequest, {}); | ||
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_sendBIEventResponse, {}); | ||
function __sendBiEvent({ host }) { | ||
@@ -81,0 +81,0 @@ const serializedData = toReq(payload); |
@@ -6,3 +6,3 @@ "use strict"; | ||
function sendBiEvent(httpClient) { | ||
return (options) => devcenter_bi_events_v1_send_bi_event_response_universal_1.sendBiEvent(options, | ||
return (options) => (0, devcenter_bi_events_v1_send_bi_event_response_universal_1.sendBiEvent)(options, | ||
// @ts-ignore | ||
@@ -9,0 +9,0 @@ { httpClient }); |
@@ -78,3 +78,3 @@ "use strict"; | ||
const httpClient = arguments[1].httpClient; | ||
const { toAmbassadorRequest } = velo_1.serializer({ | ||
const { toAmbassadorRequest } = (0, velo_1.serializer)({ | ||
rootSchema: _sendBIEventRequest, | ||
@@ -88,3 +88,3 @@ depSchemas: {}, | ||
}); | ||
const { fromJSON } = velo_1.serializer({ | ||
const { fromJSON } = (0, velo_1.serializer)({ | ||
rootSchema: _sendBIEventResponse, | ||
@@ -106,3 +106,3 @@ depSchemas: {}, | ||
catch (err) { | ||
const transformedError = velo_1.transformError(err, requestTransformation, [ | ||
const transformedError = (0, velo_1.transformError)(err, requestTransformation, [ | ||
'options', | ||
@@ -109,0 +109,0 @@ ]); |
@@ -78,3 +78,3 @@ "use strict"; | ||
}; | ||
return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings })); | ||
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
@@ -87,6 +87,6 @@ /** | ||
function getUrl(payload) { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getUrlRequest, { | ||
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getUrlRequest, { | ||
_chargeOverride, | ||
}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getUrlResponse, {}); | ||
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getUrlResponse, {}); | ||
function __getUrl({ host }) { | ||
@@ -115,4 +115,4 @@ const serializedData = toReq(payload); | ||
function getPurchaseHistory(payload) { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getPurchaseHistoryRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getPurchaseHistoryResponse, { | ||
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getPurchaseHistoryRequest, {}); | ||
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getPurchaseHistoryResponse, { | ||
_purchasedItem, | ||
@@ -129,3 +129,3 @@ }); | ||
}), | ||
params: metro_runtime_1.toURLSearchParams(serializedData), | ||
params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
transformResponse: fromRes, | ||
@@ -132,0 +132,0 @@ }; |
@@ -6,3 +6,3 @@ "use strict"; | ||
function getUrl(httpClient) { | ||
return (productId, options) => devcenter_checkout_v1_purchased_item_universal_1.getUrl(productId, options, | ||
return (productId, options) => (0, devcenter_checkout_v1_purchased_item_universal_1.getUrl)(productId, options, | ||
// @ts-ignore | ||
@@ -13,3 +13,3 @@ { httpClient }); | ||
function getPurchaseHistory(httpClient) { | ||
return () => devcenter_checkout_v1_purchased_item_universal_1.getPurchaseHistory( | ||
return () => (0, devcenter_checkout_v1_purchased_item_universal_1.getPurchaseHistory)( | ||
// @ts-ignore | ||
@@ -16,0 +16,0 @@ { httpClient }); |
@@ -82,3 +82,3 @@ "use strict"; | ||
const httpClient = arguments[2].httpClient; | ||
const { toAmbassadorRequest } = velo_1.serializer({ | ||
const { toAmbassadorRequest } = (0, velo_1.serializer)({ | ||
rootSchema: _getUrlRequest, | ||
@@ -92,3 +92,3 @@ depSchemas: {}, | ||
}); | ||
const { fromJSON } = velo_1.serializer({ | ||
const { fromJSON } = (0, velo_1.serializer)({ | ||
rootSchema: _getUrlResponse, | ||
@@ -110,3 +110,3 @@ depSchemas: {}, | ||
catch (err) { | ||
const transformedError = velo_1.transformError(err, requestTransformation, [ | ||
const transformedError = (0, velo_1.transformError)(err, requestTransformation, [ | ||
'productId', | ||
@@ -130,3 +130,3 @@ 'options', | ||
const httpClient = arguments[0].httpClient; | ||
const { toAmbassadorRequest } = velo_1.serializer({ | ||
const { toAmbassadorRequest } = (0, velo_1.serializer)({ | ||
rootSchema: _getPurchaseHistoryRequest, | ||
@@ -140,3 +140,3 @@ depSchemas: {}, | ||
}); | ||
const { fromJSON } = velo_1.serializer({ | ||
const { fromJSON } = (0, velo_1.serializer)({ | ||
rootSchema: _getPurchaseHistoryResponse, | ||
@@ -158,3 +158,3 @@ depSchemas: {}, | ||
catch (err) { | ||
const transformedError = velo_1.transformError(err, requestTransformation, []); | ||
const transformedError = (0, velo_1.transformError)(err, requestTransformation, []); | ||
throw transformedError; | ||
@@ -161,0 +161,0 @@ } |
{ | ||
"name": "@wix/app-market", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"publishConfig": { | ||
@@ -36,3 +36,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "b4a4ac7b2fdbfdeb4c54e579b04eef94e49ad73ef5bf89bcc185b2f5" | ||
"falconPackageHash": "57731c46c719cc37c6102b7d4130071f9f3df7dcd250fec89b14a944" | ||
} |
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
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
104106