@botpress/webchat 2.4.0-beta.4 → 2.4.0-beta.5

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.
@@ -4,14 +4,17 @@ export declare const userPropsSchema: z.ZodObject<{
4
4
  name: z.ZodOptional<z.ZodString>;
5
5
  pictureUrl: z.ZodOptional<z.ZodString>;
6
6
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ userKey: z.ZodOptional<z.ZodString>;
7
8
  }, "strip", z.ZodTypeAny, {
8
9
  name?: string | undefined;
9
10
  pictureUrl?: string | undefined;
10
11
  data?: Record<string, unknown> | undefined;
12
+ userKey?: string | undefined;
11
13
  }, {
12
14
  name?: string | undefined;
13
15
  pictureUrl?: string | undefined;
14
16
  data?: Record<string, unknown> | undefined;
17
+ userKey?: string | undefined;
15
18
  }>;
16
19
  export declare const configPropsSchema: z.ZodObject<{
17
20
  configuration: z.ZodCatch<z.ZodOptional<z.ZodObject<{
@@ -3753,14 +3756,17 @@ export declare const configPropsSchema: z.ZodObject<{
3753
3756
  name: z.ZodOptional<z.ZodString>;
3754
3757
  pictureUrl: z.ZodOptional<z.ZodString>;
3755
3758
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3759
+ userKey: z.ZodOptional<z.ZodString>;
3756
3760
  }, "strip", z.ZodTypeAny, {
3757
3761
  name?: string | undefined;
3758
3762
  pictureUrl?: string | undefined;
3759
3763
  data?: Record<string, unknown> | undefined;
3764
+ userKey?: string | undefined;
3760
3765
  }, {
3761
3766
  name?: string | undefined;
3762
3767
  pictureUrl?: string | undefined;
3763
3768
  data?: Record<string, unknown> | undefined;
3769
+ userKey?: string | undefined;
3764
3770
  }>>>;
3765
3771
  }, "strip", z.ZodTypeAny, {
3766
3772
  configuration?: {
@@ -4222,6 +4228,7 @@ export declare const configPropsSchema: z.ZodObject<{
4222
4228
  name?: string | undefined;
4223
4229
  pictureUrl?: string | undefined;
4224
4230
  data?: Record<string, unknown> | undefined;
4231
+ userKey?: string | undefined;
4225
4232
  } | undefined;
4226
4233
  }, {
4227
4234
  configuration?: unknown;
@@ -7969,14 +7976,17 @@ export declare const initPropsSchema: z.ZodObject<{
7969
7976
  name: z.ZodOptional<z.ZodString>;
7970
7977
  pictureUrl: z.ZodOptional<z.ZodString>;
7971
7978
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7979
+ userKey: z.ZodOptional<z.ZodString>;
7972
7980
  }, "strip", z.ZodTypeAny, {
7973
7981
  name?: string | undefined;
7974
7982
  pictureUrl?: string | undefined;
7975
7983
  data?: Record<string, unknown> | undefined;
7984
+ userKey?: string | undefined;
7976
7985
  }, {
7977
7986
  name?: string | undefined;
7978
7987
  pictureUrl?: string | undefined;
7979
7988
  data?: Record<string, unknown> | undefined;
7989
+ userKey?: string | undefined;
7980
7990
  }>>>;
7981
7991
  clientId: z.ZodString;
7982
7992
  botId: z.ZodString;
@@ -8447,6 +8457,7 @@ export declare const initPropsSchema: z.ZodObject<{
8447
8457
  name?: string | undefined;
8448
8458
  pictureUrl?: string | undefined;
8449
8459
  data?: Record<string, unknown> | undefined;
8460
+ userKey?: string | undefined;
8450
8461
  } | undefined;
8451
8462
  selector?: string | undefined;
8452
8463
  webchatScriptUrl?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/webchat",
3
- "version": "2.4.0-beta.4",
3
+ "version": "2.4.0-beta.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.cjs",