@dcl/ecs 7.1.3 → 7.1.4-4491693391.commit-569ecab

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,3 +1,5 @@
1
1
  import { Composite } from './proto/gen/composite.gen';
2
2
  export declare function compositeFromJson(object: any): Composite;
3
3
  export declare function compositeFromBinary(buffer: Uint8Array): Composite;
4
+ export declare function compositeToJson(composite: Composite): any;
5
+ export declare function compositeToBinary(composite: Composite): Uint8Array;
@@ -7,3 +7,11 @@ export function compositeFromJson(object) {
7
7
  export function compositeFromBinary(buffer) {
8
8
  return Composite.decode(buffer);
9
9
  }
10
+ /* @public @deprecated */
11
+ export function compositeToJson(composite) {
12
+ return Composite.toJSON(composite);
13
+ }
14
+ /* @public @deprecated */
15
+ export function compositeToBinary(composite) {
16
+ return Composite.encode(composite).finish();
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
- "version": "7.1.3",
3
+ "version": "7.1.4-4491693391.commit-569ecab",
4
4
  "description": "Decentraland ECS",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "ts-proto": "^1.112.0"
28
28
  },
29
29
  "dependencies": {
30
- "@dcl/js-runtime": "7.1.3",
30
+ "@dcl/js-runtime": "7.1.4-4491693391.commit-569ecab",
31
31
  "@dcl/protocol": "1.0.0-4408137944.commit-a67c796"
32
32
  },
33
33
  "files": [
@@ -40,5 +40,5 @@
40
40
  "displayName": "ECS",
41
41
  "tsconfig": "./tsconfig.json"
42
42
  },
43
- "commit": "bfd9912fdae18508a527302eff308932f35e5549"
43
+ "commit": "569ecab7d901f0b4508fac4a189890039418f39d"
44
44
  }