@dcl/js-runtime 7.1.10-4897779046.commit-853bd22 → 7.1.10-4927103722.commit-d2b4252
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 +39 -0
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -389,6 +389,45 @@ declare module "~system/Players" {
|
|
|
389
389
|
export function getPlayersInScene(body: GetPlayersInSceneRequest): Promise<PlayerListResponse>;
|
|
390
390
|
export function getConnectedPlayers(body: GetConnectedPlayersRequest): Promise<PlayerListResponse>;
|
|
391
391
|
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* PortableExperiences
|
|
395
|
+
*/
|
|
396
|
+
declare module "~system/PortableExperiences" {
|
|
397
|
+
|
|
398
|
+
export interface KillRequest {
|
|
399
|
+
pid: string;
|
|
400
|
+
}
|
|
401
|
+
export interface KillResponse {
|
|
402
|
+
status: boolean;
|
|
403
|
+
}
|
|
404
|
+
export interface SpawnRequest {
|
|
405
|
+
pid: string;
|
|
406
|
+
}
|
|
407
|
+
export interface SpawnResponse {
|
|
408
|
+
pid: string;
|
|
409
|
+
parentCid: string;
|
|
410
|
+
}
|
|
411
|
+
export interface PxRequest {
|
|
412
|
+
pid: string;
|
|
413
|
+
}
|
|
414
|
+
export interface GetPortableExperiencesLoadedRequest {
|
|
415
|
+
}
|
|
416
|
+
export interface GetPortableExperiencesLoadedResponse {
|
|
417
|
+
loaded: SpawnResponse[];
|
|
418
|
+
}
|
|
419
|
+
export interface ExitRequest {
|
|
420
|
+
}
|
|
421
|
+
export interface ExitResponse {
|
|
422
|
+
status: boolean;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
// Function declaration section
|
|
426
|
+
export function spawn(body: SpawnRequest): Promise<SpawnResponse>;
|
|
427
|
+
export function kill(body: KillRequest): Promise<KillResponse>;
|
|
428
|
+
export function exit(body: ExitRequest): Promise<ExitResponse>;
|
|
429
|
+
export function getPortableExperiencesLoaded(body: GetPortableExperiencesLoadedRequest): Promise<GetPortableExperiencesLoadedResponse>;
|
|
430
|
+
|
|
392
431
|
}
|
|
393
432
|
/**
|
|
394
433
|
* RestrictedActions
|
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.10-
|
|
4
|
+
"version": "7.1.10-4927103722.commit-d2b4252",
|
|
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": "d2b425236fdda4313abd74d6fcf7c183df962e79"
|
|
24
24
|
}
|