@dcl/js-runtime 7.3.40-7698451743.commit-c9c61fe → 7.3.40-7717066166.commit-ece036d
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 +18 -0
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1349,6 +1349,22 @@ declare module "~system/Runtime" {
|
|
|
1349
1349
|
/** baseUrl used to resolve all content files */
|
|
1350
1350
|
baseUrl: string;
|
|
1351
1351
|
}
|
|
1352
|
+
export interface GetExplorerInformationRequest {
|
|
1353
|
+
}
|
|
1354
|
+
export interface GetExplorerInformationResponse {
|
|
1355
|
+
/** the agent that current explorer is identified as */
|
|
1356
|
+
agent: string;
|
|
1357
|
+
/** options: "desktop", "mobile", "vr", "web" */
|
|
1358
|
+
platform: string;
|
|
1359
|
+
/** custom configurations set in the explorer */
|
|
1360
|
+
configurations: {
|
|
1361
|
+
[key: string]: string;
|
|
1362
|
+
};
|
|
1363
|
+
}
|
|
1364
|
+
export interface GetExplorerInformationResponse_ConfigurationsEntry {
|
|
1365
|
+
key: string;
|
|
1366
|
+
value: string;
|
|
1367
|
+
}
|
|
1352
1368
|
|
|
1353
1369
|
// Function declaration section
|
|
1354
1370
|
/** Provides information about the current realm */
|
|
@@ -1367,6 +1383,8 @@ declare module "~system/Runtime" {
|
|
|
1367
1383
|
export function readFile(body: ReadFileRequest): Promise<ReadFileResponse>;
|
|
1368
1384
|
/** Returns information about the current scene. This is the replacement of GetBootstrapData */
|
|
1369
1385
|
export function getSceneInformation(body: CurrentSceneEntityRequest): Promise<CurrentSceneEntityResponse>;
|
|
1386
|
+
/** Provides information about the explorer */
|
|
1387
|
+
export function getExplorerInformation(body: GetExplorerInformationRequest): Promise<GetExplorerInformationResponse>;
|
|
1370
1388
|
|
|
1371
1389
|
}
|
|
1372
1390
|
/**
|
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.3.40-
|
|
4
|
+
"version": "7.3.40-7717066166.commit-ece036d",
|
|
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": "ece036db9e954a6f07bc175aa6f139d48680be87"
|
|
24
24
|
}
|