@dcl/js-runtime 7.27.1-34382248832.commit-ca3b679 → 7.27.1-34418200091.commit-06bc595
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/apis.d.ts +12 -2
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1303,7 +1303,14 @@ declare module "~system/RestrictedActions" {
|
|
|
1303
1303
|
duration?: number | undefined;
|
|
1304
1304
|
}
|
|
1305
1305
|
export interface TeleportToRequest {
|
|
1306
|
-
|
|
1306
|
+
/** The parcel to land on. Omitted: the realm's default spawn (only meaningful with `realm`). */
|
|
1307
|
+
worldCoordinates?: Vector2 | undefined;
|
|
1308
|
+
/**
|
|
1309
|
+
* The realm the parcel belongs to: a world name (`foo.dcl.eth`) or a realm url. When set, the
|
|
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.
|
|
1312
|
+
*/
|
|
1313
|
+
realm?: string | undefined;
|
|
1307
1314
|
}
|
|
1308
1315
|
export interface TriggerEmoteRequest {
|
|
1309
1316
|
predefinedEmote: string;
|
|
@@ -1365,7 +1372,10 @@ declare module "~system/RestrictedActions" {
|
|
|
1365
1372
|
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
|
1366
1373
|
/** TriggerEmote will trigger an emote in this current user */
|
|
1367
1374
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
|
1368
|
-
/**
|
|
1375
|
+
/**
|
|
1376
|
+
* @deprecated, use TeleportTo with `realm` (and no `world_coordinates` for the realm's default spawn)
|
|
1377
|
+
* ChangeRealm prompts the user to change to a specific realm
|
|
1378
|
+
*/
|
|
1369
1379
|
export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
|
|
1370
1380
|
/** OpenExternalUrl prompts the user to open an external link */
|
|
1371
1381
|
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-
|
|
4
|
+
"version": "7.27.1-34418200091.commit-06bc595",
|
|
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": "
|
|
23
|
+
"commit": "06bc5956460407d608a0f7bc96b74fffd415ad2a"
|
|
24
24
|
}
|