@dcl/playground-assets 7.4.18-8817414291.commit-3236fa6 → 7.4.19-8818968750.commit-6d2ec97

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.
@@ -564,6 +564,7 @@ export const componentDefinitionByName: {
564
564
  "core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
565
565
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
566
566
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
567
+ "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
567
568
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
568
569
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
569
570
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
@@ -982,12 +983,6 @@ export function Engine(options?: IEngineOptions): IEngine;
982
983
  // @public
983
984
  export const engine: IEngine;
984
985
 
985
- // @public (undocumented)
986
- export type EngineEvent<T extends IEventNames = IEventNames, V = IEvents[T]> = {
987
- type: T;
988
- data: Readonly<V>;
989
- };
990
-
991
986
  // @public (undocumented)
992
987
  export const EngineInfo: LastWriteWinElementSetComponentDefinition<PBEngineInfo>;
993
988
 
@@ -1097,24 +1092,6 @@ export function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith
1097
1092
  // @public @deprecated (undocumented)
1098
1093
  export function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
1099
1094
 
1100
- // @public (undocumented)
1101
- export type GizmoDragEndEvent = {
1102
- type: 'gizmoDragEnded';
1103
- transforms: Array<{
1104
- position: Vector3Type;
1105
- rotation: QuaternionType;
1106
- scale: Vector3Type;
1107
- entityId: unknown;
1108
- }>;
1109
- };
1110
-
1111
- // @public (undocumented)
1112
- export type GizmoSelectedEvent = {
1113
- type: 'gizmoSelected';
1114
- gizmoType: 'MOVE' | 'ROTATE' | 'SCALE' | 'NONE';
1115
- entities: string[];
1116
- };
1117
-
1118
1095
  // Warning: (ae-missing-release-tag) "GlobalDirectionRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1119
1096
  //
1120
1097
  // @public (undocumented)
@@ -1127,11 +1104,6 @@ export type GlobalDirectionRaycastSystemOptions = {
1127
1104
  direction?: PBVector3;
1128
1105
  };
1129
1106
 
1130
- // @public (undocumented)
1131
- export type GlobalInputEventResult = InputEventResult & {
1132
- type: 0 | 1;
1133
- };
1134
-
1135
1107
  // Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1136
1108
  //
1137
1109
  // @public (undocumented)
@@ -1219,88 +1191,22 @@ export type IEventNames = keyof IEvents;
1219
1191
 
1220
1192
  // @public
1221
1193
  export interface IEvents {
1222
- actionButtonEvent: GlobalInputEventResult;
1223
- builderSceneStart: unknown;
1224
- builderSceneUnloaded: unknown;
1225
- cameraModeChanged: {
1226
- cameraMode: 0 | 1 | 2;
1227
- };
1228
- chatMessage: {
1229
- id: string;
1230
- sender: string;
1231
- message: string;
1232
- isCommand: boolean;
1233
- };
1234
1194
  comms: {
1235
1195
  sender: string;
1236
1196
  message: string;
1237
1197
  };
1238
- entitiesOutOfBoundaries: {
1239
- entities: string[];
1240
- };
1241
- entityBackInScene: {
1242
- entityId: unknown;
1243
- };
1244
- entityOutOfScene: {
1245
- entityId: unknown;
1246
- };
1247
- // (undocumented)
1248
- externalAction: {
1249
- type: string;
1250
- [key: string]: any;
1251
- };
1252
- gizmoEvent: GizmoDragEndEvent | GizmoSelectedEvent;
1253
- idleStateChanged: {
1254
- isIdle: boolean;
1255
- };
1256
- // (undocumented)
1257
- limitsExceeded: {
1258
- given: Record<string, number>;
1259
- limit: Record<string, number>;
1260
- };
1261
- // (undocumented)
1262
- metricsUpdate: {
1263
- given: Record<string, number>;
1264
- limit: Record<string, number>;
1265
- };
1266
- onAnimationEnd: {
1267
- clipName: string;
1268
- };
1269
- onBlur: {
1270
- entityId: unknown;
1271
- pointerId: number;
1272
- };
1273
- onChange: {
1274
- value?: any;
1275
- pointerId?: number;
1276
- };
1277
- onClick: {
1278
- entityId: unknown;
1279
- };
1280
- onEnter: unknown;
1281
1198
  onEnterScene: {
1282
1199
  userId: string;
1283
1200
  };
1284
- onFocus: {
1285
- entityId: unknown;
1286
- pointerId: number;
1287
- };
1288
1201
  onLeaveScene: {
1289
1202
  userId: string;
1290
1203
  };
1291
- onPointerLock: {
1292
- locked?: boolean;
1293
- };
1294
1204
  onRealmChanged: {
1295
1205
  domain: string;
1296
1206
  room: string;
1297
1207
  serverName: string;
1298
1208
  displayName: string;
1299
1209
  };
1300
- // (undocumented)
1301
- onTextSubmit: {
1302
- text: string;
1303
- };
1304
1210
  playerClicked: {
1305
1211
  userId: string;
1306
1212
  ray: {
@@ -1319,37 +1225,11 @@ export interface IEvents {
1319
1225
  playerExpression: {
1320
1226
  expressionId: string;
1321
1227
  };
1322
- pointerDown: InputEventResult;
1323
- // @deprecated
1324
- pointerEvent: GlobalInputEventResult;
1325
- pointerHoverEnter: unknown;
1326
- pointerHoverExit: unknown;
1327
- pointerUp: InputEventResult;
1328
- positionChanged: {
1329
- position: Vector3Type;
1330
- cameraPosition: Vector3Type;
1331
- playerHeight: number;
1332
- };
1333
1228
  profileChanged: {
1334
1229
  ethAddress: string;
1335
1230
  version: number;
1336
1231
  };
1337
- raycastResponse: RaycastResponsePayload<any>;
1338
- rotationChanged: {
1339
- rotation: Vector3Type;
1340
- quaternion: QuaternionType;
1341
- };
1342
1232
  sceneStart: unknown;
1343
- // (undocumented)
1344
- stateEvent: {
1345
- type: string;
1346
- payload: any;
1347
- };
1348
- // (undocumented)
1349
- uuidEvent: {
1350
- uuid: string;
1351
- payload: any;
1352
- };
1353
1233
  videoEvent: {
1354
1234
  componentId: string;
1355
1235
  videoClipId: string;
@@ -1460,21 +1340,6 @@ export const enum InputAction {
1460
1340
  IA_WALK = 9
1461
1341
  }
1462
1342
 
1463
- // @public (undocumented)
1464
- export type InputEventResult = {
1465
- origin: Vector3Type;
1466
- direction: Vector3Type;
1467
- buttonId: number;
1468
- hit?: {
1469
- length: number;
1470
- hitPoint: Vector3Type;
1471
- meshName: string;
1472
- normal: Vector3Type;
1473
- worldNormal: Vector3Type;
1474
- entityId: unknown;
1475
- };
1476
- };
1477
-
1478
1343
  // @public
1479
1344
  export const inputSystem: IInputSystem;
1480
1345
 
@@ -2800,6 +2665,30 @@ export namespace PBRaycastResult {
2800
2665
  export function encode(message: PBRaycastResult, writer?: _m0.Writer): _m0.Writer;
2801
2666
  }
2802
2667
 
2668
+ // @public (undocumented)
2669
+ export interface PBRealmInfo {
2670
+ // (undocumented)
2671
+ baseUrl: string;
2672
+ // (undocumented)
2673
+ commsAdapter: string;
2674
+ // (undocumented)
2675
+ isPreview: boolean;
2676
+ // (undocumented)
2677
+ networkId: number;
2678
+ // (undocumented)
2679
+ realmName: string;
2680
+ // (undocumented)
2681
+ room?: string | undefined;
2682
+ }
2683
+
2684
+ // @public (undocumented)
2685
+ export namespace PBRealmInfo {
2686
+ // (undocumented)
2687
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
2688
+ // (undocumented)
2689
+ export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
2690
+ }
2691
+
2803
2692
  // @public (undocumented)
2804
2693
  export interface PBTextShape {
2805
2694
  font?: Font | undefined;
@@ -3464,13 +3353,6 @@ export const enum RaycastQueryType {
3464
3353
  RQT_QUERY_ALL = 1
3465
3354
  }
3466
3355
 
3467
- // @public (undocumented)
3468
- export type RaycastResponsePayload<T> = {
3469
- queryId: string;
3470
- queryType: string;
3471
- payload: T;
3472
- };
3473
-
3474
3356
  // @public (undocumented)
3475
3357
  export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
3476
3358
 
@@ -3566,6 +3448,9 @@ export type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<LastWrit
3566
3448
  // @public (undocumented)
3567
3449
  export type ReadonlyPrimitive = number | string | number[] | string[] | boolean | boolean[];
3568
3450
 
3451
+ // @public (undocumented)
3452
+ export const RealmInfo: LastWriteWinElementSetComponentDefinition<PBRealmInfo>;
3453
+
3569
3454
  // @public (undocumented)
3570
3455
  export type ReceiveMessage = CrdtMessageBody & {
3571
3456
  transportId?: number;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.4.18-8817414291.commit-3236fa6",
4
+ "version": "7.4.19-8818968750.commit-6d2ec97",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.4.18-8817414291.commit-3236fa6",
8
- "@dcl/sdk": "7.4.18-8817414291.commit-3236fa6"
7
+ "@dcl/js-runtime": "7.4.19-8818968750.commit-6d2ec97",
8
+ "@dcl/sdk": "7.4.19-8818968750.commit-6d2ec97"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "3236fa68dcccba455a5f20cbf5ab431fd6e82216"
35
+ "commit": "6d2ec97a241339671c7b75c6971003d24d3fe233"
36
36
  }