@dcl/js-runtime 7.21.1-22917715332.commit-e5d969d → 7.21.1-22918726402.commit-ee210ee
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 +0 -33
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1286,28 +1286,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1286
1286
|
export interface MovePlayerToResponse {
|
|
1287
1287
|
success: boolean;
|
|
1288
1288
|
}
|
|
1289
|
-
export interface WalkPlayerToRequest {
|
|
1290
|
-
newRelativePosition: Vector3 | undefined;
|
|
1291
|
-
stopThreshold: number;
|
|
1292
|
-
/** max seconds before the request is failed; not passed to the movement scene */
|
|
1293
|
-
timeout?: number | undefined;
|
|
1294
|
-
}
|
|
1295
|
-
export interface WalkPlayerToResponse {
|
|
1296
|
-
success: boolean;
|
|
1297
|
-
}
|
|
1298
1289
|
export interface TeleportToResponse {
|
|
1299
1290
|
}
|
|
1300
|
-
export interface SetUiFocusRequest {
|
|
1301
|
-
elementId: string;
|
|
1302
|
-
}
|
|
1303
|
-
export interface ClearUiFocusRequest {
|
|
1304
|
-
}
|
|
1305
|
-
export interface GetUiFocusRequest {
|
|
1306
|
-
}
|
|
1307
|
-
export interface UiFocusResponse {
|
|
1308
|
-
/** the element that is/was focussed */
|
|
1309
|
-
elementId?: string | undefined;
|
|
1310
|
-
}
|
|
1311
1291
|
export interface CopyToClipboardRequest {
|
|
1312
1292
|
text: string;
|
|
1313
1293
|
}
|
|
@@ -1321,13 +1301,6 @@ declare module "~system/RestrictedActions" {
|
|
|
1321
1301
|
* whole interpolation being completed or interrupted (e.g: by input movement)
|
|
1322
1302
|
*/
|
|
1323
1303
|
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
|
1324
|
-
/**
|
|
1325
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1326
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1327
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1328
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1329
|
-
*/
|
|
1330
|
-
export function walkPlayerTo(body: WalkPlayerToRequest): Promise<WalkPlayerToResponse>;
|
|
1331
1304
|
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1332
1305
|
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
|
1333
1306
|
/** TriggerEmote will trigger an emote in this current user */
|
|
@@ -1345,12 +1318,6 @@ declare module "~system/RestrictedActions" {
|
|
|
1345
1318
|
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
|
1346
1319
|
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
|
1347
1320
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1348
|
-
/** Sets the focus to a specific UI element */
|
|
1349
|
-
export function setUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1350
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1351
|
-
export function clearUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1352
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1353
|
-
export function getUiFocus(body: GetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1354
1321
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1355
1322
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1356
1323
|
|
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.21.1-
|
|
4
|
+
"version": "7.21.1-22918726402.commit-ee210ee",
|
|
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": "ee210ee78e334e8e696dbae117a8e0019aa13c97"
|
|
24
24
|
}
|