@agoric/notifier 0.6.3-upgrade-16-dev-d45b478.0 → 0.6.3-upgrade-16-dev-5e17008.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 +9 -9
- package/src/asyncIterableAdaptor.d.ts +1 -1
- package/src/asyncIterableAdaptor.d.ts.map +1 -1
- package/src/notifier.d.ts +2 -2
- package/src/notifier.d.ts.map +1 -1
- package/src/publish-kit.d.ts +2 -5
- package/src/publish-kit.d.ts.map +1 -1
- package/src/stored-notifier.d.ts +2 -31
- package/src/stored-notifier.d.ts.map +1 -1
- package/src/storesub.d.ts +3 -12
- package/src/storesub.d.ts.map +1 -1
- package/src/subscribe.d.ts.map +1 -1
- package/src/subscriber.d.ts +1 -1
- package/src/subscriber.d.ts.map +1 -1
- package/src/topic.d.ts.map +1 -1
- package/src/types.d.ts +2 -2
- package/src/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/notifier",
|
|
3
|
-
"version": "0.6.3-upgrade-16-dev-
|
|
3
|
+
"version": "0.6.3-upgrade-16-dev-5e17008.0+5e17008",
|
|
4
4
|
"description": "Notifier allows services to update clients about state changes using a stream of promises",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@agoric/assert": "0.6.1-upgrade-16-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-upgrade-16-dev-
|
|
38
|
-
"@agoric/vat-data": "0.5.3-upgrade-16-dev-
|
|
36
|
+
"@agoric/assert": "0.6.1-upgrade-16-dev-5e17008.0+5e17008",
|
|
37
|
+
"@agoric/internal": "0.3.3-upgrade-16-dev-5e17008.0+5e17008",
|
|
38
|
+
"@agoric/vat-data": "0.5.3-upgrade-16-dev-5e17008.0+5e17008",
|
|
39
39
|
"@endo/far": "^1.1.2",
|
|
40
40
|
"@endo/marshal": "^1.5.0",
|
|
41
41
|
"@endo/patterns": "^1.4.0",
|
|
42
42
|
"@endo/promise-kit": "^1.1.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@agoric/kmarshal": "0.1.1-upgrade-16-dev-
|
|
46
|
-
"@agoric/swing-store": "0.9.2-upgrade-16-dev-
|
|
47
|
-
"@agoric/swingset-liveslots": "0.10.3-upgrade-16-dev-
|
|
48
|
-
"@agoric/swingset-vat": "0.32.3-upgrade-16-dev-
|
|
45
|
+
"@agoric/kmarshal": "0.1.1-upgrade-16-dev-5e17008.0+5e17008",
|
|
46
|
+
"@agoric/swing-store": "0.9.2-upgrade-16-dev-5e17008.0+5e17008",
|
|
47
|
+
"@agoric/swingset-liveslots": "0.10.3-upgrade-16-dev-5e17008.0+5e17008",
|
|
48
|
+
"@agoric/swingset-vat": "0.32.3-upgrade-16-dev-5e17008.0+5e17008",
|
|
49
49
|
"@endo/init": "^1.1.2",
|
|
50
50
|
"@endo/ses-ava": "^1.2.2",
|
|
51
51
|
"ava": "^5.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typeCoverage": {
|
|
79
79
|
"atLeast": 90.34
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "5e1700835993739016a08936193644c1ae5abb13"
|
|
82
82
|
}
|
|
@@ -38,7 +38,7 @@ export const makeAsyncIterableFromNotifier: <T_1>(topic: ERef<LatestTopic<T_1>>)
|
|
|
38
38
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
39
39
|
[Symbol.asyncIterator]: () => import("../src/types.js").ForkableAsyncIterableIterator<T_1, T_1>;
|
|
40
40
|
}>;
|
|
41
|
-
export function observeIterator<T_1>(asyncIteratorP: ERef<AsyncIterator<T_1
|
|
41
|
+
export function observeIterator<T_1>(asyncIteratorP: ERef<AsyncIterator<T_1>>, iterationObserver: Partial<IterationObserver<T_1>>): Promise<undefined>;
|
|
42
42
|
export function observeIteration<T_1>(asyncIterableP: ERef<AsyncIterable<T_1>>, iterationObserver: Partial<IterationObserver<T_1>>): Promise<undefined>;
|
|
43
43
|
export function observeNotifier<T_1>(notifierP: ERef<LatestTopic<T_1>>, iterationObserver: Partial<IterationObserver<T_1>>): Promise<undefined>;
|
|
44
44
|
import type { LatestTopic } from '../src/types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncIterableAdaptor.d.ts","sourceRoot":"","sources":["asyncIterableAdaptor.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;GAA6D;AAatD,
|
|
1
|
+
{"version":3,"file":"asyncIterableAdaptor.d.ts","sourceRoot":"","sources":["asyncIterableAdaptor.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;GAA6D;AAatD,qDAJI,KAAK,aAAa,CAAC,GAAC,CAAC,CAAC,qBACtB,OAAO,CAAC,kBAAkB,GAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,SAAS,CAAC,CAyB9B;AAaM,sDAJI,KAAK,aAAa,CAAC,GAAC,CAAC,CAAC,qBACtB,OAAO,CAAC,kBAAkB,GAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,SAAS,CAAC,CAK9B;AAaM,gDAJI,KAAK,YAAY,GAAC,CAAC,CAAC,qBACpB,OAAO,CAAC,kBAAkB,GAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,SAAS,CAAC,CAGkC;iCApGF,iBAAiB;0BADzD,WAAW;uCAC6B,iBAAiB"}
|
package/src/notifier.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function makeNotifier<T>(sharableInternalsP:
|
|
2
|
-
export function makeNotifierFromSubscriber<T>(subscriber:
|
|
1
|
+
export function makeNotifier<T>(sharableInternalsP: ERef<LatestTopic<T>>): Notifier<T>;
|
|
2
|
+
export function makeNotifierFromSubscriber<T>(subscriber: ERef<Subscriber<T>>): Notifier<T>;
|
|
3
3
|
export function makeNotifierKit<T>(...initialStateArr: [] | [T]): NotifierRecord<T>;
|
|
4
4
|
export function makeNotifierFromAsyncIterable<T>(asyncIterableP: ERef<AsyncIterable<T>>): Notifier<T>;
|
|
5
5
|
import type { LatestTopic } from './types.js';
|
package/src/notifier.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifier.d.ts","sourceRoot":"","sources":["notifier.js"],"names":[],"mappings":"AAiBO,
|
|
1
|
+
{"version":3,"file":"notifier.d.ts","sourceRoot":"","sources":["notifier.js"],"names":[],"mappings":"AAiBO,6BAJM,CAAC,sBACH,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GAClB,SAAS,CAAC,CAAC,CAwBvB;AAOM,2CAJM,CAAC,cACH,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,GACjB,SAAS,CAAC,CAAC,CAiBvB;AAoBM,gCAJM,CAAC,sBACH,EAAE,GAAG,CAAC,CAAC,CAAC,GACN,eAAe,CAAC,CAAC,CAsB7B;AAcM,8CAJM,CAAC,kBACH,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,GACpB,SAAS,CAAC,CAAC,CAuEvB;iCA/K6F,YAAY;8BAAZ,YAAY;gCAAZ,YAAY;oCAAZ,YAAY"}
|
package/src/publish-kit.d.ts
CHANGED
|
@@ -40,11 +40,7 @@ export function prepareDurablePublishKit(baggage: import("@agoric/swingset-lives
|
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
42
42
|
export const SubscriberShape: import("@endo/patterns").Matcher;
|
|
43
|
-
export type DurablePublishKitEphemeralKey =
|
|
44
|
-
publish: (nonFinalValue: any) => void;
|
|
45
|
-
finish: (completion: any) => void;
|
|
46
|
-
fail: (reason: any) => void;
|
|
47
|
-
};
|
|
43
|
+
export type DurablePublishKitEphemeralKey = Publisher<any>;
|
|
48
44
|
export type DurablePublishKitEphemeralData = {
|
|
49
45
|
/**
|
|
50
46
|
* The current-result promise
|
|
@@ -62,4 +58,5 @@ export type DurablePublishKitEphemeralData = {
|
|
|
62
58
|
tailR: ((value: any) => void) | undefined;
|
|
63
59
|
};
|
|
64
60
|
import type { PublishKit } from '../src/types.js';
|
|
61
|
+
import type { Publisher } from '../src/types.js';
|
|
65
62
|
//# sourceMappingURL=publish-kit.d.ts.map
|
package/src/publish-kit.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-kit.d.ts","sourceRoot":"","sources":["publish-kit.js"],"names":[],"mappings":"AAwBA;;;;GAIG;AAGH,gEAA6D;AAC7D;;;GAGG;;;;;AAMH;;;;GAOE;AAEF;;;GAMG;AAEH;;;GAMG;AA+CI,+
|
|
1
|
+
{"version":3,"file":"publish-kit.d.ts","sourceRoot":"","sources":["publish-kit.js"],"names":[],"mappings":"AAwBA;;;;GAIG;AAGH,gEAA6D;AAC7D;;;GAGG;;;;;AAMH;;;;GAOE;AAEF;;;GAMG;AAEH;;;GAMG;AA+CI,+BA2CQ,CAAC,KA7CH,WAAW,CAAC,CAAC,CA4FzB;AA6MM,kDAHI,OAAO,4BAA4B,EAAE,OAAO,YAC5C,MAAM;;yBA/JwB,WACzC;;;;;;;;;;GAyOC;AAGD,+DAAyD;4CAlP3C,UAAU,GAAC,CAAC;;;;;;cASZ,OAAO,CAAC,GAAC,CAAC,GAAG,SAAS;;;;WAEtB,OAAO,CAAC,GAAC,CAAC;;;;;WACV,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,SAAS;;gCAnPsI,iBAAiB;+BAAjB,iBAAiB"}
|
package/src/stored-notifier.d.ts
CHANGED
|
@@ -1,39 +1,10 @@
|
|
|
1
|
-
export function makeStoredNotifier<T extends PassableCap>(notifier: ERef<Notifier<T>>, storageNode: ERef<StorageNode>, marshaller: ERef<
|
|
2
|
-
/**
|
|
3
|
-
* @import {ERef} from '@endo/far';
|
|
4
|
-
* @import {BaseNotifier, Notifier} from './types.js';
|
|
5
|
-
* @import {Marshaller, StoredFacet, StorageNode, Unserializer} from '@agoric/internal/src/lib-chainStorage.js';
|
|
6
|
-
* @import {PassableCap, RemotableObject} from '@endo/pass-style';
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @template T
|
|
10
|
-
* @typedef {BaseNotifier<T> & Omit<StoredFacet, 'getStoreKey'>} StoredNotifier
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Begin iterating the source, storing serialized iteration values. If the
|
|
14
|
-
* storageNode's `setValue` operation rejects, no further writes to it will
|
|
15
|
-
* be attempted (but results will remain available from the subscriber).
|
|
16
|
-
*
|
|
17
|
-
* Returns a StoredNotifier that can be used by a client to directly follow
|
|
18
|
-
* the iteration themselves, or obtain information to subscribe to the stored
|
|
19
|
-
* data out-of-band.
|
|
20
|
-
*
|
|
21
|
-
* @template {PassableCap} T
|
|
22
|
-
* @param {ERef<Notifier<T>>} notifier
|
|
23
|
-
* @param {ERef<StorageNode>} storageNode
|
|
24
|
-
* @param {ERef<Marshaller>} marshaller
|
|
25
|
-
* @returns {StoredNotifier<T>}
|
|
26
|
-
*/
|
|
27
|
-
toCapData: import("@endo/marshal").ToCapData<unknown>;
|
|
28
|
-
fromCapData: import("@endo/marshal").FromCapData<unknown>;
|
|
29
|
-
serialize: import("@endo/marshal").ToCapData<unknown>;
|
|
30
|
-
unserialize: import("@endo/marshal").FromCapData<unknown>;
|
|
31
|
-
}>): StoredNotifier<T>;
|
|
1
|
+
export function makeStoredNotifier<T extends PassableCap>(notifier: ERef<Notifier<T>>, storageNode: ERef<StorageNode>, marshaller: ERef<Marshaller>): StoredNotifier<T>;
|
|
32
2
|
export type StoredNotifier<T> = BaseNotifier<T> & Omit<StoredFacet, "getStoreKey">;
|
|
33
3
|
import type { PassableCap } from '@endo/pass-style';
|
|
34
4
|
import type { Notifier } from './types.js';
|
|
35
5
|
import type { ERef } from '@endo/far';
|
|
36
6
|
import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
|
|
7
|
+
import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
|
|
37
8
|
import type { BaseNotifier } from './types.js';
|
|
38
9
|
import type { StoredFacet } from '@agoric/internal/src/lib-chainStorage.js';
|
|
39
10
|
//# sourceMappingURL=stored-notifier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stored-notifier.d.ts","sourceRoot":"","sources":["stored-notifier.js"],"names":[],"mappings":"AAkCO,
|
|
1
|
+
{"version":3,"file":"stored-notifier.d.ts","sourceRoot":"","sources":["stored-notifier.js"],"names":[],"mappings":"AAkCO,mCANoB,CAAC,SAAf,WAAa,YACf,KAAK,SAAS,CAAC,CAAC,CAAC,eACjB,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,GACd,cAAc,CAAC,CAAC,CAAC,CAiC7B;2BAlDY,CAAC,IACD,aAAa,CAAC,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC;iCALhB,kBAAkB;8BAFxB,YAAY;0BAD9B,WAAW;iCAEmC,0CAA0C;gCAA1C,0CAA0C;kCADtE,YAAY;iCACgB,0CAA0C"}
|
package/src/storesub.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export function forEachPublicationRecord<T>(subscriber: Subscriber<T>, consumeValue: (v: T) => void): Promise<void>;
|
|
2
|
-
export function makeStoredSubscriber<T extends import("@endo/marshal").PassableCap>(subscriber: Subscriber<T>, storageNode: ERef<StorageNode>, marshaller: ERef<
|
|
3
|
-
toCapData: import("@endo/marshal").ToCapData<unknown>;
|
|
4
|
-
fromCapData: import("@endo/marshal").FromCapData<unknown>;
|
|
5
|
-
serialize: import("@endo/marshal").ToCapData<unknown>;
|
|
6
|
-
unserialize: import("@endo/marshal").FromCapData<unknown>;
|
|
7
|
-
}>): StoredSubscriber<T>;
|
|
2
|
+
export function makeStoredSubscriber<T extends import("@endo/marshal").PassableCap>(subscriber: Subscriber<T>, storageNode: ERef<StorageNode>, marshaller: ERef<ReturnType<typeof makeMarshal>>): StoredSubscriber<T>;
|
|
8
3
|
export function makeStoredSubscription<T>(subscription: Subscription<T>, storageNode?: ERef<StorageNode> | undefined, marshaller?: ERef<{
|
|
9
4
|
toCapData: import("@endo/marshal").ToCapData<unknown>;
|
|
10
5
|
fromCapData: import("@endo/marshal").FromCapData<unknown>;
|
|
@@ -17,12 +12,7 @@ export function makeStoredPublisherKit<T = unknown>(storageNode?: ERef<StorageNo
|
|
|
17
12
|
serialize: import("@endo/marshal").ToCapData<unknown>;
|
|
18
13
|
unserialize: import("@endo/marshal").FromCapData<unknown>;
|
|
19
14
|
}> | undefined, childPath?: string | undefined): StoredPublisherKit<T>;
|
|
20
|
-
export function makeStoredPublishKit<T = unknown>(storageNode: ERef<StorageNode>, marshaller: ERef<
|
|
21
|
-
toCapData: import("@endo/marshal").ToCapData<unknown>;
|
|
22
|
-
fromCapData: import("@endo/marshal").FromCapData<unknown>;
|
|
23
|
-
serialize: import("@endo/marshal").ToCapData<unknown>;
|
|
24
|
-
unserialize: import("@endo/marshal").FromCapData<unknown>;
|
|
25
|
-
}>): StoredPublishKit<T>;
|
|
15
|
+
export function makeStoredPublishKit<T = unknown>(storageNode: ERef<StorageNode>, marshaller: ERef<Marshaller>): StoredPublishKit<T>;
|
|
26
16
|
export type StoredPublisherKit<T> = {
|
|
27
17
|
subscriber: StoredSubscription<T>;
|
|
28
18
|
publisher: IterationObserver<T>;
|
|
@@ -34,6 +24,7 @@ import { makeMarshal } from '@endo/marshal';
|
|
|
34
24
|
import type { StoredSubscriber } from '../src/types.js';
|
|
35
25
|
import type { Subscription } from '../src/types.js';
|
|
36
26
|
import type { StoredSubscription } from '../src/types.js';
|
|
27
|
+
import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
|
|
37
28
|
import type { StoredPublishKit } from '../src/types.js';
|
|
38
29
|
import type { IterationObserver } from '../src/types.js';
|
|
39
30
|
//# sourceMappingURL=storesub.d.ts.map
|
package/src/storesub.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAuBO,
|
|
1
|
+
{"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAuBO,yCAJM,CAAC,cACH,WAAW,CAAC,CAAC,gBACb,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,iBAcxB;AAiBM,qCAN4C,CAAC,SAAvC,OAAQ,eAAe,EAAE,WAAY,cACvC,WAAW,CAAC,CAAC,eACb,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,GAClC,iBAAiB,CAAC,CAAC,CA6B/B;AAkBM,uCANM,CAAC,gBACH,aAAa,CAAC,CAAC;;;;;iBAGb,mBAAmB,CAAC,CAAC,CAqEjC;AAoBM,uCANO,CAAC;;;;;iDAIF,kBAAkB,CAAC,CAAC,CAAC,CAoBjC;AAgBM,qCALO,CAAC,yBACJ,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,GACd,iBAAiB,CAAC,CAAC,CAU/B;+BAzDY,CAAC;gBAEA,mBAAmB,CAAC,CAAC;eACrB,kBAAkB,CAAC,CAAC;;gCAjKmL,iBAAiB;iCAC9K,0CAA0C;0BAF3E,WAAW;4BATN,eAAe;sCAU0K,iBAAiB;kCAAjB,iBAAiB;wCAAjB,iBAAiB;gCAC9K,0CAA0C;sCADmH,iBAAiB;uCAAjB,iBAAiB"}
|
package/src/subscribe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["subscribe.js"],"names":[],"mappings":"AAqEO,
|
|
1
|
+
{"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["subscribe.js"],"names":[],"mappings":"AAqEO,0BAHM,CAAC,OACH,KAAK,qBAAqB,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;GAYrC;AAuEG,8BAHM,CAAC,SACH,KAAK,UAAU,CAAC,CAAC,CAAC;;;;GAU5B;AAsGM,gCAHM,CAAC,SACH,KAAK,YAAY,CAAC,CAAC,CAAC;;;;GAO9B;0BApQsB,WAAW;+BAC6N,iBAAiB;mDAAjB,iBAAiB;iCAAjB,iBAAiB"}
|
package/src/subscriber.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @param {ERef<EachTopic<T>>} topic
|
|
7
7
|
* @returns {Subscription<T>}
|
|
8
8
|
*/
|
|
9
|
-
export function makeSubscription<T>(topic:
|
|
9
|
+
export function makeSubscription<T>(topic: ERef<EachTopic<T>>): Subscription<T>;
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated Producers should use
|
|
12
12
|
* ```js
|
package/src/subscriber.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriber.d.ts","sourceRoot":"","sources":["subscriber.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"subscriber.d.ts","sourceRoot":"","sources":["subscriber.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH;;;;GAIG;AACH,iCAJa,CAAC,SACH,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,GAChB,aAAa,CAAC,CAAC,CAkB3B;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,oCAHa,CAAC,KACD,mBAAmB,CAAC,CAAC,CAmBjC;+BA/DgO,iBAAiB;kCAAjB,iBAAiB;wCAAjB,iBAAiB"}
|
package/src/topic.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["topic.js"],"names":[],"mappings":"AAiBO,
|
|
1
|
+
{"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["topic.js"],"names":[],"mappings":"AAiBO,uCALM,CAAC,SACH,UAAU,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,GAE3B,UAAU,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAoBzC;+BA9BwC,iBAAiB;iCAAjB,iBAAiB"}
|
package/src/types.d.ts
CHANGED
|
@@ -220,13 +220,13 @@ export type SubscriptionRecord<T> = {
|
|
|
220
220
|
publication: IterationObserver<T>;
|
|
221
221
|
subscription: Subscription<T>;
|
|
222
222
|
};
|
|
223
|
-
export type StoredSubscription<T> =
|
|
223
|
+
export type StoredSubscription<T> = Subscription<T> & {
|
|
224
224
|
getStoreKey: () => Promise<VStorageKey & {
|
|
225
225
|
subscription: Subscription<T>;
|
|
226
226
|
}>;
|
|
227
227
|
getUnserializer: () => Unserializer;
|
|
228
228
|
};
|
|
229
|
-
export type StoredSubscriber<T> =
|
|
229
|
+
export type StoredSubscriber<T> = Subscriber<T> & StoredFacet;
|
|
230
230
|
import type { Unserializer } from '@agoric/internal/src/lib-chainStorage.js';
|
|
231
231
|
import type { StoredFacet } from '@agoric/internal/src/lib-chainStorage.js';
|
|
232
232
|
//# sourceMappingURL=types.d.ts.map
|
package/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;kCAUa,CAAC,EACA,OAAO,QACP,KAAK,gBACN,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,GAAG;IAC/C,IAAQ,IAAI,qBAAqB,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;CACjD;8BAKS,CAAC,EACA,O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