@dcl/playground-assets 7.3.16-6313983963.commit-01f87ad → 7.3.16-6315152803.commit-5f2bd57

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.3.16-6313983963.commit-01f87ad",
4
+ "version": "7.3.16-6315152803.commit-5f2bd57",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
8
8
  "@dcl/ecs-math": "2.0.2",
9
- "@dcl/explorer": "1.0.143989-20230907142850.commit-0c0a775",
9
+ "@dcl/explorer": "1.0.147349-20230925233009.commit-2703172",
10
10
  "@dcl/js-runtime": "file:../js-runtime",
11
11
  "@dcl/react-ecs": "file:../react-ecs",
12
12
  "@dcl/sdk-commands": "file:../sdk-commands"
@@ -34,5 +34,5 @@
34
34
  },
35
35
  "types": "./index.d.ts",
36
36
  "typings": "./index.d.ts",
37
- "commit": "01f87ad8a4c3462ff2d63c494f8133ee95091f10"
37
+ "commit": "5f2bd57b531ce41777a066b594fed4385cd3d034"
38
38
  }
@@ -16,29 +16,29 @@ export declare interface AnimatorComponentDefinitionExtended extends LastWriteWi
16
16
  *
17
17
  * Get a `mutable` version of animator clip
18
18
  * @param entity - entity with Animator component
19
- * @param name - the field `name` of the component
19
+ * @param clipName - the field `clip` of the component
20
20
  * @returns the clip or fails if it isn't found
21
21
  */
22
- getClip(entity: Entity, name: string): PBAnimationState;
22
+ getClip(entity: Entity, clipName: string): PBAnimationState;
23
23
  /**
24
24
  * @public
25
25
  *
26
26
  * Get a `mutable` version of animator clip
27
27
  * @param entity - entity with Animator component
28
- * @param name - the field `name` of the component
28
+ * @param clipName - the field `clip` of the component
29
29
  * @returns the clip or null if it isn't found
30
30
  */
31
- getClipOrNull(entity: Entity, name: string): PBAnimationState | null;
31
+ getClipOrNull(entity: Entity, clipName: string): PBAnimationState | null;
32
32
  /**
33
33
  * @public
34
34
  *
35
35
  * Set playing=true the animation `$name`
36
36
  * @param entity - entity with Animator component
37
- * @param name - animation name
37
+ * @param clipName - animation name
38
38
  * @param resetCursor - the animation starts at 0 or continues from the current cursor position
39
39
  * @returns true in successful playing, false if it doesn't find the Animator or clip
40
40
  */
41
- playSingleAnimation(entity: Entity, name: string, resetCursor?: boolean): boolean;
41
+ playSingleAnimation(entity: Entity, clipName: string, resetCursor?: boolean): boolean;
42
42
  /**
43
43
  * @public
44
44
  *
@@ -3507,8 +3507,6 @@ export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
3507
3507
  * @public
3508
3508
  */
3509
3509
  export declare interface PBAnimationState {
3510
- /** the identifier for this animation, to use in scene code */
3511
- name: string;
3512
3510
  /** the animation path in the `files` array of the scene manifest */
3513
3511
  clip: string;
3514
3512
  /** whether this animation is currently playing */
@@ -262,7 +262,7 @@
262
262
  {
263
263
  "kind": "MethodSignature",
264
264
  "canonicalReference": "@dcl/playground-assets!AnimatorComponentDefinitionExtended#getClip:member(1)",
265
- "docComment": "/**\n * Get a `mutable` version of animator clip\n *\n * @param entity - entity with Animator component\n *\n * @param name - the field `name` of the component\n *\n * @returns the clip or fails if it isn't found\n *\n * @public\n */\n",
265
+ "docComment": "/**\n * Get a `mutable` version of animator clip\n *\n * @param entity - entity with Animator component\n *\n * @param clipName - the field `clip` of the component\n *\n * @returns the clip or fails if it isn't found\n *\n * @public\n */\n",
266
266
  "excerptTokens": [
267
267
  {
268
268
  "kind": "Content",
@@ -275,7 +275,7 @@
275
275
  },
276
276
  {
277
277
  "kind": "Content",
278
- "text": ", name: "
278
+ "text": ", clipName: "
279
279
  },
280
280
  {
281
281
  "kind": "Content",
@@ -312,7 +312,7 @@
312
312
  "isOptional": false
313
313
  },
314
314
  {
315
- "parameterName": "name",
315
+ "parameterName": "clipName",
316
316
  "parameterTypeTokenRange": {
317
317
  "startIndex": 3,
318
318
  "endIndex": 4
@@ -325,7 +325,7 @@
325
325
  {
326
326
  "kind": "MethodSignature",
327
327
  "canonicalReference": "@dcl/playground-assets!AnimatorComponentDefinitionExtended#getClipOrNull:member(1)",
328
- "docComment": "/**\n * Get a `mutable` version of animator clip\n *\n * @param entity - entity with Animator component\n *\n * @param name - the field `name` of the component\n *\n * @returns the clip or null if it isn't found\n *\n * @public\n */\n",
328
+ "docComment": "/**\n * Get a `mutable` version of animator clip\n *\n * @param entity - entity with Animator component\n *\n * @param clipName - the field `clip` of the component\n *\n * @returns the clip or null if it isn't found\n *\n * @public\n */\n",
329
329
  "excerptTokens": [
330
330
  {
331
331
  "kind": "Content",
@@ -338,7 +338,7 @@
338
338
  },
339
339
  {
340
340
  "kind": "Content",
341
- "text": ", name: "
341
+ "text": ", clipName: "
342
342
  },
343
343
  {
344
344
  "kind": "Content",
@@ -379,7 +379,7 @@
379
379
  "isOptional": false
380
380
  },
381
381
  {
382
- "parameterName": "name",
382
+ "parameterName": "clipName",
383
383
  "parameterTypeTokenRange": {
384
384
  "startIndex": 3,
385
385
  "endIndex": 4
@@ -392,7 +392,7 @@
392
392
  {
393
393
  "kind": "MethodSignature",
394
394
  "canonicalReference": "@dcl/playground-assets!AnimatorComponentDefinitionExtended#playSingleAnimation:member(1)",
395
- "docComment": "/**\n * Set playing=true the animation `$name`\n *\n * @param entity - entity with Animator component\n *\n * @param name - animation name\n *\n * @param resetCursor - the animation starts at 0 or continues from the current cursor position\n *\n * @returns true in successful playing, false if it doesn't find the Animator or clip\n *\n * @public\n */\n",
395
+ "docComment": "/**\n * Set playing=true the animation `$name`\n *\n * @param entity - entity with Animator component\n *\n * @param clipName - animation name\n *\n * @param resetCursor - the animation starts at 0 or continues from the current cursor position\n *\n * @returns true in successful playing, false if it doesn't find the Animator or clip\n *\n * @public\n */\n",
396
396
  "excerptTokens": [
397
397
  {
398
398
  "kind": "Content",
@@ -405,7 +405,7 @@
405
405
  },
406
406
  {
407
407
  "kind": "Content",
408
- "text": ", name: "
408
+ "text": ", clipName: "
409
409
  },
410
410
  {
411
411
  "kind": "Content",
@@ -449,7 +449,7 @@
449
449
  "isOptional": false
450
450
  },
451
451
  {
452
- "parameterName": "name",
452
+ "parameterName": "clipName",
453
453
  "parameterTypeTokenRange": {
454
454
  "startIndex": 3,
455
455
  "endIndex": 4
@@ -33225,33 +33225,6 @@
33225
33225
  "endIndex": 2
33226
33226
  }
33227
33227
  },
33228
- {
33229
- "kind": "PropertySignature",
33230
- "canonicalReference": "@dcl/playground-assets!PBAnimationState#name:member",
33231
- "docComment": "/**\n * the identifier for this animation, to use in scene code\n */\n",
33232
- "excerptTokens": [
33233
- {
33234
- "kind": "Content",
33235
- "text": "name: "
33236
- },
33237
- {
33238
- "kind": "Content",
33239
- "text": "string"
33240
- },
33241
- {
33242
- "kind": "Content",
33243
- "text": ";"
33244
- }
33245
- ],
33246
- "isReadonly": false,
33247
- "isOptional": false,
33248
- "releaseTag": "Public",
33249
- "name": "name",
33250
- "propertyTypeTokenRange": {
33251
- "startIndex": 1,
33252
- "endIndex": 2
33253
- }
33254
- },
33255
33228
  {
33256
33229
  "kind": "PropertySignature",
33257
33230
  "canonicalReference": "@dcl/playground-assets!PBAnimationState#playing:member",
@@ -16,9 +16,9 @@ export const Animator: AnimatorComponentDefinitionExtended;
16
16
 
17
17
  // @public (undocumented)
18
18
  export interface AnimatorComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAnimator> {
19
- getClip(entity: Entity, name: string): PBAnimationState;
20
- getClipOrNull(entity: Entity, name: string): PBAnimationState | null;
21
- playSingleAnimation(entity: Entity, name: string, resetCursor?: boolean): boolean;
19
+ getClip(entity: Entity, clipName: string): PBAnimationState;
20
+ getClipOrNull(entity: Entity, clipName: string): PBAnimationState | null;
21
+ playSingleAnimation(entity: Entity, clipName: string, resetCursor?: boolean): boolean;
22
22
  stopAllAnimations(entity: Entity, resetCursor?: boolean): boolean;
23
23
  }
24
24
 
@@ -1947,7 +1947,6 @@ export type OverflowType = 'hidden' | 'scroll' | 'visible';
1947
1947
  export interface PBAnimationState {
1948
1948
  clip: string;
1949
1949
  loop?: boolean | undefined;
1950
- name: string;
1951
1950
  playing?: boolean | undefined;
1952
1951
  shouldReset?: boolean | undefined;
1953
1952
  speed?: number | undefined;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.3.16-6313983963.commit-01f87ad",
4
+ "version": "7.3.16-6315152803.commit-5f2bd57",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.3.16-6313983963.commit-01f87ad",
8
- "@dcl/sdk": "7.3.16-6313983963.commit-01f87ad"
7
+ "@dcl/js-runtime": "7.3.16-6315152803.commit-5f2bd57",
8
+ "@dcl/sdk": "7.3.16-6315152803.commit-5f2bd57"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "01f87ad8a4c3462ff2d63c494f8133ee95091f10"
35
+ "commit": "5f2bd57b531ce41777a066b594fed4385cd3d034"
36
36
  }