@zlink-systems/stream-connector 0.21.0 → 0.23.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/dist/browser/Contracts/Calls/ZlinkStreamCalls.d.ts +1 -3
- package/dist/browser/Contracts/IZlinkStreamConnector.d.ts +10 -24
- package/dist/browser/Contracts/ZlinkStreamActor.d.ts +10 -0
- package/dist/browser/Contracts/ZlinkStreamConnectorOptions.d.ts +1 -11
- package/dist/browser/Contracts/ZlinkStreamEnums.d.ts +2 -16
- package/dist/browser/Contracts/ZlinkStreamModels.d.ts +16 -14
- package/dist/browser/Contracts/index.d.ts +4 -3
- package/dist/browser/Runtime/Calls/ZlinkStreamCallBuilders.d.ts +5 -7
- package/dist/browser/Runtime/Protocol/ZlinkStreamFrameProtocol.d.ts +3 -5
- package/dist/browser/Runtime/Protocol/ZlinkStreamHeaderCodec.d.ts +2 -7
- package/dist/browser/Runtime/ZlinkStreamActors.d.ts +45 -0
- package/dist/browser/Runtime/ZlinkStreamConnector.d.ts +19 -30
- package/dist/browser/Runtime/ZlinkStreamConnectorLifecycle.d.ts +7 -1
- package/dist/browser/Runtime/ZlinkStreamConnectorOptions.d.ts +1 -2
- package/dist/browser/Runtime/ZlinkStreamFrameSender.d.ts +3 -5
- package/dist/browser/Runtime/ZlinkStreamPendingRequests.d.ts +3 -3
- package/dist/browser/Runtime/ZlinkStreamReceiveDispatcher.d.ts +3 -3
- package/dist/browser/Runtime/ZlinkStreamReceivedMessages.d.ts +1 -0
- package/dist/browser/index.global.js +811 -357
- package/dist/browser/index.mjs +808 -354
- package/package.json +2 -2
- package/dist/browser/Runtime/ZlinkFlowContext.d.ts +0 -15
- package/dist/browser/Runtime/ZlinkStreamDiagnosticsLevelCell.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zlink-systems/stream-connector",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@zlink-systems/stream-wire": "0.
|
|
25
|
+
"@zlink-systems/stream-wire": "0.23.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ZlinkFlowOrigin } from '../Contracts';
|
|
2
|
-
export interface ZlinkFlowContextValue {
|
|
3
|
-
readonly flowId: string;
|
|
4
|
-
readonly flowOrigin: ZlinkFlowOrigin;
|
|
5
|
-
}
|
|
6
|
-
export interface ZlinkFlowContext {
|
|
7
|
-
currentOrCreate(explicit?: ZlinkFlowContextValue): ZlinkFlowContextValue;
|
|
8
|
-
createInbound(flowId?: string, flowOrigin?: ZlinkFlowOrigin): ZlinkFlowContextValue;
|
|
9
|
-
}
|
|
10
|
-
export declare class BrowserZlinkFlowContext implements ZlinkFlowContext {
|
|
11
|
-
currentOrCreate(explicit?: ZlinkFlowContextValue): ZlinkFlowContextValue;
|
|
12
|
-
createInbound(flowId?: string, flowOrigin?: ZlinkFlowOrigin): ZlinkFlowContextValue;
|
|
13
|
-
private createUuidV7;
|
|
14
|
-
}
|
|
15
|
-
export declare function formatUuidV7(bytes: Uint8Array): string;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ZlinkStreamDiagnosticsLevel } from '../Contracts';
|
|
2
|
-
/**
|
|
3
|
-
* Mutable holder for the connector's current diagnostics level (spec 26 §4.1,
|
|
4
|
-
* spec stream-connector 32 §13). The application can read and change the
|
|
5
|
-
* level at runtime without recreating the connector. Each processing point
|
|
6
|
-
* reads {@link level} exactly once and uses that value for the whole
|
|
7
|
-
* operation; the change takes effect for processing points that read the
|
|
8
|
-
* cell after the change and is never applied retroactively to frames already
|
|
9
|
-
* built.
|
|
10
|
-
*/
|
|
11
|
-
export declare class ZlinkStreamDiagnosticsLevelCell {
|
|
12
|
-
private current;
|
|
13
|
-
constructor(initial: ZlinkStreamDiagnosticsLevel);
|
|
14
|
-
get level(): ZlinkStreamDiagnosticsLevel;
|
|
15
|
-
set(level: ZlinkStreamDiagnosticsLevel): void;
|
|
16
|
-
}
|