@dcl/playground-assets 7.20.5-22639691829.commit-b96024f → 7.20.5-22670537517.commit-a403a9f

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)
@@ -698,6 +667,8 @@ export const componentDefinitionByName: {
698
667
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
699
668
  "core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
700
669
  "core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
670
+ "core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
671
+ "core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
701
672
  "core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
702
673
  "core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
703
674
  "core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
@@ -855,10 +826,10 @@ export type Coords = {
855
826
  export const CRDT_MESSAGE_HEADER_LENGTH = 8;
856
827
 
857
828
  // @public (undocumented)
858
- export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
829
+ export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
859
830
 
860
831
  // @public (undocumented)
861
- export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
832
+ export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
862
833
 
863
834
  // @public
864
835
  export type CrdtMessageHeader = {
@@ -879,8 +850,6 @@ export enum CrdtMessageType {
879
850
  // (undocumented)
880
851
  APPEND_VALUE = 4,
881
852
  // (undocumented)
882
- AUTHORITATIVE_PUT_COMPONENT = 8,
883
- // (undocumented)
884
853
  DELETE_COMPONENT = 2,
885
854
  // (undocumented)
886
855
  DELETE_COMPONENT_NETWORK = 6,
@@ -889,7 +858,7 @@ export enum CrdtMessageType {
889
858
  // (undocumented)
890
859
  DELETE_ENTITY_NETWORK = 7,
891
860
  // (undocumented)
892
- MAX_MESSAGE_TYPE = 9,
861
+ MAX_MESSAGE_TYPE = 8,
893
862
  // (undocumented)
894
863
  PUT_COMPONENT = 1,
895
864
  // (undocumented)
@@ -901,11 +870,6 @@ export enum CrdtMessageType {
901
870
  // @public (undocumented)
902
871
  export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
903
872
 
904
- // 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)
905
- //
906
- // @public (undocumented)
907
- export const CreatedBy: ICreatedBy;
908
-
909
873
  // @public (undocumented)
910
874
  export function createEntityContainer(opts?: {
911
875
  reservedStaticEntities: number;
@@ -1341,19 +1305,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
1341
1305
  // @public (undocumented)
1342
1306
  export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
1343
1307
 
1344
- // 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)
1345
- //
1346
- // @public (undocumented)
1347
- export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
1348
-
1349
- // 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)
1350
- //
1351
- // @public (undocumented)
1352
- export interface ICreatedByType {
1353
- // (undocumented)
1354
- address: string;
1355
- }
1356
-
1357
1308
  // @public (undocumented)
1358
1309
  export interface IEngine {
1359
1310
  addEntity(): Entity;
@@ -1593,20 +1544,6 @@ export type InstanceCompositeOptions = {
1593
1544
  alreadyRequestedSrc?: Set<string>;
1594
1545
  };
1595
1546
 
1596
- // 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)
1597
- //
1598
- // @public
1599
- export interface InternalBaseComponent<T> extends BaseComponent<T> {
1600
- __dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
1601
- // (undocumented)
1602
- __onChangeCallbacks(entity: Entity, value: T): void;
1603
- // (undocumented)
1604
- __run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
1605
- // (undocumented)
1606
- dirtyIterator(): Iterable<Entity>;
1607
- iterator(): Iterable<[Entity, any]>;
1608
- }
1609
-
1610
1547
  // @public (undocumented)
1611
1548
  export interface ISchema<T = any> {
1612
1549
  // (undocumented)
@@ -2637,8 +2574,12 @@ export interface PBInputModifier_StandardInput {
2637
2574
  // (undocumented)
2638
2575
  disableAll?: boolean | undefined;
2639
2576
  // (undocumented)
2577
+ disableDoubleJump?: boolean | undefined;
2578
+ // (undocumented)
2640
2579
  disableEmote?: boolean | undefined;
2641
2580
  // (undocumented)
2581
+ disableGliding?: boolean | undefined;
2582
+ // (undocumented)
2642
2583
  disableJog?: boolean | undefined;
2643
2584
  // (undocumented)
2644
2585
  disableJump?: boolean | undefined;
@@ -2956,6 +2897,33 @@ export namespace PBNftShape {
2956
2897
  export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
2957
2898
  }
2958
2899
 
2900
+ // @public (undocumented)
2901
+ export interface PBPhysicsCombinedForce {
2902
+ vector: PBVector3 | undefined;
2903
+ }
2904
+
2905
+ // @public (undocumented)
2906
+ export namespace PBPhysicsCombinedForce {
2907
+ // (undocumented)
2908
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedForce;
2909
+ // (undocumented)
2910
+ export function encode(message: PBPhysicsCombinedForce, writer?: _m0.Writer): _m0.Writer;
2911
+ }
2912
+
2913
+ // @public (undocumented)
2914
+ export interface PBPhysicsCombinedImpulse {
2915
+ eventId: number;
2916
+ vector: PBVector3 | undefined;
2917
+ }
2918
+
2919
+ // @public (undocumented)
2920
+ export namespace PBPhysicsCombinedImpulse {
2921
+ // (undocumented)
2922
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedImpulse;
2923
+ // (undocumented)
2924
+ export function encode(message: PBPhysicsCombinedImpulse, writer?: _m0.Writer): _m0.Writer;
2925
+ }
2926
+
2959
2927
  // @public (undocumented)
2960
2928
  export interface PBPlayerIdentityData {
2961
2929
  address: string;
@@ -3693,6 +3661,12 @@ export namespace PBVisibilityComponent {
3693
3661
  export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
3694
3662
  }
3695
3663
 
3664
+ // @public (undocumented)
3665
+ export const PhysicsCombinedForce: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>;
3666
+
3667
+ // @public (undocumented)
3668
+ export const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
3669
+
3696
3670
  // @public
3697
3671
  export namespace Plane {
3698
3672
  // (undocumented)
@@ -4925,17 +4899,6 @@ export interface UiTransformProps {
4925
4899
  // @public (undocumented)
4926
4900
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
4927
4901
 
4928
- // 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)
4929
- //
4930
- // @public (undocumented)
4931
- export type ValidateCallback<T> = (value: {
4932
- entity: Entity;
4933
- currentValue: T | undefined;
4934
- newValue: T | undefined;
4935
- senderAddress: string;
4936
- createdBy: string;
4937
- }) => boolean;
4938
-
4939
4902
  // @public (undocumented)
4940
4903
  export type ValueSetOptions<T> = {
4941
4904
  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.20.5-22639691829.commit-b96024f",
4
+ "version": "7.20.5-22670537517.commit-a403a9f",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.20.5-22639691829.commit-b96024f",
8
- "@dcl/sdk": "7.20.5-22639691829.commit-b96024f"
7
+ "@dcl/js-runtime": "7.20.5-22670537517.commit-a403a9f",
8
+ "@dcl/sdk": "7.20.5-22670537517.commit-a403a9f"
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": "b96024f79a33b41243cad450a1e019239c0e4386"
35
+ "commit": "a403a9f0eaae290c667171409c5e698195a7c0d3"
37
36
  }