@agoric/time 0.3.3-other-dev-3eb1a1d.0 → 0.3.3-other-dev-fbe72e7.0.fbe72e7
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 +13 -13
- package/src/types.ts +3 -3
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/time",
|
|
3
|
-
"version": "0.3.3-other-dev-
|
|
3
|
+
"version": "0.3.3-other-dev-fbe72e7.0.fbe72e7",
|
|
4
4
|
"description": "Timestamps, time math, timer service API definition",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "index.js",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": "^
|
|
9
|
+
"node": "^20.9 || ^22.11"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "exit 0",
|
|
13
13
|
"test": "ava",
|
|
14
14
|
"test:xs": "exit 0",
|
|
15
|
-
"lint": "run-s --continue-on-error lint:*",
|
|
16
|
-
"lint:types": "tsc",
|
|
17
|
-
"lint:eslint": "eslint .",
|
|
15
|
+
"lint": "yarn run -T run-s --continue-on-error 'lint:*'",
|
|
16
|
+
"lint:types": "yarn run -T tsc",
|
|
17
|
+
"lint:eslint": "yarn run -T eslint .",
|
|
18
18
|
"lint-fix": "yarn lint:eslint --fix"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/store": "0.9.3-other-dev-
|
|
35
|
-
"@endo/errors": "^1.2.
|
|
36
|
-
"@endo/nat": "^5.
|
|
37
|
-
"@endo/patterns": "^1.
|
|
34
|
+
"@agoric/store": "0.9.3-other-dev-fbe72e7.0.fbe72e7",
|
|
35
|
+
"@endo/errors": "^1.2.13",
|
|
36
|
+
"@endo/nat": "^5.1.3",
|
|
37
|
+
"@endo/patterns": "^1.7.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@endo/far": "^1.1.
|
|
41
|
-
"@endo/init": "^1.1.
|
|
40
|
+
"@endo/far": "^1.1.14",
|
|
41
|
+
"@endo/init": "^1.1.12",
|
|
42
42
|
"ava": "^5.3.0"
|
|
43
43
|
},
|
|
44
44
|
"ava": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"typeCoverage": {
|
|
61
|
-
"atLeast": 88.
|
|
61
|
+
"atLeast": 88.75
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "fbe72e72107f9997f788674e668c660d92ec4492"
|
|
64
64
|
}
|
package/src/types.ts
CHANGED
|
@@ -105,7 +105,7 @@ export type CancelToken = object;
|
|
|
105
105
|
* schedule a single wake() call, create a repeater that will allow scheduling
|
|
106
106
|
* of events at regular intervals, or remove scheduled calls.
|
|
107
107
|
*/
|
|
108
|
-
export interface
|
|
108
|
+
export interface TimerServiceCommon {
|
|
109
109
|
/**
|
|
110
110
|
* Retrieve the latest timestamp
|
|
111
111
|
*/
|
|
@@ -180,9 +180,9 @@ export interface TimerServiceI {
|
|
|
180
180
|
getTimerBrand: () => TimerBrand;
|
|
181
181
|
}
|
|
182
182
|
// XXX copied from Remotable helper return type
|
|
183
|
-
export type TimerService =
|
|
183
|
+
export type TimerService = TimerServiceCommon &
|
|
184
184
|
RemotableObject<'TimerService'> &
|
|
185
|
-
RemotableBrand<
|
|
185
|
+
RemotableBrand<object, TimerServiceCommon>;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Read-only access to a TimeService's current time. This allows reading the
|