@dcl/js-runtime 7.24.4 → 7.24.5-28985931443.commit-4a0bcfc
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 +14 -1
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1281,7 +1281,14 @@ declare module "~system/RestrictedActions" {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
// Function declaration section
|
|
1284
|
-
|
|
1284
|
+
/** Mask for which bones an animation applies to. */
|
|
1285
|
+
export enum AvatarMask {
|
|
1286
|
+
AM_UPPER_BODY = 0,
|
|
1287
|
+
UNRECOGNIZED = -1
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
// Function declaration section
|
|
1291
|
+
export interface MovePlayerToRequest {
|
|
1285
1292
|
newRelativePosition: Vector3 | undefined;
|
|
1286
1293
|
cameraTarget?: Vector3 | undefined;
|
|
1287
1294
|
avatarTarget?: Vector3 | undefined;
|
|
@@ -1293,6 +1300,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1293
1300
|
}
|
|
1294
1301
|
export interface TriggerEmoteRequest {
|
|
1295
1302
|
predefinedEmote: string;
|
|
1303
|
+
mask?: AvatarMask | undefined;
|
|
1296
1304
|
}
|
|
1297
1305
|
export interface ChangeRealmRequest {
|
|
1298
1306
|
realm: string;
|
|
@@ -1312,6 +1320,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1312
1320
|
export interface TriggerSceneEmoteRequest {
|
|
1313
1321
|
src: string;
|
|
1314
1322
|
loop?: boolean | undefined;
|
|
1323
|
+
mask?: AvatarMask | undefined;
|
|
1315
1324
|
}
|
|
1316
1325
|
export interface SuccessResponse {
|
|
1317
1326
|
success: boolean;
|
|
@@ -1327,6 +1336,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1327
1336
|
text: string;
|
|
1328
1337
|
}
|
|
1329
1338
|
export interface EmptyResponse {
|
|
1339
|
+
}
|
|
1340
|
+
export interface StopEmoteRequest {
|
|
1330
1341
|
}
|
|
1331
1342
|
|
|
1332
1343
|
// Function declaration section
|
|
@@ -1355,6 +1366,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1355
1366
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1356
1367
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1357
1368
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1369
|
+
/** StopEmote will stop the current emote */
|
|
1370
|
+
export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
|
|
1358
1371
|
|
|
1359
1372
|
}
|
|
1360
1373
|
/**
|
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.24.
|
|
4
|
+
"version": "7.24.5-28985931443.commit-4a0bcfc",
|
|
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": "4a0bcfc7d1817060e47ede9c11ba01e386648a25"
|
|
24
24
|
}
|