@dcl/js-runtime 7.0.6-3741197705.commit-bb37667 → 7.0.6-3767144242.commit-6bb12d2
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 +27 -0
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -538,15 +538,42 @@ declare module "~system/RestrictedActions" {
|
|
|
538
538
|
newRelativePosition: Vector3 | undefined;
|
|
539
539
|
cameraTarget?: Vector3 | undefined;
|
|
540
540
|
}
|
|
541
|
+
export interface TeleportToRequest {
|
|
542
|
+
worldPosition: Vector3 | undefined;
|
|
543
|
+
cameraTarget?: Vector3 | undefined;
|
|
544
|
+
}
|
|
541
545
|
export interface TriggerEmoteResponse {
|
|
542
546
|
}
|
|
543
547
|
export interface TriggerEmoteRequest {
|
|
544
548
|
predefinedEmote: string;
|
|
545
549
|
}
|
|
550
|
+
export interface ChangeRealmRequest {
|
|
551
|
+
realm: string;
|
|
552
|
+
message?: string | undefined;
|
|
553
|
+
}
|
|
554
|
+
export interface OpenExternalUrlRequest {
|
|
555
|
+
url: string;
|
|
556
|
+
}
|
|
557
|
+
export interface OpenNftDialogRequest {
|
|
558
|
+
urn: string;
|
|
559
|
+
}
|
|
560
|
+
export interface UnblockPointerRequest {
|
|
561
|
+
}
|
|
562
|
+
export interface CommsAdapterRequest {
|
|
563
|
+
connectionString: string;
|
|
564
|
+
}
|
|
565
|
+
export interface SuccessResponse {
|
|
566
|
+
success: boolean;
|
|
567
|
+
}
|
|
546
568
|
|
|
547
569
|
// Function declaration section
|
|
548
570
|
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
|
571
|
+
export function teleportTo(body: TeleportToRequest): Promise<MovePlayerToResponse>;
|
|
549
572
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
|
573
|
+
export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
|
|
574
|
+
export function openExternalUrl(body: OpenExternalUrlRequest): Promise<SuccessResponse>;
|
|
575
|
+
export function openNftDialog(body: OpenNftDialogRequest): Promise<SuccessResponse>;
|
|
576
|
+
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
|
550
577
|
|
|
551
578
|
}
|
|
552
579
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/js-runtime",
|
|
3
|
-
"version": "7.0.6-
|
|
3
|
+
"version": "7.0.6-3767144242.commit-6bb12d2",
|
|
4
4
|
"description": "JavaScript runtime definitions for Decentraland environments",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"keywords": [],
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
|
-
"commit": "
|
|
19
|
+
"commit": "6bb12d22069031724f3f256bc50443d3072b97a4"
|
|
20
20
|
}
|