@dcl/playground-assets 7.24.3-28198038455.commit-a770a7e → 7.24.3-28263300619.commit-182d37c
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 -101
- package/dist/beta.d.ts +9 -101
- package/dist/index.bundled.d.ts +9 -101
- package/dist/index.js +7 -7
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +9 -101
- package/etc/playground-assets.api.json +84 -1000
- package/etc/playground-assets.api.md +6 -79
- package/package.json +5 -6
|
@@ -119,29 +119,6 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
|
|
|
119
119
|
getAudioState(entity: Entity): PBAudioEvent | undefined;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
// @public (undocumented)
|
|
123
|
-
export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
|
|
124
|
-
|
|
125
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
126
|
-
//
|
|
127
|
-
// @public
|
|
128
|
-
export type AuthoritativePutComponentMessageBody = {
|
|
129
|
-
type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
|
|
130
|
-
entityId: Entity;
|
|
131
|
-
componentId: number;
|
|
132
|
-
timestamp: number;
|
|
133
|
-
data: Uint8Array;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
// @public (undocumented)
|
|
137
|
-
export namespace AuthoritativePutComponentOperation {
|
|
138
|
-
const // (undocumented)
|
|
139
|
-
MESSAGE_HEADER_LENGTH = 16;
|
|
140
|
-
// (undocumented)
|
|
141
|
-
export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
|
|
142
|
-
export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
122
|
// @public (undocumented)
|
|
146
123
|
export const enum AvatarAnchorPointType {
|
|
147
124
|
// (undocumented)
|
|
@@ -259,20 +236,12 @@ export interface BaseComponent<T> {
|
|
|
259
236
|
dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
|
|
260
237
|
entityDeleted(entity: Entity, markAsDirty: boolean): void;
|
|
261
238
|
get(entity: Entity): any;
|
|
262
|
-
getCrdtState(entity: Entity): {
|
|
263
|
-
data: Uint8Array;
|
|
264
|
-
timestamp: number;
|
|
265
|
-
} | null;
|
|
266
239
|
getCrdtUpdates(): Iterable<CrdtMessageBody>;
|
|
267
240
|
has(entity: Entity): boolean;
|
|
268
241
|
onChange(entity: Entity, cb: (value: T | undefined) => void): void;
|
|
269
242
|
// (undocumented)
|
|
270
243
|
readonly schema: ISchema<T>;
|
|
271
244
|
updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
|
|
272
|
-
// (undocumented)
|
|
273
|
-
validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
|
|
274
|
-
// (undocumented)
|
|
275
|
-
validateBeforeChange(cb: ValidateCallback<T>): void;
|
|
276
245
|
}
|
|
277
246
|
|
|
278
247
|
// @public (undocumented)
|
|
@@ -908,10 +877,10 @@ export type Coords = {
|
|
|
908
877
|
export const CRDT_MESSAGE_HEADER_LENGTH = 8;
|
|
909
878
|
|
|
910
879
|
// @public (undocumented)
|
|
911
|
-
export type CrdtMessage = PutComponentMessage |
|
|
880
|
+
export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
912
881
|
|
|
913
882
|
// @public (undocumented)
|
|
914
|
-
export type CrdtMessageBody = PutComponentMessageBody |
|
|
883
|
+
export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
915
884
|
|
|
916
885
|
// @public
|
|
917
886
|
export type CrdtMessageHeader = {
|
|
@@ -932,8 +901,6 @@ export enum CrdtMessageType {
|
|
|
932
901
|
// (undocumented)
|
|
933
902
|
APPEND_VALUE = 4,
|
|
934
903
|
// (undocumented)
|
|
935
|
-
AUTHORITATIVE_PUT_COMPONENT = 8,
|
|
936
|
-
// (undocumented)
|
|
937
904
|
DELETE_COMPONENT = 2,
|
|
938
905
|
// (undocumented)
|
|
939
906
|
DELETE_COMPONENT_NETWORK = 6,
|
|
@@ -942,7 +909,7 @@ export enum CrdtMessageType {
|
|
|
942
909
|
// (undocumented)
|
|
943
910
|
DELETE_ENTITY_NETWORK = 7,
|
|
944
911
|
// (undocumented)
|
|
945
|
-
MAX_MESSAGE_TYPE =
|
|
912
|
+
MAX_MESSAGE_TYPE = 8,
|
|
946
913
|
// (undocumented)
|
|
947
914
|
PUT_COMPONENT = 1,
|
|
948
915
|
// (undocumented)
|
|
@@ -954,11 +921,6 @@ export enum CrdtMessageType {
|
|
|
954
921
|
// @public (undocumented)
|
|
955
922
|
export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
|
|
956
923
|
|
|
957
|
-
// Warning: (ae-missing-release-tag) "CreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
958
|
-
//
|
|
959
|
-
// @public (undocumented)
|
|
960
|
-
export const CreatedBy: ICreatedBy;
|
|
961
|
-
|
|
962
924
|
// @public (undocumented)
|
|
963
925
|
export function createEntityContainer(opts?: {
|
|
964
926
|
reservedStaticEntities: number;
|
|
@@ -1417,19 +1379,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
|
|
|
1417
1379
|
// @public (undocumented)
|
|
1418
1380
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
1419
1381
|
|
|
1420
|
-
// Warning: (ae-missing-release-tag) "ICreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1421
|
-
//
|
|
1422
|
-
// @public (undocumented)
|
|
1423
|
-
export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
|
|
1424
|
-
|
|
1425
|
-
// Warning: (ae-missing-release-tag) "ICreatedByType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1426
|
-
//
|
|
1427
|
-
// @public (undocumented)
|
|
1428
|
-
export interface ICreatedByType {
|
|
1429
|
-
// (undocumented)
|
|
1430
|
-
address: string;
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
1382
|
// @public (undocumented)
|
|
1434
1383
|
export interface IEngine {
|
|
1435
1384
|
addEntity(): Entity;
|
|
@@ -1678,20 +1627,6 @@ export const enum InteractionType {
|
|
|
1678
1627
|
PROXIMITY = 1
|
|
1679
1628
|
}
|
|
1680
1629
|
|
|
1681
|
-
// Warning: (ae-missing-release-tag) "InternalBaseComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1682
|
-
//
|
|
1683
|
-
// @public
|
|
1684
|
-
export interface InternalBaseComponent<T> extends BaseComponent<T> {
|
|
1685
|
-
__dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
|
|
1686
|
-
// (undocumented)
|
|
1687
|
-
__onChangeCallbacks(entity: Entity, value: T): void;
|
|
1688
|
-
// (undocumented)
|
|
1689
|
-
__run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
|
|
1690
|
-
// (undocumented)
|
|
1691
|
-
dirtyIterator(): Iterable<Entity>;
|
|
1692
|
-
iterator(): Iterable<[Entity, any]>;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
1630
|
// @public (undocumented)
|
|
1696
1631
|
export interface ISchema<T = any> {
|
|
1697
1632
|
// (undocumented)
|
|
@@ -2617,6 +2552,9 @@ export namespace PBAvatarEquippedData {
|
|
|
2617
2552
|
|
|
2618
2553
|
// @public (undocumented)
|
|
2619
2554
|
export interface PBAvatarLocomotionSettings {
|
|
2555
|
+
doubleJumpHeight?: number | undefined;
|
|
2556
|
+
glidingFallingSpeed?: number | undefined;
|
|
2557
|
+
glidingSpeed?: number | undefined;
|
|
2620
2558
|
hardLandingCooldown?: number | undefined;
|
|
2621
2559
|
jogSpeed?: number | undefined;
|
|
2622
2560
|
jumpHeight?: number | undefined;
|
|
@@ -5440,17 +5378,6 @@ export interface UiTransformProps {
|
|
|
5440
5378
|
// @public (undocumented)
|
|
5441
5379
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5442
5380
|
|
|
5443
|
-
// Warning: (ae-missing-release-tag) "ValidateCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
5444
|
-
//
|
|
5445
|
-
// @public (undocumented)
|
|
5446
|
-
export type ValidateCallback<T> = (value: {
|
|
5447
|
-
entity: Entity;
|
|
5448
|
-
currentValue: T | undefined;
|
|
5449
|
-
newValue: T | undefined;
|
|
5450
|
-
senderAddress: string;
|
|
5451
|
-
createdBy: string;
|
|
5452
|
-
}) => boolean;
|
|
5453
|
-
|
|
5454
5381
|
// @public (undocumented)
|
|
5455
5382
|
export type ValueSetOptions<T> = {
|
|
5456
5383
|
timestampFunction: (value: DeepReadonly<T>) => number;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.24.3-
|
|
4
|
+
"version": "7.24.3-28263300619.commit-182d37c",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.24.3-
|
|
8
|
-
"@dcl/sdk": "7.24.3-
|
|
7
|
+
"@dcl/js-runtime": "7.24.3-28263300619.commit-182d37c",
|
|
8
|
+
"@dcl/sdk": "7.24.3-28263300619.commit-182d37c"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -25,13 +25,12 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "npm run build-playground && node_modules/.bin/api-extractor run",
|
|
27
27
|
"build-local": "npm run build-playground && node_modules/.bin/api-extractor run --local --verbose --diagnostics",
|
|
28
|
-
"build-playground": "./../sdk-commands/dist/index.js build --production --emitDeclaration --customEntryPoint"
|
|
29
|
-
"server-logs": "sdk-commands sdk-server-logs"
|
|
28
|
+
"build-playground": "./../sdk-commands/dist/index.js build --production --emitDeclaration --customEntryPoint"
|
|
30
29
|
},
|
|
31
30
|
"tsdoc": {
|
|
32
31
|
"tsdocFlavor": "AEDoc"
|
|
33
32
|
},
|
|
34
33
|
"types": "./dist/index.d.ts",
|
|
35
34
|
"typings": "./dist/index.d.ts",
|
|
36
|
-
"commit": "
|
|
35
|
+
"commit": "182d37c0052f39b84bad4e4dc2afce8bdc1f75c3"
|
|
37
36
|
}
|