Comparing version 1.1.1 to 1.2.0
@@ -32,3 +32,3 @@ "use strict"; | ||
} | ||
const response = yield axios_1.default(`${OneMap_1.OneMap.BASE_URL}/privateapi/auth/post/getToken`, { | ||
const response = yield (0, axios_1.default)(`${OneMap_1.OneMap.BASE_URL}/privateapi/auth/post/getToken`, { | ||
proxy: (_f = this.onemap.options) === null || _f === void 0 ? void 0 : _f.proxy, | ||
@@ -35,0 +35,0 @@ method: 'POST', |
@@ -74,3 +74,3 @@ "use strict"; | ||
const uri = __classPrivateFieldGet(this, _Service_instances, "m", _Service_getUri).call(this, type, endpoint, query); | ||
const response = yield axios_1.default(uri, { | ||
const response = yield (0, axios_1.default)(uri, { | ||
proxy: (_a = this.onemap.options) === null || _a === void 0 ? void 0 : _a.proxy, | ||
@@ -77,0 +77,0 @@ method: 'GET' |
@@ -25,3 +25,3 @@ "use strict"; | ||
const newReq = req; | ||
newReq.dateTime = dayjs_1.default(req.dateTime).format('YYYY-MM-DD[T]HH:mm:ss[:000Z]'); | ||
newReq.dateTime = (0, dayjs_1.default)(req.dateTime).format('YYYY-MM-DD[T]HH:mm:ss[:000Z]'); | ||
return this.privateapi('checkThemeStatus', newReq); | ||
@@ -28,0 +28,0 @@ }); |
{ | ||
"name": "onemapsg", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"author": "Chang Zhe Jiet", | ||
@@ -32,18 +32,18 @@ "description": "Helper library for using OneMap APIs.", | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
"dayjs": "^1.10.5" | ||
"axios": "^0.22.0", | ||
"dayjs": "^1.10.7" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.23", | ||
"@typescript-eslint/eslint-plugin": "^4.26.1", | ||
"@typescript-eslint/parser": "^4.26.1", | ||
"@types/jest": "^27.0.2", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"del-cli": "^3.0.1", | ||
"eslint": "^7.28.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
"eslint": "^7.32.0", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-security": "^1.4.0", | ||
"jest": "^27.0.4", | ||
"ts-jest": "^27.0.3", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^4.3.2" | ||
"jest": "^27.2.4", | ||
"ts-jest": "^27.0.5", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.4.3" | ||
} | ||
} |
44118
+ Addedaxios@0.22.0(transitive)
- Removedaxios@0.21.4(transitive)
Updatedaxios@^0.22.0
Updateddayjs@^1.10.7