@dcl/playground-assets 7.28.1-34955459026.commit-7db2d46 → 7.29.0

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.
@@ -136,29 +136,6 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
136
136
  getAudioState(entity: Entity): PBAudioEvent | undefined;
137
137
  }
138
138
 
139
- // @public (undocumented)
140
- export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
141
-
142
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
143
- //
144
- // @public
145
- export type AuthoritativePutComponentMessageBody = {
146
- type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
147
- entityId: Entity;
148
- componentId: number;
149
- timestamp: number;
150
- data: Uint8Array;
151
- };
152
-
153
- // @public (undocumented)
154
- export namespace AuthoritativePutComponentOperation {
155
- const // (undocumented)
156
- MESSAGE_HEADER_LENGTH = 16;
157
- // (undocumented)
158
- export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
159
- export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
160
- }
161
-
162
139
  // @public (undocumented)
163
140
  export const enum AvatarAnchorPointType {
164
141
  // (undocumented)
@@ -286,20 +263,12 @@ export interface BaseComponent<T> {
286
263
  dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
287
264
  entityDeleted(entity: Entity, markAsDirty: boolean): void;
288
265
  get(entity: Entity): any;
289
- getCrdtState(entity: Entity): {
290
- data: Uint8Array;
291
- timestamp: number;
292
- } | null;
293
266
  getCrdtUpdates(): Iterable<CrdtMessageBody>;
294
267
  has(entity: Entity): boolean;
295
268
  onChange(entity: Entity, cb: (value: T | undefined) => void): void;
296
269
  // (undocumented)
297
270
  readonly schema: ISchema<T>;
298
271
  updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
299
- // (undocumented)
300
- validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
301
- // (undocumented)
302
- validateBeforeChange(cb: ValidateCallback<T>): void;
303
272
  }
304
273
 
305
274
  // @public (undocumented)
@@ -939,10 +908,10 @@ export type Coords = {
939
908
  export const CRDT_MESSAGE_HEADER_LENGTH = 8;
940
909
 
941
910
  // @public (undocumented)
942
- export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
911
+ export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
943
912
 
944
913
  // @public (undocumented)
945
- export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
914
+ export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
946
915
 
947
916
  // @public
948
917
  export type CrdtMessageHeader = {
@@ -963,8 +932,6 @@ export enum CrdtMessageType {
963
932
  // (undocumented)
964
933
  APPEND_VALUE = 4,
965
934
  // (undocumented)
966
- AUTHORITATIVE_PUT_COMPONENT = 8,
967
- // (undocumented)
968
935
  DELETE_COMPONENT = 2,
969
936
  // (undocumented)
970
937
  DELETE_COMPONENT_NETWORK = 6,
@@ -973,7 +940,7 @@ export enum CrdtMessageType {
973
940
  // (undocumented)
974
941
  DELETE_ENTITY_NETWORK = 7,
975
942
  // (undocumented)
976
- MAX_MESSAGE_TYPE = 9,
943
+ MAX_MESSAGE_TYPE = 8,
977
944
  // (undocumented)
978
945
  PUT_COMPONENT = 1,
979
946
  // (undocumented)
@@ -985,11 +952,6 @@ export enum CrdtMessageType {
985
952
  // @public (undocumented)
986
953
  export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
987
954
 
988
- // 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)
989
- //
990
- // @public (undocumented)
991
- export const CreatedBy: ICreatedBy;
992
-
993
955
  // @public (undocumented)
994
956
  export function createEntityContainer(opts?: {
995
957
  reservedStaticEntities: number;
@@ -1479,19 +1441,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
1479
1441
  // @public (undocumented)
1480
1442
  export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
1481
1443
 
1482
- // 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)
1483
- //
1484
- // @public (undocumented)
1485
- export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
1486
-
1487
- // 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)
1488
- //
1489
- // @public (undocumented)
1490
- export interface ICreatedByType {
1491
- // (undocumented)
1492
- address: string;
1493
- }
1494
-
1495
1444
  // @public (undocumented)
1496
1445
  export interface IEngine {
1497
1446
  addEntity(): Entity;
@@ -1745,20 +1694,6 @@ export const enum InteractionType {
1745
1694
  PROXIMITY = 1
1746
1695
  }
1747
1696
 
1748
- // 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)
1749
- //
1750
- // @public
1751
- export interface InternalBaseComponent<T> extends BaseComponent<T> {
1752
- __dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
1753
- // (undocumented)
1754
- __onChangeCallbacks(entity: Entity, value: T): void;
1755
- // (undocumented)
1756
- __run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
1757
- // (undocumented)
1758
- dirtyIterator(): Iterable<Entity>;
1759
- iterator(): Iterable<[Entity, any]>;
1760
- }
1761
-
1762
1697
  // @public (undocumented)
1763
1698
  export interface ISchema<T = any> {
1764
1699
  // (undocumented)
@@ -5357,7 +5292,6 @@ export type Transport = {
5357
5292
  onmessage?(message: Uint8Array): void;
5358
5293
  filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
5359
5294
  type?: string;
5360
- allowReservedEntities?: boolean;
5361
5295
  };
5362
5296
 
5363
5297
  // @public (undocumented)
@@ -5591,6 +5525,7 @@ export type UiRendererOptions = {
5591
5525
  virtualWidth?: number;
5592
5526
  virtualHeight?: number;
5593
5527
  screenInset?: UiScreenInset;
5528
+ zIndex?: number;
5594
5529
  };
5595
5530
 
5596
5531
  // @public
@@ -5655,17 +5590,6 @@ export interface UiTransformProps {
5655
5590
  // @public (undocumented)
5656
5591
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5657
5592
 
5658
- // 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)
5659
- //
5660
- // @public (undocumented)
5661
- export type ValidateCallback<T> = (value: {
5662
- entity: Entity;
5663
- currentValue: T | undefined;
5664
- newValue: T | undefined;
5665
- senderAddress: string;
5666
- createdBy: string;
5667
- }) => boolean;
5668
-
5669
5593
  // @public (undocumented)
5670
5594
  export type ValueSetOptions<T> = {
5671
5595
  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.28.1-34955459026.commit-7db2d46",
4
+ "version": "7.29.0",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.28.1-34955459026.commit-7db2d46",
8
- "@dcl/sdk": "7.28.1-34955459026.commit-7db2d46"
7
+ "@dcl/js-runtime": "7.29.0",
8
+ "@dcl/sdk": "7.29.0"
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": "7db2d4613572a8d72af9166b3df228a3b8f8c427"
35
+ "commit": "d2f06b5eb1a2ab3377a3f99d045f957ae979c051"
37
36
  }