@dcl/js-runtime 7.27.1-33247605236.commit-732120a → 7.27.1-33533530571.commit-451d001
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 +2 -37
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1337,28 +1337,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1337
1337
|
export interface MovePlayerToResponse {
|
|
1338
1338
|
success: boolean;
|
|
1339
1339
|
}
|
|
1340
|
-
export interface WalkPlayerToRequest {
|
|
1341
|
-
newRelativePosition: Vector3 | undefined;
|
|
1342
|
-
stopThreshold: number;
|
|
1343
|
-
/** max seconds before the request is failed; not passed to the movement scene */
|
|
1344
|
-
timeout?: number | undefined;
|
|
1345
|
-
}
|
|
1346
|
-
export interface WalkPlayerToResponse {
|
|
1347
|
-
success: boolean;
|
|
1348
|
-
}
|
|
1349
1340
|
export interface TeleportToResponse {
|
|
1350
1341
|
}
|
|
1351
|
-
export interface SetUiFocusRequest {
|
|
1352
|
-
elementId: string;
|
|
1353
|
-
}
|
|
1354
|
-
export interface ClearUiFocusRequest {
|
|
1355
|
-
}
|
|
1356
|
-
export interface GetUiFocusRequest {
|
|
1357
|
-
}
|
|
1358
|
-
export interface UiFocusResponse {
|
|
1359
|
-
/** the element that is/was focussed */
|
|
1360
|
-
elementId?: string | undefined;
|
|
1361
|
-
}
|
|
1362
1342
|
export interface CopyToClipboardRequest {
|
|
1363
1343
|
text: string;
|
|
1364
1344
|
}
|
|
@@ -1381,14 +1361,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1381
1361
|
* whole interpolation being completed or interrupted (e.g: by input movement)
|
|
1382
1362
|
*/
|
|
1383
1363
|
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
|
1384
|
-
/**
|
|
1385
|
-
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1386
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1387
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1388
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1389
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1390
|
-
*/
|
|
1391
|
-
export function walkPlayerTo(body: WalkPlayerToRequest): Promise<WalkPlayerToResponse>;
|
|
1364
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1392
1365
|
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
|
1393
1366
|
/** TriggerEmote will trigger an emote in this current user */
|
|
1394
1367
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
|
@@ -1405,15 +1378,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1405
1378
|
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
|
1406
1379
|
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
|
1407
1380
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1408
|
-
/**
|
|
1409
|
-
* CopyToClipboard copies the provided text into the clipboard
|
|
1410
|
-
* Sets the focus to a specific UI element
|
|
1411
|
-
*/
|
|
1412
|
-
export function setUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1413
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1414
|
-
export function clearUiFocus(body: ClearUiFocusRequest): Promise<UiFocusResponse>;
|
|
1415
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1416
|
-
export function getUiFocus(body: GetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1381
|
+
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1417
1382
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1418
1383
|
/** StopEmote will stop the current emote */
|
|
1419
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-
|
|
4
|
+
"version": "7.27.1-33533530571.commit-451d001",
|
|
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": "451d001304e4d3e8eecece568a58990d129e1000"
|
|
24
24
|
}
|