@isoloop/protocol 0.1.0-next.8 → 0.1.0-next.9
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/README.md +7 -0
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# @isoloop/protocol
|
|
2
|
+
|
|
3
|
+
**Internal.** The wire protocol of [Isoloop](https://github.com/isoloop/isoloop): the message, event and error types that the kernel, the bus and isolates exchange. `@isoloop/host`, `@isoloop/runtime`, `@isoloop/bus` and the adapters depend on it. App code never imports it: the types it needs come re-exported from those packages, and this package's API carries no semver promise of its own.
|
|
4
|
+
|
|
5
|
+
| Entry | What it is |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `@isoloop/protocol` | The envelopes, events, grants, bus and control messages, system topics and error codes, and the guards that check a message's shape. |
|
package/dist/index.d.ts
CHANGED
|
@@ -439,8 +439,8 @@ export type TopicConfig = {
|
|
|
439
439
|
follow: boolean;
|
|
440
440
|
};
|
|
441
441
|
};
|
|
442
|
-
/** Why persistent topics run in memory (`bus:
|
|
443
|
-
export type DurabilityDegraded = "
|
|
442
|
+
/** Why persistent topics run in memory (`bus:durability_degraded`). */
|
|
443
|
+
export type DurabilityDegraded = "another_tab" | "no_sync_access" | "open_failed";
|
|
444
444
|
/**
|
|
445
445
|
* Seeding news (ADR 0003, decision 18). `rejected`: a source record `map`
|
|
446
446
|
* threw on, returned a promise for (`seed_async`), or the topic's schema
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isoloop/protocol",
|
|
3
|
-
"version": "0.1.0-next.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.0-next.9",
|
|
4
|
+
"description": "Internal: Isoloop's wire protocol types and guards. Used by the @isoloop/* packages; not for app code.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|