@actuallab/rpc 14.0.17 → 14.1.5
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/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -56,9 +56,9 @@ __export(index_exports, {
|
|
|
56
56
|
RpcOutboundCall: () => RpcOutboundCall,
|
|
57
57
|
RpcOutboundCallTracker: () => RpcOutboundCallTracker,
|
|
58
58
|
RpcPeer: () => RpcPeer,
|
|
59
|
-
RpcPeerRefBuilder: () => RpcPeerRefBuilder,
|
|
60
59
|
RpcPeerStateKind: () => RpcPeerStateKind,
|
|
61
60
|
RpcPeerStateMonitor: () => RpcPeerStateMonitor,
|
|
61
|
+
RpcRefBuilder: () => RpcRefBuilder,
|
|
62
62
|
RpcRemoteExecutionMode: () => RpcRemoteExecutionMode,
|
|
63
63
|
RpcRemoteObjectTracker: () => RpcRemoteObjectTracker,
|
|
64
64
|
RpcSerializationFormat: () => RpcSerializationFormat,
|
|
@@ -3072,7 +3072,7 @@ var RpcClientPeer = class extends RpcPeer {
|
|
|
3072
3072
|
* @param url Full WebSocket URL — the serialization format is taken from
|
|
3073
3073
|
* the `f=` query parameter (e.g. `wss://host/rpc/ws?f=msgpack6`);
|
|
3074
3074
|
* falls back to the resolver's default when absent. Use
|
|
3075
|
-
* {@link
|
|
3075
|
+
* {@link RpcRefBuilder.forClient} to compose URLs with a format.
|
|
3076
3076
|
* @param mustStart Kick off the reconnect loop automatically at the end of
|
|
3077
3077
|
* construction (default `true`). Pass `false` if you need to
|
|
3078
3078
|
* tweak `reconnectDelayer`, `handshakeTimeoutMs`, or similar
|
|
@@ -4392,8 +4392,8 @@ function isSameWireMethod(a, b) {
|
|
|
4392
4392
|
return a.wireArgCount === b.wireArgCount && a.callTypeId === b.callTypeId && a.stream === b.stream && a.noWait === b.noWait && a.remoteExecutionMode === b.remoteExecutionMode;
|
|
4393
4393
|
}
|
|
4394
4394
|
|
|
4395
|
-
// src/rpc-
|
|
4396
|
-
var
|
|
4395
|
+
// src/rpc-ref-builder.ts
|
|
4396
|
+
var RpcRefBuilder = class {
|
|
4397
4397
|
/** Build a client peer ref from a WebSocket URL, optionally baking in the
|
|
4398
4398
|
* serialization format as a `f=` query parameter.
|
|
4399
4399
|
* @param url Base WebSocket URL, e.g. `wss://host/rpc/ws`.
|
|
@@ -4675,9 +4675,9 @@ var RpcPeerStateMonitor = class {
|
|
|
4675
4675
|
RpcOutboundCall,
|
|
4676
4676
|
RpcOutboundCallTracker,
|
|
4677
4677
|
RpcPeer,
|
|
4678
|
-
RpcPeerRefBuilder,
|
|
4679
4678
|
RpcPeerStateKind,
|
|
4680
4679
|
RpcPeerStateMonitor,
|
|
4680
|
+
RpcRefBuilder,
|
|
4681
4681
|
RpcRemoteExecutionMode,
|
|
4682
4682
|
RpcRemoteObjectTracker,
|
|
4683
4683
|
RpcSerializationFormat,
|