@dcl/js-runtime 7.0.6-4086599005.commit-398ef60 → 7.0.6-4086929545.commit-0292186

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.
Files changed (2) hide show
  1. package/apis.d.ts +25 -0
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -454,6 +454,7 @@ declare module "~system/Runtime" {
454
454
  realmName: string;
455
455
  networkId: number;
456
456
  commsAdapter: string;
457
+ isPreview: boolean;
457
458
  }
458
459
  export interface GetRealmResponse {
459
460
  realmInfo?: RealmInfo | undefined;
@@ -470,6 +471,30 @@ declare module "~system/Runtime" {
470
471
  export function getRealm(body: GetRealmRequest): Promise<GetRealmResponse>;
471
472
  export function getWorldTime(body: GetWorldTimeRequest): Promise<GetWorldTimeResponse>;
472
473
 
474
+ }
475
+ /**
476
+ * Scene
477
+ */
478
+ declare module "~system/Scene" {
479
+
480
+ export interface ContentMapping {
481
+ file: string;
482
+ hash: string;
483
+ }
484
+
485
+ // Function declaration section
486
+ export interface GetSceneRequest {
487
+ }
488
+ export interface GetSceneResponse {
489
+ cid: string;
490
+ metadata: string;
491
+ baseUrl: string;
492
+ contents: ContentMapping[];
493
+ }
494
+
495
+ // Function declaration section
496
+ export function getSceneInfo(body: GetSceneRequest): Promise<GetSceneResponse>;
497
+
473
498
  }
474
499
  /**
475
500
  * SignedFetch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/js-runtime",
3
- "version": "7.0.6-4086599005.commit-398ef60",
3
+ "version": "7.0.6-4086929545.commit-0292186",
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": "398ef606609400a9813d794dcd46580c6d08bc02"
19
+ "commit": "029218605ffb8e959701a4f954189e04d9851089"
20
20
  }