@dcl/playground-assets 7.17.1-20759805199.commit-a603c8b → 7.17.1-20760768355.commit-b8e2098

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.
@@ -1250,6 +1250,8 @@ declare module "~system/RestrictedActions" {
1250
1250
  newRelativePosition: Vector3 | undefined;
1251
1251
  cameraTarget?: Vector3 | undefined;
1252
1252
  avatarTarget?: Vector3 | undefined;
1253
+ /** by default (no duration param) the player is instantly moved and not interpolated */
1254
+ duration?: number | undefined;
1253
1255
  }
1254
1256
  export interface TeleportToRequest {
1255
1257
  worldCoordinates: Vector2 | undefined;
@@ -1282,6 +1284,7 @@ declare module "~system/RestrictedActions" {
1282
1284
  export interface TriggerEmoteResponse {
1283
1285
  }
1284
1286
  export interface MovePlayerToResponse {
1287
+ success: boolean;
1285
1288
  }
1286
1289
  export interface TeleportToResponse {
1287
1290
  }
@@ -1292,7 +1295,11 @@ declare module "~system/RestrictedActions" {
1292
1295
  }
1293
1296
 
1294
1297
  // Function declaration section
1295
- /** MovePlayerTo will move the player in a position relative to the current scene */
1298
+ /**
1299
+ * MovePlayerTo will move the player to a position relative to the current scene.
1300
+ * If 'duration' field is used in the request, the success response depends on the
1301
+ * whole interpolation being completed or interrupted (e.g: by input movement)
1302
+ */
1296
1303
  export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
1297
1304
  /** TeleportTo will move the user to the specified world LAND parcel coordinates */
1298
1305
  export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.17.1-20759805199.commit-a603c8b",
4
+ "version": "7.17.1-20760768355.commit-b8e2098",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "a603c8bbded849ef92ed28635c25e459ac2391e3"
38
+ "commit": "b8e2098a9370521bd067c1656975fe163e08ae1b"
39
39
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.17.1-20759805199.commit-a603c8b",
4
+ "version": "7.17.1-20760768355.commit-b8e2098",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.17.1-20759805199.commit-a603c8b",
8
- "@dcl/sdk": "7.17.1-20759805199.commit-a603c8b"
7
+ "@dcl/js-runtime": "7.17.1-20760768355.commit-b8e2098",
8
+ "@dcl/sdk": "7.17.1-20760768355.commit-b8e2098"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "a603c8bbded849ef92ed28635c25e459ac2391e3"
35
+ "commit": "b8e2098a9370521bd067c1656975fe163e08ae1b"
36
36
  }