@dcl/playground-assets 7.24.4-28592331167.commit-697ce9e → 7.24.4-28675700559.commit-a1edb39

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)
@@ -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 | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
880
+ export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
912
881
 
913
882
  // @public (undocumented)
914
- export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
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 = 9,
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;
@@ -1670,6 +1619,11 @@ export type InstanceCompositeOptions = {
1670
1619
  alreadyRequestedSrc?: Set<string>;
1671
1620
  };
1672
1621
 
1622
+ // Warning: (tsdoc-undefined-tag) The TSDoc tag "@category" is not defined in this configuration
1623
+ //
1624
+ // @public
1625
+ export function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
1626
+
1673
1627
  // @public (undocumented)
1674
1628
  export const enum InteractionType {
1675
1629
  // (undocumented)
@@ -1678,20 +1632,6 @@ export const enum InteractionType {
1678
1632
  PROXIMITY = 1
1679
1633
  }
1680
1634
 
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
1635
  // @public (undocumented)
1696
1636
  export interface ISchema<T = any> {
1697
1637
  // (undocumented)
@@ -5365,6 +5305,11 @@ export interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign' | 'fo
5365
5305
  // @public (undocumented)
5366
5306
  export const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
5367
5307
 
5308
+ // @public
5309
+ export type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
5310
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
5311
+ };
5312
+
5368
5313
  // @public
5369
5314
  export interface UiLabelProps {
5370
5315
  color?: PBColor4 | undefined;
@@ -5443,17 +5388,6 @@ export interface UiTransformProps {
5443
5388
  // @public (undocumented)
5444
5389
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5445
5390
 
5446
- // 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)
5447
- //
5448
- // @public (undocumented)
5449
- export type ValidateCallback<T> = (value: {
5450
- entity: Entity;
5451
- currentValue: T | undefined;
5452
- newValue: T | undefined;
5453
- senderAddress: string;
5454
- createdBy: string;
5455
- }) => boolean;
5456
-
5457
5391
  // @public (undocumented)
5458
5392
  export type ValueSetOptions<T> = {
5459
5393
  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.4-28592331167.commit-697ce9e",
4
+ "version": "7.24.4-28675700559.commit-a1edb39",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.24.4-28592331167.commit-697ce9e",
8
- "@dcl/sdk": "7.24.4-28592331167.commit-697ce9e"
7
+ "@dcl/js-runtime": "7.24.4-28675700559.commit-a1edb39",
8
+ "@dcl/sdk": "7.24.4-28675700559.commit-a1edb39"
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": "697ce9e4c717549d30c0a0bc927a173df5d0febf"
35
+ "commit": "a1edb39a9a0d6dba85bb2c12ebe82ba9ce076f12"
37
36
  }