@alodi/site 0.0.2 → 0.0.4
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/dist/cjs/argv.d.ts +1 -1
- package/dist/cjs/data.d.ts +1 -0
- package/dist/cjs/data.js +31 -12
- package/dist/cjs/index.d.ts +7 -6
- package/dist/cjs/index.js +15 -4
- package/dist/esm/argv.d.ts +1 -1
- package/dist/esm/data.d.ts +1 -0
- package/dist/esm/data.js +29 -13
- package/dist/esm/index.d.ts +7 -6
- package/dist/esm/index.js +3 -2
- package/package.json +2 -2
package/dist/cjs/argv.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const options: readonly [{
|
|
|
12
12
|
}, {
|
|
13
13
|
readonly name: "site";
|
|
14
14
|
readonly describe: "指定站点";
|
|
15
|
-
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin")[];
|
|
15
|
+
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
16
16
|
readonly demandOption: true;
|
|
17
17
|
}, {
|
|
18
18
|
readonly name: "api";
|
package/dist/cjs/data.d.ts
CHANGED
package/dist/cjs/data.js
CHANGED
|
@@ -19,10 +19,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
// src/data.ts
|
|
20
20
|
var data_exports = {};
|
|
21
21
|
__export(data_exports, {
|
|
22
|
+
DefaultSupportEmail: () => DefaultSupportEmail,
|
|
22
23
|
SiteData: () => SiteData
|
|
23
24
|
});
|
|
24
25
|
module.exports = __toCommonJS(data_exports);
|
|
25
26
|
var import_index = require("./index");
|
|
27
|
+
var DefaultSupportEmail = "lodics001@outlook.com";
|
|
26
28
|
var SiteData = {
|
|
27
29
|
[import_index.SITE.ACE_291]: {
|
|
28
30
|
name: "Ace291",
|
|
@@ -197,7 +199,7 @@ var SiteData = {
|
|
|
197
199
|
facebookMessenger: "82PGgaming",
|
|
198
200
|
instagram: "82PG_ph",
|
|
199
201
|
telegram: "",
|
|
200
|
-
support_email:
|
|
202
|
+
support_email: DefaultSupportEmail
|
|
201
203
|
}
|
|
202
204
|
},
|
|
203
205
|
[import_index.SITE.PG_91]: {
|
|
@@ -213,7 +215,7 @@ var SiteData = {
|
|
|
213
215
|
facebookMessenger: "91PGgaming",
|
|
214
216
|
instagram: "91PG_ph",
|
|
215
217
|
telegram: "",
|
|
216
|
-
support_email:
|
|
218
|
+
support_email: DefaultSupportEmail
|
|
217
219
|
}
|
|
218
220
|
},
|
|
219
221
|
[import_index.SITE.PH_646]: {
|
|
@@ -277,7 +279,7 @@ var SiteData = {
|
|
|
277
279
|
facebookMessenger: "WASPBETgaming",
|
|
278
280
|
instagram: "WASPBET_ph",
|
|
279
281
|
telegram: "",
|
|
280
|
-
support_email:
|
|
282
|
+
support_email: DefaultSupportEmail
|
|
281
283
|
}
|
|
282
284
|
},
|
|
283
285
|
[import_index.SITE.YDG_777]: {
|
|
@@ -297,23 +299,40 @@ var SiteData = {
|
|
|
297
299
|
}
|
|
298
300
|
},
|
|
299
301
|
[import_index.SITE.ZAPP_SPIN]: {
|
|
300
|
-
name: "
|
|
302
|
+
name: "WASP.WIN",
|
|
301
303
|
seo: {
|
|
302
|
-
url: "https://www.
|
|
303
|
-
site_name: "
|
|
304
|
+
url: "https://www.wasp.win/",
|
|
305
|
+
site_name: "wasp.win"
|
|
304
306
|
},
|
|
305
307
|
text: {
|
|
306
|
-
title: "
|
|
307
|
-
site: "
|
|
308
|
-
domain: "www.
|
|
309
|
-
facebookMessenger: "
|
|
310
|
-
instagram: "
|
|
308
|
+
title: "WASP.WIN",
|
|
309
|
+
site: "wasp.win",
|
|
310
|
+
domain: "www.wasp.win",
|
|
311
|
+
facebookMessenger: "wasp.win",
|
|
312
|
+
instagram: "wasp.win",
|
|
311
313
|
telegram: "",
|
|
312
|
-
support_email: ""
|
|
314
|
+
support_email: "wasp.win@outlook.com"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
[import_index.SITE.WASP_SPIN]: {
|
|
318
|
+
name: "WASP SPIN",
|
|
319
|
+
seo: {
|
|
320
|
+
url: "https://www.waspspin.com/",
|
|
321
|
+
site_name: "waspspin.com"
|
|
322
|
+
},
|
|
323
|
+
text: {
|
|
324
|
+
title: "WASP SPIN",
|
|
325
|
+
site: "waspspin.com",
|
|
326
|
+
domain: "www.waspspin.com",
|
|
327
|
+
facebookMessenger: "waspspin",
|
|
328
|
+
instagram: "waspspin",
|
|
329
|
+
telegram: "",
|
|
330
|
+
support_email: DefaultSupportEmail
|
|
313
331
|
}
|
|
314
332
|
}
|
|
315
333
|
};
|
|
316
334
|
// Annotate the CommonJS export names for ESM import in node:
|
|
317
335
|
0 && (module.exports = {
|
|
336
|
+
DefaultSupportEmail,
|
|
318
337
|
SiteData
|
|
319
338
|
});
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -17,18 +17,19 @@ export declare const SITE: {
|
|
|
17
17
|
readonly PG_91: "91pg";
|
|
18
18
|
readonly YDG_777: "ydg777";
|
|
19
19
|
readonly ZAPP_SPIN: "zappspin";
|
|
20
|
+
readonly WASP_SPIN: "waspspin";
|
|
20
21
|
};
|
|
21
|
-
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin")[];
|
|
22
|
+
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
22
23
|
export type SiteKey = (typeof SiteKeys)[number];
|
|
23
24
|
export declare const COUNTRY: {
|
|
24
25
|
readonly LODI: "lodi";
|
|
25
26
|
readonly NCG: "ncg";
|
|
26
27
|
};
|
|
27
28
|
export declare const CountryKeys: ("lodi" | "ncg")[];
|
|
28
|
-
export type CountryKey = typeof CountryKeys[number];
|
|
29
|
-
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg", "zappspin"];
|
|
30
|
-
export type NcgSiteKey = typeof NcgSiteKeys[number];
|
|
31
|
-
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg" | "zappspin";
|
|
29
|
+
export type CountryKey = (typeof CountryKeys)[number];
|
|
30
|
+
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg", "zappspin", "waspspin"];
|
|
31
|
+
export type NcgSiteKey = (typeof NcgSiteKeys)[number];
|
|
32
|
+
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin";
|
|
32
33
|
export declare const LodiSiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777")[];
|
|
33
|
-
export type LodiSiteKey = typeof LodiSiteKeys[number];
|
|
34
|
+
export type LodiSiteKey = (typeof LodiSiteKeys)[number];
|
|
34
35
|
export declare const isLodiSite: (site: SiteKey) => site is "291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777";
|
package/dist/cjs/index.js
CHANGED
|
@@ -47,17 +47,28 @@ var SITE = {
|
|
|
47
47
|
PG_82: "82pg",
|
|
48
48
|
PG_91: "91pg",
|
|
49
49
|
YDG_777: "ydg777",
|
|
50
|
-
ZAPP_SPIN: "zappspin"
|
|
50
|
+
ZAPP_SPIN: "zappspin",
|
|
51
|
+
WASP_SPIN: "waspspin"
|
|
51
52
|
};
|
|
52
|
-
var SiteKeys = Object.keys(SITE).map(
|
|
53
|
+
var SiteKeys = Object.keys(SITE).map(
|
|
54
|
+
(x) => SITE[x]
|
|
55
|
+
);
|
|
53
56
|
var COUNTRY = {
|
|
54
57
|
LODI: "lodi",
|
|
55
58
|
NCG: "ncg"
|
|
56
59
|
};
|
|
57
60
|
var CountryKeys = Object.keys(COUNTRY).map((x) => COUNTRY[x]);
|
|
58
|
-
var NcgSiteKeys = [
|
|
61
|
+
var NcgSiteKeys = [
|
|
62
|
+
SITE.WASP,
|
|
63
|
+
SITE.PG_82,
|
|
64
|
+
SITE.PG_91,
|
|
65
|
+
SITE.ZAPP_SPIN,
|
|
66
|
+
SITE.WASP_SPIN
|
|
67
|
+
];
|
|
59
68
|
var isNcgSite = (site) => NcgSiteKeys.indexOf(site) !== -1;
|
|
60
|
-
var LodiSiteKeys = SiteKeys.filter(
|
|
69
|
+
var LodiSiteKeys = SiteKeys.filter(
|
|
70
|
+
(site) => !isNcgSite(site)
|
|
71
|
+
);
|
|
61
72
|
var isLodiSite = (site) => LodiSiteKeys.indexOf(site) !== -1;
|
|
62
73
|
// Annotate the CommonJS export names for ESM import in node:
|
|
63
74
|
0 && (module.exports = {
|
package/dist/esm/argv.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const options: readonly [{
|
|
|
12
12
|
}, {
|
|
13
13
|
readonly name: "site";
|
|
14
14
|
readonly describe: "指定站点";
|
|
15
|
-
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin")[];
|
|
15
|
+
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
16
16
|
readonly demandOption: true;
|
|
17
17
|
}, {
|
|
18
18
|
readonly name: "api";
|
package/dist/esm/data.d.ts
CHANGED
package/dist/esm/data.js
CHANGED
|
@@ -4,6 +4,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
4
4
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
5
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
6
|
import { SITE } from "./index";
|
|
7
|
+
export var DefaultSupportEmail = 'lodics001@outlook.com';
|
|
7
8
|
export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteData, SITE.ACE_291, {
|
|
8
9
|
name: 'Ace291',
|
|
9
10
|
seo: {
|
|
@@ -154,7 +155,7 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
154
155
|
telegram: 'official646bonus',
|
|
155
156
|
support_email: 'support@group646.com'
|
|
156
157
|
}
|
|
157
|
-
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteData, SITE.PG_82, {
|
|
158
|
+
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteData, SITE.PG_82, {
|
|
158
159
|
name: '82PG',
|
|
159
160
|
seo: {
|
|
160
161
|
url: 'https://www.82pg.com/',
|
|
@@ -167,7 +168,7 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
167
168
|
facebookMessenger: '82PGgaming',
|
|
168
169
|
instagram: '82PG_ph',
|
|
169
170
|
telegram: '',
|
|
170
|
-
support_email:
|
|
171
|
+
support_email: DefaultSupportEmail
|
|
171
172
|
}
|
|
172
173
|
}), SITE.PG_91, {
|
|
173
174
|
name: '91PG',
|
|
@@ -182,7 +183,7 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
182
183
|
facebookMessenger: '91PGgaming',
|
|
183
184
|
instagram: '91PG_ph',
|
|
184
185
|
telegram: '',
|
|
185
|
-
support_email:
|
|
186
|
+
support_email: DefaultSupportEmail
|
|
186
187
|
}
|
|
187
188
|
}), SITE.PH_646, {
|
|
188
189
|
name: 'PH646',
|
|
@@ -242,7 +243,7 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
242
243
|
facebookMessenger: 'WASPBETgaming',
|
|
243
244
|
instagram: 'WASPBET_ph',
|
|
244
245
|
telegram: '',
|
|
245
|
-
support_email:
|
|
246
|
+
support_email: DefaultSupportEmail
|
|
246
247
|
}
|
|
247
248
|
}), SITE.YDG_777, {
|
|
248
249
|
name: 'ydg777',
|
|
@@ -260,18 +261,33 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
260
261
|
support_email: 'support@group291.com'
|
|
261
262
|
}
|
|
262
263
|
}), SITE.ZAPP_SPIN, {
|
|
263
|
-
name: '
|
|
264
|
+
name: 'WASP.WIN',
|
|
264
265
|
seo: {
|
|
265
|
-
url: 'https://www.
|
|
266
|
-
site_name: '
|
|
266
|
+
url: 'https://www.wasp.win/',
|
|
267
|
+
site_name: 'wasp.win'
|
|
267
268
|
},
|
|
268
269
|
text: {
|
|
269
|
-
title: '
|
|
270
|
-
site: '
|
|
271
|
-
domain: 'www.
|
|
272
|
-
facebookMessenger: '
|
|
273
|
-
instagram: '
|
|
270
|
+
title: 'WASP.WIN',
|
|
271
|
+
site: 'wasp.win',
|
|
272
|
+
domain: 'www.wasp.win',
|
|
273
|
+
facebookMessenger: 'wasp.win',
|
|
274
|
+
instagram: 'wasp.win',
|
|
274
275
|
telegram: '',
|
|
275
|
-
support_email: ''
|
|
276
|
+
support_email: 'wasp.win@outlook.com'
|
|
277
|
+
}
|
|
278
|
+
}), SITE.WASP_SPIN, {
|
|
279
|
+
name: 'WASP SPIN',
|
|
280
|
+
seo: {
|
|
281
|
+
url: 'https://www.waspspin.com/',
|
|
282
|
+
site_name: 'waspspin.com'
|
|
283
|
+
},
|
|
284
|
+
text: {
|
|
285
|
+
title: 'WASP SPIN',
|
|
286
|
+
site: 'waspspin.com',
|
|
287
|
+
domain: 'www.waspspin.com',
|
|
288
|
+
facebookMessenger: 'waspspin',
|
|
289
|
+
instagram: 'waspspin',
|
|
290
|
+
telegram: '',
|
|
291
|
+
support_email: DefaultSupportEmail
|
|
276
292
|
}
|
|
277
293
|
}));
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -17,18 +17,19 @@ export declare const SITE: {
|
|
|
17
17
|
readonly PG_91: "91pg";
|
|
18
18
|
readonly YDG_777: "ydg777";
|
|
19
19
|
readonly ZAPP_SPIN: "zappspin";
|
|
20
|
+
readonly WASP_SPIN: "waspspin";
|
|
20
21
|
};
|
|
21
|
-
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin")[];
|
|
22
|
+
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
22
23
|
export type SiteKey = (typeof SiteKeys)[number];
|
|
23
24
|
export declare const COUNTRY: {
|
|
24
25
|
readonly LODI: "lodi";
|
|
25
26
|
readonly NCG: "ncg";
|
|
26
27
|
};
|
|
27
28
|
export declare const CountryKeys: ("lodi" | "ncg")[];
|
|
28
|
-
export type CountryKey = typeof CountryKeys[number];
|
|
29
|
-
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg", "zappspin"];
|
|
30
|
-
export type NcgSiteKey = typeof NcgSiteKeys[number];
|
|
31
|
-
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg" | "zappspin";
|
|
29
|
+
export type CountryKey = (typeof CountryKeys)[number];
|
|
30
|
+
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg", "zappspin", "waspspin"];
|
|
31
|
+
export type NcgSiteKey = (typeof NcgSiteKeys)[number];
|
|
32
|
+
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin";
|
|
32
33
|
export declare const LodiSiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777")[];
|
|
33
|
-
export type LodiSiteKey = typeof LodiSiteKeys[number];
|
|
34
|
+
export type LodiSiteKey = (typeof LodiSiteKeys)[number];
|
|
34
35
|
export declare const isLodiSite: (site: SiteKey) => site is "291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777";
|
package/dist/esm/index.js
CHANGED
|
@@ -16,7 +16,8 @@ export var SITE = {
|
|
|
16
16
|
PG_82: '82pg',
|
|
17
17
|
PG_91: '91pg',
|
|
18
18
|
YDG_777: 'ydg777',
|
|
19
|
-
ZAPP_SPIN: 'zappspin'
|
|
19
|
+
ZAPP_SPIN: 'zappspin',
|
|
20
|
+
WASP_SPIN: 'waspspin'
|
|
20
21
|
};
|
|
21
22
|
export var SiteKeys = Object.keys(SITE).map(function (x) {
|
|
22
23
|
return SITE[x];
|
|
@@ -28,7 +29,7 @@ export var COUNTRY = {
|
|
|
28
29
|
export var CountryKeys = Object.keys(COUNTRY).map(function (x) {
|
|
29
30
|
return COUNTRY[x];
|
|
30
31
|
});
|
|
31
|
-
export var NcgSiteKeys = [SITE.WASP, SITE.PG_82, SITE.PG_91, SITE.ZAPP_SPIN];
|
|
32
|
+
export var NcgSiteKeys = [SITE.WASP, SITE.PG_82, SITE.PG_91, SITE.ZAPP_SPIN, SITE.WASP_SPIN];
|
|
32
33
|
export var isNcgSite = function isNcgSite(site) {
|
|
33
34
|
return NcgSiteKeys.indexOf(site) !== -1;
|
|
34
35
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alodi/site",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "lodi site",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "11b88a66a944758b2c1660dca408e2a84356c67e"
|
|
52
52
|
}
|