@workadventure/iframe-api-typings 1.15.10 → 1.15.11

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.
@@ -1227,6 +1227,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1227
1227
  bgColor: z.ZodOptional<z.ZodString>;
1228
1228
  textColor: z.ZodOptional<z.ZodString>;
1229
1229
  closable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1230
+ timeToClose: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1230
1231
  link: z.ZodOptional<z.ZodObject<{
1231
1232
  url: z.ZodString;
1232
1233
  label: z.ZodString;
@@ -1247,10 +1248,12 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1247
1248
  text: string;
1248
1249
  closable: boolean;
1249
1250
  id: string;
1251
+ timeToClose: number;
1250
1252
  }, {
1251
1253
  closable?: boolean | undefined;
1252
1254
  bgColor?: string | undefined;
1253
1255
  textColor?: string | undefined;
1256
+ timeToClose?: number | undefined;
1254
1257
  link?: {
1255
1258
  url: string;
1256
1259
  label: string;
@@ -1270,6 +1273,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1270
1273
  text: string;
1271
1274
  closable: boolean;
1272
1275
  id: string;
1276
+ timeToClose: number;
1273
1277
  };
1274
1278
  }, {
1275
1279
  type: "openBanner";
@@ -1277,6 +1281,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1277
1281
  closable?: boolean | undefined;
1278
1282
  bgColor?: string | undefined;
1279
1283
  textColor?: string | undefined;
1284
+ timeToClose?: number | undefined;
1280
1285
  link?: {
1281
1286
  url: string;
1282
1287
  label: string;
@@ -5,6 +5,7 @@ export declare const isBannerEvent: z.ZodObject<{
5
5
  bgColor: z.ZodOptional<z.ZodString>;
6
6
  textColor: z.ZodOptional<z.ZodString>;
7
7
  closable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
+ timeToClose: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8
9
  link: z.ZodOptional<z.ZodObject<{
9
10
  url: z.ZodString;
10
11
  label: z.ZodString;
@@ -25,10 +26,12 @@ export declare const isBannerEvent: z.ZodObject<{
25
26
  text: string;
26
27
  closable: boolean;
27
28
  id: string;
29
+ timeToClose: number;
28
30
  }, {
29
31
  closable?: boolean | undefined;
30
32
  bgColor?: string | undefined;
31
33
  textColor?: string | undefined;
34
+ timeToClose?: number | undefined;
32
35
  link?: {
33
36
  url: string;
34
37
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workadventure/iframe-api-typings",
3
- "version": "v1.15.10",
3
+ "version": "v1.15.11",
4
4
  "description": "Typescript typings for WorkAdventure iFrame API",
5
5
  "main": "iframe_api.js",
6
6
  "types": "iframe_api.d.ts",