@como/como-client
Advanced tools
Comparing version
{ | ||
"name": "@como/como-client", | ||
"version": "0.7.81", | ||
"version": "0.7.82", | ||
"description": "Client module for Como's loaylty API", | ||
@@ -5,0 +5,0 @@ "main": "src/como.js", |
@@ -87,2 +87,3 @@ const moment = require('moment-timezone'); | ||
}, | ||
tempTokenData: {}, | ||
}; | ||
@@ -205,3 +206,5 @@ | ||
const translatedData = await comoExternalUrlTranslator.translateUrl(externalUrl, apiObjects, dataToUse); | ||
this.comoData.tempTokenData = translatedData.tempTokenData || {}; | ||
if (translatedData.tempTokenData.TemporaryToken) { | ||
this.comoData.tempTokenData[translatedData.tempTokenData.TemporaryToken] = translatedData.tempTokenData.ExpirationDate; | ||
} | ||
return translatedData; | ||
@@ -208,0 +211,0 @@ } |
Sorry, the diff of this file is too big to display
229073
0.17%4862
0.12%