Skip to content

Commit ecbe1af

Browse files
author
Kimon Kar
committed
Last touches
1 parent 1b79583 commit ecbe1af

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

lib/lodestone.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ module.exports = function() {
1010
res[gen] = new Date(res[gen] * 1000)
1111
//proper... well, timestamps
1212
const time = correctCase('time', this.globalParams.snake_case)
13-
for (let section of ['dev_posts', 'maintenance', 'news', 'notices', 'status', 'topics', 'updates'])
13+
for (let section of ['dev_posts', 'maintenance', 'news', 'notices', 'status', 'topics', 'updates']) {
14+
section = correctCase(section, this.globalParams.snake_case)
1415
for (let i = 0; i < res[section].length; i++) {
1516
res[section][i][time] = new Date(res[section][i][time] * 1000)
1617
}
18+
}
1719

1820
resolve(res)
1921
}).catch((err) => {

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "xivapi-js",
3-
"version": "1.0.0",
4-
"description": "",
5-
"main": "Client.js",
3+
"version": "0.1.0",
4+
"description": "A pure JS wrapper for xivapi.com",
5+
"main": "XIVAPI.js",
66
"directories": {
77
"lib": "lib"
88
},
@@ -16,9 +16,15 @@
1616
},
1717
"repository": {
1818
"type": "git",
19-
"url": "git+https://SacredPixel@bitbucket.org/SacredPixel/xivapi-js.git"
19+
"url": "git+https://github.com/xivapi/xivapi-js.git"
2020
},
21-
"author": "",
22-
"license": "ISC",
23-
"homepage": "https://bitbucket.org/SacredPixel/xivapi-js#readme"
21+
"keywords": [
22+
"xivapi"
23+
],
24+
"author": "TheSacredPixel",
25+
"license": "MIT",
26+
"bugs": {
27+
"url": "https://github.com/xivapi/xivapi-js/issues"
28+
},
29+
"homepage": "https://github.com/xivapi/xivapi-js#readme"
2430
}

0 commit comments

Comments
 (0)