@e-mc/watch 0.1.0 → 0.3.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/index.js +2 -2
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -146,7 +146,7 @@ class Watch extends core_1.Client {
|
|
|
146
146
|
this._assets = [];
|
|
147
147
|
this._extensions = [];
|
|
148
148
|
this._hostEvents = [];
|
|
149
|
-
this[_a] =
|
|
149
|
+
this[_a] = types_1.THRESHOLD.WATCH_INTERVAL;
|
|
150
150
|
this[_b] = 80 /* HTTP.PORT */;
|
|
151
151
|
this[_c] = 443 /* HTTP.PORT_SECURE */;
|
|
152
152
|
this[_d] = '';
|
|
@@ -533,7 +533,7 @@ class Watch extends core_1.Client {
|
|
|
533
533
|
this.modified(value).then(result => checkAborted(result, value));
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
ptime = mtime +
|
|
536
|
+
ptime = mtime + types_1.THRESHOLD.WATCH_CHANGE;
|
|
537
537
|
}
|
|
538
538
|
break;
|
|
539
539
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/watch",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Watch constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "BSD 3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.
|
|
24
|
-
"@e-mc/request": "0.
|
|
25
|
-
"@e-mc/types": "0.
|
|
23
|
+
"@e-mc/core": "0.3.0",
|
|
24
|
+
"@e-mc/request": "0.3.0",
|
|
25
|
+
"@e-mc/types": "0.3.0",
|
|
26
26
|
"ws": "^8.12.1"
|
|
27
27
|
}
|
|
28
28
|
}
|