@air-jam/sdk 1.0.0-beta.1 → 1.0.0-beta.2
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 +1 -1
- package/dist/{agent-contract-DfLm4Mf-.d.ts → agent-contract-BMvCMvhE.d.ts} +1 -1
- package/dist/{agent-contract-TINzp-5Y.d.cts → agent-contract-DtYf3ici.d.cts} +1 -1
- package/dist/agent-tooling.d.cts +2 -2
- package/dist/agent-tooling.d.ts +2 -2
- package/dist/{air-jam-context-BCVCWiaT.d.ts → air-jam-context-B1fQvyYY.d.ts} +5 -5
- package/dist/{air-jam-context-DavligpM.d.cts → air-jam-context-BKg_ujpd.d.cts} +5 -5
- package/dist/arcade/bridge/controller.d.cts +3 -3
- package/dist/arcade/bridge/controller.d.ts +3 -3
- package/dist/arcade/bridge/controller.js +2 -2
- package/dist/arcade/bridge/host.d.cts +3 -3
- package/dist/arcade/bridge/host.d.ts +3 -3
- package/dist/arcade/bridge/host.js +2 -2
- package/dist/arcade/bridge/iframe.cjs +1 -1
- package/dist/arcade/bridge/iframe.js +2 -2
- package/dist/arcade/runtime.cjs +32 -11
- package/dist/arcade/runtime.cjs.map +1 -1
- package/dist/arcade/runtime.d.cts +8 -8
- package/dist/arcade/runtime.d.ts +8 -8
- package/dist/arcade/runtime.js +11 -11
- package/dist/{chunk-URVBMQCK.js → chunk-5L3O3G5K.js} +2 -2
- package/dist/{chunk-TFW4NJW2.js → chunk-6PLOJMJD.js} +4 -4
- package/dist/{chunk-6Y3F6Y2K.js → chunk-AXG6FA2H.js} +36 -13
- package/dist/chunk-AXG6FA2H.js.map +1 -0
- package/dist/{chunk-VGX2274F.js → chunk-BQHGPXXN.js} +2 -2
- package/dist/{chunk-UBBP2UY3.js → chunk-ISQZ7F3N.js} +2 -2
- package/dist/{chunk-EG25EXSA.js → chunk-KGY4PV2A.js} +2 -2
- package/dist/{chunk-DHFKL3DI.js → chunk-KKRLHT2M.js} +10 -10
- package/dist/{chunk-S3TN7Y7L.js → chunk-NBA7UIWG.js} +2 -2
- package/dist/{chunk-SMKD4JY3.js → chunk-UC24OG4X.js} +2 -2
- package/dist/{chunk-2QZADUGA.js → chunk-VN2PX2I3.js} +2 -2
- package/dist/{chunk-I6TSHJF7.js → chunk-X5HZBQ6K.js} +2 -2
- package/dist/chunk-YXHAWWVU.js +7 -0
- package/dist/{connection-store-D6QqzXU1.d.cts → connection-store-CqW-E7ma.d.cts} +1 -1
- package/dist/{connection-store-BYpQ50W2.d.ts → connection-store-ffHWMrMe.d.ts} +1 -1
- package/dist/{controller-0CVO1t_3.d.cts → controller-ClW0R8mZ.d.cts} +1 -1
- package/dist/{controller-h9M2Nngd.d.ts → controller-DRKCa7uQ.d.ts} +1 -1
- package/dist/controller-bridge.d.cts +3 -3
- package/dist/controller-bridge.d.ts +3 -3
- package/dist/controller-bridge.js +2 -2
- package/dist/core.cjs +35 -10
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +35 -17
- package/dist/core.d.ts +35 -17
- package/dist/core.js +7 -3
- package/dist/core.js.map +1 -1
- package/dist/{game-Db58JNk3.d.cts → game-5n-dh5np.d.cts} +5 -5
- package/dist/{game-bySEy-QO.d.ts → game-RYb97BN8.d.ts} +5 -5
- package/dist/{host-runtime-_06jpW5v.d.cts → host-runtime-BRtUidEJ.d.cts} +6 -6
- package/dist/{host-runtime-BuLhGQx5.d.ts → host-runtime-RrO4pCXI.d.ts} +6 -6
- package/dist/index.cjs +32 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +12 -12
- package/dist/{input-Xvs80gqG.d.cts → input-D7FNeehb.d.cts} +1 -1
- package/dist/{input-Xvs80gqG.d.ts → input-D7FNeehb.d.ts} +1 -1
- package/dist/{input-bindings-BgsJRLPm.d.ts → input-bindings-686sTen7.d.ts} +1 -1
- package/dist/{input-bindings-BaEFrgRb.d.cts → input-bindings-BRac-P0e.d.cts} +1 -1
- package/dist/{phone-room-session-DkPR-K6e.d.cts → phone-room-session-Byomkt92.d.cts} +1 -1
- package/dist/{phone-room-session-Ca6rlxJr.d.ts → phone-room-session-D9C8cSxS.d.ts} +1 -1
- package/dist/preview.cjs +13 -28
- package/dist/preview.cjs.map +1 -1
- package/dist/preview.d.cts +1 -1
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +6 -6
- package/dist/protocol.d.cts +1 -1
- package/dist/protocol.d.ts +1 -1
- package/dist/{replay-input-log-BvX4As2f.d.ts → replay-input-log-D0NpnA3P.d.ts} +1 -1
- package/dist/{replay-input-log-Vcl0VDIy.d.cts → replay-input-log-bg0g-PCz.d.cts} +1 -1
- package/dist/room-protocol.d.cts +1 -1
- package/dist/room-protocol.d.ts +1 -1
- package/dist/room-session.cjs +1 -1
- package/dist/room-session.d.cts +4 -4
- package/dist/room-session.d.ts +4 -4
- package/dist/room-session.js +2 -2
- package/dist/runtime-control.cjs +31 -10
- package/dist/runtime-control.cjs.map +1 -1
- package/dist/runtime-control.d.cts +9 -9
- package/dist/runtime-control.d.ts +9 -9
- package/dist/runtime-control.js +2 -2
- package/dist/runtime-inspection.d.cts +2 -2
- package/dist/runtime-inspection.d.ts +2 -2
- package/dist/{scoped-connector-D7252pn0.d.cts → scoped-connector-DEOZvCCG.d.cts} +1 -1
- package/dist/{scoped-connector-CiiWu06D.d.ts → scoped-connector-nTHACYTl.d.ts} +1 -1
- package/dist/{simulation-BfRnC4rg.d.ts → simulation-DL9j-ghn.d.ts} +3 -3
- package/dist/{simulation-BwZx2pgt.d.cts → simulation-HmgsvF5H.d.cts} +3 -3
- package/dist/ui.cjs +13 -28
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.d.cts +2 -2
- package/dist/ui.d.ts +2 -2
- package/dist/ui.js +6 -6
- package/package.json +1 -1
- package/src/core/config.ts +5 -5
- package/src/core/hosted-rooms.ts +51 -12
- package/src/core.ts +5 -0
- package/dist/chunk-5TVVPBQI.js +0 -7
- package/dist/chunk-6Y3F6Y2K.js.map +0 -1
- /package/dist/{chunk-URVBMQCK.js.map → chunk-5L3O3G5K.js.map} +0 -0
- /package/dist/{chunk-TFW4NJW2.js.map → chunk-6PLOJMJD.js.map} +0 -0
- /package/dist/{chunk-VGX2274F.js.map → chunk-BQHGPXXN.js.map} +0 -0
- /package/dist/{chunk-UBBP2UY3.js.map → chunk-ISQZ7F3N.js.map} +0 -0
- /package/dist/{chunk-EG25EXSA.js.map → chunk-KGY4PV2A.js.map} +0 -0
- /package/dist/{chunk-DHFKL3DI.js.map → chunk-KKRLHT2M.js.map} +0 -0
- /package/dist/{chunk-S3TN7Y7L.js.map → chunk-NBA7UIWG.js.map} +0 -0
- /package/dist/{chunk-SMKD4JY3.js.map → chunk-UC24OG4X.js.map} +0 -0
- /package/dist/{chunk-2QZADUGA.js.map → chunk-VN2PX2I3.js.map} +0 -0
- /package/dist/{chunk-I6TSHJF7.js.map → chunk-X5HZBQ6K.js.map} +0 -0
- /package/dist/{chunk-5TVVPBQI.js.map → chunk-YXHAWWVU.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { S as SoundConfig, A as AirJamGame } from './game-
|
|
1
|
+
import { S as SoundConfig, A as AirJamGame } from './game-5n-dh5np.cjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { ReactNode, JSX, ErrorInfo, ComponentType } from 'react';
|
|
4
4
|
export { d as DEFAULT_PLATFORM_SETTINGS, D as DEFAULT_ROOM_PLATFORM_SETTINGS, e as PartialRoomPlatformSettingsPatch, f as PlatformAccessibilitySettings, b as PlatformAudioSettings, g as PlatformFeedbackSettings, h as PlatformPreviewControllerSettings, i as PlatformSettings, P as PlatformSettingsPersistence, a as PlatformSettingsSnapshot, R as RoomPlatformSettingsSnapshot, t as toRoomPlatformSettingsSnapshot } from './platform-settings-Yb0fQ1dl.cjs';
|
|
5
5
|
export { c as PlatformAudioSettingsApi, d as PlatformSettingsOwnerApi, P as PlatformSettingsRuntime, e as PlatformSettingsRuntimeProps, S as ShellMatchPhase, f as StandardMatchPhase, t as toShellMatchPhase, u as useInheritedPlatformSettings, a as usePlatformAudioSettings, b as usePlatformSettings } from './standard-match-phase-D4N-AU0d.cjs';
|
|
6
|
-
import { Q as HostObservationImage, v as SimulationClock, B as SimulationFrame, m as AirJamNetworkedState, n as AirJamStore, k as AirJamHostActionListener, l as AirJamHostActionSubscriptionOptions, b as AirJamSettings, u as AirJamSettingsValues } from './simulation-
|
|
7
|
-
export { P as PlayerProfileAck, R as RoomActionAck } from './simulation-
|
|
8
|
-
import { b as AirJamHostOptions, a as AirJamControllerOptions, A as AirJamProviderProps } from './air-jam-context-
|
|
9
|
-
export { c as AirJamControllerApi, d as AirJamControllerState, f as AirJamHostApi, g as AirJamHostState, u as useAirJamController, e as useAirJamHost } from './air-jam-context-
|
|
6
|
+
import { Q as HostObservationImage, v as SimulationClock, B as SimulationFrame, m as AirJamNetworkedState, n as AirJamStore, k as AirJamHostActionListener, l as AirJamHostActionSubscriptionOptions, b as AirJamSettings, u as AirJamSettingsValues } from './simulation-HmgsvF5H.cjs';
|
|
7
|
+
export { P as PlayerProfileAck, R as RoomActionAck } from './simulation-HmgsvF5H.cjs';
|
|
8
|
+
import { b as AirJamHostOptions, a as AirJamControllerOptions, A as AirJamProviderProps } from './air-jam-context-BKg_ujpd.cjs';
|
|
9
|
+
export { c as AirJamControllerApi, d as AirJamControllerState, f as AirJamHostApi, g as AirJamHostState, u as useAirJamController, e as useAirJamHost } from './air-jam-context-BKg_ujpd.cjs';
|
|
10
10
|
import { T as ToastSignalPayload, H as HapticSignalPayload } from './sdk-channels-S6j6AH8v.cjs';
|
|
11
11
|
export { C as ControllerOrientation, R as RuntimeState } from './sdk-channels-S6j6AH8v.cjs';
|
|
12
12
|
import { b as RoomCode } from './core-BAO0pHrJ.cjs';
|
|
13
13
|
export { a as ConnectionStatus } from './core-BAO0pHrJ.cjs';
|
|
14
14
|
export { k as AirJamActionInvocationResult } from './actions-D4eh6Xaa.cjs';
|
|
15
|
-
export { A as AirJamPlayer,
|
|
15
|
+
export { A as AirJamPlayer, P as PlayerProfile, b as PlayerProfilePatch } from './controller-ClW0R8mZ.cjs';
|
|
16
16
|
import { R as RuntimeErrorReport, a as RuntimeErrorReporter } from './runtime-reporting-K_ZXpubu.cjs';
|
|
17
17
|
import { RuntimeTopologyInput, ResolvedAirJamRuntimeTopology, SurfaceRole } from './runtime-topology.cjs';
|
|
18
18
|
import { f as PrefabDeclarationCatalog, q as PrefabState } from './types-p28maMEo.cjs';
|
|
19
19
|
import { PrefabSelection } from './runtime/prefab-inspection-bridge.cjs';
|
|
20
|
-
export { J as JoinUrlStatus } from './connection-store-
|
|
21
|
-
import './agent-contract-
|
|
20
|
+
export { J as JoinUrlStatus } from './connection-store-CqW-E7ma.cjs';
|
|
21
|
+
import './agent-contract-DtYf3ici.cjs';
|
|
22
22
|
import 'zod';
|
|
23
23
|
import './metadata.cjs';
|
|
24
|
-
import './host-runtime-
|
|
24
|
+
import './host-runtime-BRtUidEJ.cjs';
|
|
25
25
|
import 'zustand/vanilla';
|
|
26
|
-
import './input-
|
|
27
|
-
import './phone-room-session-
|
|
26
|
+
import './input-D7FNeehb.cjs';
|
|
27
|
+
import './phone-room-session-Byomkt92.cjs';
|
|
28
28
|
import './frames-D-xKuODS.cjs';
|
|
29
29
|
import './transport-CWF29jU6.cjs';
|
|
30
30
|
import './dev-events-Ct7QEgKb.cjs';
|
|
31
31
|
import './dev-log-events-B1_B3guZ.cjs';
|
|
32
32
|
import './leased-control-BEg4JuXA.cjs';
|
|
33
|
-
import './input-bindings-
|
|
33
|
+
import './input-bindings-BRac-P0e.cjs';
|
|
34
34
|
|
|
35
35
|
type SoundCategory = NonNullable<SoundConfig["category"]>;
|
|
36
36
|
type SoundManifest = Record<string, SoundConfig>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { S as SoundConfig, A as AirJamGame } from './game-
|
|
1
|
+
import { S as SoundConfig, A as AirJamGame } from './game-RYb97BN8.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { ReactNode, JSX, ErrorInfo, ComponentType } from 'react';
|
|
4
4
|
export { d as DEFAULT_PLATFORM_SETTINGS, D as DEFAULT_ROOM_PLATFORM_SETTINGS, e as PartialRoomPlatformSettingsPatch, f as PlatformAccessibilitySettings, b as PlatformAudioSettings, g as PlatformFeedbackSettings, h as PlatformPreviewControllerSettings, i as PlatformSettings, P as PlatformSettingsPersistence, a as PlatformSettingsSnapshot, R as RoomPlatformSettingsSnapshot, t as toRoomPlatformSettingsSnapshot } from './platform-settings-Yb0fQ1dl.js';
|
|
5
5
|
export { c as PlatformAudioSettingsApi, d as PlatformSettingsOwnerApi, P as PlatformSettingsRuntime, e as PlatformSettingsRuntimeProps, S as ShellMatchPhase, f as StandardMatchPhase, t as toShellMatchPhase, u as useInheritedPlatformSettings, a as usePlatformAudioSettings, b as usePlatformSettings } from './standard-match-phase-abt8ZjCh.js';
|
|
6
|
-
import { Q as HostObservationImage, v as SimulationClock, B as SimulationFrame, m as AirJamNetworkedState, n as AirJamStore, k as AirJamHostActionListener, l as AirJamHostActionSubscriptionOptions, b as AirJamSettings, u as AirJamSettingsValues } from './simulation-
|
|
7
|
-
export { P as PlayerProfileAck, R as RoomActionAck } from './simulation-
|
|
8
|
-
import { b as AirJamHostOptions, a as AirJamControllerOptions, A as AirJamProviderProps } from './air-jam-context-
|
|
9
|
-
export { c as AirJamControllerApi, d as AirJamControllerState, f as AirJamHostApi, g as AirJamHostState, u as useAirJamController, e as useAirJamHost } from './air-jam-context-
|
|
6
|
+
import { Q as HostObservationImage, v as SimulationClock, B as SimulationFrame, m as AirJamNetworkedState, n as AirJamStore, k as AirJamHostActionListener, l as AirJamHostActionSubscriptionOptions, b as AirJamSettings, u as AirJamSettingsValues } from './simulation-DL9j-ghn.js';
|
|
7
|
+
export { P as PlayerProfileAck, R as RoomActionAck } from './simulation-DL9j-ghn.js';
|
|
8
|
+
import { b as AirJamHostOptions, a as AirJamControllerOptions, A as AirJamProviderProps } from './air-jam-context-B1fQvyYY.js';
|
|
9
|
+
export { c as AirJamControllerApi, d as AirJamControllerState, f as AirJamHostApi, g as AirJamHostState, u as useAirJamController, e as useAirJamHost } from './air-jam-context-B1fQvyYY.js';
|
|
10
10
|
import { T as ToastSignalPayload, H as HapticSignalPayload } from './sdk-channels-S6j6AH8v.js';
|
|
11
11
|
export { C as ControllerOrientation, R as RuntimeState } from './sdk-channels-S6j6AH8v.js';
|
|
12
12
|
import { b as RoomCode } from './core-BAO0pHrJ.js';
|
|
13
13
|
export { a as ConnectionStatus } from './core-BAO0pHrJ.js';
|
|
14
14
|
export { k as AirJamActionInvocationResult } from './actions-D4eh6Xaa.js';
|
|
15
|
-
export { A as AirJamPlayer,
|
|
15
|
+
export { A as AirJamPlayer, P as PlayerProfile, b as PlayerProfilePatch } from './controller-DRKCa7uQ.js';
|
|
16
16
|
import { R as RuntimeErrorReport, a as RuntimeErrorReporter } from './runtime-reporting-K_ZXpubu.js';
|
|
17
17
|
import { RuntimeTopologyInput, ResolvedAirJamRuntimeTopology, SurfaceRole } from './runtime-topology.js';
|
|
18
18
|
import { f as PrefabDeclarationCatalog, q as PrefabState } from './types-p28maMEo.js';
|
|
19
19
|
import { PrefabSelection } from './runtime/prefab-inspection-bridge.js';
|
|
20
|
-
export { J as JoinUrlStatus } from './connection-store-
|
|
21
|
-
import './agent-contract-
|
|
20
|
+
export { J as JoinUrlStatus } from './connection-store-ffHWMrMe.js';
|
|
21
|
+
import './agent-contract-BMvCMvhE.js';
|
|
22
22
|
import 'zod';
|
|
23
23
|
import './metadata.js';
|
|
24
|
-
import './host-runtime-
|
|
24
|
+
import './host-runtime-RrO4pCXI.js';
|
|
25
25
|
import 'zustand/vanilla';
|
|
26
|
-
import './input-
|
|
27
|
-
import './phone-room-session-
|
|
26
|
+
import './input-D7FNeehb.js';
|
|
27
|
+
import './phone-room-session-D9C8cSxS.js';
|
|
28
28
|
import './frames-D-xKuODS.js';
|
|
29
29
|
import './transport-CWF29jU6.js';
|
|
30
30
|
import './dev-events-BffobOfb.js';
|
|
31
31
|
import './dev-log-events-B1_B3guZ.js';
|
|
32
32
|
import './leased-control-BEg4JuXA.js';
|
|
33
|
-
import './input-bindings-
|
|
33
|
+
import './input-bindings-686sTen7.js';
|
|
34
34
|
|
|
35
35
|
type SoundCategory = NonNullable<SoundConfig["category"]>;
|
|
36
36
|
type SoundManifest = Record<string, SoundConfig>;
|
package/dist/index.js
CHANGED
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
drawAgentCanvas,
|
|
8
8
|
hostCaptureContext,
|
|
9
9
|
usePrefabInspection
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KKRLHT2M.js";
|
|
11
11
|
import "./chunk-OAXCFPZ7.js";
|
|
12
12
|
import "./chunk-K6BJJJJM.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-NBA7UIWG.js";
|
|
14
14
|
import "./chunk-3M7656SU.js";
|
|
15
15
|
import "./chunk-JJVCBUYM.js";
|
|
16
16
|
import {
|
|
17
17
|
useAirJamController
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-X5HZBQ6K.js";
|
|
19
|
+
import "./chunk-ISQZ7F3N.js";
|
|
20
20
|
import "./chunk-3LDQCQL2.js";
|
|
21
21
|
import {
|
|
22
22
|
isAirJamGame
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-UC24OG4X.js";
|
|
24
|
+
import "./chunk-BQHGPXXN.js";
|
|
25
25
|
import "./chunk-XLY44PXZ.js";
|
|
26
26
|
import {
|
|
27
27
|
fixedControllerOrientation
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import "./chunk-FCG42U7D.js";
|
|
30
30
|
import {
|
|
31
31
|
useAirJamHost
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5L3O3G5K.js";
|
|
33
33
|
import "./chunk-BEM77SVQ.js";
|
|
34
34
|
import {
|
|
35
35
|
PlatformSettingsRuntime,
|
|
@@ -44,16 +44,16 @@ import {
|
|
|
44
44
|
usePlatformSettings,
|
|
45
45
|
usePlatformSettingsRuntimeStatus,
|
|
46
46
|
useResolvedPlatformSettingsSnapshot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6PLOJMJD.js";
|
|
48
48
|
import "./chunk-QHBRHYMV.js";
|
|
49
49
|
import "./chunk-M5553I2G.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-KGY4PV2A.js";
|
|
51
|
+
import "./chunk-VN2PX2I3.js";
|
|
52
52
|
import "./chunk-LX6CTPDW.js";
|
|
53
53
|
import "./chunk-FJ4J2BEC.js";
|
|
54
54
|
import "./chunk-MD25536W.js";
|
|
55
55
|
import "./chunk-C5GS2GMK.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-YXHAWWVU.js";
|
|
57
57
|
import "./chunk-DRBPVG47.js";
|
|
58
58
|
import {
|
|
59
59
|
createAirJamDiagnosticError,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
} from "./chunk-DBF7NJ3S.js";
|
|
63
63
|
import "./chunk-KUGROY5S.js";
|
|
64
64
|
import "./chunk-MJAWAHLT.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-AXG6FA2H.js";
|
|
66
66
|
import "./chunk-KSYN4I5Y.js";
|
|
67
67
|
import "./chunk-CDL7LYZH.js";
|
|
68
68
|
import "./chunk-WAFGYJZN.js";
|
|
@@ -89,4 +89,4 @@ declare const airJamInputDescriptionSchema: z.ZodRecord<z.ZodString, z.ZodDiscri
|
|
|
89
89
|
keepDirection: z.ZodBoolean;
|
|
90
90
|
}, z.core.$strict>], "kind">>;
|
|
91
91
|
|
|
92
|
-
export { type AirJamInput as A,
|
|
92
|
+
export { type AirJamInput as A, type AirJamInputState as a, type AirJamVector as b, type AirJamButtonControl as c, type AirJamAxisControl as d, agentValuesToInputState as e, axis as f, button as g, defineAirJamInput as h, type AirJamButtonMode as i, type AirJamControl as j, type AirJamInputValues as k, type AirJamStickControl as l, airJamInputDescriptionSchema as m, stick as s };
|
|
@@ -89,4 +89,4 @@ declare const airJamInputDescriptionSchema: z.ZodRecord<z.ZodString, z.ZodDiscri
|
|
|
89
89
|
keepDirection: z.ZodBoolean;
|
|
90
90
|
}, z.core.$strict>], "kind">>;
|
|
91
91
|
|
|
92
|
-
export { type AirJamInput as A,
|
|
92
|
+
export { type AirJamInput as A, type AirJamInputState as a, type AirJamVector as b, type AirJamButtonControl as c, type AirJamAxisControl as d, agentValuesToInputState as e, axis as f, button as g, defineAirJamInput as h, type AirJamButtonMode as i, type AirJamControl as j, type AirJamInputValues as k, type AirJamStickControl as l, airJamInputDescriptionSchema as m, stick as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AirJamInput,
|
|
1
|
+
import { A as AirJamInput, a as AirJamInputState, b as AirJamVector, c as AirJamButtonControl, d as AirJamAxisControl } from './input-D7FNeehb.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A controller's side of its player's declared controls. Controls change it;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AirJamInput,
|
|
1
|
+
import { A as AirJamInput, a as AirJamInputState, b as AirJamVector, c as AirJamButtonControl, d as AirJamAxisControl } from './input-D7FNeehb.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A controller's side of its player's declared controls. Controls change it;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AirJamInput,
|
|
1
|
+
import { A as AirJamInput, a as AirJamInputState } from './input-D7FNeehb.cjs';
|
|
2
2
|
import { C as ChannelCopy, a as StateDocument, j as HostStateFrame, t as RoomStateFrame, S as SeatView, d as SeatKind, f as SeatProfile } from './frames-D-xKuODS.cjs';
|
|
3
3
|
import { k as RoomLimits, u as RoomConnector, f as RoomCloseReason, c as RoomAddress, o as RoomWireData, S as SeatId } from './transport-CWF29jU6.cjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AirJamInput,
|
|
1
|
+
import { A as AirJamInput, a as AirJamInputState } from './input-D7FNeehb.js';
|
|
2
2
|
import { C as ChannelCopy, a as StateDocument, j as HostStateFrame, t as RoomStateFrame, S as SeatView, d as SeatKind, f as SeatProfile } from './frames-D-xKuODS.js';
|
|
3
3
|
import { k as RoomLimits, u as RoomConnector, f as RoomCloseReason, c as RoomAddress, o as RoomWireData, S as SeatId } from './transport-CWF29jU6.js';
|
|
4
4
|
|
package/dist/preview.cjs
CHANGED
|
@@ -736,29 +736,6 @@ var runtimeErrorReportSchema = import_zod12.z.object({
|
|
|
736
736
|
digest: import_zod12.z.string().regex(/^[a-f0-9]{8}$/u),
|
|
737
737
|
occurredAt: import_zod12.z.iso.datetime()
|
|
738
738
|
}).strict();
|
|
739
|
-
var RUNTIME_ERROR_REPORT_RETRY_DELAYS_MS = [1e3, 2e3, 4e3];
|
|
740
|
-
var createRuntimeErrorReporter = ({
|
|
741
|
-
endpoint,
|
|
742
|
-
credentials
|
|
743
|
-
}) => {
|
|
744
|
-
return (report) => {
|
|
745
|
-
const body = JSON.stringify(report);
|
|
746
|
-
const send = async (retries) => {
|
|
747
|
-
const response = await fetch(endpoint, {
|
|
748
|
-
method: "POST",
|
|
749
|
-
headers: { "content-type": "application/json" },
|
|
750
|
-
body,
|
|
751
|
-
credentials,
|
|
752
|
-
keepalive: true
|
|
753
|
-
}).catch(() => null);
|
|
754
|
-
const [delay, ...later] = retries;
|
|
755
|
-
if (response?.status !== 404 || delay === void 0) return;
|
|
756
|
-
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
757
|
-
await send(later);
|
|
758
|
-
};
|
|
759
|
-
void send(RUNTIME_ERROR_REPORT_RETRY_DELAYS_MS);
|
|
760
|
-
};
|
|
761
|
-
};
|
|
762
739
|
|
|
763
740
|
// src/protocol/signed-envelope.ts
|
|
764
741
|
var encoder = new TextEncoder();
|
|
@@ -828,11 +805,19 @@ var isLocalDevControlSurfaceRuntimeMode = (runtimeMode) => LOCAL_DEV_CONTROL_SUR
|
|
|
828
805
|
);
|
|
829
806
|
|
|
830
807
|
// src/core/hosted-rooms.ts
|
|
831
|
-
var
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
808
|
+
var AIR_JAM_HOSTED_ENVIRONMENTS = [
|
|
809
|
+
{
|
|
810
|
+
name: "production",
|
|
811
|
+
roomsOrigin: "https://rooms.airjam.io",
|
|
812
|
+
platformOrigin: "https://airjam.io"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
name: "beta",
|
|
816
|
+
roomsOrigin: "https://rooms.beta.airjam.io",
|
|
817
|
+
platformOrigin: "https://beta.airjam.io"
|
|
818
|
+
}
|
|
819
|
+
];
|
|
820
|
+
var AIR_JAM_HOSTED_ROOMS_ORIGIN = AIR_JAM_HOSTED_ENVIRONMENTS[0].roomsOrigin;
|
|
836
821
|
|
|
837
822
|
// src/runtime/browser-replay.ts
|
|
838
823
|
var import_zod24 = require("zod");
|