fc-ecms
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -151,2 +151,3 @@ "use strict"; | ||
_request(options) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -159,2 +160,3 @@ try { | ||
console.log('resp-get', JSON.stringify(resp.data)); | ||
(_a = globals_1.MyGlobal.logger) === null || _a === void 0 ? void 0 : _a.info({ npm: 'fc-ecms', className: 'ECMS', methodName: 'getLabel', propertyName: 'ECMS-RAW-RESPOSNE_request', propertyValue: resp.data }); | ||
if (resp.data.status == '200') { | ||
@@ -161,0 +163,0 @@ return resp.data; |
{ | ||
"name": "fc-ecms", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "ECMS Carrier Shipment and Tracking API.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -155,2 +155,3 @@ import { ECMSLabelRequest, ECMSLabelResponse, ECMSShipmentRequest, ECMSShipmentRespone, ECMSShipment, ECMSAddress, ECMSBoxes, ECMSWeight, ECMSDimension, ECMSItems, ECMSPrice, ECMSCustoms, ECMSDutyBilling, FlavorcloudShipmentResponse } from "./types"; | ||
console.log('resp-get', JSON.stringify(resp.data)); | ||
app.logger?.info({npm: 'fc-ecms', className: 'ECMS', methodName: 'getLabel', propertyName: 'ECMS-RAW-RESPOSNE_request', propertyValue: resp.data}); | ||
if(resp.data.status == '200'){ | ||
@@ -157,0 +158,0 @@ return resp.data; |
Sorry, the diff of this file is not supported yet
62140
1140