socket-function 0.27.0 → 0.28.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/mobx/UrlParam.ts +7 -0
- package/package.json +1 -4
package/mobx/UrlParam.ts
CHANGED
|
@@ -30,6 +30,13 @@ export class UrlParam<T> {
|
|
|
30
30
|
history.pushState({}, "", url.toString());
|
|
31
31
|
this.valueSeqNum.value++;
|
|
32
32
|
}
|
|
33
|
+
|
|
34
|
+
public get value() {
|
|
35
|
+
return this.get();
|
|
36
|
+
}
|
|
37
|
+
public set value(value: T) {
|
|
38
|
+
this.set(value);
|
|
39
|
+
}
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
let urlBackSeqNum = observable({ value: 1 });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "socket-function",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
|
|
@@ -15,9 +15,6 @@
|
|
|
15
15
|
"typenode": "^5.4.1",
|
|
16
16
|
"ws": "^8.17.1"
|
|
17
17
|
},
|
|
18
|
-
"optionalDependencies": {
|
|
19
|
-
"rdtsc-now": "^0.5.0"
|
|
20
|
-
},
|
|
21
18
|
"scripts": {
|
|
22
19
|
"test": "yarn typenode ./test/server.ts",
|
|
23
20
|
"type": "yarn tsc --noEmit",
|