Skip to content

Commit ea9e109

Browse files
committed
update golden files
1 parent 60f3b38 commit ea9e109

File tree

14 files changed

+100
-59
lines changed

14 files changed

+100
-59
lines changed

packages/@dcl/playground-assets/etc/playground-assets.api.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ export const componentDefinitionByName: {
692692
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
693693
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
694694
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
695+
"core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
695696
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
696697
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
697698
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
@@ -2967,6 +2968,23 @@ export namespace PBPosition {
29672968
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
29682969
}
29692970

2971+
// @public (undocumented)
2972+
export interface PBPrimaryPointerInfo {
2973+
// (undocumented)
2974+
pointerType?: PointerType | undefined;
2975+
screenCoordinates?: PBVector2 | undefined;
2976+
screenDelta?: PBVector2 | undefined;
2977+
worldRayDirection?: PBVector3 | undefined;
2978+
}
2979+
2980+
// @public (undocumented)
2981+
export namespace PBPrimaryPointerInfo {
2982+
// (undocumented)
2983+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
2984+
// (undocumented)
2985+
export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
2986+
}
2987+
29702988
// @public (undocumented)
29712989
export interface PBQuaternion {
29722990
// (undocumented)
@@ -3606,6 +3624,12 @@ export const enum PointerEventType {
36063624
// (undocumented)
36073625
PET_DOWN = 1,
36083626
// (undocumented)
3627+
PET_DRAG = 5,
3628+
// (undocumented)
3629+
PET_DRAG_END = 6,
3630+
// (undocumented)
3631+
PET_DRAG_LOCKED = 4,
3632+
// (undocumented)
36093633
PET_HOVER_ENTER = 2,
36103634
// (undocumented)
36113635
PET_HOVER_LEAVE = 3,
@@ -3627,6 +3651,20 @@ export type PointerFilterType = 'none' | 'block';
36273651
// @public (undocumented)
36283652
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
36293653

3654+
// @public (undocumented)
3655+
export const enum PointerType {
3656+
// (undocumented)
3657+
POT_MOUSE = 1,
3658+
// (undocumented)
3659+
POT_NONE = 0,
3660+
// (undocumented)
3661+
POT_PAD = 2,
3662+
// (undocumented)
3663+
POT_TOUCH = 3,
3664+
// (undocumented)
3665+
POT_WAND = 4
3666+
}
3667+
36303668
// @public
36313669
export interface Position {
36323670
// (undocumented)
@@ -3648,6 +3686,9 @@ export type PositionType = 'absolute' | 'relative';
36483686
// @public
36493687
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
36503688

3689+
// @public (undocumented)
3690+
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
3691+
36513692
// Warning: (ae-missing-release-tag) "ProcessMessageResultType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
36523693
//
36533694
// @public (undocumented)

packages/@dcl/sdk-commands/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/snapshots/development-bundles/static-scene.test.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=492.6k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=497.3k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,9 +10,9 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 57k
14-
MALLOC_COUNT = 14515
15-
ALIVE_OBJS_DELTA ~= 2.88k
13+
OPCODES ~= 58k
14+
MALLOC_COUNT = 14626
15+
ALIVE_OBJS_DELTA ~= 2.90k
1616
CALL onStart()
1717
main.crdt: PUT_COMPONENT e=0x200 c=1 t=0 data={"position":{"x":5.880000114440918,"y":2.7916901111602783,"z":7.380000114440918},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
1818
main.crdt: PUT_COMPONENT e=0x202 c=1 t=0 data={"position":{"x":4,"y":0.800000011920929,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
@@ -56,4 +56,4 @@ CALL onUpdate(0.1)
5656
OPCODES ~= 3k
5757
MALLOC_COUNT = -5
5858
ALIVE_OBJS_DELTA ~= 0.00k
59-
MEMORY_USAGE_COUNT ~= 1265.12k bytes
59+
MEMORY_USAGE_COUNT ~= 1283.69k bytes

test/snapshots/development-bundles/testing-fw.test.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=493k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=497.6k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,9 +10,9 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 66k
14-
MALLOC_COUNT = 15030
15-
ALIVE_OBJS_DELTA ~= 3.03k
13+
OPCODES ~= 67k
14+
MALLOC_COUNT = 15141
15+
ALIVE_OBJS_DELTA ~= 3.05k
1616
CALL onStart()
1717
LOG: ["Adding one to position.y=0"]
1818
Renderer: PUT_COMPONENT e=0x0 c=1 t=1 data={"position":{"x":1,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":9,"y":9,"z":9},"parent":0}
@@ -61,4 +61,4 @@ CALL onUpdate(0.1)
6161
OPCODES ~= 5k
6262
MALLOC_COUNT = -40
6363
ALIVE_OBJS_DELTA ~= -0.01k
64-
MEMORY_USAGE_COUNT ~= 1273.09k bytes
64+
MEMORY_USAGE_COUNT ~= 1291.66k bytes

test/snapshots/development-bundles/two-way-crdt.test.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=493k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=497.6k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,9 +10,9 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 66k
14-
MALLOC_COUNT = 15030
15-
ALIVE_OBJS_DELTA ~= 3.03k
13+
OPCODES ~= 67k
14+
MALLOC_COUNT = 15141
15+
ALIVE_OBJS_DELTA ~= 3.05k
1616
CALL onStart()
1717
LOG: ["Adding one to position.y=0"]
1818
Renderer: PUT_COMPONENT e=0x0 c=1 t=1 data={"position":{"x":1,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":9,"y":9,"z":9},"parent":0}
@@ -61,4 +61,4 @@ CALL onUpdate(0.1)
6161
OPCODES ~= 5k
6262
MALLOC_COUNT = -40
6363
ALIVE_OBJS_DELTA ~= -0.01k
64-
MEMORY_USAGE_COUNT ~= 1273.10k bytes
64+
MEMORY_USAGE_COUNT ~= 1291.67k bytes

test/snapshots/production-bundles/append-value-crdt.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=216.1k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=218.2k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 69k
12-
MALLOC_COUNT = 13502
13-
ALIVE_OBJS_DELTA ~= 3.02k
12+
MALLOC_COUNT = 13608
13+
ALIVE_OBJS_DELTA ~= 3.05k
1414
CALL onStart()
1515
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":1,"timestamp":1,"analog":5,"tickNumber":0}
1616
OPCODES ~= 8k
@@ -42,7 +42,7 @@ CALL onUpdate(0.1)
4242
LOG: ["✅ Was triggered"]
4343
LOG: ["✅ Has DOWN command"]
4444
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":0,"timestamp":4,"analog":5,"tickNumber":0}
45-
OPCODES ~= 13k
45+
OPCODES ~= 14k
4646
MALLOC_COUNT = 31
4747
ALIVE_OBJS_DELTA ~= 0.01k
4848
CALL onUpdate(0.1)
@@ -55,4 +55,4 @@ CALL onUpdate(0.1)
5555
OPCODES ~= 14k
5656
MALLOC_COUNT = 31
5757
ALIVE_OBJS_DELTA ~= 0.01k
58-
MEMORY_USAGE_COUNT ~= 952.04k bytes
58+
MEMORY_USAGE_COUNT ~= 958.83k bytes

test/snapshots/production-bundles/billboard.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=249.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=251.4k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/billboard.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 70k
12-
MALLOC_COUNT = 15620
13-
ALIVE_OBJS_DELTA ~= 3.42k
11+
OPCODES ~= 71k
12+
MALLOC_COUNT = 15726
13+
ALIVE_OBJS_DELTA ~= 3.45k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 4
@@ -77,4 +77,4 @@ CALL onUpdate(0.1)
7777
OPCODES ~= 10k
7878
MALLOC_COUNT = 0
7979
ALIVE_OBJS_DELTA ~= 0.00k
80-
MEMORY_USAGE_COUNT ~= 1104.79k bytes
80+
MEMORY_USAGE_COUNT ~= 1111.58k bytes

test/snapshots/production-bundles/cube-deleted.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=212.3k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=214.5k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/cube-deleted.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 59k
12-
MALLOC_COUNT = 12661
13-
ALIVE_OBJS_DELTA ~= 2.81k
11+
OPCODES ~= 60k
12+
MALLOC_COUNT = 12767
13+
ALIVE_OBJS_DELTA ~= 2.83k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -42,4 +42,4 @@ CALL onUpdate(0.1)
4242
OPCODES ~= 5k
4343
MALLOC_COUNT = 1
4444
ALIVE_OBJS_DELTA ~= 0.00k
45-
MEMORY_USAGE_COUNT ~= 914.90k bytes
45+
MEMORY_USAGE_COUNT ~= 921.69k bytes

test/snapshots/production-bundles/cube.ts.crdt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=212.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=214.4k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/cube.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 59k
12-
MALLOC_COUNT = 12631
13-
ALIVE_OBJS_DELTA ~= 2.80k
12+
MALLOC_COUNT = 12737
13+
ALIVE_OBJS_DELTA ~= 2.82k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -32,4 +32,4 @@ CALL onUpdate(0.1)
3232
OPCODES ~= 1k
3333
MALLOC_COUNT = 0
3434
ALIVE_OBJS_DELTA ~= 0.00k
35-
MEMORY_USAGE_COUNT ~= 904.75k bytes
35+
MEMORY_USAGE_COUNT ~= 911.53k bytes

test/snapshots/production-bundles/cubes.ts.crdt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=249.6k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=251.8k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/cubes.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 109k
12-
MALLOC_COUNT = 18962
13-
ALIVE_OBJS_DELTA ~= 4.71k
12+
MALLOC_COUNT = 19068
13+
ALIVE_OBJS_DELTA ~= 4.74k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -1652,4 +1652,4 @@ CALL onUpdate(0.1)
16521652
OPCODES ~= 693k
16531653
MALLOC_COUNT = 0
16541654
ALIVE_OBJS_DELTA ~= 0.00k
1655-
MEMORY_USAGE_COUNT ~= 1240.72k bytes
1655+
MEMORY_USAGE_COUNT ~= 1247.51k bytes

test/snapshots/production-bundles/pointer-events.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=213.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=215.4k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/pointer-events.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 60k
12-
MALLOC_COUNT = 12925
13-
ALIVE_OBJS_DELTA ~= 2.88k
11+
OPCODES ~= 61k
12+
MALLOC_COUNT = 13031
13+
ALIVE_OBJS_DELTA ~= 2.91k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -43,4 +43,4 @@ CALL onUpdate(0.1)
4343
OPCODES ~= 1k
4444
MALLOC_COUNT = 0
4545
ALIVE_OBJS_DELTA ~= 0.00k
46-
MEMORY_USAGE_COUNT ~= 922.99k bytes
46+
MEMORY_USAGE_COUNT ~= 929.77k bytes

test/snapshots/production-bundles/schema-components.ts.crdt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=212.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=214.4k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/schema-components.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 63k
12-
MALLOC_COUNT = 12758
13-
ALIVE_OBJS_DELTA ~= 2.83k
12+
MALLOC_COUNT = 12864
13+
ALIVE_OBJS_DELTA ~= 2.85k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -31,4 +31,4 @@ CALL onUpdate(0.1)
3131
OPCODES ~= 1k
3232
MALLOC_COUNT = 0
3333
ALIVE_OBJS_DELTA ~= 0.00k
34-
MEMORY_USAGE_COUNT ~= 907.17k bytes
34+
MEMORY_USAGE_COUNT ~= 913.96k bytes

test/snapshots/production-bundles/ui.ts.crdt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=371.3k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=373.5k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/ui.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 69k
12-
MALLOC_COUNT = 20414
13-
ALIVE_OBJS_DELTA ~= 4.09k
11+
OPCODES ~= 70k
12+
MALLOC_COUNT = 20520
13+
ALIVE_OBJS_DELTA ~= 4.12k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -65,4 +65,4 @@ CALL onUpdate(0.1)
6565
OPCODES ~= 66k
6666
MALLOC_COUNT = 0
6767
ALIVE_OBJS_DELTA ~= 0.00k
68-
MEMORY_USAGE_COUNT ~= 1750.63k bytes
68+
MEMORY_USAGE_COUNT ~= 1757.43k bytes

0 commit comments

Comments
 (0)