@dcl/js-runtime 7.27.1-33669021544.commit-a6216ed → 7.27.1-33674365269.commit-d8b9341

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 +8 -4
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -1303,11 +1303,12 @@ declare module "~system/RestrictedActions" {
1303
1303
  duration?: number | undefined;
1304
1304
  }
1305
1305
  export interface TeleportToRequest {
1306
- worldCoordinates: Vector2 | undefined;
1306
+ /** The parcel to land on. Omitted: the realm's default spawn (only meaningful with `realm`). */
1307
+ worldCoordinates?: Vector2 | undefined;
1307
1308
  /**
1308
1309
  * 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.
1310
+ * client changes realm (a full reconnect, even to the realm the player is in) and lands on the
1311
+ * parcel there. Omitted: the parcel is in the player's current realm.
1311
1312
  */
1312
1313
  realm?: string | undefined;
1313
1314
  }
@@ -1398,7 +1399,10 @@ declare module "~system/RestrictedActions" {
1398
1399
  export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
1399
1400
  /** TriggerEmote will trigger an emote in this current user */
1400
1401
  export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
1401
- /** ChangeRealm prompts the user to change to a specific realm */
1402
+ /**
1403
+ * @deprecated, use TeleportTo with `realm` (and no `world_coordinates` for the realm's default spawn)
1404
+ * ChangeRealm prompts the user to change to a specific realm
1405
+ */
1402
1406
  export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
1403
1407
  /** OpenExternalUrl prompts the user to open an external link */
1404
1408
  export function openExternalUrl(body: OpenExternalUrlRequest): 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-33674365269.commit-d8b9341",
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": "d8b93410b1a33ef7975150fb62a05f6073fd4843"
24
24
  }