@skyhelperbot/utils 2.0.0 → 2.0.2-dev

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/package.json CHANGED
@@ -1,44 +1,48 @@
1
- {
2
- "name": "@skyhelperbot/utils",
3
- "version": "2.0.0",
4
- "description": "Utilities for SkyHelper bot",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "type": "module",
8
- "scripts": {
9
- "build": "tsc && echo 'Files compiled'",
10
- "build:docs": "typedoc"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/imnaiyar/utils.git"
15
- },
16
- "keywords": [
17
- "SkyHelperUtils",
18
- "Utility"
19
- ],
20
- "imports": {},
21
- "author": "NyR (Naiyar)",
22
- "license": "MIT",
23
- "files": [
24
- "dist/**/*.js",
25
- "dist/**/*.d.ts",
26
- "shared/**/*"
27
- ],
28
- "bugs": {
29
- "url": "https://github.com/imnaiyar/utils/issues"
30
- },
31
- "homepage": "https://github.com/imnaiyar/utils#readme",
32
- "dependencies": {
33
- "@napi-rs/canvas": "^0.1.51",
34
- "discord.js": "^14.14.1",
35
- "moment-duration-format": "^2.3.2",
36
- "moment-timezone": "^0.5.45",
37
- "typescript": "^5.4.3",
38
- "undici": "^6.13.0"
39
- },
40
- "devDependencies": {
41
- "@types/moment-duration-format": "^2.2.6",
42
- "mongoose": "^8.3.2"
43
- }
44
- }
1
+ {
2
+ "name": "@skyhelperbot/utils",
3
+ "version": "2.0.2-dev",
4
+ "description": "Utilities for SkyHelper bot",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/imnaiyar/skyhelper/packages/utils"
11
+ },
12
+ "keywords": [
13
+ "SkyHelperUtils",
14
+ "Utility"
15
+ ],
16
+ "imports": {},
17
+ "author": "NyR (Naiyar)",
18
+ "license": "MIT",
19
+ "files": [
20
+ "dist/**/*.js",
21
+ "dist/**/*.d.ts",
22
+ "shared/**/*"
23
+ ],
24
+ "bugs": {
25
+ "url": "https://github.com/imnaiyar/skyhelper/issues"
26
+ },
27
+ "homepage": "https://github.com/imnaiyar/skyhelper/packages/utils#readme",
28
+ "dependencies": {
29
+ "@napi-rs/canvas": "^0.1.51",
30
+ "discord-api-types": "^0.37.93",
31
+ "moment-duration-format": "^2.3.2",
32
+ "typescript": "^5.4.3",
33
+ "undici": "^7.2.3"
34
+ },
35
+ "devDependencies": {
36
+ "@types/luxon": "^3.4.2",
37
+ "@types/moment-duration-format": "^2.2.6",
38
+ "luxon": "^3.5.0",
39
+ "mongoose": "^8.3.2"
40
+ },
41
+ "peerDependencies": {
42
+ "luxon": "^3.5.0"
43
+ },
44
+ "scripts": {
45
+ "build": "tsc && echo 'Files compiled'",
46
+ "build:docs": "typedoc"
47
+ }
48
+ }
@@ -1,41 +1,41 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{fill:#FFFFFF;}
7
- </style>
8
- <g>
9
- <g>
10
- <g>
11
- <path class="st0" d="M266.7,298.7h170.7c5.9,0,10.7-4.8,10.7-10.7s-4.8-10.7-10.7-10.7H266.7c-5.9,0-10.7,4.8-10.7,10.7
12
- S260.8,298.7,266.7,298.7z"/>
13
- <path class="st0" d="M512,202.7V160c0-10.3-3.1-19.8-8.1-28c-0.1-0.3-0.1-0.6-0.3-0.8l-66-106C427.8,9.4,410.9,0,392.3,0H119.7
14
- c-18.6,0-35.5,9.4-45.3,25.2l-66,106c-0.1,0.2-0.1,0.4-0.3,0.7C3.1,140.1,0,149.7,0,160v42.7c0,17.5,8.6,32.9,21.7,42.7
15
- C8.6,255.1,0,270.5,0,288v42.7c0,17.5,8.6,32.9,21.7,42.7C8.6,383.1,0,398.5,0,416v42.7C0,488.1,23.9,512,53.3,512h139.9
16
- c5.9,0,10.7-4.8,10.7-10.7s-4.8-10.7-10.7-10.7H53.3c-17.6,0-32-14.4-32-32V416c0-17.7,14.4-32,32-32h178.4
17
- c5.9,0,10.7-4.8,10.7-10.7s-4.8-10.7-10.7-10.7H53.3c-17.6,0-32-14.4-32-32V288c0-17.7,14.4-32,32-32h405.3c17.6,0,32,14.4,32,32
18
- v42.7c0,4.7-1.2,9.4-3.4,14c-2.6,5.3-0.4,11.7,4.9,14.3c5.3,2.6,11.7,0.4,14.3-4.9c3.7-7.5,5.5-15.3,5.5-23.3V288
19
- c0-17.5-8.6-32.9-21.7-42.7C503.4,235.6,512,220.2,512,202.7z M92.5,36.4c5.9-9.5,16-15.1,27.2-15.1h272.6
20
- c11.1,0,21.3,5.7,27.2,15.1l44,70.7c-1.6-0.2-3.2-0.5-4.8-0.5H53.3c-1.6,0-3.2,0.3-4.8,0.5L92.5,36.4z M490.7,202.7
21
- c0,17.6-14.4,32-32,32H53.3c-17.6,0-32-14.4-32-32V160c0-17.7,14.4-32,32-32h405.3c17.6,0,32,14.3,32,32L490.7,202.7L490.7,202.7
22
- z"/>
23
- <path class="st0" d="M42.7,437.3c0,17.6,14.4,32,32,32s32-14.4,32-32s-14.4-32-32-32S42.7,419.7,42.7,437.3z M85.3,437.3
24
- c0,5.9-4.8,10.7-10.7,10.7S64,443.2,64,437.3s4.8-10.7,10.7-10.7S85.3,431.4,85.3,437.3z"/>
25
- <path class="st0" d="M437.3,362.7c-1.9,0-3.9,0.1-5.8,0.3C413.8,336.3,383.9,320,352,320c-49.7,0-90.6,37.9-95.5,86.3
26
- c-24.6,4.7-43.2,26.4-43.2,52.4c0,29.4,23.9,53.3,53.3,53.3h170.7c41.2,0,74.7-33.5,74.7-74.7S478.5,362.7,437.3,362.7z
27
- M437.3,490.7H266.7c-17.6,0-32-14.4-32-32s14.4-32,32-32c5.9,0,10.7-4.8,10.7-10.7c0-41.2,33.5-74.7,74.7-74.7
28
- c26.7,0,51.5,14.7,64.8,38.4c2.2,3.9,6.6,6,11.2,5.3c3.1-0.5,6.1-1,9.3-1c29.4,0,53.3,23.9,53.3,53.3S466.7,490.7,437.3,490.7z"
29
- />
30
- <path class="st0" d="M437.3,149.3H266.7c-5.9,0-10.7,4.8-10.7,10.7s4.8,10.7,10.7,10.7h170.7c5.9,0,10.7-4.8,10.7-10.7
31
- S443.2,149.3,437.3,149.3z"/>
32
- <path class="st0" d="M437.3,192H266.7c-5.9,0-10.7,4.8-10.7,10.7s4.8,10.7,10.7,10.7h170.7c5.9,0,10.7-4.8,10.7-10.7
33
- S443.2,192,437.3,192z"/>
34
- <path class="st0" d="M74.7,149.3c-17.6,0-32,14.3-32,32s14.4,32,32,32s32-14.4,32-32C106.7,163.7,92.3,149.3,74.7,149.3z
35
- M74.7,192c-5.9,0-10.7-4.8-10.7-10.7s4.8-10.7,10.7-10.7s10.7,4.8,10.7,10.7S80.6,192,74.7,192z"/>
36
- <path class="st0" d="M42.7,309.3c0,17.6,14.4,32,32,32s32-14.4,32-32s-14.4-32-32-32S42.7,291.7,42.7,309.3z M85.3,309.3
37
- c0,5.9-4.8,10.7-10.7,10.7S64,315.2,64,309.3s4.8-10.7,10.7-10.7S85.3,303.4,85.3,309.3z"/>
38
- </g>
39
- </g>
40
- </g>
41
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#FFFFFF;}
7
+ </style>
8
+ <g>
9
+ <g>
10
+ <g>
11
+ <path class="st0" d="M266.7,298.7h170.7c5.9,0,10.7-4.8,10.7-10.7s-4.8-10.7-10.7-10.7H266.7c-5.9,0-10.7,4.8-10.7,10.7
12
+ S260.8,298.7,266.7,298.7z"/>
13
+ <path class="st0" d="M512,202.7V160c0-10.3-3.1-19.8-8.1-28c-0.1-0.3-0.1-0.6-0.3-0.8l-66-106C427.8,9.4,410.9,0,392.3,0H119.7
14
+ c-18.6,0-35.5,9.4-45.3,25.2l-66,106c-0.1,0.2-0.1,0.4-0.3,0.7C3.1,140.1,0,149.7,0,160v42.7c0,17.5,8.6,32.9,21.7,42.7
15
+ C8.6,255.1,0,270.5,0,288v42.7c0,17.5,8.6,32.9,21.7,42.7C8.6,383.1,0,398.5,0,416v42.7C0,488.1,23.9,512,53.3,512h139.9
16
+ c5.9,0,10.7-4.8,10.7-10.7s-4.8-10.7-10.7-10.7H53.3c-17.6,0-32-14.4-32-32V416c0-17.7,14.4-32,32-32h178.4
17
+ c5.9,0,10.7-4.8,10.7-10.7s-4.8-10.7-10.7-10.7H53.3c-17.6,0-32-14.4-32-32V288c0-17.7,14.4-32,32-32h405.3c17.6,0,32,14.4,32,32
18
+ v42.7c0,4.7-1.2,9.4-3.4,14c-2.6,5.3-0.4,11.7,4.9,14.3c5.3,2.6,11.7,0.4,14.3-4.9c3.7-7.5,5.5-15.3,5.5-23.3V288
19
+ c0-17.5-8.6-32.9-21.7-42.7C503.4,235.6,512,220.2,512,202.7z M92.5,36.4c5.9-9.5,16-15.1,27.2-15.1h272.6
20
+ c11.1,0,21.3,5.7,27.2,15.1l44,70.7c-1.6-0.2-3.2-0.5-4.8-0.5H53.3c-1.6,0-3.2,0.3-4.8,0.5L92.5,36.4z M490.7,202.7
21
+ c0,17.6-14.4,32-32,32H53.3c-17.6,0-32-14.4-32-32V160c0-17.7,14.4-32,32-32h405.3c17.6,0,32,14.3,32,32L490.7,202.7L490.7,202.7
22
+ z"/>
23
+ <path class="st0" d="M42.7,437.3c0,17.6,14.4,32,32,32s32-14.4,32-32s-14.4-32-32-32S42.7,419.7,42.7,437.3z M85.3,437.3
24
+ c0,5.9-4.8,10.7-10.7,10.7S64,443.2,64,437.3s4.8-10.7,10.7-10.7S85.3,431.4,85.3,437.3z"/>
25
+ <path class="st0" d="M437.3,362.7c-1.9,0-3.9,0.1-5.8,0.3C413.8,336.3,383.9,320,352,320c-49.7,0-90.6,37.9-95.5,86.3
26
+ c-24.6,4.7-43.2,26.4-43.2,52.4c0,29.4,23.9,53.3,53.3,53.3h170.7c41.2,0,74.7-33.5,74.7-74.7S478.5,362.7,437.3,362.7z
27
+ M437.3,490.7H266.7c-17.6,0-32-14.4-32-32s14.4-32,32-32c5.9,0,10.7-4.8,10.7-10.7c0-41.2,33.5-74.7,74.7-74.7
28
+ c26.7,0,51.5,14.7,64.8,38.4c2.2,3.9,6.6,6,11.2,5.3c3.1-0.5,6.1-1,9.3-1c29.4,0,53.3,23.9,53.3,53.3S466.7,490.7,437.3,490.7z"
29
+ />
30
+ <path class="st0" d="M437.3,149.3H266.7c-5.9,0-10.7,4.8-10.7,10.7s4.8,10.7,10.7,10.7h170.7c5.9,0,10.7-4.8,10.7-10.7
31
+ S443.2,149.3,437.3,149.3z"/>
32
+ <path class="st0" d="M437.3,192H266.7c-5.9,0-10.7,4.8-10.7,10.7s4.8,10.7,10.7,10.7h170.7c5.9,0,10.7-4.8,10.7-10.7
33
+ S443.2,192,437.3,192z"/>
34
+ <path class="st0" d="M74.7,149.3c-17.6,0-32,14.3-32,32s14.4,32,32,32s32-14.4,32-32C106.7,163.7,92.3,149.3,74.7,149.3z
35
+ M74.7,192c-5.9,0-10.7-4.8-10.7-10.7s4.8-10.7,10.7-10.7s10.7,4.8,10.7,10.7S80.6,192,74.7,192z"/>
36
+ <path class="st0" d="M42.7,309.3c0,17.6,14.4,32,32,32s32-14.4,32-32s-14.4-32-32-32S42.7,291.7,42.7,309.3z M85.3,309.3
37
+ c0,5.9-4.8,10.7-10.7,10.7S64,315.2,64,309.3s4.8-10.7,10.7-10.7S85.3,303.4,85.3,309.3z"/>
38
+ </g>
39
+ </g>
40
+ </g>
41
+ </svg>