@dcl/js-runtime 7.29.1-35862852104.commit-1f44e80 → 7.29.1-35917671376.commit-046b268

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 +11 -2
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -1285,7 +1285,7 @@ declare module "~system/RestrictedActions" {
1285
1285
  export enum OpenExplorerUiResult {
1286
1286
  UNSPECIFIED = 0,
1287
1287
  OPENED = 1,
1288
- /** WAS_ALREADY_OPEN - a fullscreen panel is already open */
1288
+ /** WAS_ALREADY_OPEN - the slot the requested panel occupies is already in use; panels sharing a slot exclude each other */
1289
1289
  WAS_ALREADY_OPEN = 2,
1290
1290
  /** REJECTED_NOT_CURRENT_SCENE - the standard restricted-actions current-scene gate rejected the call */
1291
1291
  REJECTED_NOT_CURRENT_SCENE = 3,
@@ -1355,6 +1355,15 @@ declare module "~system/RestrictedActions" {
1355
1355
  }
1356
1356
  export interface OpenExplorerUiRequest {
1357
1357
  ui: import('../ecs').ExplorerUi;
1358
+ /**
1359
+ * Echoed back in the events this request produces, so they can be matched to their call.
1360
+ * Unset means no correlation, and 0 is reserved for the same meaning on the result, so ids start at 1.
1361
+ */
1362
+ requestId?: number | undefined;
1363
+ itemPurchase?: OpenExplorerUiRequest_ItemPurchaseParams | undefined;
1364
+ }
1365
+ export interface OpenExplorerUiRequest_ItemPurchaseParams {
1366
+ urn: string;
1358
1367
  }
1359
1368
  export interface OpenExplorerUiResponse {
1360
1369
  /** Carries only the verdict of the open action. */
@@ -1392,7 +1401,7 @@ declare module "~system/RestrictedActions" {
1392
1401
  export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
1393
1402
  /** StopEmote will stop the current emote */
1394
1403
  export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
1395
- /** OpenExplorerUi opens a specific fullscreen explorer panel and returns the open verdict. */
1404
+ /** OpenExplorerUi opens an explorer panel, fullscreen or modal, and returns the open verdict. */
1396
1405
  export function openExplorerUi(body: OpenExplorerUiRequest): Promise<OpenExplorerUiResponse>;
1397
1406
 
1398
1407
  }
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.29.1-35862852104.commit-1f44e80",
4
+ "version": "7.29.1-35917671376.commit-046b268",
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": "1f44e80aec8fa365230f39956a8f6526011c6bd5"
23
+ "commit": "046b268beee66a9d2d67dda7834087a8052f4f9c"
24
24
  }