@sebbo2002/vestaboard 1.0.1-develop.2 → 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/LICENSE +1 -1
- package/dist/types.d.ts +4 -4
- package/package.json +18 -18
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2023 Sebastian Pekarek
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
6
6
|
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
package/dist/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import ReadWriteAPI from './read-write-api.js';
|
|
|
3
3
|
import LocalAPI from './local-api.js';
|
|
4
4
|
export declare const BOARD_LINE_LENGTH = 22;
|
|
5
5
|
export declare const BOARD_LINES = 6;
|
|
6
|
-
export
|
|
6
|
+
export type BoardCharLine = [
|
|
7
7
|
number,
|
|
8
8
|
number,
|
|
9
9
|
number,
|
|
@@ -27,7 +27,7 @@ export declare type BoardCharLine = [
|
|
|
27
27
|
number,
|
|
28
28
|
number
|
|
29
29
|
];
|
|
30
|
-
export
|
|
30
|
+
export type BoardCharArray = [
|
|
31
31
|
BoardCharLine,
|
|
32
32
|
BoardCharLine,
|
|
33
33
|
BoardCharLine,
|
|
@@ -62,7 +62,7 @@ export interface RequestFetchResponse {
|
|
|
62
62
|
readonly statusText: string;
|
|
63
63
|
json(): Promise<unknown>;
|
|
64
64
|
}
|
|
65
|
-
export
|
|
65
|
+
export type RequestOptionsFetch = (url: string, init?: RequestFetchOptions) => Promise<RequestFetchResponse>;
|
|
66
66
|
export interface RequestOptions {
|
|
67
67
|
fetch?: RequestOptionsFetch;
|
|
68
68
|
parseResponse?: boolean;
|
|
@@ -103,4 +103,4 @@ export interface ReadWriteGetMessageResponse {
|
|
|
103
103
|
layout: string;
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
export
|
|
106
|
+
export type Boards = Array<LocalAPI | ReadWriteAPI | SubscriptionAPI>;
|
package/package.json
CHANGED
|
@@ -5,33 +5,33 @@
|
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"grapheme-splitter": "^1.0.4",
|
|
8
|
-
"node-fetch": "^3.
|
|
8
|
+
"node-fetch": "^3.3.0"
|
|
9
9
|
},
|
|
10
10
|
"description": "Just another client for the Vestaboard APIs.",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@
|
|
13
|
-
"@
|
|
14
|
-
"@semantic-release/changelog": "^6.0.1",
|
|
12
|
+
"@qiwi/semantic-release-gh-pages-plugin": "^5.2.4",
|
|
13
|
+
"@semantic-release/changelog": "^6.0.2",
|
|
15
14
|
"@semantic-release/exec": "^6.0.3",
|
|
16
15
|
"@semantic-release/git": "^10.0.1",
|
|
17
|
-
"@
|
|
18
|
-
"@types/
|
|
19
|
-
"@types/
|
|
20
|
-
"@
|
|
21
|
-
"@typescript-eslint/
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"eslint
|
|
16
|
+
"@semantic-release/npm": "^9.0.2",
|
|
17
|
+
"@types/express": "^4.17.17",
|
|
18
|
+
"@types/mocha": "^10.0.1",
|
|
19
|
+
"@types/node": "^18.13.0",
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
21
|
+
"@typescript-eslint/parser": "^5.51.0",
|
|
22
|
+
"c8": "^7.12.0",
|
|
23
|
+
"dotenv": "^16.0.3",
|
|
24
|
+
"eslint": "^8.33.0",
|
|
25
|
+
"eslint-plugin-jsonc": "^2.6.0",
|
|
26
26
|
"esm": "^3.2.25",
|
|
27
27
|
"license-checker": "^25.0.1",
|
|
28
|
-
"mocha": "^10.
|
|
28
|
+
"mocha": "^10.2.0",
|
|
29
29
|
"mochawesome": "^7.1.3",
|
|
30
30
|
"semantic-release-license": "^1.0.3",
|
|
31
31
|
"source-map-support": "^0.5.21",
|
|
32
|
-
"ts-node": "^10.
|
|
33
|
-
"typedoc": "^0.23.
|
|
34
|
-
"typescript": "^4.
|
|
32
|
+
"ts-node": "^10.9.1",
|
|
33
|
+
"typedoc": "^0.23.24",
|
|
34
|
+
"typescript": "^4.9.5"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": "^12.20.0 || >=14.13.1"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"test": "mocha"
|
|
59
59
|
},
|
|
60
60
|
"type": "module",
|
|
61
|
-
"version": "1.0.1
|
|
61
|
+
"version": "1.0.1"
|
|
62
62
|
}
|