libshv-js 3.11.0 → 3.11.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/package.json +7 -7
- package/src/rpcvalue.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libshv-js",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1",
|
|
4
4
|
"description": "Typescript implementation of libshv",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"zod": "^3.25.67"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@typescript-eslint/parser": "^8.
|
|
35
|
-
"eslint": "^9.
|
|
36
|
-
"eslint-config-xo": "^0.
|
|
34
|
+
"@typescript-eslint/parser": "^8.35.0",
|
|
35
|
+
"eslint": "^9.29.0",
|
|
36
|
+
"eslint-config-xo": "^0.47.0",
|
|
37
37
|
"eslint-formatter-unix": "^8.40.0",
|
|
38
|
-
"eslint-plugin-unicorn": "^
|
|
39
|
-
"typescript": "^5.8.
|
|
40
|
-
"typescript-eslint": "^8.
|
|
38
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
39
|
+
"typescript": "^5.8.3",
|
|
40
|
+
"typescript-eslint": "^8.35.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/rpcvalue.ts
CHANGED
|
@@ -137,7 +137,9 @@ const makeMap = <T extends Record<string, RpcValue> = Record<string, RpcValue>,
|
|
|
137
137
|
});
|
|
138
138
|
|
|
139
139
|
class RpcValueWithMetaData<MetaSchema extends MetaMap = MetaMap, ValueSchema extends RpcValueType = RpcValueType> {
|
|
140
|
-
constructor(public meta: MetaSchema, public value: ValueSchema) {
|
|
140
|
+
constructor(public meta: MetaSchema, public value: ValueSchema) {
|
|
141
|
+
/* nothing */
|
|
142
|
+
}
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
export type RpcValue = RpcValueType | RpcValueWithMetaData;
|