@dcl/js-runtime 7.1.16-5048531850.commit-b8f8f29 → 7.1.16-5048778563.commit-4fb1135
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 +9 -8
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1125,17 +1125,12 @@ declare module "~system/RestrictedActions" {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
1127
|
// Function declaration section
|
|
1128
|
-
export interface
|
|
1129
|
-
}
|
|
1130
|
-
export interface MovePlayerToRequest {
|
|
1128
|
+
export interface MovePlayerToRequest {
|
|
1131
1129
|
newRelativePosition: Vector3 | undefined;
|
|
1132
1130
|
cameraTarget?: Vector3 | undefined;
|
|
1133
1131
|
}
|
|
1134
1132
|
export interface TeleportToRequest {
|
|
1135
|
-
|
|
1136
|
-
cameraTarget?: Vector3 | undefined;
|
|
1137
|
-
}
|
|
1138
|
-
export interface TriggerEmoteResponse {
|
|
1133
|
+
worldCoordinates: Vector2 | undefined;
|
|
1139
1134
|
}
|
|
1140
1135
|
export interface TriggerEmoteRequest {
|
|
1141
1136
|
predefinedEmote: string;
|
|
@@ -1157,11 +1152,17 @@ declare module "~system/RestrictedActions" {
|
|
|
1157
1152
|
}
|
|
1158
1153
|
export interface SuccessResponse {
|
|
1159
1154
|
success: boolean;
|
|
1155
|
+
}
|
|
1156
|
+
export interface TriggerEmoteResponse {
|
|
1157
|
+
}
|
|
1158
|
+
export interface MovePlayerToResponse {
|
|
1159
|
+
}
|
|
1160
|
+
export interface TeleportToResponse {
|
|
1160
1161
|
}
|
|
1161
1162
|
|
|
1162
1163
|
// Function declaration section
|
|
1163
1164
|
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
|
1164
|
-
export function teleportTo(body: TeleportToRequest): Promise<
|
|
1165
|
+
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
|
1165
1166
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
|
1166
1167
|
export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
|
|
1167
1168
|
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.1.16-
|
|
4
|
+
"version": "7.1.16-5048778563.commit-4fb1135",
|
|
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": "4fb1135e3894ee7dec016d2ff46c33eb1e75d60c"
|
|
24
24
|
}
|