@agoric/notifier 0.6.3-dev-d7a0e3b.0 → 0.6.3-dev-8fd731c.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/notifier",
3
- "version": "0.6.3-dev-d7a0e3b.0+d7a0e3b",
3
+ "version": "0.6.3-dev-8fd731c.0+8fd731c",
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,8 +33,8 @@
33
33
  },
34
34
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
35
35
  "dependencies": {
36
- "@agoric/internal": "0.3.3-dev-d7a0e3b.0+d7a0e3b",
37
- "@agoric/vat-data": "0.5.3-dev-d7a0e3b.0+d7a0e3b",
36
+ "@agoric/internal": "0.3.3-dev-8fd731c.0+8fd731c",
37
+ "@agoric/vat-data": "0.5.3-dev-8fd731c.0+8fd731c",
38
38
  "@endo/errors": "^1.2.8",
39
39
  "@endo/far": "^1.1.9",
40
40
  "@endo/marshal": "^1.6.2",
@@ -42,10 +42,10 @@
42
42
  "@endo/promise-kit": "^1.1.8"
43
43
  },
44
44
  "devDependencies": {
45
- "@agoric/kmarshal": "0.1.1-dev-d7a0e3b.0+d7a0e3b",
46
- "@agoric/swing-store": "0.9.2-dev-d7a0e3b.0+d7a0e3b",
47
- "@agoric/swingset-liveslots": "0.10.3-dev-d7a0e3b.0+d7a0e3b",
48
- "@agoric/swingset-vat": "0.32.3-dev-d7a0e3b.0+d7a0e3b",
45
+ "@agoric/kmarshal": "0.1.1-dev-8fd731c.0+8fd731c",
46
+ "@agoric/swing-store": "0.9.2-dev-8fd731c.0+8fd731c",
47
+ "@agoric/swingset-liveslots": "0.10.3-dev-8fd731c.0+8fd731c",
48
+ "@agoric/swingset-vat": "0.32.3-dev-8fd731c.0+8fd731c",
49
49
  "@endo/init": "^1.1.7",
50
50
  "@endo/ses-ava": "^1.2.8",
51
51
  "ava": "^5.3.0",
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 90.77
80
80
  },
81
- "gitHead": "d7a0e3bbf86783bb85391c777a4f19e0b5f21290"
81
+ "gitHead": "8fd731ce457512f3ad1b7d8e936b935e0f8d3b9b"
82
82
  }
package/src/storesub.d.ts CHANGED
@@ -1,17 +1,7 @@
1
1
  export function forEachPublicationRecord<T>(subscriber: Subscriber<T>, consumeValue: (v: T) => void): Promise<void>;
2
2
  export function makeStoredSubscriber<T extends import("@endo/marshal").PassableCap>(subscriber: Subscriber<T>, storageNode: ERef<StorageNode>, marshaller: ERef<ReturnType<typeof makeMarshal>>): StoredSubscriber<T>;
3
- export function makeStoredSubscription<T>(subscription: Subscription<T>, storageNode?: ERef<StorageNode> | undefined, marshaller?: ERef<{
4
- toCapData: import("@endo/marshal").ToCapData<unknown>;
5
- fromCapData: import("@endo/marshal").FromCapData<unknown>;
6
- serialize: import("@endo/marshal").ToCapData<unknown>;
7
- unserialize: import("@endo/marshal").FromCapData<unknown>;
8
- }> | undefined): StoredSubscription<T>;
9
- export function makeStoredPublisherKit<T = unknown>(storageNode?: ERef<StorageNode> | undefined, marshaller?: ERef<{
10
- toCapData: import("@endo/marshal").ToCapData<unknown>;
11
- fromCapData: import("@endo/marshal").FromCapData<unknown>;
12
- serialize: import("@endo/marshal").ToCapData<unknown>;
13
- unserialize: import("@endo/marshal").FromCapData<unknown>;
14
- }> | undefined, childPath?: string | undefined): StoredPublisherKit<T>;
3
+ export function makeStoredSubscription<T>(subscription: Subscription<T>, storageNode?: ERef<StorageNode>, marshaller?: ERef<ReturnType<typeof makeMarshal>>): StoredSubscription<T>;
4
+ export function makeStoredPublisherKit<T = unknown>(storageNode?: ERef<StorageNode>, marshaller?: ERef<Marshaller>, childPath?: string): StoredPublisherKit<T>;
15
5
  export function makeStoredPublishKit<T = unknown>(storageNode: ERef<StorageNode>, marshaller: ERef<Marshaller>): StoredPublishKit<T>;
16
6
  export type StoredPublisherKit<T> = {
17
7
  subscriber: StoredSubscription<T>;
@@ -1 +1 @@
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"}
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,gBACf,KAAK,WAAW,CAAC,eACjB,KAAK,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,GAClC,mBAAmB,CAAC,CAAC,CAqEjC;AAoBM,uCANO,CAAC,0BACJ,KAAK,WAAW,CAAC,eACjB,KAAK,UAAU,CAAC,cAChB,MAAM,GACJ,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"}
@@ -1,17 +1,17 @@
1
1
  export function subscribe<T>(itP: ERef<AsyncIterableIterator<T>>): {
2
2
  [Symbol.asyncIterator]: () => {
3
- [Symbol.asyncIterator]: () => any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, any>;
3
+ [Symbol.asyncIterator]: () => /*elided*/ any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, /*elided*/ any>;
4
4
  next: () => Promise<IteratorResult<T, any>>;
5
5
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
6
- [Symbol.asyncIterator]: () => any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, any>;
6
+ [Symbol.asyncIterator]: () => /*elided*/ any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, /*elided*/ any>;
7
7
  next: () => Promise<IteratorResult<T, any>>;
8
8
  }>;
9
9
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
10
10
  [Symbol.asyncIterator]: () => {
11
- [Symbol.asyncIterator]: () => any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, any>;
11
+ [Symbol.asyncIterator]: () => /*elided*/ any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, /*elided*/ any>;
12
12
  next: () => Promise<IteratorResult<T, any>>;
13
13
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
14
- [Symbol.asyncIterator]: () => any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, any>;
14
+ [Symbol.asyncIterator]: () => /*elided*/ any & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, /*elided*/ any>;
15
15
  next: () => Promise<IteratorResult<T, any>>;
16
16
  }>;
17
17
  }>;
@@ -1,5 +1,5 @@
1
1
  export { eventLoopIteration } from "@agoric/internal/src/testing-utils.js";
2
- export function makeFakeStorage(path: string, publication?: IterationObserver<unknown> | undefined): StorageNode & {
2
+ export function makeFakeStorage(path: string, publication?: IterationObserver<unknown>): StorageNode & {
3
3
  countSetValueCalls: () => number;
4
4
  };
5
5
  export function makeFakeMarshaller(): {
@@ -1 +1 @@
1
- {"version":3,"file":"testSupports.d.ts","sourceRoot":"","sources":["testSupports.js"],"names":[],"mappings":";AAaO,sCAHI,MAAM;wBAWgC,MAAM,MAAM;EAe5D;AAGM;;;;;EAGH;uCAvCgC,iBAAiB;iCACvB,0CAA0C"}
1
+ {"version":3,"file":"testSupports.d.ts","sourceRoot":"","sources":["testSupports.js"],"names":[],"mappings":";AAaO,sCAHI,MAAM,gBACN,kBAAkB,OAAO,CAAC;wBAUY,MAAM,MAAM;EAe5D;AAGM;;;;;EAGH;uCAvCgC,iBAAiB;iCACvB,0CAA0C"}