livedomains 1.0.0 → 1.0.1
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.
- package/domains.json +3 -3
- package/index.js +2 -2
- package/package.json +1 -1
package/domains.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
3
|
-
"updatedAt": "2026-
|
|
4
|
-
"payload": "
|
|
2
|
+
"version": 2,
|
|
3
|
+
"updatedAt": "2026-11-04T16:25:05.498234Z",
|
|
4
|
+
"payload": "eyJwcm9qZWN0cyI6IHsiazhsaXZlIjogeyJwcmltYXJ5IjogW10sICJwYXltZW50IjogW10sICJhY3Rpdml0eSI6IFsiaHR0cHM6Ly9taW5pby1saXZlLnNob29rby5jbiJdLCAiZXh0MSI6IFtdLCAiZXh0MiI6IFtdfX19"
|
|
5
5
|
}
|
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Each project has five named slots: primary / payment / activity / ext1 / ext2.
|
|
6
6
|
* Usage:
|
|
7
7
|
* const live = require('livedomains');
|
|
8
|
-
* const project = live.getProject('
|
|
8
|
+
* const project = live.getProject('k8live');
|
|
9
9
|
* console.log(project.payment); // ["https://live-payment.shooko.cn"]
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -42,7 +42,7 @@ const config = parseConfig(raw);
|
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* Get config for a specific project.
|
|
45
|
-
* @param {string} key - project key, e.g. "
|
|
45
|
+
* @param {string} key - project key, e.g. "k8live"
|
|
46
46
|
* @returns {{ primary: string[], payment: string[], activity: string[], ext1: string[], ext2: string[] } | null}
|
|
47
47
|
*/
|
|
48
48
|
function getProject(key) {
|
package/package.json
CHANGED