@dcl/playground-assets 7.3.35 → 7.3.36-7289902551.commit-52edf18
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.
@@ -43,7 +43,11 @@ declare module "~system/CommunicationsController" {
|
|
43
43
|
}
|
44
44
|
|
45
45
|
// Function declaration section
|
46
|
-
|
46
|
+
/**
|
47
|
+
* @deprecated - This API should use a bidirectional binary stream in sdk7
|
48
|
+
* https://github.com/decentraland/sdk/issues/582
|
49
|
+
*/
|
50
|
+
export function send(body: RealSendRequest): Promise<RealSendResponse>;
|
47
51
|
export function sendBinary(body: SendBinaryRequest): Promise<SendBinaryResponse>;
|
48
52
|
|
49
53
|
}
|
@@ -900,11 +904,23 @@ declare module "~system/EngineApi" {
|
|
900
904
|
}
|
901
905
|
|
902
906
|
// Function declaration section
|
903
|
-
|
907
|
+
/** @deprecated */
|
908
|
+
export function sendBatch(body: ManyEntityAction): Promise<SendBatchResponse>;
|
909
|
+
/** @deprecated */
|
904
910
|
export function subscribe(body: SubscribeRequest): Promise<SubscribeResponse>;
|
911
|
+
/** @deprecated */
|
905
912
|
export function unsubscribe(body: UnsubscribeRequest): Promise<UnsubscribeResponse>;
|
913
|
+
/**
|
914
|
+
* send information of the CRDT messages to the renderer. It returns the CRDT changes back from the renderer
|
915
|
+
* like raycast responses or the player's position
|
916
|
+
*/
|
906
917
|
export function crdtSendToRenderer(body: CrdtSendToRendererRequest): Promise<CrdtSendToResponse>;
|
918
|
+
/**
|
919
|
+
* retrieves the current _full_ state of the entities from the renderer. This function is used to hidrate
|
920
|
+
* the state of the scenes when the code of the worker is stopped/resumed
|
921
|
+
*/
|
907
922
|
export function crdtGetState(body: CrdtSendToRendererRequest): Promise<CrdtGetStateResponse>;
|
923
|
+
/** @deprecated, this response was merged into CrdtSendToResponse */
|
908
924
|
export function crdtGetMessageFromRenderer(body: CrdtMessageFromRendererRequest): Promise<CrdtMessageFromRendererResponse>;
|
909
925
|
export function isServer(body: IsServerRequest): Promise<IsServerResponse>;
|
910
926
|
|
@@ -979,12 +995,19 @@ declare module "~system/EnvironmentApi" {
|
|
979
995
|
}
|
980
996
|
|
981
997
|
// Function declaration section
|
982
|
-
|
998
|
+
/** @deprecated, only available for SDK6 compatibility. Use runtime_api instead */
|
999
|
+
export function getBootstrapData(body: GetBootstrapDataRequest): Promise<BootstrapDataResponse>;
|
1000
|
+
/** @deprecated, only available for SDK6 compatibility. Needs migration */
|
983
1001
|
export function isPreviewMode(body: IsPreviewModeRequest): Promise<PreviewModeResponse>;
|
1002
|
+
/** @deprecated, only available for SDK6 compatibility */
|
984
1003
|
export function getPlatform(body: GetPlatformRequest): Promise<GetPlatformResponse>;
|
1004
|
+
/** @deprecated, only available for SDK6 compatibility */
|
985
1005
|
export function areUnsafeRequestAllowed(body: AreUnsafeRequestAllowedRequest): Promise<AreUnsafeRequestAllowedResponse>;
|
1006
|
+
/** @deprecated, use GetCurrentRealm from runtime_api instead */
|
986
1007
|
export function getCurrentRealm(body: GetCurrentRealmRequest): Promise<GetCurrentRealmResponse>;
|
1008
|
+
/** @deprecated, only available for SDK6 compatibility */
|
987
1009
|
export function getExplorerConfiguration(body: GetExplorerConfigurationRequest): Promise<GetExplorerConfigurationResponse>;
|
1010
|
+
/** @deprecated, use GetTime from runtime_api instead */
|
988
1011
|
export function getDecentralandTime(body: GetDecentralandTimeRequest): Promise<GetDecentralandTimeResponse>;
|
989
1012
|
|
990
1013
|
}
|
@@ -1042,10 +1065,26 @@ declare module "~system/EthereumController" {
|
|
1042
1065
|
}
|
1043
1066
|
|
1044
1067
|
// Function declaration section
|
1045
|
-
|
1068
|
+
/**
|
1069
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1070
|
+
* be replaced by any ethereum library on top of the provider
|
1071
|
+
*/
|
1072
|
+
export function requirePayment(body: RequirePaymentRequest): Promise<RequirePaymentResponse>;
|
1073
|
+
/**
|
1074
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1075
|
+
* be replaced by any ethereum library on top of the provider
|
1076
|
+
*/
|
1046
1077
|
export function signMessage(body: SignMessageRequest): Promise<SignMessageResponse>;
|
1078
|
+
/**
|
1079
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1080
|
+
* be replaced by any ethereum library on top of the provider
|
1081
|
+
*/
|
1047
1082
|
export function convertMessageToObject(body: ConvertMessageToObjectRequest): Promise<ConvertMessageToObjectResponse>;
|
1048
1083
|
export function sendAsync(body: SendAsyncRequest): Promise<SendAsyncResponse>;
|
1084
|
+
/**
|
1085
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
1086
|
+
* be replaced by any ethereum library on top of the provider
|
1087
|
+
*/
|
1049
1088
|
export function getUserAccount(body: GetUserAccountRequest): Promise<GetUserAccountResponse>;
|
1050
1089
|
|
1051
1090
|
}
|
@@ -1094,8 +1133,20 @@ declare module "~system/Players" {
|
|
1094
1133
|
}
|
1095
1134
|
|
1096
1135
|
// Function declaration section
|
1097
|
-
|
1136
|
+
/**
|
1137
|
+
* Returns data about a specific player, by id
|
1138
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
1139
|
+
*/
|
1140
|
+
export function getPlayerData(body: GetPlayerDataRequest): Promise<PlayersGetUserDataResponse>;
|
1141
|
+
/**
|
1142
|
+
* Returns a list of all the ids of players who are currently standing within the parcels of the scene
|
1143
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
1144
|
+
*/
|
1098
1145
|
export function getPlayersInScene(body: GetPlayersInSceneRequest): Promise<PlayerListResponse>;
|
1146
|
+
/**
|
1147
|
+
* Returns a list of all the ids of players who are currently connected to the same server and grouped together
|
1148
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
1149
|
+
*/
|
1099
1150
|
export function getConnectedPlayers(body: GetConnectedPlayersRequest): Promise<PlayerListResponse>;
|
1100
1151
|
|
1101
1152
|
}
|
@@ -1135,9 +1186,28 @@ declare module "~system/PortableExperiences" {
|
|
1135
1186
|
}
|
1136
1187
|
|
1137
1188
|
// Function declaration section
|
1138
|
-
|
1189
|
+
/**
|
1190
|
+
* Spawns a new portable experience that is detached from the current scene.
|
1191
|
+
* Spawned portable experiences can only be controlled by 1) the user (from the UI)
|
1192
|
+
* and 2) from the parent scene. If the parent scene gets unloaded i.e. by distance,
|
1193
|
+
* once the player re-loads the parent it will inherit the children portable experiences
|
1194
|
+
* to gain control over them.
|
1195
|
+
*/
|
1196
|
+
export function spawn(body: SpawnRequest): Promise<SpawnResponse>;
|
1197
|
+
/**
|
1198
|
+
* Kill a child portable experience, this method only works if the child was
|
1199
|
+
* spawned by the same process trying to kill it.
|
1200
|
+
*/
|
1139
1201
|
export function kill(body: KillRequest): Promise<KillResponse>;
|
1202
|
+
/**
|
1203
|
+
* Kill the current scene if the current scene is a portable experience. Other
|
1204
|
+
* kind of scenes are not allowed to finish their programs like portable experiences.
|
1205
|
+
*/
|
1140
1206
|
export function exit(body: ExitRequest): Promise<ExitResponse>;
|
1207
|
+
/**
|
1208
|
+
* Gets a list of running portable experiences for the current user. Be mindful
|
1209
|
+
* about the performance penalty of calling this function all frames.
|
1210
|
+
*/
|
1141
1211
|
export function getPortableExperiencesLoaded(body: GetPortableExperiencesLoadedRequest): Promise<GetPortableExperiencesLoadedResponse>;
|
1142
1212
|
|
1143
1213
|
}
|
@@ -1208,13 +1278,24 @@ declare module "~system/RestrictedActions" {
|
|
1208
1278
|
}
|
1209
1279
|
|
1210
1280
|
// Function declaration section
|
1211
|
-
|
1281
|
+
/** MovePlayerTo will move the player in a position relative to the current scene */
|
1282
|
+
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
1283
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
1212
1284
|
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
1285
|
+
/** TriggerEmote will trigger an emote in this current user */
|
1213
1286
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
1287
|
+
/** ChangeRealm prompts the user to change to a specific realm */
|
1214
1288
|
export function changeRealm(body: ChangeRealmRequest): Promise<SuccessResponse>;
|
1289
|
+
/** OpenExternalUrl prompts the user to open an external link */
|
1215
1290
|
export function openExternalUrl(body: OpenExternalUrlRequest): Promise<SuccessResponse>;
|
1291
|
+
/** OpenNftDialog opens an NFT dialog. */
|
1216
1292
|
export function openNftDialog(body: OpenNftDialogRequest): Promise<SuccessResponse>;
|
1293
|
+
/**
|
1294
|
+
* Asks the explorer to connect to other communications adapter, this feature
|
1295
|
+
* can be used to join private game servers
|
1296
|
+
*/
|
1217
1297
|
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
1298
|
+
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
1218
1299
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
1219
1300
|
|
1220
1301
|
}
|
@@ -1270,9 +1351,21 @@ declare module "~system/Runtime" {
|
|
1270
1351
|
}
|
1271
1352
|
|
1272
1353
|
// Function declaration section
|
1273
|
-
|
1354
|
+
/** Provides information about the current realm */
|
1355
|
+
export function getRealm(body: GetRealmRequest): Promise<GetRealmResponse>;
|
1356
|
+
/**
|
1357
|
+
* Provides information about the Decentraland Time, which is coordinated
|
1358
|
+
* across players.
|
1359
|
+
*/
|
1274
1360
|
export function getWorldTime(body: GetWorldTimeRequest): Promise<GetWorldTimeResponse>;
|
1361
|
+
/**
|
1362
|
+
* Returns the file content of a deployed asset. If the file doesn't
|
1363
|
+
* exist or cannot be retrieved, the RPC call throws an error.
|
1364
|
+
* This method is called to load any assets deployed among the scene,
|
1365
|
+
* runtime may cache this response much more than the provided "fetch" function.
|
1366
|
+
*/
|
1275
1367
|
export function readFile(body: ReadFileRequest): Promise<ReadFileResponse>;
|
1368
|
+
/** Returns information about the current scene. This is the replacement of GetBootstrapData */
|
1276
1369
|
export function getSceneInformation(body: CurrentSceneEntityRequest): Promise<CurrentSceneEntityResponse>;
|
1277
1370
|
|
1278
1371
|
}
|
@@ -1344,7 +1437,11 @@ declare module "~system/SignedFetch" {
|
|
1344
1437
|
}
|
1345
1438
|
|
1346
1439
|
// Function declaration section
|
1347
|
-
|
1440
|
+
/**
|
1441
|
+
* SignedFetch is used to authenticate JSON requests in name of the users,
|
1442
|
+
* a special scoped signature is generated following the https://adr.decentraland.org/adr/ADR-44
|
1443
|
+
*/
|
1444
|
+
export function signedFetch(body: SignedFetchRequest): Promise<FlatFetchResponse>;
|
1348
1445
|
export function getHeaders(body: SignedFetchRequest): Promise<GetHeadersResponse>;
|
1349
1446
|
|
1350
1447
|
}
|
@@ -1392,8 +1489,11 @@ declare module "~system/Testing" {
|
|
1392
1489
|
}
|
1393
1490
|
|
1394
1491
|
// Function declaration section
|
1395
|
-
|
1492
|
+
/** sends a test result to the test runner */
|
1493
|
+
export function logTestResult(body: TestResult): Promise<TestResultResponse>;
|
1494
|
+
/** send a list of all planned tests to the test runner */
|
1396
1495
|
export function plan(body: TestPlan): Promise<TestPlanResponse>;
|
1496
|
+
/** sets the camera position and rotation in the engine */
|
1397
1497
|
export function setCameraTransform(body: SetCameraTransformTestCommand): Promise<SetCameraTransformTestCommandResponse>;
|
1398
1498
|
|
1399
1499
|
}
|
@@ -1409,7 +1509,8 @@ declare module "~system/UserActionModule" {
|
|
1409
1509
|
}
|
1410
1510
|
|
1411
1511
|
// Function declaration section
|
1412
|
-
|
1512
|
+
/** @deprecated, only available for SDK6 compatibility. Use RestrictedActions/TeleportTo */
|
1513
|
+
export function requestTeleport(body: RequestTeleportRequest): Promise<RequestTeleportResponse>;
|
1413
1514
|
|
1414
1515
|
}
|
1415
1516
|
/**
|
@@ -1451,7 +1552,8 @@ declare module "~system/UserIdentity" {
|
|
1451
1552
|
}
|
1452
1553
|
|
1453
1554
|
// Function declaration section
|
1454
|
-
|
1555
|
+
/** @deprecated, only available for SDK6 compatibility. UseGetUserData */
|
1556
|
+
export function getUserPublicKey(body: GetUserPublicKeyRequest): Promise<GetUserPublicKeyResponse>;
|
1455
1557
|
export function getUserData(body: GetUserDataRequest): Promise<GetUserDataResponse>;
|
1456
1558
|
|
1457
1559
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.3.
|
4
|
+
"version": "7.3.36-7289902551.commit-52edf18",
|
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": "52edf1833e263e55739c75131111549de37ed6b4"
|
39
39
|
}
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.3.
|
4
|
+
"version": "7.3.36-7289902551.commit-52edf18",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.3.
|
8
|
-
"@dcl/sdk": "7.3.
|
7
|
+
"@dcl/js-runtime": "7.3.36-7289902551.commit-52edf18",
|
8
|
+
"@dcl/sdk": "7.3.36-7289902551.commit-52edf18"
|
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": "52edf1833e263e55739c75131111549de37ed6b4"
|
36
36
|
}
|