@dcl/playground-assets 7.0.6-3741197705.commit-bb37667 → 7.0.6-3767144242.commit-6bb12d2

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.
@@ -538,15 +538,42 @@ declare module "~system/RestrictedActions" {
538
538
  newRelativePosition: Vector3 | undefined;
539
539
  cameraTarget?: Vector3 | undefined;
540
540
  }
541
+ export interface TeleportToRequest {
542
+ worldPosition: Vector3 | undefined;
543
+ cameraTarget?: Vector3 | undefined;
544
+ }
541
545
  export interface TriggerEmoteResponse {
542
546
  }
543
547
  export interface TriggerEmoteRequest {
544
548
  predefinedEmote: string;
545
549
  }
550
+ export interface ChangeRealmRequest {
551
+ realm: string;
552
+ message?: string | undefined;
553
+ }
554
+ export interface OpenExternalUrlRequest {
555
+ url: string;
556
+ }
557
+ export interface OpenNftDialogRequest {
558
+ urn: string;
559
+ }
560
+ export interface UnblockPointerRequest {
561
+ }
562
+ export interface CommsAdapterRequest {
563
+ connectionString: string;
564
+ }
565
+ export interface SuccessResponse {
566
+ success: boolean;
567
+ }
546
568
 
547
569
  // Function declaration section
548
570
  export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
571
+ export function teleportTo(body: TeleportToRequest): Promise<MovePlayerToResponse>;
549
572
  export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
573
+ export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
574
+ export function openExternalUrl(body: OpenExternalUrlRequest): Promise<SuccessResponse>;
575
+ export function openNftDialog(body: OpenNftDialogRequest): Promise<SuccessResponse>;
576
+ export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
550
577
 
551
578
  }
552
579
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.6-3741197705.commit-bb37667",
3
+ "version": "7.0.6-3767144242.commit-6bb12d2",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -20,10 +20,10 @@
20
20
  "@dcl/ecs": "file:../ecs",
21
21
  "@dcl/ecs-math": "2.0.1-20221129185242.commit-40495c1",
22
22
  "@dcl/js-runtime": "file:../js-runtime",
23
- "@dcl/kernel": "2.0.0-3640389337.commit-b563bb9",
23
+ "@dcl/kernel": "2.0.0-3766760530.commit-239d2a9",
24
24
  "@dcl/react-ecs": "file:../react-ecs",
25
- "@dcl/unity-renderer": "1.0.66458-20221207172857.commit-1a83854"
25
+ "@dcl/unity-renderer": "1.0.68557-20221221195847.commit-f743b85"
26
26
  },
27
27
  "minCliVersion": "3.14.1",
28
- "commit": "bb376675027050591f82fce195c1797a5b77ed3a"
28
+ "commit": "6bb12d22069031724f3f256bc50443d3072b97a4"
29
29
  }
@@ -1190,7 +1190,9 @@ export declare const executeTask: (task: Task<unknown>) => void;
1190
1190
  export declare type FloatArray = number[];
1191
1191
 
1192
1192
  export declare const enum Font {
1193
- F_SANS_SERIF = 0
1193
+ F_SANS_SERIF = 0,
1194
+ F_SERIF = 1,
1195
+ F_MONOSPACE = 2
1194
1196
  }
1195
1197
 
1196
1198
  export declare type GizmoDragEndEvent = {
@@ -3242,8 +3244,11 @@ export declare interface PBTextShape {
3242
3244
  paddingRight?: number | undefined;
3243
3245
  paddingBottom?: number | undefined;
3244
3246
  paddingLeft?: number | undefined;
3247
+ /** The amount of additional spacing to add between each lines of text. */
3245
3248
  lineSpacing?: number | undefined;
3249
+ /** Allows control over how many lines of text are displayed. */
3246
3250
  lineCount?: number | undefined;
3251
+ /** Enables text wrapping */
3247
3252
  textWrapping?: boolean | undefined;
3248
3253
  shadowBlur?: number | undefined;
3249
3254
  shadowOffsetX?: number | undefined;
@@ -8588,6 +8588,27 @@
8588
8588
  "name": "Font",
8589
8589
  "preserveMemberOrder": false,
8590
8590
  "members": [
8591
+ {
8592
+ "kind": "EnumMember",
8593
+ "canonicalReference": "@dcl/playground-assets!Font.F_MONOSPACE:member",
8594
+ "docComment": "",
8595
+ "excerptTokens": [
8596
+ {
8597
+ "kind": "Content",
8598
+ "text": "F_MONOSPACE = "
8599
+ },
8600
+ {
8601
+ "kind": "Content",
8602
+ "text": "2"
8603
+ }
8604
+ ],
8605
+ "initializerTokenRange": {
8606
+ "startIndex": 1,
8607
+ "endIndex": 2
8608
+ },
8609
+ "releaseTag": "Public",
8610
+ "name": "F_MONOSPACE"
8611
+ },
8591
8612
  {
8592
8613
  "kind": "EnumMember",
8593
8614
  "canonicalReference": "@dcl/playground-assets!Font.F_SANS_SERIF:member",
@@ -8608,6 +8629,27 @@
8608
8629
  },
8609
8630
  "releaseTag": "Public",
8610
8631
  "name": "F_SANS_SERIF"
8632
+ },
8633
+ {
8634
+ "kind": "EnumMember",
8635
+ "canonicalReference": "@dcl/playground-assets!Font.F_SERIF:member",
8636
+ "docComment": "",
8637
+ "excerptTokens": [
8638
+ {
8639
+ "kind": "Content",
8640
+ "text": "F_SERIF = "
8641
+ },
8642
+ {
8643
+ "kind": "Content",
8644
+ "text": "1"
8645
+ }
8646
+ ],
8647
+ "initializerTokenRange": {
8648
+ "startIndex": 1,
8649
+ "endIndex": 2
8650
+ },
8651
+ "releaseTag": "Public",
8652
+ "name": "F_SERIF"
8611
8653
  }
8612
8654
  ]
8613
8655
  },
@@ -29118,7 +29160,7 @@
29118
29160
  {
29119
29161
  "kind": "PropertySignature",
29120
29162
  "canonicalReference": "@dcl/playground-assets!PBTextShape#lineCount:member",
29121
- "docComment": "",
29163
+ "docComment": "/**\n * Allows control over how many lines of text are displayed.\n */\n",
29122
29164
  "excerptTokens": [
29123
29165
  {
29124
29166
  "kind": "Content",
@@ -29145,7 +29187,7 @@
29145
29187
  {
29146
29188
  "kind": "PropertySignature",
29147
29189
  "canonicalReference": "@dcl/playground-assets!PBTextShape#lineSpacing:member",
29148
- "docComment": "",
29190
+ "docComment": "/**\n * The amount of additional spacing to add between each lines of text.\n */\n",
29149
29191
  "excerptTokens": [
29150
29192
  {
29151
29193
  "kind": "Content",
@@ -29543,7 +29585,7 @@
29543
29585
  {
29544
29586
  "kind": "PropertySignature",
29545
29587
  "canonicalReference": "@dcl/playground-assets!PBTextShape#textWrapping:member",
29546
- "docComment": "",
29588
+ "docComment": "/**\n * Enables text wrapping\n */\n",
29547
29589
  "excerptTokens": [
29548
29590
  {
29549
29591
  "kind": "Content",
@@ -532,7 +532,11 @@ export type FloatArray = number[];
532
532
  // @public (undocumented)
533
533
  export const enum Font {
534
534
  // (undocumented)
535
- F_SANS_SERIF = 0
535
+ F_MONOSPACE = 2,
536
+ // (undocumented)
537
+ F_SANS_SERIF = 0,
538
+ // (undocumented)
539
+ F_SERIF = 1
536
540
  }
537
541
 
538
542
  // Warning: (ae-missing-release-tag) "GizmoDragEndEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -2019,9 +2023,7 @@ export interface PBTextShape {
2019
2023
  fontAutoSize?: boolean | undefined;
2020
2024
  fontSize?: number | undefined;
2021
2025
  height?: number | undefined;
2022
- // (undocumented)
2023
2026
  lineCount?: number | undefined;
2024
- // (undocumented)
2025
2027
  lineSpacing?: number | undefined;
2026
2028
  outlineColor?: PBColor3 | undefined;
2027
2029
  // (undocumented)
@@ -2045,7 +2047,6 @@ export interface PBTextShape {
2045
2047
  text: string;
2046
2048
  textAlign?: TextAlignMode | undefined;
2047
2049
  textColor?: PBColor4 | undefined;
2048
- // (undocumented)
2049
2050
  textWrapping?: boolean | undefined;
2050
2051
  width?: number | undefined;
2051
2052
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-3741197705.commit-bb37667",
3
+ "version": "7.0.6-3767144242.commit-6bb12d2",
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-3741197705.commit-bb37667"
20
+ "@dcl/sdk": "7.0.6-3767144242.commit-6bb12d2"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "bb376675027050591f82fce195c1797a5b77ed3a"
27
+ "commit": "6bb12d22069031724f3f256bc50443d3072b97a4"
28
28
  }