@hypersoniclabs/helix-sdk 0.1.11-helix3.149 → 0.1.11

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.
@@ -1,4 +1,4 @@
1
- export declare const RUNTIME_CONTRACT_DIGEST: "sha256:acd14fcb984c6d0973d2e288c24166de2ab10c5ad650024b01229d9c42ac9988";
1
+ export declare const RUNTIME_CONTRACT_DIGEST: "sha256:1a2e7cdaa796360b09a612824e45ec07060fc24d2f7437cf84e96aab6fe34e88";
2
2
  export declare const HELIX_RUNTIME_CONTRACT: {
3
3
  readonly $schema: "./runtime-contract.schema.json";
4
4
  readonly authorityProfiles: {
@@ -6302,7 +6302,7 @@ export declare const HELIX_RUNTIME_CONTRACT: {
6302
6302
  }, {
6303
6303
  readonly category: "multiplayer_handle_type";
6304
6304
  readonly declarations: readonly [{
6305
- readonly declaration: "const CONTRACT_VERSION = 34 as const;";
6305
+ readonly declaration: "const CONTRACT_VERSION = 35 as const;";
6306
6306
  readonly kind: "VariableDeclaration";
6307
6307
  readonly source: "src/multiplayer-contract/index.ts";
6308
6308
  }];
@@ -8273,7 +8273,7 @@ export declare const HELIX_RUNTIME_CONTRACT: {
8273
8273
  }, {
8274
8274
  readonly category: "multiplayer_handle_type";
8275
8275
  readonly declarations: readonly [{
8276
- readonly declaration: "export interface PlayerReplicaState {\n position: Vec3;\n facingYawDeg: number;\n speed: number;\n moveDirectionDeg: number;\n verticalVelocity: number;\n grounded: boolean;\n crouched: boolean;\n ragdolled: boolean;\n ragdollLaunchX: number;\n ragdollLaunchZ: number;\n ragdollSpeedMps: number;\n aimYawDeg: number;\n aimPitchDeg: number;\n activeAbilities: string[];\n loopGesture: string;\n attachments: AttachmentEntry[];\n reachLeftActive: boolean;\n reachLeft: Vec3;\n reachRightActive: boolean;\n reachRight: Vec3;\n lookTargetActive: boolean;\n lookTarget: Vec3;\n shotSeq?: number;\n gunDrawn?: boolean;\n aiming?: boolean;\n reloading?: boolean;\n emotes?: EmoteEntry[];\n locomotionPack?: string;\n pairInitiator: string;\n pairSlot: string;\n pairStartMs: number;\n}";
8276
+ readonly declaration: "export interface PlayerReplicaState {\n position: Vec3;\n facingYawDeg: number;\n speed: number;\n moveDirectionDeg: number;\n verticalVelocity: number;\n grounded: boolean;\n crouched: boolean;\n ragdolled: boolean;\n ragdollLaunchX: number;\n ragdollLaunchZ: number;\n ragdollSpeedMps: number;\n aimYawDeg: number;\n aimPitchDeg: number;\n activeAbilities: string[];\n loopGesture: string;\n attachments: AttachmentEntry[];\n reachLeftActive: boolean;\n reachLeft: Vec3;\n reachRightActive: boolean;\n reachRight: Vec3;\n lookTargetActive: boolean;\n lookTarget: Vec3;\n shotSeq?: number;\n gunDrawn?: boolean;\n aiming?: boolean;\n reloading?: boolean;\n emotes?: EmoteEntry[];\n locomotionPack?: string;\n avatarPreviewUrl?: string;\n pairInitiator: string;\n pairSlot: string;\n pairStartMs: number;\n}";
8277
8277
  readonly kind: "InterfaceDeclaration";
8278
8278
  readonly source: "src/multiplayer-contract/state.ts";
8279
8279
  }];
@@ -8462,7 +8462,7 @@ export declare const HELIX_RUNTIME_CONTRACT: {
8462
8462
  }, {
8463
8463
  readonly category: "multiplayer_handle_type";
8464
8464
  readonly declarations: readonly [{
8465
- readonly declaration: "export interface RoomCredentialClaims {\n sub: string;\n displayName: string;\n avatarUrl?: string | null;\n worldId: string;\n buildId: string;\n baseBuildId?: string;\n scopes: string[];\n maxPlayers: number;\n buildNumber: number;\n configUrl: string;\n trial?: RoomTrialClaim;\n roomType?: string;\n instanceKey?: string;\n roomInit?: Record<string, RoomInitValue>;\n playerInit?: Record<string, RoomInitValue>;\n aud: typeof ROOM_CREDENTIAL_AUDIENCE;\n iss: string;\n exp: number;\n iat: number;\n jti: string;\n}";
8465
+ readonly declaration: "export interface RoomCredentialClaims {\n sub: string;\n displayName: string;\n avatarUrl?: string | null;\n avatarPreviewUrl?: string | null;\n worldId: string;\n buildId: string;\n baseBuildId?: string;\n scopes: string[];\n maxPlayers: number;\n buildNumber: number;\n configUrl: string;\n trial?: RoomTrialClaim;\n roomType?: string;\n instanceKey?: string;\n roomInit?: Record<string, RoomInitValue>;\n playerInit?: Record<string, RoomInitValue>;\n aud: typeof ROOM_CREDENTIAL_AUDIENCE;\n iss: string;\n exp: number;\n iat: number;\n jti: string;\n}";
8466
8466
  readonly kind: "InterfaceDeclaration";
8467
8467
  readonly source: "src/multiplayer-contract/credential.ts";
8468
8468
  }];
@@ -9694,16 +9694,16 @@ export declare const HELIX_RUNTIME_CONTRACT: {
9694
9694
  };
9695
9695
  readonly schema: "helix.runtime-contract";
9696
9696
  readonly sdk: {
9697
- readonly multiplayerContractVersion: 34;
9697
+ readonly multiplayerContractVersion: 35;
9698
9698
  readonly package: "@hypersoniclabs/helix-sdk";
9699
9699
  readonly packageVersion: "0.1.11";
9700
9700
  readonly protocolVersion: 2;
9701
9701
  };
9702
9702
  readonly source: {
9703
9703
  readonly branch: "helix3";
9704
- readonly commit: "8d7e087b136df94a1c823afbfdb4a603fa3ca14b";
9704
+ readonly commit: "ad28db795581e275c360c6645df3b071e8f4594d";
9705
9705
  readonly fileDigests: {
9706
- readonly "package.json": "sha256:8437175c1f31b0745d726f0c7cceaab9f600787052f0af2658e45e262b86a591";
9706
+ readonly "package.json": "sha256:9091affaaa16bc8d08989464981868bdf08d52dcbb84e5629a24cb25776055e4";
9707
9707
  readonly "src/action-surface.ts": "sha256:e0bf72b6c9333348d15b22b53fd91365cc9024f879abf78a968759f2077b2927";
9708
9708
  readonly "src/camera.ts": "sha256:6597e735387b2a8d07ee4277e890ec0d730a0bac3811c32e27fff1a9f6fe17e9";
9709
9709
  readonly "src/device-definition-resolver.ts": "sha256:2afebf980e276f87a9849d3ced3bd9fc37ceae04b15ca20a9918aac37b77c6ca";
@@ -9715,12 +9715,12 @@ export declare const HELIX_RUNTIME_CONTRACT: {
9715
9715
  readonly "src/matchmaking.ts": "sha256:fedd9f86b15280d2af2441a4407ace86529518d48b0d363c4a9a4d8c24b61b0f";
9716
9716
  readonly "src/materials.ts": "sha256:735b17d42c30b96aa993225500a059875a7c4d2406d0bb076817889cdc5255c4";
9717
9717
  readonly "src/multiplayer-accessors.ts": "sha256:92434d2a4f04d330aa4445ef58263594c22c297b43185cc7291cdf2bb9e03bc5";
9718
- readonly "src/multiplayer-contract/credential.ts": "sha256:8c6c914a18ad628828b8e1124c529b3073dbf2d586296f3bf3b2352d14b66a65";
9718
+ readonly "src/multiplayer-contract/credential.ts": "sha256:5e5762ece6e54b01ab8a90fc7126f8d986b54de10cd4dad84435acdb8e46e57c";
9719
9719
  readonly "src/multiplayer-contract/final-rest.ts": "sha256:43e67e92afd345c0350ed908f0f89b238bc32a3e958990c34401869ddef1a097";
9720
- readonly "src/multiplayer-contract/index.ts": "sha256:62a97049323ddc913834cc75405fae4f1c7f74a5acc8c4c2ee1d139025098911";
9720
+ readonly "src/multiplayer-contract/index.ts": "sha256:abc004dbb99bb3aa0d39e5f331bc2e4ce8154bb30d23f82092cca5f707432d7d";
9721
9721
  readonly "src/multiplayer-contract/messages.ts": "sha256:1fe3d98eb6c14e8af9c371f0c3096818c30fc6c96b02c6cf44d3a0714577ae30";
9722
9722
  readonly "src/multiplayer-contract/room.ts": "sha256:1c857137854149233181d231908ac57f67c70de458f904985315eae315b33562";
9723
- readonly "src/multiplayer-contract/state.ts": "sha256:2a52c27dafd006bc6acd275c79494ff36c0e9fb5d5c6704a99931f723cf88684";
9723
+ readonly "src/multiplayer-contract/state.ts": "sha256:be3219a650a17daffa92b626836314a5f5a5c6c00b0fa4bd04f55cba9ff1addc";
9724
9724
  readonly "src/multiplayer.ts": "sha256:c5ea7c1bee6f79f437878b9b4250dea369b4874fce0b4ce3ec85a39f2876572e";
9725
9725
  readonly "src/protocol.ts": "sha256:00135c5d4a992fcdd8e30ad15a6a95af9d4e1808edf2834fffdd2ee82695c87b";
9726
9726
  readonly "src/universal-vehicles.ts": "sha256:ef3e214be2477952487e395021319acd7a9ae3849419a4544ed2f90962ab3946";
@@ -1,5 +1,5 @@
1
1
  // Generated by scripts/generate-runtime-contract.mjs. DO NOT EDIT.
2
- export const RUNTIME_CONTRACT_DIGEST = 'sha256:acd14fcb984c6d0973d2e288c24166de2ab10c5ad650024b01229d9c42ac9988';
2
+ export const RUNTIME_CONTRACT_DIGEST = 'sha256:1a2e7cdaa796360b09a612824e45ec07060fc24d2f7437cf84e96aab6fe34e88';
3
3
  export const HELIX_RUNTIME_CONTRACT = {
4
4
  "$schema": "./runtime-contract.schema.json",
5
5
  "authorityProfiles": {
@@ -8298,7 +8298,7 @@ export const HELIX_RUNTIME_CONTRACT = {
8298
8298
  "category": "multiplayer_handle_type",
8299
8299
  "declarations": [
8300
8300
  {
8301
- "declaration": "const CONTRACT_VERSION = 34 as const;",
8301
+ "declaration": "const CONTRACT_VERSION = 35 as const;",
8302
8302
  "kind": "VariableDeclaration",
8303
8303
  "source": "src/multiplayer-contract/index.ts"
8304
8304
  }
@@ -10926,7 +10926,7 @@ export const HELIX_RUNTIME_CONTRACT = {
10926
10926
  "category": "multiplayer_handle_type",
10927
10927
  "declarations": [
10928
10928
  {
10929
- "declaration": "export interface PlayerReplicaState {\n position: Vec3;\n facingYawDeg: number;\n speed: number;\n moveDirectionDeg: number;\n verticalVelocity: number;\n grounded: boolean;\n crouched: boolean;\n ragdolled: boolean;\n ragdollLaunchX: number;\n ragdollLaunchZ: number;\n ragdollSpeedMps: number;\n aimYawDeg: number;\n aimPitchDeg: number;\n activeAbilities: string[];\n loopGesture: string;\n attachments: AttachmentEntry[];\n reachLeftActive: boolean;\n reachLeft: Vec3;\n reachRightActive: boolean;\n reachRight: Vec3;\n lookTargetActive: boolean;\n lookTarget: Vec3;\n shotSeq?: number;\n gunDrawn?: boolean;\n aiming?: boolean;\n reloading?: boolean;\n emotes?: EmoteEntry[];\n locomotionPack?: string;\n pairInitiator: string;\n pairSlot: string;\n pairStartMs: number;\n}",
10929
+ "declaration": "export interface PlayerReplicaState {\n position: Vec3;\n facingYawDeg: number;\n speed: number;\n moveDirectionDeg: number;\n verticalVelocity: number;\n grounded: boolean;\n crouched: boolean;\n ragdolled: boolean;\n ragdollLaunchX: number;\n ragdollLaunchZ: number;\n ragdollSpeedMps: number;\n aimYawDeg: number;\n aimPitchDeg: number;\n activeAbilities: string[];\n loopGesture: string;\n attachments: AttachmentEntry[];\n reachLeftActive: boolean;\n reachLeft: Vec3;\n reachRightActive: boolean;\n reachRight: Vec3;\n lookTargetActive: boolean;\n lookTarget: Vec3;\n shotSeq?: number;\n gunDrawn?: boolean;\n aiming?: boolean;\n reloading?: boolean;\n emotes?: EmoteEntry[];\n locomotionPack?: string;\n avatarPreviewUrl?: string;\n pairInitiator: string;\n pairSlot: string;\n pairStartMs: number;\n}",
10930
10930
  "kind": "InterfaceDeclaration",
10931
10931
  "source": "src/multiplayer-contract/state.ts"
10932
10932
  }
@@ -11178,7 +11178,7 @@ export const HELIX_RUNTIME_CONTRACT = {
11178
11178
  "category": "multiplayer_handle_type",
11179
11179
  "declarations": [
11180
11180
  {
11181
- "declaration": "export interface RoomCredentialClaims {\n sub: string;\n displayName: string;\n avatarUrl?: string | null;\n worldId: string;\n buildId: string;\n baseBuildId?: string;\n scopes: string[];\n maxPlayers: number;\n buildNumber: number;\n configUrl: string;\n trial?: RoomTrialClaim;\n roomType?: string;\n instanceKey?: string;\n roomInit?: Record<string, RoomInitValue>;\n playerInit?: Record<string, RoomInitValue>;\n aud: typeof ROOM_CREDENTIAL_AUDIENCE;\n iss: string;\n exp: number;\n iat: number;\n jti: string;\n}",
11181
+ "declaration": "export interface RoomCredentialClaims {\n sub: string;\n displayName: string;\n avatarUrl?: string | null;\n avatarPreviewUrl?: string | null;\n worldId: string;\n buildId: string;\n baseBuildId?: string;\n scopes: string[];\n maxPlayers: number;\n buildNumber: number;\n configUrl: string;\n trial?: RoomTrialClaim;\n roomType?: string;\n instanceKey?: string;\n roomInit?: Record<string, RoomInitValue>;\n playerInit?: Record<string, RoomInitValue>;\n aud: typeof ROOM_CREDENTIAL_AUDIENCE;\n iss: string;\n exp: number;\n iat: number;\n jti: string;\n}",
11182
11182
  "kind": "InterfaceDeclaration",
11183
11183
  "source": "src/multiplayer-contract/credential.ts"
11184
11184
  }
@@ -12797,16 +12797,16 @@ export const HELIX_RUNTIME_CONTRACT = {
12797
12797
  },
12798
12798
  "schema": "helix.runtime-contract",
12799
12799
  "sdk": {
12800
- "multiplayerContractVersion": 34,
12800
+ "multiplayerContractVersion": 35,
12801
12801
  "package": "@hypersoniclabs/helix-sdk",
12802
12802
  "packageVersion": "0.1.11",
12803
12803
  "protocolVersion": 2
12804
12804
  },
12805
12805
  "source": {
12806
12806
  "branch": "helix3",
12807
- "commit": "8d7e087b136df94a1c823afbfdb4a603fa3ca14b",
12807
+ "commit": "ad28db795581e275c360c6645df3b071e8f4594d",
12808
12808
  "fileDigests": {
12809
- "package.json": "sha256:8437175c1f31b0745d726f0c7cceaab9f600787052f0af2658e45e262b86a591",
12809
+ "package.json": "sha256:9091affaaa16bc8d08989464981868bdf08d52dcbb84e5629a24cb25776055e4",
12810
12810
  "src/action-surface.ts": "sha256:e0bf72b6c9333348d15b22b53fd91365cc9024f879abf78a968759f2077b2927",
12811
12811
  "src/camera.ts": "sha256:6597e735387b2a8d07ee4277e890ec0d730a0bac3811c32e27fff1a9f6fe17e9",
12812
12812
  "src/device-definition-resolver.ts": "sha256:2afebf980e276f87a9849d3ced3bd9fc37ceae04b15ca20a9918aac37b77c6ca",
@@ -12818,12 +12818,12 @@ export const HELIX_RUNTIME_CONTRACT = {
12818
12818
  "src/matchmaking.ts": "sha256:fedd9f86b15280d2af2441a4407ace86529518d48b0d363c4a9a4d8c24b61b0f",
12819
12819
  "src/materials.ts": "sha256:735b17d42c30b96aa993225500a059875a7c4d2406d0bb076817889cdc5255c4",
12820
12820
  "src/multiplayer-accessors.ts": "sha256:92434d2a4f04d330aa4445ef58263594c22c297b43185cc7291cdf2bb9e03bc5",
12821
- "src/multiplayer-contract/credential.ts": "sha256:8c6c914a18ad628828b8e1124c529b3073dbf2d586296f3bf3b2352d14b66a65",
12821
+ "src/multiplayer-contract/credential.ts": "sha256:5e5762ece6e54b01ab8a90fc7126f8d986b54de10cd4dad84435acdb8e46e57c",
12822
12822
  "src/multiplayer-contract/final-rest.ts": "sha256:43e67e92afd345c0350ed908f0f89b238bc32a3e958990c34401869ddef1a097",
12823
- "src/multiplayer-contract/index.ts": "sha256:62a97049323ddc913834cc75405fae4f1c7f74a5acc8c4c2ee1d139025098911",
12823
+ "src/multiplayer-contract/index.ts": "sha256:abc004dbb99bb3aa0d39e5f331bc2e4ce8154bb30d23f82092cca5f707432d7d",
12824
12824
  "src/multiplayer-contract/messages.ts": "sha256:1fe3d98eb6c14e8af9c371f0c3096818c30fc6c96b02c6cf44d3a0714577ae30",
12825
12825
  "src/multiplayer-contract/room.ts": "sha256:1c857137854149233181d231908ac57f67c70de458f904985315eae315b33562",
12826
- "src/multiplayer-contract/state.ts": "sha256:2a52c27dafd006bc6acd275c79494ff36c0e9fb5d5c6704a99931f723cf88684",
12826
+ "src/multiplayer-contract/state.ts": "sha256:be3219a650a17daffa92b626836314a5f5a5c6c00b0fa4bd04f55cba9ff1addc",
12827
12827
  "src/multiplayer.ts": "sha256:c5ea7c1bee6f79f437878b9b4250dea369b4874fce0b4ce3ec85a39f2876572e",
12828
12828
  "src/protocol.ts": "sha256:00135c5d4a992fcdd8e30ad15a6a95af9d4e1808edf2834fffdd2ee82695c87b",
12829
12829
  "src/universal-vehicles.ts": "sha256:ef3e214be2477952487e395021319acd7a9ae3849419a4544ed2f90962ab3946",