@floegence/flowersec-core 5.4.1 → 5.6.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/THIRD_PARTY_NOTICES.md +5 -5
- package/dist/generated/transportV4APIResults.d.ts +125 -0
- package/dist/generated/transportV4APIResults.js +11 -0
- package/dist/generated/transportV4Registry.d.ts +3484 -0
- package/dist/generated/transportV4Registry.js +23 -0
- package/dist/v4/profileDHReference.d.ts +2 -0
- package/dist/v4/profileDHReference.js +42 -0
- package/dist/v4/strictEd25519Reference.d.ts +2 -0
- package/dist/v4/strictEd25519Reference.js +37 -0
- package/package.json +3 -3
- package/sbom/cyclonedx.json +31 -31
- package/sbom/spdx.json +37 -37
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
This file is generated from the canonical Flowersec source dependency inventory for flowersec-ts.
|
|
4
4
|
Do not edit it manually. License decisions are reviewed by the repository source license policy.
|
|
5
5
|
|
|
6
|
-
- @floegence/flowersec-node-native 5.
|
|
7
|
-
- @floegence/flowersec-node-native-darwin-arm64 5.
|
|
8
|
-
- @floegence/flowersec-node-native-darwin-x64 5.
|
|
9
|
-
- @floegence/flowersec-node-native-linux-arm64-gnu 5.
|
|
10
|
-
- @floegence/flowersec-node-native-linux-x64-gnu 5.
|
|
6
|
+
- @floegence/flowersec-node-native 5.6.0 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
|
|
7
|
+
- @floegence/flowersec-node-native-darwin-arm64 5.6.0 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
|
|
8
|
+
- @floegence/flowersec-node-native-darwin-x64 5.6.0 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
|
|
9
|
+
- @floegence/flowersec-node-native-linux-arm64-gnu 5.6.0 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
|
|
10
|
+
- @floegence/flowersec-node-native-linux-x64-gnu 5.6.0 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
|
|
11
11
|
- @noble/ciphers 2.4.0 (Declared: MIT; selected: MIT; source: https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.4.0.tgz)
|
|
12
12
|
- @noble/curves 2.4.0 (Declared: MIT; selected: MIT; source: https://registry.npmjs.org/@noble/curves/-/curves-2.4.0.tgz)
|
|
13
13
|
- @noble/hashes 2.4.0 (Declared: MIT; selected: MIT; source: https://registry.npmjs.org/@noble/hashes/-/hashes-2.4.0.tgz)
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare const transportV4APIResultsSchemaSHA256: "7ca8c62b779e721a748461e01d5ed6e4e97437aee7f3bf5e38fbcdc61f3bb959";
|
|
2
|
+
export type V4ApplicationProfile = "transport" | "services" | "execution";
|
|
3
|
+
export type V4ReliableProgress = "shared_ordered" | "independent_within_profile";
|
|
4
|
+
export type V4BoundStreamInputIsolation = "shared_failure_scope" | "bound_stream_within_profile";
|
|
5
|
+
export type V4ConsumerTLS13Verification = "not_applicable" | "controlled_terminator" | "consumer_enforced";
|
|
6
|
+
export type V4ConnectionGuaranteeScope = "complete_direct_path" | "complete_relay_path";
|
|
7
|
+
export type V4ConnectionGuaranteeAssumptions = "authenticated_peer_within_transport_profile" | "trusted_relay_and_peers_within_transport_profile";
|
|
8
|
+
export interface V4ConnectionRequirements {
|
|
9
|
+
readonly independent_reliable_read_progress: boolean;
|
|
10
|
+
readonly bound_stream_input_isolation: boolean;
|
|
11
|
+
readonly datagram: boolean;
|
|
12
|
+
readonly local_consumer_tls13_verification: boolean;
|
|
13
|
+
readonly application_profile?: V4ApplicationProfile;
|
|
14
|
+
}
|
|
15
|
+
export interface V4ConnectionGuarantees {
|
|
16
|
+
readonly reliable_progress: V4ReliableProgress;
|
|
17
|
+
readonly bound_stream_input_isolation: V4BoundStreamInputIsolation;
|
|
18
|
+
readonly datagram: boolean;
|
|
19
|
+
readonly local_consumer_tls13_verification: V4ConsumerTLS13Verification;
|
|
20
|
+
readonly scope: V4ConnectionGuaranteeScope;
|
|
21
|
+
readonly assumptions: V4ConnectionGuaranteeAssumptions;
|
|
22
|
+
}
|
|
23
|
+
export interface V4SessionInfo {
|
|
24
|
+
readonly application_profile: V4ApplicationProfile;
|
|
25
|
+
readonly selected_features: bigint;
|
|
26
|
+
readonly guarantees: V4ConnectionGuarantees;
|
|
27
|
+
}
|
|
28
|
+
export type V4Direction = "c2s" | "s2c";
|
|
29
|
+
export type V4ReadTerminal = "eof" | "abandoned" | "open" | "unknown";
|
|
30
|
+
export type V4WaitStatus = "ready" | "blocked" | "wait_canceled";
|
|
31
|
+
export type V4StreamStatus = "open" | "eof" | "aborted" | "error";
|
|
32
|
+
export type V4ReadCause = "delimiter_not_found" | "unexpected_eof";
|
|
33
|
+
export type V4CleanupState = "pending" | "complete" | "cleanup_incomplete";
|
|
34
|
+
export type V4CoreCleanup = "pending" | "complete";
|
|
35
|
+
export type V4WritePhase = "prepared" | "running" | "terminal";
|
|
36
|
+
export type V4WriteTerminalReason = "none" | "complete" | "canceled" | "deadline_exceeded" | "queue_full" | "stream_terminated" | "failed";
|
|
37
|
+
export type V4DuplexEndpointKind = "flowersec_stream" | "native_duplex";
|
|
38
|
+
export type V4DuplexOutcome = "normal" | "failed" | "aborted";
|
|
39
|
+
export type V4ResponsePublicationState = "not_applicable" | "pending" | "flushed" | "unknown";
|
|
40
|
+
export type V4ResponsePublicationCause = "response_superseded" | "response_aborted" | "owner_unavailable" | "deadline" | "publish_failed";
|
|
41
|
+
export type V4PublicationTransferResult = "success" | "already_transferred" | "owner_unavailable" | "expired" | "invalid";
|
|
42
|
+
export type V4ErrorCode = "protocol_violation" | "framing_error" | "authentication_failed" | "sequence_error" | "replay_detected" | "crypto_failure" | "rekey_failed" | "resource_exhausted" | "stream_sequence_error" | "stream_data_invalid";
|
|
43
|
+
export type V4ErrorScope = "session" | "stream";
|
|
44
|
+
export type V4RetryDisposition = "preserve_facts";
|
|
45
|
+
export interface V4TypedError {
|
|
46
|
+
readonly code: V4ErrorCode;
|
|
47
|
+
readonly scope: V4ErrorScope;
|
|
48
|
+
readonly retry_disposition: V4RetryDisposition;
|
|
49
|
+
}
|
|
50
|
+
export interface V4ReadProgress {
|
|
51
|
+
readonly offset: bigint;
|
|
52
|
+
readonly filled: bigint;
|
|
53
|
+
readonly target?: bigint;
|
|
54
|
+
}
|
|
55
|
+
export interface V4ReadResult {
|
|
56
|
+
readonly data: Uint8Array;
|
|
57
|
+
readonly progress: V4ReadProgress;
|
|
58
|
+
readonly wait_status: V4WaitStatus;
|
|
59
|
+
readonly stream_status: V4StreamStatus;
|
|
60
|
+
readonly cause?: V4ReadCause;
|
|
61
|
+
readonly error?: V4TypedError;
|
|
62
|
+
}
|
|
63
|
+
export type V4ReadMethodFailureReason = "invalid_argument" | "target_mismatch" | "read_in_progress" | "prefix_frozen" | "already_delivered" | "closed" | "time_pending" | "time_unavailable" | "authorization_denied" | "owner_unavailable";
|
|
64
|
+
export interface V4ReaderCursorSnapshot {
|
|
65
|
+
readonly offset: bigint;
|
|
66
|
+
readonly transferred_bytes: bigint;
|
|
67
|
+
readonly target: bigint;
|
|
68
|
+
readonly stream_status: V4StreamStatus;
|
|
69
|
+
readonly target_cause?: V4ReadCause;
|
|
70
|
+
readonly stream_error?: V4TypedError;
|
|
71
|
+
readonly complete: boolean;
|
|
72
|
+
readonly frozen: boolean;
|
|
73
|
+
readonly delivered: boolean;
|
|
74
|
+
readonly closed: boolean;
|
|
75
|
+
}
|
|
76
|
+
export interface V4ReadMethodFailure {
|
|
77
|
+
readonly reason: V4ReadMethodFailureReason;
|
|
78
|
+
readonly cursor?: V4ReaderCursorSnapshot;
|
|
79
|
+
}
|
|
80
|
+
export interface V4CleanupStatus {
|
|
81
|
+
readonly status: V4CleanupState;
|
|
82
|
+
readonly core_cleanup: V4CoreCleanup;
|
|
83
|
+
readonly pending_callbacks: bigint;
|
|
84
|
+
}
|
|
85
|
+
export interface V4CloseResult {
|
|
86
|
+
readonly direction: V4Direction;
|
|
87
|
+
readonly send_drained: boolean;
|
|
88
|
+
readonly read_terminal: V4ReadTerminal;
|
|
89
|
+
readonly cleanup_status: V4CleanupStatus;
|
|
90
|
+
readonly first_error?: V4TypedError;
|
|
91
|
+
}
|
|
92
|
+
export interface V4WriteProgress {
|
|
93
|
+
readonly requested_bytes: bigint;
|
|
94
|
+
readonly accepted_bytes: bigint;
|
|
95
|
+
readonly phase: V4WritePhase;
|
|
96
|
+
readonly terminal_reason: V4WriteTerminalReason;
|
|
97
|
+
readonly cleanup_status: V4CleanupStatus;
|
|
98
|
+
}
|
|
99
|
+
export interface V4TransferProgress {
|
|
100
|
+
readonly source_read_bytes: bigint;
|
|
101
|
+
readonly destination_accepted_bytes: bigint;
|
|
102
|
+
readonly unaccepted_tail: Uint8Array;
|
|
103
|
+
}
|
|
104
|
+
export interface V4DuplexSendResult {
|
|
105
|
+
readonly endpoint_kind: V4DuplexEndpointKind;
|
|
106
|
+
readonly send_drained?: boolean;
|
|
107
|
+
readonly native_send_finished?: boolean;
|
|
108
|
+
}
|
|
109
|
+
export interface V4DuplexDirectionResult {
|
|
110
|
+
readonly progress: V4TransferProgress;
|
|
111
|
+
readonly source_status: V4StreamStatus;
|
|
112
|
+
readonly send_result: V4DuplexSendResult;
|
|
113
|
+
}
|
|
114
|
+
export interface V4DuplexResult {
|
|
115
|
+
readonly a_to_b: V4DuplexDirectionResult;
|
|
116
|
+
readonly b_to_a: V4DuplexDirectionResult;
|
|
117
|
+
readonly outcome: V4DuplexOutcome;
|
|
118
|
+
readonly cleanup_status: V4CleanupStatus;
|
|
119
|
+
readonly first_error?: V4TypedError;
|
|
120
|
+
}
|
|
121
|
+
export interface V4ResponsePublicationStatus {
|
|
122
|
+
readonly state: V4ResponsePublicationState;
|
|
123
|
+
readonly cause?: V4ResponsePublicationCause;
|
|
124
|
+
}
|
|
125
|
+
export declare function connectionAssurance(value: string): V4ConnectionGuarantees | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated draft native API types; DO NOT EDIT. Not a qualified SDK runtime.
|
|
2
|
+
export const transportV4APIResultsSchemaSHA256 = "7ca8c62b779e721a748461e01d5ed6e4e97437aee7f3bf5e38fbcdc61f3bb959";
|
|
3
|
+
export function connectionAssurance(value) {
|
|
4
|
+
switch (value) {
|
|
5
|
+
case "native_websocket_tls13": return Object.freeze({ "reliable_progress": "shared_ordered", "bound_stream_input_isolation": "shared_failure_scope", "datagram": false, "local_consumer_tls13_verification": "consumer_enforced", "scope": "complete_direct_path", "assumptions": "authenticated_peer_within_transport_profile" });
|
|
6
|
+
case "native_websocket_loopback": return Object.freeze({ "reliable_progress": "shared_ordered", "bound_stream_input_isolation": "shared_failure_scope", "datagram": false, "local_consumer_tls13_verification": "not_applicable", "scope": "complete_direct_path", "assumptions": "authenticated_peer_within_transport_profile" });
|
|
7
|
+
case "accepted_websocket": return Object.freeze({ "reliable_progress": "shared_ordered", "bound_stream_input_isolation": "shared_failure_scope", "datagram": false, "local_consumer_tls13_verification": "not_applicable", "scope": "complete_direct_path", "assumptions": "authenticated_peer_within_transport_profile" });
|
|
8
|
+
case "browser_websocket_terminator": return Object.freeze({ "reliable_progress": "shared_ordered", "bound_stream_input_isolation": "shared_failure_scope", "datagram": false, "local_consumer_tls13_verification": "controlled_terminator", "scope": "complete_direct_path", "assumptions": "authenticated_peer_within_transport_profile" });
|
|
9
|
+
default: return undefined;
|
|
10
|
+
}
|
|
11
|
+
}
|