@dcl/playground-assets 7.7.3-13090257149.commit-df175f2 → 7.7.3-13092882598.commit-32642df

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.
@@ -36,7 +36,15 @@ declare module "~system/CommunicationsController" {
36
36
  export interface RealSendResponse {
37
37
  }
38
38
  export interface SendBinaryRequest {
39
+ /** @deprecated old broadcasted messages. Use peerData with an empty array for broadcasting. */
39
40
  data: Uint8Array[];
41
+ /** peer-to-peer messages */
42
+ peerData: PeerMessageData[];
43
+ }
44
+ export interface PeerMessageData {
45
+ data: Uint8Array[];
46
+ /** if address is empty, its a broadcast message */
47
+ address: string[];
40
48
  }
41
49
  export interface SendBinaryResponse {
42
50
  data: Uint8Array[];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.7.3-13090257149.commit-df175f2",
4
+ "version": "7.7.3-13092882598.commit-32642df",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "df175f269c65f9b03e9f43af8d306839a7480361"
38
+ "commit": "32642dfe933fefba0821334cd112df30cd34ae01"
39
39
  }
@@ -7946,7 +7946,11 @@ export declare type TransformTypeWithOptionals = Partial<TransformType>;
7946
7946
  * @public
7947
7947
  */
7948
7948
  export declare type Transport = {
7949
- send(message: Uint8Array): Promise<void>;
7949
+ /**
7950
+ * For Network messages its an Uint8Array[]. Due too the LiveKit MAX_SIZE = 13kb
7951
+ * For Renderer & Other transports we send a single Uint8Array
7952
+ */
7953
+ send(message: Uint8Array | Uint8Array[]): Promise<void>;
7950
7954
  onmessage?(message: Uint8Array): void;
7951
7955
  filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
7952
7956
  type?: string;
@@ -75945,7 +75945,16 @@
75945
75945
  },
75946
75946
  {
75947
75947
  "kind": "Content",
75948
- "text": "): "
75948
+ "text": " | "
75949
+ },
75950
+ {
75951
+ "kind": "Reference",
75952
+ "text": "Uint8Array",
75953
+ "canonicalReference": "!Uint8Array:interface"
75954
+ },
75955
+ {
75956
+ "kind": "Content",
75957
+ "text": "[]): "
75949
75958
  },
75950
75959
  {
75951
75960
  "kind": "Reference",
@@ -75993,7 +76002,7 @@
75993
76002
  "name": "Transport",
75994
76003
  "typeTokenRange": {
75995
76004
  "startIndex": 1,
75996
- "endIndex": 12
76005
+ "endIndex": 14
75997
76006
  }
75998
76007
  },
75999
76008
  {
@@ -4543,7 +4543,7 @@ export type TransformTypeWithOptionals = Partial<TransformType>;
4543
4543
 
4544
4544
  // @public (undocumented)
4545
4545
  export type Transport = {
4546
- send(message: Uint8Array): Promise<void>;
4546
+ send(message: Uint8Array | Uint8Array[]): Promise<void>;
4547
4547
  onmessage?(message: Uint8Array): void;
4548
4548
  filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
4549
4549
  type?: string;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.7.3-13090257149.commit-df175f2",
4
+ "version": "7.7.3-13092882598.commit-32642df",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.7.3-13090257149.commit-df175f2",
8
- "@dcl/sdk": "7.7.3-13090257149.commit-df175f2"
7
+ "@dcl/js-runtime": "7.7.3-13092882598.commit-32642df",
8
+ "@dcl/sdk": "7.7.3-13092882598.commit-32642df"
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": "df175f269c65f9b03e9f43af8d306839a7480361"
35
+ "commit": "32642dfe933fefba0821334cd112df30cd34ae01"
36
36
  }