@agoric/internal 0.3.3-dev-4f72580.0 → 0.3.3-dev-a0d8229.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/package.json +4 -4
- package/src/callback.d.ts +2 -3
- package/src/callback.d.ts.map +1 -1
- package/src/callback.js +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/internal",
|
|
3
|
-
"version": "0.3.3-dev-
|
|
3
|
+
"version": "0.3.3-dev-a0d8229.0+a0d8229",
|
|
4
4
|
"description": "Externally unsupported utilities internal to agoric-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"lint:types": "tsc"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@agoric/assert": "0.6.1-dev-
|
|
24
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
23
|
+
"@agoric/assert": "0.6.1-dev-a0d8229.0+a0d8229",
|
|
24
|
+
"@agoric/base-zone": "0.1.1-dev-a0d8229.0+a0d8229",
|
|
25
25
|
"@endo/far": "^1.0.1",
|
|
26
26
|
"@endo/init": "^1.0.1",
|
|
27
27
|
"@endo/marshal": "^1.0.1",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"typeCoverage": {
|
|
53
53
|
"atLeast": 92.26
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "a0d8229524d8a940c56d28309f67881557bc1ad3"
|
|
56
56
|
}
|
package/src/callback.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export function prepareAttenuator<M extends PropertyKey>(zone: import('@agoric/b
|
|
|
16
16
|
export function prepareGuardedAttenuator<G extends import("@endo/patterns").InterfaceGuard<Record<PropertyKey, import("@endo/patterns").MethodGuard>>>(zone: import('@agoric/base-zone').Zone, interfaceGuard: G, opts?: {
|
|
17
17
|
tag?: string | undefined;
|
|
18
18
|
} | undefined): MakeAttenuator<any>;
|
|
19
|
-
export type MakeAttenuator<T> = (args_0: {
|
|
19
|
+
export type MakeAttenuator<T extends import("@endo/exo/src/exo-tools.js").Methods> = (args_0: {
|
|
20
20
|
target?: any;
|
|
21
21
|
isSync?: boolean | undefined;
|
|
22
22
|
overrides?: {
|
|
@@ -24,8 +24,7 @@ export type MakeAttenuator<T> = (args_0: {
|
|
|
24
24
|
[x: number]: import("./types.js").Callback<any> | null | undefined;
|
|
25
25
|
[x: symbol]: import("./types.js").Callback<any> | null | undefined;
|
|
26
26
|
} | undefined;
|
|
27
|
-
}) => Farable<T>;
|
|
27
|
+
}) => import('@endo/exo/src/exo-makers.js').Farable<T>;
|
|
28
28
|
export type Callback<I extends (...args: unknown[]) => any> = import('./types.js').Callback<I>;
|
|
29
29
|
export type SyncCallback<I extends (...args: unknown[]) => any> = import('./types.js').SyncCallback<I>;
|
|
30
|
-
export type Farable<T> = import('@endo/eventual-send').RemotableBrand<{}, T> & T;
|
|
31
30
|
//# sourceMappingURL=callback.d.ts.map
|
package/src/callback.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["callback.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["callback.js"],"names":[],"mappings":"AAsDO,6CALiB,OAAO,EAAE,KAAK,GAAG,yFAWxC;AAWM,0CALiB,OAAO,EAAE,KAAK,GAAG,uGAWxC;AAaM,6DAPiB,OAAO,EAAE,KAAK,GAAG,8JAaxC;AAeM,yDATiB,OAAO,EAAE,KAAK,GAAG,8MAexC;AAiBM,2DAXiB,OAAO,EAAE,KAAK,GAAG,oOAoBxC;AAiBM,uDAXiB,OAAO,EAAE,KAAK,GAAG,oRAmBxC;AAOM,qCAHI,GAAG,kDAeb;AAgBM,+DATI,OAAO,mBAAmB,EAAE,IAAI;IAK9B,cAAc;IAEF,GAAG;;aAkEb,GAAG;;;yEAxDgB,GAAG,WAAW,OAAO,EAAE,KAAK,GAAG,KA2FhE;AAYM,6JALI,OAAO,mBAAmB,EAAE,IAAI;;oCAY1C;;;;;;;;;MAhToE,OAAO,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC;yCAI7F,OAAO,EAAE,KAAK,GAAG,IAC5B,OAAO,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;6CAIrB,OAAO,EAAE,KAAK,GAAG,IAC5B,OAAO,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC"}
|
package/src/callback.js
CHANGED
|
@@ -14,8 +14,8 @@ const ownKeys =
|
|
|
14
14
|
);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* @template T
|
|
18
|
-
* @typedef {(...args: Parameters<ReturnType<prepareAttenuator>>) => Farable<T>} MakeAttenuator
|
|
17
|
+
* @template {import('@endo/exo/src/exo-makers.js').Methods} T
|
|
18
|
+
* @typedef {(...args: Parameters<ReturnType<prepareAttenuator>>) => import('@endo/exo/src/exo-makers.js').Farable<T>} MakeAttenuator
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -28,8 +28,6 @@ const ownKeys =
|
|
|
28
28
|
* @typedef {import('./types.js').SyncCallback<I>} SyncCallback
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
|
-
/** @template T @typedef {import('@endo/eventual-send').RemotableBrand<{}, T> & T} Farable */
|
|
32
|
-
|
|
33
31
|
/**
|
|
34
32
|
* @param {unknown} key
|
|
35
33
|
* @returns {key is PropertyKey} FIXME: should be just `PropertyKey` but TS
|