@dcl/playground-assets 7.24.5-29273111530.commit-7b1b863 → 7.24.5-29334646366.commit-955c00d
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.
- package/dist/alpha.d.ts +9 -0
- package/dist/beta.d.ts +9 -0
- package/dist/index.bundled.d.ts +9 -0
- package/dist/index.js +5 -5
- package/dist/playground/sdk/apis.d.ts +30 -33
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +9 -0
- package/etc/playground-assets.api.json +70 -0
- package/etc/playground-assets.api.md +8 -0
- package/package.json +4 -4
|
@@ -48,7 +48,7 @@ declare module "~system/CommsApi" {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
// Function declaration section
|
|
51
|
-
|
|
51
|
+
export function getActiveVideoStreams(body: VideoTracksActiveStreamsRequest): Promise<VideoTracksActiveStreamsResponse>;
|
|
52
52
|
export function subscribeToTopic(body: SubscribeToTopicRequest): Promise<SubscribeToTopicResponse>;
|
|
53
53
|
export function unsubscribeFromTopic(body: UnsubscribeFromTopicRequest): Promise<UnsubscribeFromTopicResponse>;
|
|
54
54
|
export function publishData(body: PublishDataRequest): Promise<PublishDataResponse>;
|
|
@@ -81,7 +81,7 @@ declare module "~system/CommunicationsController" {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
// Function declaration section
|
|
84
|
-
|
|
84
|
+
/**
|
|
85
85
|
* @deprecated - This API should use a bidirectional binary stream in sdk7
|
|
86
86
|
* https://github.com/decentraland/sdk/issues/582
|
|
87
87
|
*/
|
|
@@ -134,7 +134,7 @@ declare module "~system/EngineApi" {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
// Function declaration section
|
|
137
|
-
|
|
137
|
+
export interface ECS6Color4 {
|
|
138
138
|
r: number;
|
|
139
139
|
g: number;
|
|
140
140
|
b: number;
|
|
@@ -740,7 +740,7 @@ declare module "~system/EngineApi" {
|
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
// Function declaration section
|
|
743
|
-
|
|
743
|
+
export interface OpenExternalUrlBody {
|
|
744
744
|
url: string;
|
|
745
745
|
}
|
|
746
746
|
export interface OpenNFTDialogBody {
|
|
@@ -865,7 +865,7 @@ declare module "~system/EngineApi" {
|
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
// Function declaration section
|
|
868
|
-
|
|
868
|
+
/** Events */
|
|
869
869
|
export enum EventDataType {
|
|
870
870
|
EDT_GENERIC = 0,
|
|
871
871
|
EDT_POSITION_CHANGED = 1,
|
|
@@ -947,7 +947,7 @@ declare module "~system/EngineApi" {
|
|
|
947
947
|
}
|
|
948
948
|
|
|
949
949
|
// Function declaration section
|
|
950
|
-
|
|
950
|
+
/** @deprecated */
|
|
951
951
|
export function sendBatch(body: ManyEntityAction): Promise<SendBatchResponse>;
|
|
952
952
|
/** @deprecated */
|
|
953
953
|
export function subscribe(body: SubscribeRequest): Promise<SubscribeResponse>;
|
|
@@ -979,7 +979,7 @@ declare module "~system/EnvironmentApi" {
|
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
// Function declaration section
|
|
982
|
-
|
|
982
|
+
export interface MinimalRunnableEntity {
|
|
983
983
|
content: ContentMapping[];
|
|
984
984
|
metadataJson: string;
|
|
985
985
|
}
|
|
@@ -1038,7 +1038,7 @@ declare module "~system/EnvironmentApi" {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
// Function declaration section
|
|
1041
|
-
|
|
1041
|
+
/** @deprecated, only available for SDK6 compatibility. Use runtime_api instead */
|
|
1042
1042
|
export function getBootstrapData(body: GetBootstrapDataRequest): Promise<BootstrapDataResponse>;
|
|
1043
1043
|
/** @deprecated, only available for SDK6 compatibility. Needs migration */
|
|
1044
1044
|
export function isPreviewMode(body: IsPreviewModeRequest): Promise<PreviewModeResponse>;
|
|
@@ -1108,7 +1108,7 @@ declare module "~system/EthereumController" {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
1110
|
// Function declaration section
|
|
1111
|
-
|
|
1111
|
+
/**
|
|
1112
1112
|
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
1113
1113
|
* be replaced by any ethereum library on top of the provider
|
|
1114
1114
|
*/
|
|
@@ -1158,7 +1158,7 @@ declare module "~system/Players" {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
1160
|
// Function declaration section
|
|
1161
|
-
|
|
1161
|
+
export interface Player {
|
|
1162
1162
|
userId: string;
|
|
1163
1163
|
}
|
|
1164
1164
|
export interface PlayersGetUserDataResponse {
|
|
@@ -1176,7 +1176,7 @@ declare module "~system/Players" {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
1178
|
// Function declaration section
|
|
1179
|
-
|
|
1179
|
+
/**
|
|
1180
1180
|
* Returns data about a specific player, by id
|
|
1181
1181
|
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
|
1182
1182
|
*/
|
|
@@ -1229,7 +1229,7 @@ declare module "~system/PortableExperiences" {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
1231
|
// Function declaration section
|
|
1232
|
-
|
|
1232
|
+
/**
|
|
1233
1233
|
* Spawns a new portable experience that is detached from the current scene.
|
|
1234
1234
|
* Spawned portable experiences can only be controlled by 1) the user (from the UI)
|
|
1235
1235
|
* and 2) from the parent scene. If the parent scene gets unloaded i.e. by distance,
|
|
@@ -1281,14 +1281,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
// Function declaration section
|
|
1284
|
-
|
|
1285
|
-
export enum AvatarMask {
|
|
1286
|
-
AM_UPPER_BODY = 0,
|
|
1287
|
-
UNRECOGNIZED = -1
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
// Function declaration section
|
|
1291
|
-
export interface MovePlayerToRequest {
|
|
1284
|
+
export interface MovePlayerToRequest {
|
|
1292
1285
|
newRelativePosition: Vector3 | undefined;
|
|
1293
1286
|
cameraTarget?: Vector3 | undefined;
|
|
1294
1287
|
avatarTarget?: Vector3 | undefined;
|
|
@@ -1300,7 +1293,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1300
1293
|
}
|
|
1301
1294
|
export interface TriggerEmoteRequest {
|
|
1302
1295
|
predefinedEmote: string;
|
|
1303
|
-
mask?: AvatarMask | undefined;
|
|
1296
|
+
mask?: import('../ecs').AvatarMask | undefined;
|
|
1304
1297
|
}
|
|
1305
1298
|
export interface ChangeRealmRequest {
|
|
1306
1299
|
realm: string;
|
|
@@ -1320,7 +1313,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1320
1313
|
export interface TriggerSceneEmoteRequest {
|
|
1321
1314
|
src: string;
|
|
1322
1315
|
loop?: boolean | undefined;
|
|
1323
|
-
mask?: AvatarMask | undefined;
|
|
1316
|
+
mask?: import('../ecs').AvatarMask | undefined;
|
|
1324
1317
|
}
|
|
1325
1318
|
export interface SuccessResponse {
|
|
1326
1319
|
success: boolean;
|
|
@@ -1336,10 +1329,12 @@ declare module "~system/RestrictedActions" {
|
|
|
1336
1329
|
text: string;
|
|
1337
1330
|
}
|
|
1338
1331
|
export interface EmptyResponse {
|
|
1332
|
+
}
|
|
1333
|
+
export interface StopEmoteRequest {
|
|
1339
1334
|
}
|
|
1340
1335
|
|
|
1341
1336
|
// Function declaration section
|
|
1342
|
-
|
|
1337
|
+
/**
|
|
1343
1338
|
* MovePlayerTo will move the player to a position relative to the current scene.
|
|
1344
1339
|
* If 'duration' field is used in the request, the success response depends on the
|
|
1345
1340
|
* whole interpolation being completed or interrupted (e.g: by input movement)
|
|
@@ -1364,6 +1359,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1364
1359
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1365
1360
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1366
1361
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1362
|
+
/** StopEmote will stop the current emote */
|
|
1363
|
+
export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
|
|
1367
1364
|
|
|
1368
1365
|
}
|
|
1369
1366
|
/**
|
|
@@ -1395,7 +1392,7 @@ declare module "~system/Runtime" {
|
|
|
1395
1392
|
}
|
|
1396
1393
|
|
|
1397
1394
|
// Function declaration section
|
|
1398
|
-
|
|
1395
|
+
export interface GetRealmResponse {
|
|
1399
1396
|
realmInfo?: PBRealmInfo | undefined;
|
|
1400
1397
|
}
|
|
1401
1398
|
export interface GetWorldTimeResponse {
|
|
@@ -1445,7 +1442,7 @@ declare module "~system/Runtime" {
|
|
|
1445
1442
|
}
|
|
1446
1443
|
|
|
1447
1444
|
// Function declaration section
|
|
1448
|
-
|
|
1445
|
+
/** Provides information about the current realm */
|
|
1449
1446
|
export function getRealm(body: GetRealmRequest): Promise<GetRealmResponse>;
|
|
1450
1447
|
/**
|
|
1451
1448
|
* Provides information about the Decentraland Time, which is coordinated
|
|
@@ -1476,7 +1473,7 @@ declare module "~system/Scene" {
|
|
|
1476
1473
|
}
|
|
1477
1474
|
|
|
1478
1475
|
// Function declaration section
|
|
1479
|
-
|
|
1476
|
+
export interface GetSceneRequest {
|
|
1480
1477
|
}
|
|
1481
1478
|
export interface GetSceneResponse {
|
|
1482
1479
|
cid: string;
|
|
@@ -1486,7 +1483,7 @@ declare module "~system/Scene" {
|
|
|
1486
1483
|
}
|
|
1487
1484
|
|
|
1488
1485
|
// Function declaration section
|
|
1489
|
-
|
|
1486
|
+
export function getSceneInfo(body: GetSceneRequest): Promise<GetSceneResponse>;
|
|
1490
1487
|
|
|
1491
1488
|
}
|
|
1492
1489
|
/**
|
|
@@ -1533,7 +1530,7 @@ declare module "~system/SignedFetch" {
|
|
|
1533
1530
|
}
|
|
1534
1531
|
|
|
1535
1532
|
// Function declaration section
|
|
1536
|
-
|
|
1533
|
+
/**
|
|
1537
1534
|
* SignedFetch is used to authenticate JSON requests in name of the users,
|
|
1538
1535
|
* a special scoped signature is generated following the https://adr.decentraland.org/adr/ADR-44
|
|
1539
1536
|
*/
|
|
@@ -1568,7 +1565,7 @@ declare module "~system/Testing" {
|
|
|
1568
1565
|
}
|
|
1569
1566
|
|
|
1570
1567
|
// Function declaration section
|
|
1571
|
-
|
|
1568
|
+
export interface TakeAndCompareScreenshotRequest {
|
|
1572
1569
|
/**
|
|
1573
1570
|
* the source path in the scene where the screenshot is stored,
|
|
1574
1571
|
* the snapshot taken is compared with the stored one
|
|
@@ -1640,7 +1637,7 @@ declare module "~system/Testing" {
|
|
|
1640
1637
|
}
|
|
1641
1638
|
|
|
1642
1639
|
// Function declaration section
|
|
1643
|
-
|
|
1640
|
+
/** sends a test result to the test runner */
|
|
1644
1641
|
export function logTestResult(body: TestResult): Promise<TestResultResponse>;
|
|
1645
1642
|
/** send a list of all planned tests to the test runner */
|
|
1646
1643
|
export function plan(body: TestPlan): Promise<TestPlanResponse>;
|
|
@@ -1660,7 +1657,7 @@ declare module "~system/UserActionModule" {
|
|
|
1660
1657
|
}
|
|
1661
1658
|
|
|
1662
1659
|
// Function declaration section
|
|
1663
|
-
|
|
1660
|
+
/** @deprecated, only available for SDK6 compatibility. Use RestrictedActions/TeleportTo */
|
|
1664
1661
|
export function requestTeleport(body: RequestTeleportRequest): Promise<RequestTeleportResponse>;
|
|
1665
1662
|
|
|
1666
1663
|
}
|
|
@@ -1691,7 +1688,7 @@ declare module "~system/UserIdentity" {
|
|
|
1691
1688
|
}
|
|
1692
1689
|
|
|
1693
1690
|
// Function declaration section
|
|
1694
|
-
|
|
1691
|
+
export interface GetUserDataRequest {
|
|
1695
1692
|
}
|
|
1696
1693
|
export interface GetUserDataResponse {
|
|
1697
1694
|
data?: UserData | undefined;
|
|
@@ -1703,7 +1700,7 @@ declare module "~system/UserIdentity" {
|
|
|
1703
1700
|
}
|
|
1704
1701
|
|
|
1705
1702
|
// Function declaration section
|
|
1706
|
-
|
|
1703
|
+
/** @deprecated, only available for SDK6 compatibility. UseGetUserData */
|
|
1707
1704
|
export function getUserPublicKey(body: GetUserPublicKeyRequest): Promise<GetUserPublicKeyResponse>;
|
|
1708
1705
|
export function getUserData(body: GetUserDataRequest): Promise<GetUserDataResponse>;
|
|
1709
1706
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.24.5-
|
|
4
|
+
"version": "7.24.5-29334646366.commit-955c00d",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
},
|
|
36
36
|
"types": "./index.d.ts",
|
|
37
37
|
"typings": "./index.d.ts",
|
|
38
|
-
"commit": "
|
|
38
|
+
"commit": "955c00dcfec264e375fa39058a34039205cf061d"
|
|
39
39
|
}
|
|
@@ -269,6 +269,14 @@ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefiniti
|
|
|
269
269
|
/** @public */
|
|
270
270
|
export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
271
271
|
|
|
272
|
+
/** Mask for which bones an animation applies to. */
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
export declare const enum AvatarMask {
|
|
277
|
+
AM_UPPER_BODY = 0
|
|
278
|
+
}
|
|
279
|
+
|
|
272
280
|
/** @public */
|
|
273
281
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
274
282
|
|
|
@@ -4824,6 +4832,7 @@ export declare interface PBAvatarEmoteCommand {
|
|
|
4824
4832
|
loop: boolean;
|
|
4825
4833
|
/** monotonic counter */
|
|
4826
4834
|
timestamp: number;
|
|
4835
|
+
mask?: AvatarMask | undefined;
|
|
4827
4836
|
}
|
|
4828
4837
|
|
|
4829
4838
|
/**
|
|
@@ -2690,6 +2690,44 @@
|
|
|
2690
2690
|
"endIndex": 5
|
|
2691
2691
|
}
|
|
2692
2692
|
},
|
|
2693
|
+
{
|
|
2694
|
+
"kind": "Enum",
|
|
2695
|
+
"canonicalReference": "@dcl/playground-assets!AvatarMask:enum",
|
|
2696
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2697
|
+
"excerptTokens": [
|
|
2698
|
+
{
|
|
2699
|
+
"kind": "Content",
|
|
2700
|
+
"text": "export declare const enum AvatarMask "
|
|
2701
|
+
}
|
|
2702
|
+
],
|
|
2703
|
+
"fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/common/avatar_mask.gen.d.ts",
|
|
2704
|
+
"releaseTag": "Public",
|
|
2705
|
+
"name": "AvatarMask",
|
|
2706
|
+
"preserveMemberOrder": false,
|
|
2707
|
+
"members": [
|
|
2708
|
+
{
|
|
2709
|
+
"kind": "EnumMember",
|
|
2710
|
+
"canonicalReference": "@dcl/playground-assets!AvatarMask.AM_UPPER_BODY:member",
|
|
2711
|
+
"docComment": "",
|
|
2712
|
+
"excerptTokens": [
|
|
2713
|
+
{
|
|
2714
|
+
"kind": "Content",
|
|
2715
|
+
"text": "AM_UPPER_BODY = "
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "Content",
|
|
2719
|
+
"text": "0"
|
|
2720
|
+
}
|
|
2721
|
+
],
|
|
2722
|
+
"initializerTokenRange": {
|
|
2723
|
+
"startIndex": 1,
|
|
2724
|
+
"endIndex": 2
|
|
2725
|
+
},
|
|
2726
|
+
"releaseTag": "Public",
|
|
2727
|
+
"name": "AM_UPPER_BODY"
|
|
2728
|
+
}
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2693
2731
|
{
|
|
2694
2732
|
"kind": "Variable",
|
|
2695
2733
|
"canonicalReference": "@dcl/playground-assets!AvatarModifierArea:var",
|
|
@@ -43734,6 +43772,38 @@
|
|
|
43734
43772
|
"endIndex": 2
|
|
43735
43773
|
}
|
|
43736
43774
|
},
|
|
43775
|
+
{
|
|
43776
|
+
"kind": "PropertySignature",
|
|
43777
|
+
"canonicalReference": "@dcl/playground-assets!PBAvatarEmoteCommand#mask:member",
|
|
43778
|
+
"docComment": "",
|
|
43779
|
+
"excerptTokens": [
|
|
43780
|
+
{
|
|
43781
|
+
"kind": "Content",
|
|
43782
|
+
"text": "mask?: "
|
|
43783
|
+
},
|
|
43784
|
+
{
|
|
43785
|
+
"kind": "Reference",
|
|
43786
|
+
"text": "AvatarMask",
|
|
43787
|
+
"canonicalReference": "@dcl/playground-assets!AvatarMask:enum"
|
|
43788
|
+
},
|
|
43789
|
+
{
|
|
43790
|
+
"kind": "Content",
|
|
43791
|
+
"text": " | undefined"
|
|
43792
|
+
},
|
|
43793
|
+
{
|
|
43794
|
+
"kind": "Content",
|
|
43795
|
+
"text": ";"
|
|
43796
|
+
}
|
|
43797
|
+
],
|
|
43798
|
+
"isReadonly": false,
|
|
43799
|
+
"isOptional": true,
|
|
43800
|
+
"releaseTag": "Public",
|
|
43801
|
+
"name": "mask",
|
|
43802
|
+
"propertyTypeTokenRange": {
|
|
43803
|
+
"startIndex": 1,
|
|
43804
|
+
"endIndex": 3
|
|
43805
|
+
}
|
|
43806
|
+
},
|
|
43737
43807
|
{
|
|
43738
43808
|
"kind": "PropertySignature",
|
|
43739
43809
|
"canonicalReference": "@dcl/playground-assets!PBAvatarEmoteCommand#timestamp:member",
|
|
@@ -190,6 +190,12 @@ export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
190
190
|
// @public (undocumented)
|
|
191
191
|
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
192
192
|
|
|
193
|
+
// @public (undocumented)
|
|
194
|
+
export const enum AvatarMask {
|
|
195
|
+
// (undocumented)
|
|
196
|
+
AM_UPPER_BODY = 0
|
|
197
|
+
}
|
|
198
|
+
|
|
193
199
|
// @public (undocumented)
|
|
194
200
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
195
201
|
|
|
@@ -2529,6 +2535,8 @@ export interface PBAvatarEmoteCommand {
|
|
|
2529
2535
|
emoteUrn: string;
|
|
2530
2536
|
// (undocumented)
|
|
2531
2537
|
loop: boolean;
|
|
2538
|
+
// (undocumented)
|
|
2539
|
+
mask?: AvatarMask | undefined;
|
|
2532
2540
|
timestamp: number;
|
|
2533
2541
|
}
|
|
2534
2542
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.24.5-
|
|
4
|
+
"version": "7.24.5-29334646366.commit-955c00d",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.24.5-
|
|
8
|
-
"@dcl/sdk": "7.24.5-
|
|
7
|
+
"@dcl/js-runtime": "7.24.5-29334646366.commit-955c00d",
|
|
8
|
+
"@dcl/sdk": "7.24.5-29334646366.commit-955c00d"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"types": "./dist/index.d.ts",
|
|
34
34
|
"typings": "./dist/index.d.ts",
|
|
35
|
-
"commit": "
|
|
35
|
+
"commit": "955c00dcfec264e375fa39058a34039205cf061d"
|
|
36
36
|
}
|