@volter/world-core 2.0.0 → 2.0.1
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/app-route.cjs +95 -6
- package/app-route.d.cts +2 -1
- package/dist/app-route.cjs +95 -6
- package/dist/app-route.d.cts +2 -1
- package/dist/generated/pack-facts.json +127 -8
- package/dist/inject.cjs +46 -1
- package/dist/src/actions.d.ts +24 -0
- package/dist/src/actions.js +49 -2
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +4 -2
- package/dist/src/packRegistry.d.ts +8 -6
- package/dist/src/redis/engine.d.ts +308 -0
- package/dist/src/redis/engine.js +1663 -0
- package/dist/src/redis/index.d.ts +2 -0
- package/dist/src/redis/index.js +6 -0
- package/dist/src/redis/lua.d.ts +153 -0
- package/dist/src/redis/lua.js +1373 -0
- package/dist/src/storage.d.ts +22 -1
- package/dist/src/storage.js +55 -1
- package/dist/src/world-clock.d.ts +2 -2
- package/dist/src/world-clock.js +18 -17
- package/dist/vendor-hosts.cjs +2 -2
- package/dist/world-clock.cjs +40 -0
- package/dist/world-clock.d.cts +4 -0
- package/generated/pack-facts.json +127 -8
- package/inject.cjs +46 -1
- package/package.json +11 -1
- package/src/actions.ts +53 -2
- package/src/index.ts +5 -0
- package/src/packRegistry.ts +8 -6
- package/src/redis/engine.ts +1468 -0
- package/src/redis/index.ts +6 -0
- package/src/redis/lua.ts +1250 -0
- package/src/storage.ts +52 -2
- package/src/world-clock.ts +19 -16
- package/vendor-hosts.cjs +2 -2
- package/world-clock.cjs +40 -0
- package/world-clock.d.cts +4 -0
package/src/packRegistry.ts
CHANGED
|
@@ -15,12 +15,14 @@ import { registerAuthStrategy, registerStateSystem, type StateSystemAdapters } f
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* How a pack's clients ADDRESS it. The first three are HTTP API styles; `raw-tcp` is the
|
|
18
|
-
* RAW-PROTOCOL class — a pack whose clients speak
|
|
19
|
-
* rather than HTTP, so none of the HTTP machinery applies: no
|
|
20
|
-
* the injector's `VENDOR_HOSTS` host map is possible (the
|
|
21
|
-
* sees the traffic). Such a pack is wired into a world
|
|
22
|
-
* and this value is what tells a reader that "no injector
|
|
23
|
-
* missing wiring point. `packages/twin/smtp`
|
|
18
|
+
* RAW-PROTOCOL class — a pack whose clients speak their protocol directly over a TCP socket
|
|
19
|
+
* rather than through the HTTP/1 fetch machinery, so none of the HTTP machinery applies: no
|
|
20
|
+
* `browserRouting`, and no entry in the injector's `VENDOR_HOSTS` host map is possible (the
|
|
21
|
+
* injector patches http/fetch and never sees the traffic). Such a pack is wired into a world
|
|
22
|
+
* through app-read host/port env instead, and this value is what tells a reader that "no injector
|
|
23
|
+
* entry" is STRUCTURAL rather than a missing wiring point. `packages/twin/smtp` (a line protocol)
|
|
24
|
+
* is the first; `packages/twin/temporal` (gRPC: HTTP/2 framing its clients drive themselves) the
|
|
25
|
+
* second.
|
|
24
26
|
*
|
|
25
27
|
* Deliberately the transport CLASS, not the protocol name: naming the wire protocol would put a
|
|
26
28
|
* vendor id in the kernel the moment a pack is named after its protocol, which is exactly what
|