@agoric/notifier 0.6.3-dev-de2008a.0 → 0.6.3-dev-9d7a377.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.map +1 -1
- package/src/notifier.d.ts.map +1 -1
- package/src/publish-kit.d.ts.map +1 -1
- package/src/stored-notifier.d.ts +1 -1
- package/src/stored-notifier.d.ts.map +1 -1
- package/src/storesub.d.ts.map +1 -1
- package/src/subscriber.d.ts.map +1 -1
- package/src/topic.d.ts.map +1 -1
- package/src/types-ambient.d.ts +5 -5
- package/src/types.d.ts +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/notifier",
|
|
3
|
-
"version": "0.6.3-dev-
|
|
3
|
+
"version": "0.6.3-dev-9d7a377.0+9d7a377",
|
|
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-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
36
|
+
"@agoric/assert": "0.6.1-dev-9d7a377.0+9d7a377",
|
|
37
|
+
"@agoric/internal": "0.3.3-dev-9d7a377.0+9d7a377",
|
|
38
|
+
"@agoric/vat-data": "0.5.3-dev-9d7a377.0+9d7a377",
|
|
39
39
|
"@endo/far": "^1.1.1",
|
|
40
40
|
"@endo/marshal": "^1.4.1",
|
|
41
41
|
"@endo/patterns": "^1.3.1",
|
|
42
42
|
"@endo/promise-kit": "^1.1.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
46
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
47
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
48
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
45
|
+
"@agoric/kmarshal": "0.1.1-dev-9d7a377.0+9d7a377",
|
|
46
|
+
"@agoric/swing-store": "0.9.2-dev-9d7a377.0+9d7a377",
|
|
47
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-9d7a377.0+9d7a377",
|
|
48
|
+
"@agoric/swingset-vat": "0.32.3-dev-9d7a377.0+9d7a377",
|
|
49
49
|
"@endo/init": "^1.1.1",
|
|
50
50
|
"@endo/ses-ava": "^1.2.1",
|
|
51
51
|
"ava": "^5.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typeCoverage": {
|
|
79
79
|
"atLeast": 89.76
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "9d7a377c6315b72bafcede22ec58c52fb2a5adae"
|
|
82
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asyncIterableAdaptor.d.ts","sourceRoot":"","sources":["asyncIterableAdaptor.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;GAA6D;AAatD,gCAH8B,GAAC,
|
|
1
|
+
{"version":3,"file":"asyncIterableAdaptor.d.ts","sourceRoot":"","sources":["asyncIterableAdaptor.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;;GAA6D;AAatD,gCAH8B,GAAC,+EAA3B,OAAO,CAAC,iBAAiB,CAAC,GAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,SAAS,CAAC,CAyB9B;AAaM,iCAH8B,GAAC,+DAA3B,OAAO,CAAC,iBAAiB,CAAC,GAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,SAAS,CAAC,CAK9B;AAaM,gCAH8B,GAAC,wDAA3B,OAAO,CAAC,iBAAiB,CAAC,GAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,SAAS,CAAC,CAGkC"}
|
package/src/notifier.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifier.d.ts","sourceRoot":"","sources":["notifier.js"],"names":[],"mappings":"AAcO,6BAFe,CAAC,
|
|
1
|
+
{"version":3,"file":"notifier.d.ts","sourceRoot":"","sources":["notifier.js"],"names":[],"mappings":"AAcO,6BAFe,CAAC,6CAAV,QAAQ,CAAC,CAAC,CAAC,CAwBvB;AAOM,2CAFe,CAAC,oCAAV,QAAQ,CAAC,CAAC,CAAC,CAiBvB;AAoBM,gCAFqB,CAAC,sBADlB,EAAE,GAAG,CACY,CAAC,AADX,CAAC,GACN,cAAc,CAAC,CAAC,CAAC,CAsB7B;AAcM,8CAFe,CAAC,2CAAV,QAAQ,CAAC,CAAC,CAAC,CAuEvB"}
|
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":"AAqBA;;;;GAIG;AAGH,gEAA6D;AAC7D;;;GAGG;;;;;AAMH;;;;GAOE;AAEF;;;GAMG;AAEH;;;GAMG;AA+CI,+BAFiB,CAAC,
|
|
1
|
+
{"version":3,"file":"publish-kit.d.ts","sourceRoot":"","sources":["publish-kit.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AAGH,gEAA6D;AAC7D;;;GAGG;;;;;AAMH;;;;GAOE;AAEF;;;GAMG;AAEH;;;GAMG;AA+CI,+BAFiB,CAAC,KAAZ,UAAU,CAAC,CAAC,CAAC,CA4FzB;AA6MM,mFAFI,MAAM;;;;;;;;;;;;GA2EhB;AAGD,+DAAyD;4CAlP3C,SAAS,KAAG;;;;;;cASZ,OAAO,KAAG,GAAG,SAAS;;;;WAEtB,OAAO,KAAG;;;;;WACV,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,SAAS"}
|
package/src/stored-notifier.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export function makeStoredNotifier<T>(notifier: ERef<Notifier<T>>, storageNode: ERef<StorageNode>, marshaller: ERef<Marshaller<unknown>>): StoredNotifier<T>;
|
|
2
|
-
export type StoredNotifier<T> = BaseNotifier<T> & Omit<StoredFacet,
|
|
2
|
+
export type StoredNotifier<T> = BaseNotifier<T> & Omit<StoredFacet, "getStoreKey">;
|
|
3
3
|
//# sourceMappingURL=stored-notifier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stored-notifier.d.ts","sourceRoot":"","sources":["stored-notifier.js"],"names":[],"mappings":"AA2BO,mCAFqB,CAAC,
|
|
1
|
+
{"version":3,"file":"stored-notifier.d.ts","sourceRoot":"","sources":["stored-notifier.js"],"names":[],"mappings":"AA2BO,mCAFqB,CAAC,uGAAhB,cAAc,CAAC,CAAC,CAAC,CAiC7B;2BAjDyB,CAAC,IAAd,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC"}
|
package/src/storesub.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAiBO,yCAFQ,CAAC,
|
|
1
|
+
{"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAiBO,yCAFQ,CAAC,cADL,UAAU,CACN,CAAC,AADO,CAAC,gBACb,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,iBAcxB;AAiBM,qCAFuB,CAAC,cAHpB,UAAU,CAGS,CAAC,AAHR,CAAC;;;;;KAGX,gBAAgB,CAAC,CAAC,CAAC,CA6B/B;AAkBM,uCAFyB,CAAC,gBAHtB,YAAY,CAGS,CAAC,AAHR,CAAC;;;;;iBAGb,kBAAkB,CAAC,CAAC,CAAC,CAqEjC;AAoBM,uCAFyB,CAAC,8IAApB,kBAAkB,CAAC,CAAC,CAAC,CAoBjC;AAgBM,qCAFuB,CAAC,oFAAlB,gBAAgB,CAAC,CAAC,CAAC,CAU/B;+BAtD+B,CAAC;gBADnB,kBAAkB,CACA,CAAC,AADC,CAAC;eACrB,iBAAiB,CAAC,CAAC,CAAC;;4BArKN,eAAe"}
|
package/src/subscriber.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriber.d.ts","sourceRoot":"","sources":["subscriber.js"],"names":[],"mappings":"AAYA;;;;GAIG;AACH,iCAF0B,CAAC,
|
|
1
|
+
{"version":3,"file":"subscriber.d.ts","sourceRoot":"","sources":["subscriber.js"],"names":[],"mappings":"AAYA;;;;GAIG;AACH,iCAF0B,CAAC,8BAAd,YAAY,CAAC,CAAC,CAAC,CAkB3B;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,oCAFgC,CAAC,KAApB,kBAAkB,CAAC,CAAC,CAAC,CAmBjC"}
|
package/src/topic.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["topic.js"],"names":[],"mappings":"AAcO,uCAFiC,CAAC,
|
|
1
|
+
{"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["topic.js"],"names":[],"mappings":"AAcO,uCAFiC,CAAC,SAF9B,SAAS,CAEoB,CAAC,AAFnB,CAAC,GAAG,WAAW,CAEG,CAAC,AAFF,CAAC,GAE3B,SAAS,CAAkB,CAAC,AAAjB,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAoBzC"}
|
package/src/types-ambient.d.ts
CHANGED
|
@@ -142,11 +142,11 @@ type StoredPublishKit<T> = {
|
|
|
142
142
|
* 'mandatory' is the only currently-supported value, and others must not be
|
|
143
143
|
* enabled without test coverage.
|
|
144
144
|
*/
|
|
145
|
-
type DurablePublishKitValueDurability =
|
|
145
|
+
type DurablePublishKitValueDurability = "mandatory" | "opportunistic" | "ignored";
|
|
146
146
|
type DurablePublishKitState = {
|
|
147
147
|
valueDurability: DurablePublishKitValueDurability;
|
|
148
148
|
publishCount: bigint;
|
|
149
|
-
status:
|
|
149
|
+
status: "live" | "finished" | "failed";
|
|
150
150
|
/**
|
|
151
151
|
* hasValue indicates the presence of value. It starts off false,
|
|
152
152
|
* and can be reset to false when a durable publish kit is restored and
|
|
@@ -234,8 +234,8 @@ type SubscriptionRecord<T> = {
|
|
|
234
234
|
publication: IterationObserver<T>;
|
|
235
235
|
subscription: Subscription<T>;
|
|
236
236
|
};
|
|
237
|
-
type Marshaller<Slot = unknown> = import(
|
|
238
|
-
type Unserializer = Pick<Marshaller,
|
|
237
|
+
type Marshaller<Slot = unknown> = import("@endo/marshal").Marshal<Slot>;
|
|
238
|
+
type Unserializer = Pick<Marshaller, "fromCapData">;
|
|
239
239
|
/**
|
|
240
240
|
* Defined by vstorageStoreKey in vstorage.go
|
|
241
241
|
*/
|
|
@@ -279,7 +279,7 @@ type StoredFacet = {
|
|
|
279
279
|
/**
|
|
280
280
|
* DEPRECATED use getPath
|
|
281
281
|
*/
|
|
282
|
-
getStoreKey: StorageNode[
|
|
282
|
+
getStoreKey: StorageNode["getStoreKey"];
|
|
283
283
|
/**
|
|
284
284
|
* get the unserializer for the stored data
|
|
285
285
|
*/
|
package/src/types.d.ts
CHANGED
|
@@ -142,11 +142,11 @@ export type StoredPublishKit<T> = {
|
|
|
142
142
|
* 'mandatory' is the only currently-supported value, and others must not be
|
|
143
143
|
* enabled without test coverage.
|
|
144
144
|
*/
|
|
145
|
-
export type DurablePublishKitValueDurability =
|
|
145
|
+
export type DurablePublishKitValueDurability = "mandatory" | "opportunistic" | "ignored";
|
|
146
146
|
export type DurablePublishKitState = {
|
|
147
147
|
valueDurability: DurablePublishKitValueDurability;
|
|
148
148
|
publishCount: bigint;
|
|
149
|
-
status:
|
|
149
|
+
status: "live" | "finished" | "failed";
|
|
150
150
|
/**
|
|
151
151
|
* hasValue indicates the presence of value. It starts off false,
|
|
152
152
|
* and can be reset to false when a durable publish kit is restored and
|
|
@@ -234,8 +234,8 @@ export type SubscriptionRecord<T> = {
|
|
|
234
234
|
publication: IterationObserver<T>;
|
|
235
235
|
subscription: Subscription<T>;
|
|
236
236
|
};
|
|
237
|
-
export type Marshaller<Slot = unknown> = import(
|
|
238
|
-
export type Unserializer = Pick<Marshaller,
|
|
237
|
+
export type Marshaller<Slot = unknown> = import("@endo/marshal").Marshal<Slot>;
|
|
238
|
+
export type Unserializer = Pick<Marshaller, "fromCapData">;
|
|
239
239
|
/**
|
|
240
240
|
* Defined by vstorageStoreKey in vstorage.go
|
|
241
241
|
*/
|
|
@@ -279,7 +279,7 @@ export type StoredFacet = {
|
|
|
279
279
|
/**
|
|
280
280
|
* DEPRECATED use getPath
|
|
281
281
|
*/
|
|
282
|
-
getStoreKey: StorageNode[
|
|
282
|
+
getStoreKey: StorageNode["getStoreKey"];
|
|
283
283
|
/**
|
|
284
284
|
* get the unserializer for the stored data
|
|
285
285
|
*/
|