@workadventure/iframe-api-typings 1.24.2 → 1.24.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workadventure/iframe-api-typings",
3
- "version": "v1.24.2",
3
+ "version": "v1.24.4",
4
4
  "description": "Typescript typings for WorkAdventure iFrame API",
5
5
  "main": "iframe_api.js",
6
6
  "types": "iframe_api.d.ts",
@@ -1601,25 +1601,25 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1601
1601
  type: z.ZodLiteral<"userInputChat">;
1602
1602
  data: z.ZodObject<{
1603
1603
  message: z.ZodString;
1604
- senderId: z.ZodOptional<z.ZodNumber>;
1604
+ senderId: z.ZodOptional<z.ZodString>;
1605
1605
  }, "strip", z.ZodTypeAny, {
1606
1606
  message: string;
1607
- senderId?: number | undefined;
1607
+ senderId?: string | undefined;
1608
1608
  }, {
1609
1609
  message: string;
1610
- senderId?: number | undefined;
1610
+ senderId?: string | undefined;
1611
1611
  }>;
1612
1612
  }, "strip", z.ZodTypeAny, {
1613
1613
  type: "userInputChat";
1614
1614
  data: {
1615
1615
  message: string;
1616
- senderId?: number | undefined;
1616
+ senderId?: string | undefined;
1617
1617
  };
1618
1618
  }, {
1619
1619
  type: "userInputChat";
1620
1620
  data: {
1621
1621
  message: string;
1622
- senderId?: number | undefined;
1622
+ senderId?: string | undefined;
1623
1623
  };
1624
1624
  }>, z.ZodObject<{
1625
1625
  type: z.ZodLiteral<"joinProximityMeetingEvent">;
@@ -1,13 +1,13 @@
1
1
  import { z } from "zod";
2
2
  export declare const isUserInputChatEvent: z.ZodObject<{
3
3
  message: z.ZodString;
4
- senderId: z.ZodOptional<z.ZodNumber>;
4
+ senderId: z.ZodOptional<z.ZodString>;
5
5
  }, "strip", z.ZodTypeAny, {
6
6
  message: string;
7
- senderId?: number | undefined;
7
+ senderId?: string | undefined;
8
8
  }, {
9
9
  message: string;
10
- senderId?: number | undefined;
10
+ senderId?: string | undefined;
11
11
  }>;
12
12
  /**
13
13
  * A message sent from the game to the iFrame when a user types a message in the chat.
@@ -13,7 +13,7 @@ export declare class WorkadventureChatCommands<PublicState extends {
13
13
  type: "userInputChat";
14
14
  callback: (event: {
15
15
  message: string;
16
- senderId?: number | undefined;
16
+ senderId?: string | undefined;
17
17
  }) => void;
18
18
  }[];
19
19
  /**