@dcl/playground-assets 7.0.6-3857398079.commit-7a4c5cb → 7.0.6-3939099974.commit-727d673

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.
@@ -13,22 +13,6 @@ declare module "~system/CommunicationsController" {
13
13
  // Function declaration section
14
14
  export function send(body: RealSendRequest): Promise<RealSendResponse>;
15
15
 
16
- }
17
- /**
18
- * DevTools
19
- */
20
- declare module "~system/DevTools" {
21
-
22
- export interface DevToolsBody {
23
- type: string;
24
- jsonPayload: string;
25
- }
26
- export interface EventResponse {
27
- }
28
-
29
- // Function declaration section
30
- export function event(body: DevToolsBody): Promise<EventResponse>;
31
-
32
16
  }
33
17
  /**
34
18
  * EngineApi
@@ -401,37 +385,6 @@ declare module "~system/ParcelIdentity" {
401
385
  export function getSceneId(body: GetSceneIdRequest): Promise<GetSceneIdResponse>;
402
386
  export function getIsEmpty(body: GetIsEmptyRequest): Promise<GetIsEmptyResponse>;
403
387
 
404
- }
405
- /**
406
- * Permissions
407
- */
408
- declare module "~system/Permissions" {
409
-
410
- export enum PermissionItem {
411
- PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE = 0,
412
- PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE = 1,
413
- PI_USE_WEB3_API = 2,
414
- PI_USE_WEBSOCKET = 3,
415
- PI_USE_FETCH = 4,
416
- UNRECOGNIZED = -1
417
- }
418
- export interface PermissionResponse {
419
- hasPermission: boolean;
420
- }
421
- export interface HasPermissionRequest {
422
- permission: PermissionItem;
423
- }
424
- export interface HasManyPermissionRequest {
425
- permissions: PermissionItem[];
426
- }
427
- export interface HasManyPermissionResponse {
428
- hasManyPermission: boolean[];
429
- }
430
-
431
- // Function declaration section
432
- export function hasPermission(body: HasPermissionRequest): Promise<PermissionResponse>;
433
- export function hasManyPermissions(body: HasManyPermissionRequest): Promise<HasManyPermissionResponse>;
434
-
435
388
  }
436
389
  /**
437
390
  * Players
@@ -482,45 +435,6 @@ declare module "~system/Players" {
482
435
  export function getPlayersInScene(body: GetPlayersInSceneRequest): Promise<PlayerListResponse>;
483
436
  export function getConnectedPlayers(body: GetConnectedPlayersRequest): Promise<PlayerListResponse>;
484
437
 
485
- }
486
- /**
487
- * PortableExperiences
488
- */
489
- declare module "~system/PortableExperiences" {
490
-
491
- export interface KillRequest {
492
- pid: string;
493
- }
494
- export interface KillResponse {
495
- status: boolean;
496
- }
497
- export interface SpawnRequest {
498
- pid: string;
499
- }
500
- export interface SpawnResponse {
501
- pid: string;
502
- parentCid: string;
503
- }
504
- export interface PxRequest {
505
- pid: string;
506
- }
507
- export interface GetPortableExperiencesLoadedRequest {
508
- }
509
- export interface GetPortableExperiencesLoadedResponse {
510
- loaded: SpawnResponse[];
511
- }
512
- export interface ExitRequest {
513
- }
514
- export interface ExitResponse {
515
- status: boolean;
516
- }
517
-
518
- // Function declaration section
519
- export function spawn(body: SpawnRequest): Promise<SpawnResponse>;
520
- export function kill(body: KillRequest): Promise<KillResponse>;
521
- export function exit(body: ExitRequest): Promise<ExitResponse>;
522
- export function getPortableExperiencesLoaded(body: GetPortableExperiencesLoadedRequest): Promise<GetPortableExperiencesLoadedResponse>;
523
-
524
438
  }
525
439
  /**
526
440
  * RestrictedActions
@@ -575,6 +489,33 @@ declare module "~system/RestrictedActions" {
575
489
  export function openNftDialog(body: OpenNftDialogRequest): Promise<SuccessResponse>;
576
490
  export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
577
491
 
492
+ }
493
+ /**
494
+ * Runtime
495
+ */
496
+ declare module "~system/Runtime" {
497
+
498
+ export interface RealmInfo {
499
+ baseUrl: string;
500
+ realmName: string;
501
+ networkId: number;
502
+ commsAdapter: string;
503
+ }
504
+ export interface GetRealmResponse {
505
+ realmInfo?: RealmInfo | undefined;
506
+ }
507
+ export interface GetWorldTimeResponse {
508
+ seconds: number;
509
+ }
510
+ export interface GetRealmRequest {
511
+ }
512
+ export interface GetWorldTimeRequest {
513
+ }
514
+
515
+ // Function declaration section
516
+ export function getRealm(body: GetRealmRequest): Promise<GetRealmResponse>;
517
+ export function getWorldTime(body: GetWorldTimeRequest): Promise<GetWorldTimeResponse>;
518
+
578
519
  }
579
520
  /**
580
521
  * SignedFetch
@@ -613,25 +554,6 @@ declare module "~system/SignedFetch" {
613
554
  // Function declaration section
614
555
  export function signedFetch(body: SignedFetchRequest): Promise<FlatFetchResponse>;
615
556
 
616
- }
617
- /**
618
- * SocialController
619
- */
620
- declare module "~system/SocialController" {
621
-
622
- export interface InitRequest {
623
- }
624
- export interface SocialEvent {
625
- event: string;
626
- payload: string;
627
- }
628
- export interface GetAvatarEventsResponse {
629
- events: SocialEvent[];
630
- }
631
-
632
- // Function declaration section
633
- export function pullAvatarEvents(body: InitRequest): Promise<GetAvatarEventsResponse>;
634
-
635
557
  }
636
558
  /**
637
559
  * UserActionModule
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.6-3857398079.commit-7a4c5cb",
3
+ "version": "7.0.6-3939099974.commit-727d673",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -37,5 +37,5 @@
37
37
  "displayName": "SDK",
38
38
  "tsconfig": "./tsconfig.json"
39
39
  },
40
- "commit": "7a4c5cb30db481254e4abe05de7b6c19a11fd884"
40
+ "commit": "727d673f8e1a299bf65a92b41a6fb76f2e9c4711"
41
41
  }
@@ -2926,7 +2926,8 @@ export declare const PBAudioStream: {
2926
2926
  };
2927
2927
 
2928
2928
  export declare interface PBAvatarAttach {
2929
- avatarId: string;
2929
+ /** default's to current player avatar id if not provided */
2930
+ avatarId?: string | undefined;
2930
2931
  anchorPointId: AvatarAnchorPointType;
2931
2932
  }
2932
2933
 
@@ -25604,15 +25604,15 @@
25604
25604
  {
25605
25605
  "kind": "PropertySignature",
25606
25606
  "canonicalReference": "@dcl/playground-assets!PBAvatarAttach#avatarId:member",
25607
- "docComment": "",
25607
+ "docComment": "/**\n * default's to current player avatar id if not provided\n */\n",
25608
25608
  "excerptTokens": [
25609
25609
  {
25610
25610
  "kind": "Content",
25611
- "text": "avatarId: "
25611
+ "text": "avatarId?: "
25612
25612
  },
25613
25613
  {
25614
25614
  "kind": "Content",
25615
- "text": "string"
25615
+ "text": "string | undefined"
25616
25616
  },
25617
25617
  {
25618
25618
  "kind": "Content",
@@ -25620,7 +25620,7 @@
25620
25620
  }
25621
25621
  ],
25622
25622
  "isReadonly": false,
25623
- "isOptional": false,
25623
+ "isOptional": true,
25624
25624
  "releaseTag": "Public",
25625
25625
  "name": "avatarId",
25626
25626
  "propertyTypeTokenRange": {
@@ -1657,8 +1657,7 @@ export const PBAudioStream: {
1657
1657
  export interface PBAvatarAttach {
1658
1658
  // (undocumented)
1659
1659
  anchorPointId: AvatarAnchorPointType;
1660
- // (undocumented)
1661
- avatarId: string;
1660
+ avatarId?: string | undefined;
1662
1661
  }
1663
1662
 
1664
1663
  // @public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-3857398079.commit-7a4c5cb",
3
+ "version": "7.0.6-3939099974.commit-727d673",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "author": "Decentraland",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcl/sdk": "7.0.6-3857398079.commit-7a4c5cb"
20
+ "@dcl/sdk": "7.0.6-3939099974.commit-727d673"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "7a4c5cb30db481254e4abe05de7b6c19a11fd884"
27
+ "commit": "727d673f8e1a299bf65a92b41a6fb76f2e9c4711"
28
28
  }