@openrobops/iso21423 0.0.0-stage → 0.1.3
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 +358 -2
- package/dist/ccs-CU8XD5sl.d.cts +69 -0
- package/dist/ccs-CU8XD5sl.d.ts +69 -0
- package/dist/chunk-3JNSIJSX.js +31 -0
- package/dist/chunk-3JNSIJSX.js.map +1 -0
- package/dist/chunk-5ZIUSUHF.js +55 -0
- package/dist/chunk-5ZIUSUHF.js.map +1 -0
- package/dist/chunk-DMJ6T3RX.js +445 -0
- package/dist/chunk-DMJ6T3RX.js.map +1 -0
- package/dist/chunk-GPNR37CI.js +1915 -0
- package/dist/chunk-GPNR37CI.js.map +1 -0
- package/dist/chunk-JDO725KR.js +210 -0
- package/dist/chunk-JDO725KR.js.map +1 -0
- package/dist/chunk-JIYCTQXR.js +1 -0
- package/dist/chunk-JIYCTQXR.js.map +1 -0
- package/dist/chunk-JLUENXGS.js +48 -0
- package/dist/chunk-JLUENXGS.js.map +1 -0
- package/dist/chunk-JQAMNFAF.js +1 -0
- package/dist/chunk-JQAMNFAF.js.map +1 -0
- package/dist/chunk-LTPOAVGF.js +44 -0
- package/dist/chunk-LTPOAVGF.js.map +1 -0
- package/dist/chunk-ODBIFZN3.js +65 -0
- package/dist/chunk-ODBIFZN3.js.map +1 -0
- package/dist/chunk-OH2DOPKJ.js +107 -0
- package/dist/chunk-OH2DOPKJ.js.map +1 -0
- package/dist/chunk-QAA44UNO.js +1 -0
- package/dist/chunk-QAA44UNO.js.map +1 -0
- package/dist/chunk-RD7PYTIT.js +107 -0
- package/dist/chunk-RD7PYTIT.js.map +1 -0
- package/dist/chunk-UJC46NTA.js +13 -0
- package/dist/chunk-UJC46NTA.js.map +1 -0
- package/dist/chunk-UW6WTEPT.js +293 -0
- package/dist/chunk-UW6WTEPT.js.map +1 -0
- package/dist/chunk-W7DIDPTG.js +1 -0
- package/dist/chunk-W7DIDPTG.js.map +1 -0
- package/dist/core.cjs +2874 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +996 -0
- package/dist/core.d.ts +996 -0
- package/dist/core.js +59 -0
- package/dist/core.js.map +1 -0
- package/dist/gateway.cjs +2937 -0
- package/dist/gateway.cjs.map +1 -0
- package/dist/gateway.d.cts +165 -0
- package/dist/gateway.d.ts +165 -0
- package/dist/gateway.js +21 -0
- package/dist/gateway.js.map +1 -0
- package/dist/geometry.cjs +98 -0
- package/dist/geometry.cjs.map +1 -0
- package/dist/geometry.d.cts +38 -0
- package/dist/geometry.d.ts +38 -0
- package/dist/geometry.js +14 -0
- package/dist/geometry.js.map +1 -0
- package/dist/identity-BGr2FJmC.d.cts +258 -0
- package/dist/identity-Bw8Dik5S.d.ts +258 -0
- package/dist/index.cjs +3327 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +118 -0
- package/dist/index.d.ts +118 -0
- package/dist/index.js +193 -0
- package/dist/index.js.map +1 -0
- package/dist/schema.cjs +375 -0
- package/dist/schema.cjs.map +1 -0
- package/dist/schema.d.cts +28 -0
- package/dist/schema.d.ts +28 -0
- package/dist/schema.js +14 -0
- package/dist/schema.js.map +1 -0
- package/dist/session-RV32MFpV.d.cts +139 -0
- package/dist/session-ueiESY7Y.d.ts +139 -0
- package/dist/session.cjs +855 -0
- package/dist/session.cjs.map +1 -0
- package/dist/session.d.cts +94 -0
- package/dist/session.d.ts +94 -0
- package/dist/session.js +20 -0
- package/dist/session.js.map +1 -0
- package/dist/testing.cjs +205 -0
- package/dist/testing.cjs.map +1 -0
- package/dist/testing.d.cts +94 -0
- package/dist/testing.d.ts +94 -0
- package/dist/testing.js +169 -0
- package/dist/testing.js.map +1 -0
- package/dist/topics-BiVeZyTW.d.cts +43 -0
- package/dist/topics-BiVeZyTW.d.ts +43 -0
- package/dist/topics.cjs +134 -0
- package/dist/topics.cjs.map +1 -0
- package/dist/topics.d.cts +41 -0
- package/dist/topics.d.ts +41 -0
- package/dist/topics.js +30 -0
- package/dist/topics.js.map +1 -0
- package/dist/transport-BT4AjTn9.d.cts +61 -0
- package/dist/transport-BT4AjTn9.d.ts +61 -0
- package/dist/types.cjs +186 -0
- package/dist/types.cjs.map +1 -0
- package/dist/types.d.cts +83 -0
- package/dist/types.d.ts +83 -0
- package/dist/types.js +50 -0
- package/dist/types.js.map +1 -0
- package/dist/validators-Be0ce1b8.d.cts +29 -0
- package/dist/validators-Be0ce1b8.d.ts +29 -0
- package/package.json +48 -4
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { M as MqttTransport } from './transport-BT4AjTn9.cjs';
|
|
2
|
+
import { U as Uuid } from './ccs-CU8XD5sl.cjs';
|
|
3
|
+
import { x as Request } from './identity-BGr2FJmC.cjs';
|
|
4
|
+
import { Iso21423Client, EntityHandle, SecurityOptions, SequenceStore, ExecutionPolicy, ActionHandler } from './core.cjs';
|
|
5
|
+
import { I as Iso21423Session } from './session-RV32MFpV.cjs';
|
|
6
|
+
import { E as EntityRef } from './topics-BiVeZyTW.cjs';
|
|
7
|
+
import './validators-Be0ce1b8.cjs';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Copyright 2026 InOrbit, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
+
* you may not use this file except in compliance with the License.
|
|
14
|
+
* You may obtain a copy of the License at
|
|
15
|
+
*
|
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
+
* See the License for the specific language governing permissions and
|
|
22
|
+
* limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/** Options for {@link FleetGateway.connect}. */
|
|
26
|
+
interface FleetGatewayOptions {
|
|
27
|
+
transport?: MqttTransport;
|
|
28
|
+
url?: string;
|
|
29
|
+
security?: SecurityOptions;
|
|
30
|
+
imrfm: {
|
|
31
|
+
id: Uuid;
|
|
32
|
+
manufacturerName: string;
|
|
33
|
+
details?: Record<string, unknown>;
|
|
34
|
+
accepts?: string[];
|
|
35
|
+
provides?: string[];
|
|
36
|
+
};
|
|
37
|
+
janitor?: {
|
|
38
|
+
enabled?: boolean;
|
|
39
|
+
graceMs?: number;
|
|
40
|
+
};
|
|
41
|
+
validateOutbound?: boolean;
|
|
42
|
+
sequenceStore?: SequenceStore | null;
|
|
43
|
+
requestTimeoutMs?: number;
|
|
44
|
+
}
|
|
45
|
+
/** Options for {@link FleetGateway.registerImr}. */
|
|
46
|
+
interface ImrRegistration {
|
|
47
|
+
id: Uuid;
|
|
48
|
+
identity?: Record<string, unknown>;
|
|
49
|
+
manufacturerName?: string;
|
|
50
|
+
accepts?: string[];
|
|
51
|
+
provides?: string[];
|
|
52
|
+
executionPolicy?: ExecutionPolicy;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Fleet-wide facade (ISO 21423 IMRFM role): owns one `Iso21423Client`, the IMRFM's own
|
|
56
|
+
* `EntityHandle`, and every managed IMR's handle. Adds three things on top of `/core`: fleet-wide
|
|
57
|
+
* `onRequest` handlers replayed onto current/future robots (controller ruling R6), the
|
|
58
|
+
* empty-destination dispatch callback (ND-12), and a retained-request janitor + publish
|
|
59
|
+
* self-check that both default ON (ND-10, ND-15).
|
|
60
|
+
*/
|
|
61
|
+
declare class FleetGateway {
|
|
62
|
+
readonly client: Iso21423Client;
|
|
63
|
+
readonly imrfm: EntityHandle;
|
|
64
|
+
private readonly selfCheckEnabled;
|
|
65
|
+
private readonly selfCheckTimeoutMs;
|
|
66
|
+
private readonly imrHandles;
|
|
67
|
+
private readonly fleetHandlers;
|
|
68
|
+
private readonly perImrHandlerTypes;
|
|
69
|
+
private janitor?;
|
|
70
|
+
private dispatchCb?;
|
|
71
|
+
private constructor();
|
|
72
|
+
/**
|
|
73
|
+
* Connects the underlying client, registers the IMRFM's own identity (arming its Last Will,
|
|
74
|
+
* decision 1), runs the gateway's own publish self-check (default on, ND-15) unless
|
|
75
|
+
* `security.selfCheck` is false, and — unless `janitor.enabled` is false — starts the
|
|
76
|
+
* retained-request janitor and wires the empty-destination dispatch interceptor (ND-12).
|
|
77
|
+
*/
|
|
78
|
+
static connect(opts: FleetGatewayOptions): Promise<FleetGateway>;
|
|
79
|
+
/**
|
|
80
|
+
* Registers a new managed IMR under this IMRFM: creates its `EntityHandle`, wires it into the
|
|
81
|
+
* janitor, replays every fleet-wide `onRequest` handler onto it, and (if the gateway's self-check
|
|
82
|
+
* is enabled) publishes a self-check for it. On self-check failure, rolls back the local
|
|
83
|
+
* bookkeeping (handle map and the manager's `manages` list) before rethrowing — nothing is
|
|
84
|
+
* retained on the broker to undo, since a denied publish never lands there (ND-15).
|
|
85
|
+
*/
|
|
86
|
+
registerImr(reg: ImrRegistration): Promise<EntityHandle>;
|
|
87
|
+
/** Unregisters and removes a managed IMR (no-op if unknown), and drops it from the IMRFM's `manages` list. */
|
|
88
|
+
unregisterImr(id: Uuid): Promise<void>;
|
|
89
|
+
imrs(): EntityHandle[];
|
|
90
|
+
/**
|
|
91
|
+
* Registers an action handler either fleet-wide (default: applied to every current and future
|
|
92
|
+
* IMR, R6) or scoped to one `imr`, where it shadows a fleet-wide handler for the same type.
|
|
93
|
+
* Re-registering the same scope for the same type throws unless `override: true` is passed.
|
|
94
|
+
*/
|
|
95
|
+
onRequest<P = Record<string, unknown>>(type: string, handler: ActionHandler<P>, opts?: {
|
|
96
|
+
imr?: Uuid;
|
|
97
|
+
override?: true;
|
|
98
|
+
}): void;
|
|
99
|
+
/** Sets the callback used to pick a target IMR for a request with an empty `destination` (ND-12); return `null` to decline dispatch. */
|
|
100
|
+
onDispatch(cb: (request: Request, imrs: EntityHandle[]) => Uuid | null): void;
|
|
101
|
+
/** Graceful shutdown: managed handles are NOT unregistered — a fleet restart should not erase
|
|
102
|
+
* the fleet's retained state; call `unregisterImr` explicitly for that. */
|
|
103
|
+
close(opts?: {
|
|
104
|
+
timeout?: number;
|
|
105
|
+
}): Promise<void>;
|
|
106
|
+
/** Invokes the `onDispatch` callback (if set) and resolves its chosen uuid to a live IMR's dispatch target. */
|
|
107
|
+
private resolveDispatch;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Copyright 2026 InOrbit, Inc.
|
|
112
|
+
*
|
|
113
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
114
|
+
* you may not use this file except in compliance with the License.
|
|
115
|
+
* You may obtain a copy of the License at
|
|
116
|
+
*
|
|
117
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
118
|
+
*
|
|
119
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
120
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
121
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
122
|
+
* See the License for the specific language governing permissions and
|
|
123
|
+
* limitations under the License.
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* ND-15: MQTT 3.1.1 gives no negative acknowledgement for a denied publish, so the only way to
|
|
128
|
+
* detect a missing write grant is to read our own retained identity back.
|
|
129
|
+
*/
|
|
130
|
+
declare function publishSelfCheck(session: Iso21423Session, ref: EntityRef, timeoutMs?: number): Promise<void>;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Copyright 2026 InOrbit, Inc.
|
|
134
|
+
*
|
|
135
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
136
|
+
* you may not use this file except in compliance with the License.
|
|
137
|
+
* You may obtain a copy of the License at
|
|
138
|
+
*
|
|
139
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
140
|
+
*
|
|
141
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
142
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
143
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
144
|
+
* See the License for the specific language governing permissions and
|
|
145
|
+
* limitations under the License.
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* ND-10: the sender clears its own retained request at terminal state. The gateway additionally
|
|
150
|
+
* clears requests in its own namespaces that are still retained a grace period after the terminal
|
|
151
|
+
* status it published — protection against crashed senders. Clearing an already-cleared topic is a
|
|
152
|
+
* harmless no-op, so no "is it still retained?" probe is needed.
|
|
153
|
+
*/
|
|
154
|
+
declare class RetainedRequestJanitor {
|
|
155
|
+
private readonly session;
|
|
156
|
+
private readonly graceMs;
|
|
157
|
+
private readonly onCleared;
|
|
158
|
+
private readonly timers;
|
|
159
|
+
constructor(session: Iso21423Session, graceMs: number, onCleared: (topic: string) => void);
|
|
160
|
+
/** Schedules `requestTopic` to be force-cleared after the grace period; the clear itself is idempotent, so overlapping/duplicate `note()` calls are harmless. */
|
|
161
|
+
note(requestTopic: string): void;
|
|
162
|
+
dispose(): void;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export { FleetGateway, type FleetGatewayOptions, type ImrRegistration, RetainedRequestJanitor, publishSelfCheck };
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { M as MqttTransport } from './transport-BT4AjTn9.js';
|
|
2
|
+
import { U as Uuid } from './ccs-CU8XD5sl.js';
|
|
3
|
+
import { x as Request } from './identity-Bw8Dik5S.js';
|
|
4
|
+
import { Iso21423Client, EntityHandle, SecurityOptions, SequenceStore, ExecutionPolicy, ActionHandler } from './core.js';
|
|
5
|
+
import { I as Iso21423Session } from './session-ueiESY7Y.js';
|
|
6
|
+
import { E as EntityRef } from './topics-BiVeZyTW.js';
|
|
7
|
+
import './validators-Be0ce1b8.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Copyright 2026 InOrbit, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
+
* you may not use this file except in compliance with the License.
|
|
14
|
+
* You may obtain a copy of the License at
|
|
15
|
+
*
|
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
+
* See the License for the specific language governing permissions and
|
|
22
|
+
* limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/** Options for {@link FleetGateway.connect}. */
|
|
26
|
+
interface FleetGatewayOptions {
|
|
27
|
+
transport?: MqttTransport;
|
|
28
|
+
url?: string;
|
|
29
|
+
security?: SecurityOptions;
|
|
30
|
+
imrfm: {
|
|
31
|
+
id: Uuid;
|
|
32
|
+
manufacturerName: string;
|
|
33
|
+
details?: Record<string, unknown>;
|
|
34
|
+
accepts?: string[];
|
|
35
|
+
provides?: string[];
|
|
36
|
+
};
|
|
37
|
+
janitor?: {
|
|
38
|
+
enabled?: boolean;
|
|
39
|
+
graceMs?: number;
|
|
40
|
+
};
|
|
41
|
+
validateOutbound?: boolean;
|
|
42
|
+
sequenceStore?: SequenceStore | null;
|
|
43
|
+
requestTimeoutMs?: number;
|
|
44
|
+
}
|
|
45
|
+
/** Options for {@link FleetGateway.registerImr}. */
|
|
46
|
+
interface ImrRegistration {
|
|
47
|
+
id: Uuid;
|
|
48
|
+
identity?: Record<string, unknown>;
|
|
49
|
+
manufacturerName?: string;
|
|
50
|
+
accepts?: string[];
|
|
51
|
+
provides?: string[];
|
|
52
|
+
executionPolicy?: ExecutionPolicy;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Fleet-wide facade (ISO 21423 IMRFM role): owns one `Iso21423Client`, the IMRFM's own
|
|
56
|
+
* `EntityHandle`, and every managed IMR's handle. Adds three things on top of `/core`: fleet-wide
|
|
57
|
+
* `onRequest` handlers replayed onto current/future robots (controller ruling R6), the
|
|
58
|
+
* empty-destination dispatch callback (ND-12), and a retained-request janitor + publish
|
|
59
|
+
* self-check that both default ON (ND-10, ND-15).
|
|
60
|
+
*/
|
|
61
|
+
declare class FleetGateway {
|
|
62
|
+
readonly client: Iso21423Client;
|
|
63
|
+
readonly imrfm: EntityHandle;
|
|
64
|
+
private readonly selfCheckEnabled;
|
|
65
|
+
private readonly selfCheckTimeoutMs;
|
|
66
|
+
private readonly imrHandles;
|
|
67
|
+
private readonly fleetHandlers;
|
|
68
|
+
private readonly perImrHandlerTypes;
|
|
69
|
+
private janitor?;
|
|
70
|
+
private dispatchCb?;
|
|
71
|
+
private constructor();
|
|
72
|
+
/**
|
|
73
|
+
* Connects the underlying client, registers the IMRFM's own identity (arming its Last Will,
|
|
74
|
+
* decision 1), runs the gateway's own publish self-check (default on, ND-15) unless
|
|
75
|
+
* `security.selfCheck` is false, and — unless `janitor.enabled` is false — starts the
|
|
76
|
+
* retained-request janitor and wires the empty-destination dispatch interceptor (ND-12).
|
|
77
|
+
*/
|
|
78
|
+
static connect(opts: FleetGatewayOptions): Promise<FleetGateway>;
|
|
79
|
+
/**
|
|
80
|
+
* Registers a new managed IMR under this IMRFM: creates its `EntityHandle`, wires it into the
|
|
81
|
+
* janitor, replays every fleet-wide `onRequest` handler onto it, and (if the gateway's self-check
|
|
82
|
+
* is enabled) publishes a self-check for it. On self-check failure, rolls back the local
|
|
83
|
+
* bookkeeping (handle map and the manager's `manages` list) before rethrowing — nothing is
|
|
84
|
+
* retained on the broker to undo, since a denied publish never lands there (ND-15).
|
|
85
|
+
*/
|
|
86
|
+
registerImr(reg: ImrRegistration): Promise<EntityHandle>;
|
|
87
|
+
/** Unregisters and removes a managed IMR (no-op if unknown), and drops it from the IMRFM's `manages` list. */
|
|
88
|
+
unregisterImr(id: Uuid): Promise<void>;
|
|
89
|
+
imrs(): EntityHandle[];
|
|
90
|
+
/**
|
|
91
|
+
* Registers an action handler either fleet-wide (default: applied to every current and future
|
|
92
|
+
* IMR, R6) or scoped to one `imr`, where it shadows a fleet-wide handler for the same type.
|
|
93
|
+
* Re-registering the same scope for the same type throws unless `override: true` is passed.
|
|
94
|
+
*/
|
|
95
|
+
onRequest<P = Record<string, unknown>>(type: string, handler: ActionHandler<P>, opts?: {
|
|
96
|
+
imr?: Uuid;
|
|
97
|
+
override?: true;
|
|
98
|
+
}): void;
|
|
99
|
+
/** Sets the callback used to pick a target IMR for a request with an empty `destination` (ND-12); return `null` to decline dispatch. */
|
|
100
|
+
onDispatch(cb: (request: Request, imrs: EntityHandle[]) => Uuid | null): void;
|
|
101
|
+
/** Graceful shutdown: managed handles are NOT unregistered — a fleet restart should not erase
|
|
102
|
+
* the fleet's retained state; call `unregisterImr` explicitly for that. */
|
|
103
|
+
close(opts?: {
|
|
104
|
+
timeout?: number;
|
|
105
|
+
}): Promise<void>;
|
|
106
|
+
/** Invokes the `onDispatch` callback (if set) and resolves its chosen uuid to a live IMR's dispatch target. */
|
|
107
|
+
private resolveDispatch;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Copyright 2026 InOrbit, Inc.
|
|
112
|
+
*
|
|
113
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
114
|
+
* you may not use this file except in compliance with the License.
|
|
115
|
+
* You may obtain a copy of the License at
|
|
116
|
+
*
|
|
117
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
118
|
+
*
|
|
119
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
120
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
121
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
122
|
+
* See the License for the specific language governing permissions and
|
|
123
|
+
* limitations under the License.
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* ND-15: MQTT 3.1.1 gives no negative acknowledgement for a denied publish, so the only way to
|
|
128
|
+
* detect a missing write grant is to read our own retained identity back.
|
|
129
|
+
*/
|
|
130
|
+
declare function publishSelfCheck(session: Iso21423Session, ref: EntityRef, timeoutMs?: number): Promise<void>;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Copyright 2026 InOrbit, Inc.
|
|
134
|
+
*
|
|
135
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
136
|
+
* you may not use this file except in compliance with the License.
|
|
137
|
+
* You may obtain a copy of the License at
|
|
138
|
+
*
|
|
139
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
140
|
+
*
|
|
141
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
142
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
143
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
144
|
+
* See the License for the specific language governing permissions and
|
|
145
|
+
* limitations under the License.
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* ND-10: the sender clears its own retained request at terminal state. The gateway additionally
|
|
150
|
+
* clears requests in its own namespaces that are still retained a grace period after the terminal
|
|
151
|
+
* status it published — protection against crashed senders. Clearing an already-cleared topic is a
|
|
152
|
+
* harmless no-op, so no "is it still retained?" probe is needed.
|
|
153
|
+
*/
|
|
154
|
+
declare class RetainedRequestJanitor {
|
|
155
|
+
private readonly session;
|
|
156
|
+
private readonly graceMs;
|
|
157
|
+
private readonly onCleared;
|
|
158
|
+
private readonly timers;
|
|
159
|
+
constructor(session: Iso21423Session, graceMs: number, onCleared: (topic: string) => void);
|
|
160
|
+
/** Schedules `requestTopic` to be force-cleared after the grace period; the clear itself is idempotent, so overlapping/duplicate `note()` calls are harmless. */
|
|
161
|
+
note(requestTopic: string): void;
|
|
162
|
+
dispose(): void;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export { FleetGateway, type FleetGatewayOptions, type ImrRegistration, RetainedRequestJanitor, publishSelfCheck };
|
package/dist/gateway.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FleetGateway,
|
|
3
|
+
RetainedRequestJanitor
|
|
4
|
+
} from "./chunk-JDO725KR.js";
|
|
5
|
+
import {
|
|
6
|
+
publishSelfCheck
|
|
7
|
+
} from "./chunk-GPNR37CI.js";
|
|
8
|
+
import "./chunk-3JNSIJSX.js";
|
|
9
|
+
import "./chunk-DMJ6T3RX.js";
|
|
10
|
+
import "./chunk-UJC46NTA.js";
|
|
11
|
+
import "./chunk-UW6WTEPT.js";
|
|
12
|
+
import "./chunk-LTPOAVGF.js";
|
|
13
|
+
import "./chunk-5ZIUSUHF.js";
|
|
14
|
+
import "./chunk-RD7PYTIT.js";
|
|
15
|
+
import "./chunk-JLUENXGS.js";
|
|
16
|
+
export {
|
|
17
|
+
FleetGateway,
|
|
18
|
+
RetainedRequestJanitor,
|
|
19
|
+
publishSelfCheck
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=gateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/geometry/index.ts
|
|
21
|
+
var geometry_exports = {};
|
|
22
|
+
__export(geometry_exports, {
|
|
23
|
+
applyTransform: () => applyTransform,
|
|
24
|
+
fitTransform: () => fitTransform,
|
|
25
|
+
invertTransform: () => invertTransform,
|
|
26
|
+
transformYaw: () => transformYaw
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(geometry_exports);
|
|
29
|
+
|
|
30
|
+
// src/errors.ts
|
|
31
|
+
var Iso21423Error = class extends Error {
|
|
32
|
+
constructor(message) {
|
|
33
|
+
super(message);
|
|
34
|
+
this.name = new.target.name;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// src/geometry/transform.ts
|
|
39
|
+
function fitTransform(from, to) {
|
|
40
|
+
if (from.length !== to.length) {
|
|
41
|
+
throw new Iso21423Error("fitTransform: point lists must have the same number of points");
|
|
42
|
+
}
|
|
43
|
+
if (from.length < 3) {
|
|
44
|
+
throw new Iso21423Error("fitTransform: at least 3 reference point pairs are required (Clause 4)");
|
|
45
|
+
}
|
|
46
|
+
const n = from.length;
|
|
47
|
+
let cfx = 0, cfy = 0, ctx = 0, cty = 0;
|
|
48
|
+
for (let i = 0; i < n; i++) {
|
|
49
|
+
cfx += from[i].x;
|
|
50
|
+
cfy += from[i].y;
|
|
51
|
+
ctx += to[i].x;
|
|
52
|
+
cty += to[i].y;
|
|
53
|
+
}
|
|
54
|
+
cfx /= n;
|
|
55
|
+
cfy /= n;
|
|
56
|
+
ctx /= n;
|
|
57
|
+
cty /= n;
|
|
58
|
+
let sumCross = 0, sumDot = 0;
|
|
59
|
+
for (let i = 0; i < n; i++) {
|
|
60
|
+
const fx = from[i].x - cfx, fy = from[i].y - cfy;
|
|
61
|
+
const tx = to[i].x - ctx, ty = to[i].y - cty;
|
|
62
|
+
sumCross += fx * ty - fy * tx;
|
|
63
|
+
sumDot += fx * tx + fy * ty;
|
|
64
|
+
}
|
|
65
|
+
const rotation = Math.atan2(sumCross, sumDot);
|
|
66
|
+
const cos = Math.cos(rotation), sin = Math.sin(rotation);
|
|
67
|
+
return {
|
|
68
|
+
rotation,
|
|
69
|
+
tx: ctx - (cos * cfx - sin * cfy),
|
|
70
|
+
ty: cty - (sin * cfx + cos * cfy)
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function applyTransform(t, p) {
|
|
74
|
+
const cos = Math.cos(t.rotation), sin = Math.sin(t.rotation);
|
|
75
|
+
return { x: cos * p.x - sin * p.y + t.tx, y: sin * p.x + cos * p.y + t.ty };
|
|
76
|
+
}
|
|
77
|
+
function invertTransform(t) {
|
|
78
|
+
const cos = Math.cos(t.rotation), sin = Math.sin(t.rotation);
|
|
79
|
+
return {
|
|
80
|
+
rotation: -t.rotation,
|
|
81
|
+
tx: -(cos * t.tx + sin * t.ty),
|
|
82
|
+
ty: -(-sin * t.tx + cos * t.ty)
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function transformYaw(t, yaw) {
|
|
86
|
+
let r = yaw + t.rotation;
|
|
87
|
+
while (r > Math.PI) r -= 2 * Math.PI;
|
|
88
|
+
while (r <= -Math.PI) r += 2 * Math.PI;
|
|
89
|
+
return r;
|
|
90
|
+
}
|
|
91
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
92
|
+
0 && (module.exports = {
|
|
93
|
+
applyTransform,
|
|
94
|
+
fitTransform,
|
|
95
|
+
invertTransform,
|
|
96
|
+
transformYaw
|
|
97
|
+
});
|
|
98
|
+
//# sourceMappingURL=geometry.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/geometry/index.ts","../src/errors.ts","../src/geometry/transform.ts"],"sourcesContent":["/**\n * Copyright 2026 InOrbit, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './transform.js';\n","/**\n * Copyright 2026 InOrbit, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** Base class for all errors this SDK throws; `name` is set to the concrete subclass name so it survives serialization. */\nexport class Iso21423Error extends Error {\n constructor(message: string) {\n super(message);\n this.name = new.target.name;\n }\n}\n\n/** Thrown when a payload fails ISO 21423 JSON Schema validation; `errors` holds the raw Ajv error list. */\nexport class ValidationError extends Iso21423Error {\n constructor(message: string, public readonly errors: unknown[]) {\n super(message);\n }\n}\n\n/** Thrown when a request/detail reaches a terminal failure state; `finalStatus` carries the last status received. */\nexport class RequestFailed extends Iso21423Error {\n constructor(message: string, public readonly finalStatus: unknown) {\n super(message);\n }\n}\n\nexport class RequestTimeout extends Iso21423Error {}\nexport class BrokerUnavailable extends Iso21423Error {}\n\n/** Thrown when a broker/ACL rejects a publish or subscribe; `topic` names the topic that was denied. */\nexport class AuthorizationDenied extends Iso21423Error {\n constructor(message: string, public readonly topic: string) {\n super(message);\n }\n}\n\nexport class NotCapableError extends Iso21423Error {}\n/** Thrown by {@link Lifecycle.transition} when the requested state change isn't allowed from the current state. */\nexport class IllegalTransition extends Iso21423Error {}\n","/**\n * Copyright 2026 InOrbit, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { Point } from '../types/ccs.js';\nimport { Iso21423Error } from '../errors.js';\n\n/** 2D rotation + translation: rotate by `rotation` radians, then translate by `(tx, ty)`. */\nexport interface RigidTransform2D { rotation: number; tx: number; ty: number }\n\n/**\n * Least-squares best-fit rigid transform mapping `from` points onto `to` points\n * (Kabsch/Umeyama for the 2D rotation+translation case, no scaling).\n * Requires at least 3 point pairs (Clause 4) and equal-length arrays; throws otherwise.\n */\nexport function fitTransform(from: Point[], to: Point[]): RigidTransform2D {\n if (from.length !== to.length) {\n throw new Iso21423Error('fitTransform: point lists must have the same number of points');\n }\n if (from.length < 3) {\n throw new Iso21423Error('fitTransform: at least 3 reference point pairs are required (Clause 4)');\n }\n const n = from.length;\n let cfx = 0, cfy = 0, ctx = 0, cty = 0;\n for (let i = 0; i < n; i++) {\n cfx += from[i]!.x; cfy += from[i]!.y;\n ctx += to[i]!.x; cty += to[i]!.y;\n }\n cfx /= n; cfy /= n; ctx /= n; cty /= n;\n\n let sumCross = 0, sumDot = 0;\n for (let i = 0; i < n; i++) {\n const fx = from[i]!.x - cfx, fy = from[i]!.y - cfy;\n const tx = to[i]!.x - ctx, ty = to[i]!.y - cty;\n sumCross += fx * ty - fy * tx;\n sumDot += fx * tx + fy * ty;\n }\n const rotation = Math.atan2(sumCross, sumDot);\n const cos = Math.cos(rotation), sin = Math.sin(rotation);\n return {\n rotation,\n tx: ctx - (cos * cfx - sin * cfy),\n ty: cty - (sin * cfx + cos * cfy),\n };\n}\n\n/** Applies the transform to a single point: rotate then translate. */\nexport function applyTransform(t: RigidTransform2D, p: Point): Point {\n const cos = Math.cos(t.rotation), sin = Math.sin(t.rotation);\n return { x: cos * p.x - sin * p.y + t.tx, y: sin * p.x + cos * p.y + t.ty };\n}\n\n/** Returns the inverse transform (undoes {@link applyTransform}). */\nexport function invertTransform(t: RigidTransform2D): RigidTransform2D {\n const cos = Math.cos(t.rotation), sin = Math.sin(t.rotation);\n return {\n rotation: -t.rotation,\n tx: -(cos * t.tx + sin * t.ty),\n ty: -(-sin * t.tx + cos * t.ty),\n };\n}\n\n/** Rotates a yaw angle by the transform and wraps the result to (-π, π]. */\nexport function transformYaw(t: RigidTransform2D, yaw: number): number {\n let r = yaw + t.rotation;\n while (r > Math.PI) r -= 2 * Math.PI;\n while (r <= -Math.PI) r += 2 * Math.PI;\n return r;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACiBO,IAAM,gBAAN,cAA4B,MAAM;AAAA,EACvC,YAAY,SAAiB;AAC3B,UAAM,OAAO;AACb,SAAK,OAAO,WAAW;AAAA,EACzB;AACF;;;ACKO,SAAS,aAAa,MAAe,IAA+B;AACzE,MAAI,KAAK,WAAW,GAAG,QAAQ;AAC7B,UAAM,IAAI,cAAc,+DAA+D;AAAA,EACzF;AACA,MAAI,KAAK,SAAS,GAAG;AACnB,UAAM,IAAI,cAAc,wEAAwE;AAAA,EAClG;AACA,QAAM,IAAI,KAAK;AACf,MAAI,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM;AACrC,WAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AAC1B,WAAO,KAAK,CAAC,EAAG;AAAG,WAAO,KAAK,CAAC,EAAG;AACnC,WAAO,GAAG,CAAC,EAAG;AAAG,WAAO,GAAG,CAAC,EAAG;AAAA,EACjC;AACA,SAAO;AAAG,SAAO;AAAG,SAAO;AAAG,SAAO;AAErC,MAAI,WAAW,GAAG,SAAS;AAC3B,WAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AAC1B,UAAM,KAAK,KAAK,CAAC,EAAG,IAAI,KAAK,KAAK,KAAK,CAAC,EAAG,IAAI;AAC/C,UAAM,KAAK,GAAG,CAAC,EAAG,IAAI,KAAK,KAAK,GAAG,CAAC,EAAG,IAAI;AAC3C,gBAAY,KAAK,KAAK,KAAK;AAC3B,cAAU,KAAK,KAAK,KAAK;AAAA,EAC3B;AACA,QAAM,WAAW,KAAK,MAAM,UAAU,MAAM;AAC5C,QAAM,MAAM,KAAK,IAAI,QAAQ,GAAG,MAAM,KAAK,IAAI,QAAQ;AACvD,SAAO;AAAA,IACL;AAAA,IACA,IAAI,OAAO,MAAM,MAAM,MAAM;AAAA,IAC7B,IAAI,OAAO,MAAM,MAAM,MAAM;AAAA,EAC/B;AACF;AAGO,SAAS,eAAe,GAAqB,GAAiB;AACnE,QAAM,MAAM,KAAK,IAAI,EAAE,QAAQ,GAAG,MAAM,KAAK,IAAI,EAAE,QAAQ;AAC3D,SAAO,EAAE,GAAG,MAAM,EAAE,IAAI,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,MAAM,EAAE,IAAI,MAAM,EAAE,IAAI,EAAE,GAAG;AAC5E;AAGO,SAAS,gBAAgB,GAAuC;AACrE,QAAM,MAAM,KAAK,IAAI,EAAE,QAAQ,GAAG,MAAM,KAAK,IAAI,EAAE,QAAQ;AAC3D,SAAO;AAAA,IACL,UAAU,CAAC,EAAE;AAAA,IACb,IAAI,EAAE,MAAM,EAAE,KAAK,MAAM,EAAE;AAAA,IAC3B,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,MAAM,EAAE;AAAA,EAC9B;AACF;AAGO,SAAS,aAAa,GAAqB,KAAqB;AACrE,MAAI,IAAI,MAAM,EAAE;AAChB,SAAO,IAAI,KAAK,GAAI,MAAK,IAAI,KAAK;AAClC,SAAO,KAAK,CAAC,KAAK,GAAI,MAAK,IAAI,KAAK;AACpC,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { P as Point } from './ccs-CU8XD5sl.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2026 InOrbit, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** 2D rotation + translation: rotate by `rotation` radians, then translate by `(tx, ty)`. */
|
|
20
|
+
interface RigidTransform2D {
|
|
21
|
+
rotation: number;
|
|
22
|
+
tx: number;
|
|
23
|
+
ty: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Least-squares best-fit rigid transform mapping `from` points onto `to` points
|
|
27
|
+
* (Kabsch/Umeyama for the 2D rotation+translation case, no scaling).
|
|
28
|
+
* Requires at least 3 point pairs (Clause 4) and equal-length arrays; throws otherwise.
|
|
29
|
+
*/
|
|
30
|
+
declare function fitTransform(from: Point[], to: Point[]): RigidTransform2D;
|
|
31
|
+
/** Applies the transform to a single point: rotate then translate. */
|
|
32
|
+
declare function applyTransform(t: RigidTransform2D, p: Point): Point;
|
|
33
|
+
/** Returns the inverse transform (undoes {@link applyTransform}). */
|
|
34
|
+
declare function invertTransform(t: RigidTransform2D): RigidTransform2D;
|
|
35
|
+
/** Rotates a yaw angle by the transform and wraps the result to (-π, π]. */
|
|
36
|
+
declare function transformYaw(t: RigidTransform2D, yaw: number): number;
|
|
37
|
+
|
|
38
|
+
export { type RigidTransform2D, applyTransform, fitTransform, invertTransform, transformYaw };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { P as Point } from './ccs-CU8XD5sl.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2026 InOrbit, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** 2D rotation + translation: rotate by `rotation` radians, then translate by `(tx, ty)`. */
|
|
20
|
+
interface RigidTransform2D {
|
|
21
|
+
rotation: number;
|
|
22
|
+
tx: number;
|
|
23
|
+
ty: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Least-squares best-fit rigid transform mapping `from` points onto `to` points
|
|
27
|
+
* (Kabsch/Umeyama for the 2D rotation+translation case, no scaling).
|
|
28
|
+
* Requires at least 3 point pairs (Clause 4) and equal-length arrays; throws otherwise.
|
|
29
|
+
*/
|
|
30
|
+
declare function fitTransform(from: Point[], to: Point[]): RigidTransform2D;
|
|
31
|
+
/** Applies the transform to a single point: rotate then translate. */
|
|
32
|
+
declare function applyTransform(t: RigidTransform2D, p: Point): Point;
|
|
33
|
+
/** Returns the inverse transform (undoes {@link applyTransform}). */
|
|
34
|
+
declare function invertTransform(t: RigidTransform2D): RigidTransform2D;
|
|
35
|
+
/** Rotates a yaw angle by the transform and wraps the result to (-π, π]. */
|
|
36
|
+
declare function transformYaw(t: RigidTransform2D, yaw: number): number;
|
|
37
|
+
|
|
38
|
+
export { type RigidTransform2D, applyTransform, fitTransform, invertTransform, transformYaw };
|
package/dist/geometry.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
applyTransform,
|
|
3
|
+
fitTransform,
|
|
4
|
+
invertTransform,
|
|
5
|
+
transformYaw
|
|
6
|
+
} from "./chunk-ODBIFZN3.js";
|
|
7
|
+
import "./chunk-JLUENXGS.js";
|
|
8
|
+
export {
|
|
9
|
+
applyTransform,
|
|
10
|
+
fitTransform,
|
|
11
|
+
invertTransform,
|
|
12
|
+
transformYaw
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=geometry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|