@dcl/playground-assets 7.21.1-22918726402.commit-ee210ee → 7.21.1-23203004012.commit-7c64ac2

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.
@@ -94,29 +94,6 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
94
94
  getAudioState(entity: Entity): PBAudioEvent | undefined;
95
95
  }
96
96
 
97
- // @public (undocumented)
98
- export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
99
-
100
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
101
- //
102
- // @public
103
- export type AuthoritativePutComponentMessageBody = {
104
- type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
105
- entityId: Entity;
106
- componentId: number;
107
- timestamp: number;
108
- data: Uint8Array;
109
- };
110
-
111
- // @public (undocumented)
112
- export namespace AuthoritativePutComponentOperation {
113
- const // (undocumented)
114
- MESSAGE_HEADER_LENGTH = 16;
115
- // (undocumented)
116
- export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
117
- export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
118
- }
119
-
120
97
  // @public (undocumented)
121
98
  export const enum AvatarAnchorPointType {
122
99
  // (undocumented)
@@ -231,20 +208,12 @@ export interface BaseComponent<T> {
231
208
  dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
232
209
  entityDeleted(entity: Entity, markAsDirty: boolean): void;
233
210
  get(entity: Entity): any;
234
- getCrdtState(entity: Entity): {
235
- data: Uint8Array;
236
- timestamp: number;
237
- } | null;
238
211
  getCrdtUpdates(): Iterable<CrdtMessageBody>;
239
212
  has(entity: Entity): boolean;
240
213
  onChange(entity: Entity, cb: (value: T | undefined) => void): void;
241
214
  // (undocumented)
242
215
  readonly schema: ISchema<T>;
243
216
  updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
244
- // (undocumented)
245
- validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
246
- // (undocumented)
247
- validateBeforeChange(cb: ValidateCallback<T>): void;
248
217
  }
249
218
 
250
219
  // @public (undocumented)
@@ -857,10 +826,10 @@ export type Coords = {
857
826
  export const CRDT_MESSAGE_HEADER_LENGTH = 8;
858
827
 
859
828
  // @public (undocumented)
860
- export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
829
+ export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
861
830
 
862
831
  // @public (undocumented)
863
- export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
832
+ export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
864
833
 
865
834
  // @public
866
835
  export type CrdtMessageHeader = {
@@ -881,8 +850,6 @@ export enum CrdtMessageType {
881
850
  // (undocumented)
882
851
  APPEND_VALUE = 4,
883
852
  // (undocumented)
884
- AUTHORITATIVE_PUT_COMPONENT = 8,
885
- // (undocumented)
886
853
  DELETE_COMPONENT = 2,
887
854
  // (undocumented)
888
855
  DELETE_COMPONENT_NETWORK = 6,
@@ -891,7 +858,7 @@ export enum CrdtMessageType {
891
858
  // (undocumented)
892
859
  DELETE_ENTITY_NETWORK = 7,
893
860
  // (undocumented)
894
- MAX_MESSAGE_TYPE = 9,
861
+ MAX_MESSAGE_TYPE = 8,
895
862
  // (undocumented)
896
863
  PUT_COMPONENT = 1,
897
864
  // (undocumented)
@@ -903,11 +870,6 @@ export enum CrdtMessageType {
903
870
  // @public (undocumented)
904
871
  export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
905
872
 
906
- // 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)
907
- //
908
- // @public (undocumented)
909
- export const CreatedBy: ICreatedBy;
910
-
911
873
  // @public (undocumented)
912
874
  export function createEntityContainer(opts?: {
913
875
  reservedStaticEntities: number;
@@ -1346,19 +1308,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
1346
1308
  // @public (undocumented)
1347
1309
  export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
1348
1310
 
1349
- // 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)
1350
- //
1351
- // @public (undocumented)
1352
- export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
1353
-
1354
- // 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)
1355
- //
1356
- // @public (undocumented)
1357
- export interface ICreatedByType {
1358
- // (undocumented)
1359
- address: string;
1360
- }
1361
-
1362
1311
  // @public (undocumented)
1363
1312
  export interface IEngine {
1364
1313
  addEntity(): Entity;
@@ -1598,20 +1547,6 @@ export type InstanceCompositeOptions = {
1598
1547
  alreadyRequestedSrc?: Set<string>;
1599
1548
  };
1600
1549
 
1601
- // 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)
1602
- //
1603
- // @public
1604
- export interface InternalBaseComponent<T> extends BaseComponent<T> {
1605
- __dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
1606
- // (undocumented)
1607
- __onChangeCallbacks(entity: Entity, value: T): void;
1608
- // (undocumented)
1609
- __run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
1610
- // (undocumented)
1611
- dirtyIterator(): Iterable<Entity>;
1612
- iterator(): Iterable<[Entity, any]>;
1613
- }
1614
-
1615
1550
  // @public (undocumented)
1616
1551
  export interface ISchema<T = any> {
1617
1552
  // (undocumented)
@@ -5022,17 +4957,6 @@ export interface UiTransformProps {
5022
4957
  // @public (undocumented)
5023
4958
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5024
4959
 
5025
- // 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)
5026
- //
5027
- // @public (undocumented)
5028
- export type ValidateCallback<T> = (value: {
5029
- entity: Entity;
5030
- currentValue: T | undefined;
5031
- newValue: T | undefined;
5032
- senderAddress: string;
5033
- createdBy: string;
5034
- }) => boolean;
5035
-
5036
4960
  // @public (undocumented)
5037
4961
  export type ValueSetOptions<T> = {
5038
4962
  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.21.1-22918726402.commit-ee210ee",
4
+ "version": "7.21.1-23203004012.commit-7c64ac2",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.21.1-22918726402.commit-ee210ee",
8
- "@dcl/sdk": "7.21.1-22918726402.commit-ee210ee"
7
+ "@dcl/js-runtime": "7.21.1-23203004012.commit-7c64ac2",
8
+ "@dcl/sdk": "7.21.1-23203004012.commit-7c64ac2"
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": "ee210ee78e334e8e696dbae117a8e0019aa13c97"
35
+ "commit": "7c64ac29ee3f34e79019b4435854537a261721ab"
37
36
  }