Skip to content

Commit

Permalink
Updated feature protocol branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAlvarezMelucciDCL committed Jan 30, 2025
1 parent 8237435 commit d04b22c
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 49 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/decentraland/js-sdk-toolchain/issues",
"dependencies": {
"@actions/core": "^1.10.0",
"@dcl/protocol": "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-12994233430.commit-287cd98.tgz",
"@dcl/protocol": "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-13043868109.commit-ba5dc44.tgz",
"@dcl/quickjs-emscripten": "^0.21.0-3680274614.commit-1808aa1",
"@dcl/ts-proto": "1.153.0",
"@types/fs-extra": "^9.0.12",
Expand Down
7 changes: 4 additions & 3 deletions packages/@dcl/playground-assets/etc/playground-assets.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2429,8 +2429,6 @@ export interface PBLightSource {
brightness?: number | undefined;
color?: PBColor3 | undefined;
range?: number | undefined;
shadow?: PBLightSource_ShadowType | undefined;
shadowMaskTexture?: Texture | undefined;
// (undocumented)
type?: {
$case: "point";
Expand All @@ -2451,14 +2449,15 @@ export namespace PBLightSource {

// @public (undocumented)
export interface PBLightSource_Point {
shadow?: PBLightSource_ShadowType | undefined;
}

// @public (undocumented)
export namespace PBLightSource_Point {
// (undocumented)
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
// (undocumented)
export function encode(_: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
}

// @public (undocumented)
Expand All @@ -2472,6 +2471,8 @@ export const enum PBLightSource_ShadowType {
export interface PBLightSource_Spot {
innerAngle?: number | undefined;
outerAngle?: number | undefined;
shadow?: PBLightSource_ShadowType | undefined;
shadowMaskTexture?: TextureUnion | undefined;
}

// @public (undocumented)
Expand Down
8 changes: 4 additions & 4 deletions test/snapshots/development-bundles/static-scene.test.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=456.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=463.2k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
Expand All @@ -11,8 +11,8 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 54k
MALLOC_COUNT = 13707
ALIVE_OBJS_DELTA ~= 2.70k
MALLOC_COUNT = 13848
ALIVE_OBJS_DELTA ~= 2.73k
CALL onStart()
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}
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}
Expand Down Expand Up @@ -56,4 +56,4 @@ CALL onUpdate(0.1)
OPCODES ~= 3k
MALLOC_COUNT = -5
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1200.38k bytes
MEMORY_USAGE_COUNT ~= 1212.29k bytes
8 changes: 4 additions & 4 deletions test/snapshots/development-bundles/testing-fw.test.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=457k bytes
SCENE_COMPILED_JS_SIZE_PROD=463.7k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
Expand All @@ -11,8 +11,8 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 63k
MALLOC_COUNT = 14228
ALIVE_OBJS_DELTA ~= 2.85k
MALLOC_COUNT = 14369
ALIVE_OBJS_DELTA ~= 2.88k
CALL onStart()
LOG: ["Adding one to position.y=0"]
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}
Expand Down Expand Up @@ -64,4 +64,4 @@ CALL onUpdate(0.1)
OPCODES ~= 5k
MALLOC_COUNT = -40
ALIVE_OBJS_DELTA ~= -0.01k
MEMORY_USAGE_COUNT ~= 1208.99k bytes
MEMORY_USAGE_COUNT ~= 1220.90k bytes
8 changes: 4 additions & 4 deletions test/snapshots/development-bundles/two-way-crdt.test.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=457k bytes
SCENE_COMPILED_JS_SIZE_PROD=463.7k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
Expand All @@ -11,8 +11,8 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 63k
MALLOC_COUNT = 14228
ALIVE_OBJS_DELTA ~= 2.85k
MALLOC_COUNT = 14369
ALIVE_OBJS_DELTA ~= 2.88k
CALL onStart()
LOG: ["Adding one to position.y=0"]
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}
Expand Down Expand Up @@ -64,4 +64,4 @@ CALL onUpdate(0.1)
OPCODES ~= 5k
MALLOC_COUNT = -40
ALIVE_OBJS_DELTA ~= -0.01k
MEMORY_USAGE_COUNT ~= 1209.00k bytes
MEMORY_USAGE_COUNT ~= 1220.91k bytes
2 changes: 1 addition & 1 deletion test/snapshots/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/append-value-crdt.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=199.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=202.5k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 65k
MALLOC_COUNT = 12881
MALLOC_COUNT = 12882
ALIVE_OBJS_DELTA ~= 2.88k
CALL onStart()
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}
Expand Down Expand Up @@ -55,4 +55,4 @@ CALL onUpdate(0.1)
OPCODES ~= 14k
MALLOC_COUNT = 31
ALIVE_OBJS_DELTA ~= 0.01k
MEMORY_USAGE_COUNT ~= 903.35k bytes
MEMORY_USAGE_COUNT ~= 912.20k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/billboard.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=232.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=235.5k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/billboard.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 67k
MALLOC_COUNT = 14994
MALLOC_COUNT = 14995
ALIVE_OBJS_DELTA ~= 3.27k
CALL onStart()
OPCODES ~= 0k
Expand Down Expand Up @@ -77,4 +77,4 @@ CALL onUpdate(0.1)
OPCODES ~= 10k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1045.78k bytes
MEMORY_USAGE_COUNT ~= 1054.65k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/cube-deleted.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=195.7k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.7k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/cube-deleted.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 56k
MALLOC_COUNT = 12036
MALLOC_COUNT = 12037
ALIVE_OBJS_DELTA ~= 2.66k
CALL onStart()
OPCODES ~= 0k
Expand Down Expand Up @@ -42,4 +42,4 @@ CALL onUpdate(0.1)
OPCODES ~= 5k
MALLOC_COUNT = 1
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 866.11k bytes
MEMORY_USAGE_COUNT ~= 874.98k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/cube.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=195.6k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.6k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/cube.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 56k
MALLOC_COUNT = 12009
MALLOC_COUNT = 12010
ALIVE_OBJS_DELTA ~= 2.65k
CALL onStart()
OPCODES ~= 0k
Expand All @@ -32,4 +32,4 @@ CALL onUpdate(0.1)
OPCODES ~= 1k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 856.02k bytes
MEMORY_USAGE_COUNT ~= 864.89k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/cubes.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=232.9k bytes
SCENE_COMPILED_JS_SIZE_PROD=235.9k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/cubes.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 106k
MALLOC_COUNT = 18336
MALLOC_COUNT = 18337
ALIVE_OBJS_DELTA ~= 4.56k
CALL onStart()
OPCODES ~= 0k
Expand Down Expand Up @@ -1652,4 +1652,4 @@ CALL onUpdate(0.1)
OPCODES ~= 693k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1181.71k bytes
MEMORY_USAGE_COUNT ~= 1190.58k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/pointer-events.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=196.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=199.5k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/pointer-events.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 57k
MALLOC_COUNT = 12295
MALLOC_COUNT = 12296
ALIVE_OBJS_DELTA ~= 2.73k
CALL onStart()
OPCODES ~= 0k
Expand Down Expand Up @@ -43,4 +43,4 @@ CALL onUpdate(0.1)
OPCODES ~= 1k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 873.75k bytes
MEMORY_USAGE_COUNT ~= 882.62k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/schema-components.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=195.7k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.6k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/schema-components.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 59k
MALLOC_COUNT = 12136
MALLOC_COUNT = 12137
ALIVE_OBJS_DELTA ~= 2.68k
CALL onStart()
OPCODES ~= 0k
Expand All @@ -31,4 +31,4 @@ CALL onUpdate(0.1)
OPCODES ~= 1k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 858.44k bytes
MEMORY_USAGE_COUNT ~= 867.31k bytes
4 changes: 2 additions & 2 deletions test/snapshots/production-bundles/ui.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=353.8k bytes
SCENE_COMPILED_JS_SIZE_PROD=356.8k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand Down Expand Up @@ -65,4 +65,4 @@ CALL onUpdate(0.1)
OPCODES ~= 64k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1695.75k bytes
MEMORY_USAGE_COUNT ~= 1704.57k bytes
6 changes: 3 additions & 3 deletions test/snapshots/production-bundles/with-main-function.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=196.3k bytes
SCENE_COMPILED_JS_SIZE_PROD=199.3k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/with-main-function.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 56k
MALLOC_COUNT = 12165
MALLOC_COUNT = 12166
ALIVE_OBJS_DELTA ~= 2.68k
CALL onStart()
OPCODES ~= 0k
Expand Down Expand Up @@ -37,4 +37,4 @@ CALL onUpdate(0.1)
OPCODES ~= 3k
MALLOC_COUNT = 5
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 871.57k bytes
MEMORY_USAGE_COUNT ~= 880.43k bytes

0 comments on commit d04b22c

Please sign in to comment.