@alodi/site 0.3.1 → 0.4.0

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/site.js ADDED
@@ -0,0 +1,107 @@
1
+ var _SiteConfig;
2
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ 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); }
8
+ export var SITE = {
9
+ JILI_291: '291jili',
10
+ SUPER_291: 'super291',
11
+ JILI_646: '646jili',
12
+ LODI_291: 'lodi291',
13
+ TOP_646: 'top646',
14
+ JILI_80: '80jili',
15
+ PH_646: 'ph646',
16
+ ACE_291: 'ace291',
17
+ HOT_646: 'hot646',
18
+ LODI_646: 'lodi646',
19
+ LODI_GAME: 'lodigame',
20
+ LOL_646: 'lol646',
21
+ LODI_777: 'lodi777',
22
+ YDG_777: 'ydg777',
23
+ WASP: 'wasp',
24
+ PG_82: '82pg',
25
+ PG_91: '91pg',
26
+ ZAPP_SPIN: 'zappspin',
27
+ WASP_SPIN: 'waspspin',
28
+ HAA_555: 'haa555',
29
+ TRADING: 'trading',
30
+ VANG_WIN: 'vangwin',
31
+ SORTE_WIN: 'sortewin'
32
+ };
33
+ export var SiteConfig = (_SiteConfig = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteConfig, SITE.JILI_291, {
34
+ name: '291JILI',
35
+ country: 'PHL'
36
+ }), SITE.SUPER_291, {
37
+ name: 'super291',
38
+ country: 'PHL'
39
+ }), SITE.JILI_646, {
40
+ name: '646JILI',
41
+ country: 'PHL'
42
+ }), SITE.LODI_291, {
43
+ name: 'Lodi291',
44
+ country: 'PHL'
45
+ }), SITE.TOP_646, {
46
+ name: 'TOP646',
47
+ country: 'PHL'
48
+ }), SITE.JILI_80, {
49
+ name: '80JILI',
50
+ country: 'PHL'
51
+ }), SITE.PH_646, {
52
+ name: 'PH646',
53
+ country: 'PHL'
54
+ }), SITE.ACE_291, {
55
+ name: 'Ace291',
56
+ country: 'PHL'
57
+ }), SITE.HOT_646, {
58
+ name: 'HOT646',
59
+ country: 'PHL'
60
+ }), SITE.LODI_646, {
61
+ name: 'Lodi646',
62
+ country: 'PHL'
63
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteConfig, SITE.LODI_GAME, {
64
+ name: 'lodigame',
65
+ country: 'PHL'
66
+ }), SITE.LOL_646, {
67
+ name: 'lol646',
68
+ country: 'PHL'
69
+ }), SITE.LODI_777, {
70
+ name: 'Lodi777',
71
+ country: 'PHL'
72
+ }), SITE.YDG_777, {
73
+ name: 'ydg777',
74
+ country: 'PHL'
75
+ }), SITE.WASP, {
76
+ name: 'WASPBET',
77
+ country: 'THA'
78
+ }), SITE.PG_82, {
79
+ name: 'AURA88',
80
+ country: 'THA'
81
+ }), SITE.PG_91, {
82
+ name: 'AURA69',
83
+ country: 'THA'
84
+ }), SITE.ZAPP_SPIN, {
85
+ name: 'WASP.WIN',
86
+ country: 'THA'
87
+ }), SITE.WASP_SPIN, {
88
+ name: 'WASP SPIN',
89
+ country: 'THA'
90
+ }), SITE.HAA_555, {
91
+ name: 'HAA555',
92
+ country: 'THA'
93
+ }), _defineProperty(_defineProperty(_defineProperty(_SiteConfig, SITE.TRADING, {
94
+ name: 'COINAX',
95
+ country: 'THA'
96
+ }), SITE.VANG_WIN, {
97
+ name: 'VANGWIN',
98
+ country: 'VNM'
99
+ }), SITE.SORTE_WIN, {
100
+ name: 'SO99',
101
+ country: 'BRA'
102
+ }));
103
+ export var getSiteConfig = function getSiteConfig(site) {
104
+ return _objectSpread({
105
+ site: site
106
+ }, SiteConfig[site]);
107
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alodi/site",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "alodi site",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,43 +9,46 @@
9
9
  "license": "MIT",
10
10
  "exports": {
11
11
  ".": {
12
- "import": {
13
- "types": "./dist/index.d.ts",
12
+ "types": {
13
+ "import": "./dist/index.d.ts",
14
+ "require": "./dist/cjs/index.d.ts",
15
+ "default": "./dist/index.d.ts"
16
+ },
17
+ "browser": {
18
+ "import": "./dist/index.js",
14
19
  "default": "./dist/index.js"
15
20
  },
16
- "require": {
17
- "types": "./dist/cjs/index.d.ts",
18
- "default": "./dist/cjs/index.js"
19
- }
21
+ "import": "./dist/index.js",
22
+ "require": "./dist/cjs/index.js",
23
+ "default": "./dist/index.js"
20
24
  },
21
- "./data": {
22
- "import": {
23
- "types": "./dist/data.d.ts",
24
- "default": "./dist/data.js"
25
+ "./argv": {
26
+ "types": {
27
+ "import": "./dist/argv.d.ts",
28
+ "require": "./dist/cjs/argv.d.ts",
29
+ "default": "./dist/argv.d.ts"
25
30
  },
26
- "require": {
27
- "types": "./dist/cjs/data.d.ts",
28
- "default": "./dist/cjs/data.js"
31
+ "node": {
32
+ "import": "./dist/argv.js",
33
+ "require": "./dist/cjs/argv.js"
29
34
  }
30
35
  },
31
- "./argv": {
32
- "import": {
33
- "types": "./dist/argv.d.ts",
34
- "default": "./dist/argv.js"
36
+ "./env": {
37
+ "types": {
38
+ "import": "./dist/env.d.ts",
39
+ "require": "./dist/cjs/env.d.ts",
40
+ "default": "./dist/env.d.ts"
35
41
  },
36
- "require": {
37
- "types": "./dist/cjs/argv.d.ts",
38
- "default": "./dist/cjs/argv.js"
42
+ "node": {
43
+ "import": "./dist/env.js",
44
+ "require": "./dist/cjs/env.js"
39
45
  }
40
- },
41
- "./*": {
42
- "import": "./dist/*",
43
- "require": "./dist/cjs/*"
44
46
  }
45
47
  },
46
- "main": "dist/cjs/index.js",
47
- "module": "dist/index.js",
48
- "types": "dist/index.d.ts",
48
+ "main": "./dist/cjs/index.js",
49
+ "module": "./dist/index.js",
50
+ "types": "./dist/index.d.ts",
51
+ "browser": "./dist/index.js",
49
52
  "files": [
50
53
  "dist",
51
54
  "CHANGELOG.md"
@@ -112,6 +115,17 @@
112
115
  "@types/yargs": "^17.0.33",
113
116
  "yargs": "^17.7.2"
114
117
  },
118
+ "peerDependenciesMeta": {
119
+ "@types/node": {
120
+ "optional": true
121
+ },
122
+ "@types/yargs": {
123
+ "optional": true
124
+ },
125
+ "yargs": {
126
+ "optional": true
127
+ }
128
+ },
115
129
  "publishConfig": {
116
130
  "access": "public"
117
131
  },
@@ -1,27 +0,0 @@
1
- import { SITE } from './index';
2
- export declare const DefaultSupportEmail = "lodics001@outlook.com";
3
- export type SiteItem = {
4
- name: string;
5
- /**meta og:* twitter:* */
6
- seo: {
7
- /**og:url/twitter:url */
8
- url: string;
9
- /**og:site_name/twitter:card */
10
- site_name: string;
11
- };
12
- text: {
13
- /**用在网页标题 291JILI */
14
- title: string;
15
- /**用在首页文案 */
16
- site: string;
17
- domain: string;
18
- /**291JILI */
19
- facebookMessenger: string;
20
- /**291JILI */
21
- instagram: string;
22
- telegram: string;
23
- /**目前用在help文案 */
24
- support_email: string;
25
- };
26
- };
27
- export declare const SiteData: Record<(typeof SITE)[keyof typeof SITE], SiteItem>;
package/dist/cjs/data.js DELETED
@@ -1,402 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/data.ts
20
- var data_exports = {};
21
- __export(data_exports, {
22
- DefaultSupportEmail: () => DefaultSupportEmail,
23
- SiteData: () => SiteData
24
- });
25
- module.exports = __toCommonJS(data_exports);
26
- var import_index = require("./index");
27
- var DefaultSupportEmail = "lodics001@outlook.com";
28
- var SiteData = {
29
- [import_index.SITE.ACE_291]: {
30
- name: "Ace291",
31
- seo: {
32
- url: "https://lodivip.com",
33
- site_name: "lodivip.com"
34
- },
35
- text: {
36
- title: "Ace291 Gaming",
37
- site: "lodivip.com",
38
- domain: "www.Ace291.com",
39
- facebookMessenger: "Ace291",
40
- instagram: "Ace291",
41
- telegram: "LodiBonusOfficial",
42
- support_email: "support@group291.com"
43
- }
44
- },
45
- [import_index.SITE.HOT_646]: {
46
- name: "HOT646",
47
- seo: {
48
- url: "https://www.hot646.com/",
49
- site_name: "hot646.com"
50
- },
51
- text: {
52
- title: "HOT646",
53
- site: "hot-646.com",
54
- domain: "www.HOT646.com",
55
- facebookMessenger: "Hot646",
56
- instagram: "HOT646",
57
- telegram: "official646bonus",
58
- support_email: "support@group646.com"
59
- }
60
- },
61
- [import_index.SITE.JILI_291]: {
62
- name: "291JILI",
63
- seo: {
64
- url: "https://www.lodiSlot.com/",
65
- site_name: "lodiSlot.com"
66
- },
67
- text: {
68
- title: "291JILI",
69
- site: "lodislot.com",
70
- domain: "www.291JILI.com",
71
- facebookMessenger: "291jili",
72
- instagram: "291JILI",
73
- telegram: "LodiBonusOfficial",
74
- support_email: "support@group291.com"
75
- }
76
- },
77
- [import_index.SITE.JILI_646]: {
78
- name: "646JILI",
79
- seo: {
80
- url: "https://www.lodiSlot.com/",
81
- site_name: "lodiSlot.com"
82
- },
83
- text: {
84
- title: "646JILI",
85
- site: "646jili.ph",
86
- domain: "www.646JILI.com",
87
- facebookMessenger: "646jili",
88
- instagram: "646JILI",
89
- telegram: "official646bonus",
90
- support_email: "support@group646.com"
91
- }
92
- },
93
- [import_index.SITE.JILI_80]: {
94
- name: "80JILI",
95
- seo: {
96
- url: "https://www.80jili.com/",
97
- site_name: "80jili.com"
98
- },
99
- text: {
100
- title: "80JILI.COM - Resorts World or Fontana Casino & 80JILI",
101
- site: "",
102
- domain: "www.80JILI.com",
103
- facebookMessenger: "80JILI",
104
- instagram: "80JILI",
105
- telegram: "jili80club",
106
- support_email: "support@group291.com"
107
- }
108
- },
109
- [import_index.SITE.LODI_291]: {
110
- name: "Lodi291",
111
- seo: {
112
- url: "https://www.lodi291.ph/",
113
- site_name: "lodi291.com"
114
- },
115
- text: {
116
- title: "Lodi291",
117
- site: "291win.com",
118
- domain: "www.Lodi291.com",
119
- facebookMessenger: "Lodi291",
120
- instagram: "Lodi291",
121
- telegram: "LodiBonusOfficial",
122
- support_email: "support@group291.com"
123
- }
124
- },
125
- [import_index.SITE.LODI_646]: {
126
- name: "Lodi646",
127
- seo: {
128
- url: "https://www.lodi646.com/",
129
- site_name: "lodi646.com"
130
- },
131
- text: {
132
- title: "Lodi646",
133
- site: "646live.com",
134
- domain: "www.LODI646.com",
135
- facebookMessenger: "Lodi646",
136
- instagram: "LODI646",
137
- telegram: "official646bonus",
138
- support_email: "support@group646.com"
139
- }
140
- },
141
- [import_index.SITE.LODI_777]: {
142
- name: "Lodi777",
143
- seo: {
144
- url: "https://lodi777.ph/",
145
- site_name: "lodi777.ph"
146
- },
147
- text: {
148
- title: "Lodi777",
149
- site: "lodi777.com",
150
- domain: "www.lodi777.ph",
151
- facebookMessenger: "LODI777",
152
- instagram: "lodi777",
153
- telegram: "LodiBonusOfficial",
154
- support_email: "support@group291.com"
155
- }
156
- },
157
- [import_index.SITE.LODI_GAME]: {
158
- name: "lodigame",
159
- seo: {
160
- url: "https://www.lodiGame.com/",
161
- site_name: "lodiGame.com"
162
- },
163
- text: {
164
- title: "lodigame",
165
- site: "lodigame.com",
166
- domain: "www.lodigame.com",
167
- facebookMessenger: "Lodigame-Official",
168
- instagram: "lodigame",
169
- telegram: "LodiBonusOfficial",
170
- support_email: "support@group291.com"
171
- }
172
- },
173
- [import_index.SITE.LOL_646]: {
174
- name: "lol646",
175
- seo: {
176
- url: "https://lol646.ph/",
177
- site_name: "lol646.ph"
178
- },
179
- text: {
180
- title: "lol646",
181
- site: "lol-646.com",
182
- domain: "www.lol646.ph",
183
- facebookMessenger: "LOL646Official",
184
- instagram: "lol646",
185
- telegram: "official646bonus",
186
- support_email: "support@group646.com"
187
- }
188
- },
189
- [import_index.SITE.PG_82]: {
190
- name: "AURA88",
191
- seo: {
192
- url: "https://www.aura88.com/",
193
- site_name: "aura88.com"
194
- },
195
- text: {
196
- title: "aura88 Gaming",
197
- site: "aura88.com",
198
- domain: "AURA88.com",
199
- facebookMessenger: "82PGgaming",
200
- instagram: "82PG_ph",
201
- telegram: "",
202
- support_email: DefaultSupportEmail
203
- }
204
- },
205
- [import_index.SITE.PG_91]: {
206
- name: "AURA69",
207
- seo: {
208
- url: "https://www.aura69.com/",
209
- site_name: "aura69.com"
210
- },
211
- text: {
212
- title: "aura69 Gaming",
213
- site: "aura69.com",
214
- domain: "AURA69.com",
215
- facebookMessenger: "aura69",
216
- instagram: "",
217
- telegram: "Aura69 กลุ่มแจ้งข่าวสารทางการ",
218
- support_email: "aura69thailand@gmail.com"
219
- }
220
- },
221
- [import_index.SITE.PH_646]: {
222
- name: "PH646",
223
- seo: {
224
- url: "https://www.646ph.com",
225
- site_name: "646ph.com"
226
- },
227
- text: {
228
- title: "PH646",
229
- site: "ph-646.com",
230
- domain: "www.PH646.com",
231
- facebookMessenger: "646PH.Official",
232
- instagram: "PH646",
233
- telegram: "official646bonus",
234
- support_email: "support@group646.com"
235
- }
236
- },
237
- [import_index.SITE.SUPER_291]: {
238
- name: "super291",
239
- seo: {
240
- url: "https://www.291bet1.com/",
241
- site_name: "291bet1.com"
242
- },
243
- text: {
244
- title: "super291",
245
- site: "super291.ph",
246
- domain: "www.super291.com",
247
- facebookMessenger: "Super291",
248
- instagram: "super291",
249
- telegram: "LodiBonusOfficial",
250
- support_email: "support@group291.com"
251
- }
252
- },
253
- [import_index.SITE.TOP_646]: {
254
- name: "TOP646",
255
- seo: {
256
- url: "https://www.mnl646.ph/",
257
- site_name: "mnl646.ph"
258
- },
259
- text: {
260
- title: "TOP646",
261
- site: "top-646.com",
262
- domain: "www.TOP646.com",
263
- facebookMessenger: "Top646",
264
- instagram: "TOP646",
265
- telegram: "official646bonus",
266
- support_email: "support@group646.com"
267
- }
268
- },
269
- [import_index.SITE.WASP]: {
270
- name: "WASPBET",
271
- seo: {
272
- url: "https://www.waspth.com",
273
- site_name: "waspth.com"
274
- },
275
- text: {
276
- title: "WASPBET Gaming",
277
- site: "waspth.com",
278
- domain: "www.WASPBET.com",
279
- facebookMessenger: "WASPBETgaming",
280
- instagram: "WASPBET_ph",
281
- telegram: "",
282
- support_email: DefaultSupportEmail
283
- }
284
- },
285
- [import_index.SITE.YDG_777]: {
286
- name: "ydg777",
287
- seo: {
288
- url: "https://www.ydg777.com/",
289
- site_name: "ydg777.com"
290
- },
291
- text: {
292
- title: "YDG777",
293
- site: "ydg777.com",
294
- domain: "www.ydg777.com",
295
- facebookMessenger: "ydg777",
296
- instagram: "ydg777",
297
- telegram: "YDG777Bonus",
298
- support_email: "support@group291.com"
299
- }
300
- },
301
- [import_index.SITE.ZAPP_SPIN]: {
302
- name: "WASP.WIN",
303
- seo: {
304
- url: "https://www.wasp.win/",
305
- site_name: "wasp.win"
306
- },
307
- text: {
308
- title: "WASP.WIN",
309
- site: "wasp.win",
310
- domain: "www.wasp.win",
311
- facebookMessenger: "wasp.win",
312
- instagram: "wasp.win",
313
- telegram: "",
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
331
- }
332
- },
333
- [import_index.SITE.HAA_555]: {
334
- name: "HAA555",
335
- seo: {
336
- url: "https://www.haa-555.com/",
337
- site_name: "haa-555.com"
338
- },
339
- text: {
340
- title: "HAA555",
341
- site: "haa-555.com",
342
- domain: "www.haa-555.com",
343
- facebookMessenger: "haa555",
344
- instagram: "haa555",
345
- telegram: "",
346
- support_email: DefaultSupportEmail
347
- }
348
- },
349
- [import_index.SITE.VANG_WIN]: {
350
- name: "VANGWIN",
351
- seo: {
352
- url: "https://www.vangwin.com/",
353
- site_name: "vangwin.com"
354
- },
355
- text: {
356
- title: "VANGWIN",
357
- site: "vangwin.com",
358
- domain: "www.vangwin.com",
359
- facebookMessenger: "",
360
- instagram: "",
361
- telegram: "",
362
- support_email: ""
363
- }
364
- },
365
- [import_index.SITE.SORTE_WIN]: {
366
- name: "SO99",
367
- seo: {
368
- url: "https://www.sortewin.com/",
369
- site_name: "So99.com"
370
- },
371
- text: {
372
- title: "SO99",
373
- site: "So99.com",
374
- domain: "www.sortewin.com",
375
- facebookMessenger: "",
376
- instagram: "",
377
- telegram: "",
378
- support_email: ""
379
- }
380
- },
381
- [import_index.SITE.TRADING]: {
382
- name: "COINAX",
383
- seo: {
384
- url: "",
385
- site_name: ""
386
- },
387
- text: {
388
- title: "COINAX",
389
- site: "",
390
- domain: "",
391
- facebookMessenger: "",
392
- instagram: "",
393
- telegram: "",
394
- support_email: ""
395
- }
396
- }
397
- };
398
- // Annotate the CommonJS export names for ESM import in node:
399
- 0 && (module.exports = {
400
- DefaultSupportEmail,
401
- SiteData
402
- });
package/dist/data.d.ts DELETED
@@ -1,27 +0,0 @@
1
- import { SITE } from './index';
2
- export declare const DefaultSupportEmail = "lodics001@outlook.com";
3
- export type SiteItem = {
4
- name: string;
5
- /**meta og:* twitter:* */
6
- seo: {
7
- /**og:url/twitter:url */
8
- url: string;
9
- /**og:site_name/twitter:card */
10
- site_name: string;
11
- };
12
- text: {
13
- /**用在网页标题 291JILI */
14
- title: string;
15
- /**用在首页文案 */
16
- site: string;
17
- domain: string;
18
- /**291JILI */
19
- facebookMessenger: string;
20
- /**291JILI */
21
- instagram: string;
22
- telegram: string;
23
- /**目前用在help文案 */
24
- support_email: string;
25
- };
26
- };
27
- export declare const SiteData: Record<(typeof SITE)[keyof typeof SITE], SiteItem>;