@dcl/ecs 7.1.2-4408174335.commit-e673686 → 7.1.2-4409365701.commit-a58c7a5

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.
@@ -16,4 +16,5 @@ export interface PBUiInput {
16
16
  font?: Font | undefined;
17
17
  /** default=10 */
18
18
  fontSize?: number | undefined;
19
+ value?: string | undefined;
19
20
  }
@@ -11,6 +11,7 @@ function createBasePBUiInput() {
11
11
  textAlign: undefined,
12
12
  font: undefined,
13
13
  fontSize: undefined,
14
+ value: undefined,
14
15
  };
15
16
  }
16
17
  /**
@@ -42,6 +43,9 @@ export const PBUiInput = {
42
43
  if (message.fontSize !== undefined) {
43
44
  writer.uint32(96).int32(message.fontSize);
44
45
  }
46
+ if (message.value !== undefined) {
47
+ writer.uint32(106).string(message.value);
48
+ }
45
49
  return writer;
46
50
  },
47
51
  decode(input, length) {
@@ -72,6 +76,9 @@ export const PBUiInput = {
72
76
  case 12:
73
77
  message.fontSize = reader.int32();
74
78
  break;
79
+ case 13:
80
+ message.value = reader.string();
81
+ break;
75
82
  default:
76
83
  reader.skipType(tag & 7);
77
84
  break;
@@ -43,7 +43,7 @@ export interface BaseComponent<T> {
43
43
  * This function writes the whole state of the component into a ByteBuffer
44
44
  * @public
45
45
  */
46
- dumpCrdtState(buffer: ByteBuffer): void;
46
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
47
47
  /**
48
48
  * @public
49
49
  * Marks the entity as deleted and signals it cannot be used ever again. It must
@@ -127,7 +127,7 @@ export function createValueSetComponentDefinitionFromSchema(componentName, compo
127
127
  }
128
128
  return [null, undefined];
129
129
  },
130
- dumpCrdtState: function (buffer) {
130
+ dumpCrdtStateToBuffer: function (buffer) {
131
131
  for (const [entity, { raw }] of data) {
132
132
  for (const it of raw) {
133
133
  const buf = new ReadWriteByteBuffer();
@@ -241,6 +241,6 @@ export function createComponentDefinitionFromSchema(componentName, componentId,
241
241
  },
242
242
  getCrdtUpdates: createGetCrdtMessagesForLww(componentId, timestamps, dirtyIterator, schema, data),
243
243
  updateFromCrdt: createUpdateLwwFromCrdt(componentId, timestamps, schema, data),
244
- dumpCrdtState: createDumpLwwFunctionFromCrdt(componentId, timestamps, schema, data)
244
+ dumpCrdtStateToBuffer: createDumpLwwFunctionFromCrdt(componentId, timestamps, schema, data)
245
245
  };
246
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
- "version": "7.1.2-4408174335.commit-e673686",
3
+ "version": "7.1.2-4409365701.commit-a58c7a5",
4
4
  "description": "Decentraland ECS",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "ts-proto": "^1.112.0"
28
28
  },
29
29
  "dependencies": {
30
- "@dcl/js-runtime": "7.1.2-4408174335.commit-e673686",
31
- "@dcl/protocol": "1.0.0-4177500465.commit-247c87f"
30
+ "@dcl/js-runtime": "7.1.2-4409365701.commit-a58c7a5",
31
+ "@dcl/protocol": "1.0.0-4408137944.commit-a67c796"
32
32
  },
33
33
  "files": [
34
34
  "dist",
@@ -40,5 +40,5 @@
40
40
  "displayName": "ECS",
41
41
  "tsconfig": "./tsconfig.json"
42
42
  },
43
- "commit": "e6736863ba8ab33e7f45984a3543c5c8845d7d9f"
43
+ "commit": "a58c7a50276b3c778b15a7480b2b78abd0eaa1d0"
44
44
  }