@dcl/playground-assets 7.24.2-27962061844.commit-196680f → 7.24.2-28088915032.commit-e2f7e10

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.
@@ -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)
@@ -207,6 +184,14 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
207
184
  // @public (undocumented)
208
185
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
209
186
 
187
+ // @public (undocumented)
188
+ export const enum AvatarEmoteMask {
189
+ // (undocumented)
190
+ AEM_FULL_BODY = 0,
191
+ // (undocumented)
192
+ AEM_UPPER_BODY = 1
193
+ }
194
+
210
195
  // @public (undocumented)
211
196
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
212
197
 
@@ -259,20 +244,12 @@ export interface BaseComponent<T> {
259
244
  dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
260
245
  entityDeleted(entity: Entity, markAsDirty: boolean): void;
261
246
  get(entity: Entity): any;
262
- getCrdtState(entity: Entity): {
263
- data: Uint8Array;
264
- timestamp: number;
265
- } | null;
266
247
  getCrdtUpdates(): Iterable<CrdtMessageBody>;
267
248
  has(entity: Entity): boolean;
268
249
  onChange(entity: Entity, cb: (value: T | undefined) => void): void;
269
250
  // (undocumented)
270
251
  readonly schema: ISchema<T>;
271
252
  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
253
  }
277
254
 
278
255
  // @public (undocumented)
@@ -908,10 +885,10 @@ export type Coords = {
908
885
  export const CRDT_MESSAGE_HEADER_LENGTH = 8;
909
886
 
910
887
  // @public (undocumented)
911
- export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
888
+ export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
912
889
 
913
890
  // @public (undocumented)
914
- export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
891
+ export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
915
892
 
916
893
  // @public
917
894
  export type CrdtMessageHeader = {
@@ -932,8 +909,6 @@ export enum CrdtMessageType {
932
909
  // (undocumented)
933
910
  APPEND_VALUE = 4,
934
911
  // (undocumented)
935
- AUTHORITATIVE_PUT_COMPONENT = 8,
936
- // (undocumented)
937
912
  DELETE_COMPONENT = 2,
938
913
  // (undocumented)
939
914
  DELETE_COMPONENT_NETWORK = 6,
@@ -942,7 +917,7 @@ export enum CrdtMessageType {
942
917
  // (undocumented)
943
918
  DELETE_ENTITY_NETWORK = 7,
944
919
  // (undocumented)
945
- MAX_MESSAGE_TYPE = 9,
920
+ MAX_MESSAGE_TYPE = 8,
946
921
  // (undocumented)
947
922
  PUT_COMPONENT = 1,
948
923
  // (undocumented)
@@ -954,11 +929,6 @@ export enum CrdtMessageType {
954
929
  // @public (undocumented)
955
930
  export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
956
931
 
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
932
  // @public (undocumented)
963
933
  export function createEntityContainer(opts?: {
964
934
  reservedStaticEntities: number;
@@ -1417,19 +1387,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
1417
1387
  // @public (undocumented)
1418
1388
  export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
1419
1389
 
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
1390
  // @public (undocumented)
1434
1391
  export interface IEngine {
1435
1392
  addEntity(): Entity;
@@ -1678,20 +1635,6 @@ export const enum InteractionType {
1678
1635
  PROXIMITY = 1
1679
1636
  }
1680
1637
 
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
1638
  // @public (undocumented)
1696
1639
  export interface ISchema<T = any> {
1697
1640
  // (undocumented)
@@ -2617,6 +2560,9 @@ export namespace PBAvatarEquippedData {
2617
2560
 
2618
2561
  // @public (undocumented)
2619
2562
  export interface PBAvatarLocomotionSettings {
2563
+ doubleJumpHeight?: number | undefined;
2564
+ glidingFallingSpeed?: number | undefined;
2565
+ glidingSpeed?: number | undefined;
2620
2566
  hardLandingCooldown?: number | undefined;
2621
2567
  jogSpeed?: number | undefined;
2622
2568
  jumpHeight?: number | undefined;
@@ -4104,6 +4050,7 @@ export namespace PBVideoPlayer {
4104
4050
  export interface PBVirtualCamera {
4105
4051
  // (undocumented)
4106
4052
  defaultTransition?: CameraTransition | undefined;
4053
+ fov?: number | undefined;
4107
4054
  // (undocumented)
4108
4055
  lookAtEntity?: number | undefined;
4109
4056
  }
@@ -5440,17 +5387,6 @@ export interface UiTransformProps {
5440
5387
  // @public (undocumented)
5441
5388
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5442
5389
 
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
5390
  // @public (undocumented)
5455
5391
  export type ValueSetOptions<T> = {
5456
5392
  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.2-27962061844.commit-196680f",
4
+ "version": "7.24.2-28088915032.commit-e2f7e10",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.24.2-27962061844.commit-196680f",
8
- "@dcl/sdk": "7.24.2-27962061844.commit-196680f"
7
+ "@dcl/js-runtime": "7.24.2-28088915032.commit-e2f7e10",
8
+ "@dcl/sdk": "7.24.2-28088915032.commit-e2f7e10"
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": "196680fba5b9c81e2e40ac1df0e19b9804c63af0"
35
+ "commit": "e2f7e10f57811866f18bee0141300cca8de70314"
37
36
  }