@dcl/playground-assets 7.7.1 → 7.7.2-12951019665.commit-c8695cd

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.1",
4
+ "version": "7.7.2-12951019665.commit-c8695cd",
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": "01f47021cb864d6d8e8abd32f2d5bf8dc9856e91"
38
+ "commit": "c8695cd9b94e87ad567520089969583d9d36637f"
39
39
  }
@@ -7219,7 +7219,11 @@ export declare type TransformTypeWithOptionals = Partial<TransformType>;
7219
7219
  * @public
7220
7220
  */
7221
7221
  export declare type Transport = {
7222
- send(message: Uint8Array): Promise<void>;
7222
+ /**
7223
+ * For Network messages its an Uint8Array[]. Due too the LiveKit MAX_SIZE = 13kb
7224
+ * For Renderer & Other transports we send a single Uint8Array
7225
+ */
7226
+ send(message: Uint8Array | Uint8Array[]): Promise<void>;
7223
7227
  onmessage?(message: Uint8Array): void;
7224
7228
  filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
7225
7229
  type?: string;
@@ -68727,7 +68727,16 @@
68727
68727
  },
68728
68728
  {
68729
68729
  "kind": "Content",
68730
- "text": "): "
68730
+ "text": " | "
68731
+ },
68732
+ {
68733
+ "kind": "Reference",
68734
+ "text": "Uint8Array",
68735
+ "canonicalReference": "!Uint8Array:interface"
68736
+ },
68737
+ {
68738
+ "kind": "Content",
68739
+ "text": "[]): "
68731
68740
  },
68732
68741
  {
68733
68742
  "kind": "Reference",
@@ -68775,7 +68784,7 @@
68775
68784
  "name": "Transport",
68776
68785
  "typeTokenRange": {
68777
68786
  "startIndex": 1,
68778
- "endIndex": 12
68787
+ "endIndex": 14
68779
68788
  }
68780
68789
  },
68781
68790
  {
@@ -4081,7 +4081,7 @@ export type TransformTypeWithOptionals = Partial<TransformType>;
4081
4081
 
4082
4082
  // @public (undocumented)
4083
4083
  export type Transport = {
4084
- send(message: Uint8Array): Promise<void>;
4084
+ send(message: Uint8Array | Uint8Array[]): Promise<void>;
4085
4085
  onmessage?(message: Uint8Array): void;
4086
4086
  filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
4087
4087
  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.1",
4
+ "version": "7.7.2-12951019665.commit-c8695cd",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.7.1",
8
- "@dcl/sdk": "7.7.1"
7
+ "@dcl/js-runtime": "7.7.2-12951019665.commit-c8695cd",
8
+ "@dcl/sdk": "7.7.2-12951019665.commit-c8695cd"
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": "01f47021cb864d6d8e8abd32f2d5bf8dc9856e91"
35
+ "commit": "c8695cd9b94e87ad567520089969583d9d36637f"
36
36
  }