@dcl/js-runtime 7.27.1-33669021544.commit-a6216ed → 7.27.1-33751406308.commit-24d6624

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.
Files changed (2) hide show
  1. package/apis.d.ts +2 -43
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -1304,12 +1304,6 @@ declare module "~system/RestrictedActions" {
1304
1304
  }
1305
1305
  export interface TeleportToRequest {
1306
1306
  worldCoordinates: Vector2 | undefined;
1307
- /**
1308
- * The realm the parcel belongs to: a world name (`foo.dcl.eth`) or a realm url. When set, the
1309
- * client changes realm (as for ChangeRealm — a full reconnect, even to the realm the player is
1310
- * in) and lands on the parcel there. Omitted: the parcel is in the player's current realm.
1311
- */
1312
- realm?: string | undefined;
1313
1307
  }
1314
1308
  export interface TriggerEmoteRequest {
1315
1309
  predefinedEmote: string;
@@ -1343,28 +1337,8 @@ declare module "~system/RestrictedActions" {
1343
1337
  export interface MovePlayerToResponse {
1344
1338
  success: boolean;
1345
1339
  }
1346
- export interface WalkPlayerToRequest {
1347
- newRelativePosition: Vector3 | undefined;
1348
- stopThreshold: number;
1349
- /** max seconds before the request is failed; not passed to the movement scene */
1350
- timeout?: number | undefined;
1351
- }
1352
- export interface WalkPlayerToResponse {
1353
- success: boolean;
1354
- }
1355
1340
  export interface TeleportToResponse {
1356
1341
  }
1357
- export interface SetUiFocusRequest {
1358
- elementId: string;
1359
- }
1360
- export interface ClearUiFocusRequest {
1361
- }
1362
- export interface GetUiFocusRequest {
1363
- }
1364
- export interface UiFocusResponse {
1365
- /** the element that is/was focussed */
1366
- elementId?: string | undefined;
1367
- }
1368
1342
  export interface CopyToClipboardRequest {
1369
1343
  text: string;
1370
1344
  }
@@ -1387,14 +1361,7 @@ declare module "~system/RestrictedActions" {
1387
1361
  * whole interpolation being completed or interrupted (e.g: by input movement)
1388
1362
  */
1389
1363
  export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
1390
- /**
1391
- * TeleportTo will move the user to the specified world LAND parcel coordinates
1392
- * WalkPlayerTo will walk the player to a position relative to the current scene,
1393
- * managed by the movement controller scene. Returns success when the player reaches
1394
- * within stop_threshold distance, or false if the path is blocked, the player gets
1395
- * stuck, the player interrupts the walk with manual input, or the optional timeout expires.
1396
- */
1397
- export function walkPlayerTo(body: WalkPlayerToRequest): Promise<WalkPlayerToResponse>;
1364
+ /** TeleportTo will move the user to the specified world LAND parcel coordinates */
1398
1365
  export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
1399
1366
  /** TriggerEmote will trigger an emote in this current user */
1400
1367
  export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
@@ -1411,15 +1378,7 @@ declare module "~system/RestrictedActions" {
1411
1378
  export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
1412
1379
  /** TriggerSceneEmote will trigger an scene emote file in this current user */
1413
1380
  export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
1414
- /**
1415
- * CopyToClipboard copies the provided text into the clipboard
1416
- * Sets the focus to a specific UI element
1417
- */
1418
- export function setUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
1419
- /** Clears the focus from any currently focused textentry or dropdown */
1420
- export function clearUiFocus(body: ClearUiFocusRequest): Promise<UiFocusResponse>;
1421
- /** Returns the element_id of any currently focused textentry or dropdown */
1422
- export function getUiFocus(body: GetUiFocusRequest): Promise<UiFocusResponse>;
1381
+ /** CopyToClipboard copies the provided text into the clipboard */
1423
1382
  export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
1424
1383
  /** StopEmote will stop the current emote */
1425
1384
  export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/js-runtime",
3
3
  "description": "JavaScript runtime definitions for Decentraland environments",
4
- "version": "7.27.1-33669021544.commit-a6216ed",
4
+ "version": "7.27.1-33751406308.commit-24d6624",
5
5
  "author": "",
6
6
  "files": [
7
7
  "index.d.ts",
@@ -20,5 +20,5 @@
20
20
  },
21
21
  "types": "./index.d.ts",
22
22
  "typings": "./index.d.ts",
23
- "commit": "a6216ed019b3e94bc687847a82d433d07c6e3e9d"
23
+ "commit": "24d6624005797daf969107d5e152a59c88848781"
24
24
  }