@dchighs/dc-config-mapper 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,8 +25,8 @@ exports.mazeIslandsPathSchema = zod_1.z.object({
|
|
|
25
25
|
has_new_badge: (0, utils_1.numberToBoolean)(data.new_badge),
|
|
26
26
|
node_ids: data.nodes,
|
|
27
27
|
availability: data.availability ? {
|
|
28
|
-
from: new Date(data.availability.from).toISOString(),
|
|
29
|
-
to: new Date(data.availability.to).toISOString(),
|
|
28
|
+
from: new Date(data.availability.from * 1000).toISOString(),
|
|
29
|
+
to: new Date(data.availability.to * 1000).toISOString(),
|
|
30
30
|
} : undefined,
|
|
31
31
|
};
|
|
32
32
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dchighs/dc-config-mapper",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "A opined library to restructure and populate configuration for Dragon City.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@dchighs/dc-config": "^0.0.1",
|
|
40
|
-
"@dchighs/dc-localization": "^0.0.
|
|
40
|
+
"@dchighs/dc-localization": "^0.0.4"
|
|
41
41
|
}
|
|
42
42
|
}
|