@dcl/js-runtime 7.0.6-4085247017.commit-f004317 → 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 -46
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -339,52 +339,6 @@ declare module "~system/EthereumController" {
339
339
  export function sendAsync(body: SendAsyncRequest): Promise<SendAsyncResponse>;
340
340
  export function getUserAccount(body: GetUserAccountRequest): Promise<GetUserAccountResponse>;
341
341
 
342
- }
343
- /**
344
- * ParcelIdentity
345
- */
346
- declare module "~system/ParcelIdentity" {
347
-
348
- export interface ContentMapping {
349
- file: string;
350
- hash: string;
351
- }
352
-
353
- // Function declaration section
354
- export interface MappingsResponse {
355
- parcelId: string;
356
- rootCid: string;
357
- contents: ContentMapping[];
358
- }
359
- export interface Land {
360
- sceneId: string;
361
- sceneJsonData: string;
362
- baseUrl: string;
363
- baseUrlBundles: string;
364
- mappingsResponse: MappingsResponse | undefined;
365
- }
366
- export interface GetParcelRequest {
367
- }
368
- export interface GetParcelResponse {
369
- land: Land | undefined;
370
- cid: string;
371
- }
372
- export interface GetSceneIdRequest {
373
- }
374
- export interface GetSceneIdResponse {
375
- sceneId: string;
376
- }
377
- export interface GetIsEmptyRequest {
378
- }
379
- export interface GetIsEmptyResponse {
380
- isEmpty: boolean;
381
- }
382
-
383
- // Function declaration section
384
- export function getParcel(body: GetParcelRequest): Promise<GetParcelResponse>;
385
- export function getSceneId(body: GetSceneIdRequest): Promise<GetSceneIdResponse>;
386
- export function getIsEmpty(body: GetIsEmptyRequest): Promise<GetIsEmptyResponse>;
387
-
388
342
  }
389
343
  /**
390
344
  * Players
@@ -500,6 +454,7 @@ declare module "~system/Runtime" {
500
454
  realmName: string;
501
455
  networkId: number;
502
456
  commsAdapter: string;
457
+ isPreview: boolean;
503
458
  }
504
459
  export interface GetRealmResponse {
505
460
  realmInfo?: RealmInfo | undefined;
@@ -516,6 +471,30 @@ declare module "~system/Runtime" {
516
471
  export function getRealm(body: GetRealmRequest): Promise<GetRealmResponse>;
517
472
  export function getWorldTime(body: GetWorldTimeRequest): Promise<GetWorldTimeResponse>;
518
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
+
519
498
  }
520
499
  /**
521
500
  * SignedFetch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/js-runtime",
3
- "version": "7.0.6-4085247017.commit-f004317",
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": "f004317d06f923f5d7c5e05722bf3c6f4bd62eef"
19
+ "commit": "029218605ffb8e959701a4f954189e04d9851089"
20
20
  }