@botfabrik/engine-webclient 4.43.2 → 4.44.1

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.
@@ -1,22 +1,20 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en" translate="no" class="notranslate">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="./favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta name="google" content="notranslate" />
9
+ <title>Bubble Chat Client</title>
10
+ <script type="module" crossorigin src="./assets/index-2bed803d.js"></script>
11
+ <link rel="stylesheet" href="./assets/index-4125a820.css">
12
+ </head>
3
13
 
4
- <head>
5
- <meta charset="utf-8" />
6
- <link rel="icon" href="./favicon.ico" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
- <meta name="theme-color" content="#000000" />
9
- <meta name="google" content="notranslate" />
10
- <title>Bubble Chat Client</title>
11
- <script type="module" crossorigin src="./assets/index-2bed803d.js"></script>
12
- <link rel="stylesheet" href="./assets/index-4125a820.css">
13
- </head>
14
-
15
- <body>
16
- <div id="root"></div>
17
- <!-- allows you to override default style by providing this css file -->
18
- <link rel="stylesheet" type="text/css" href="./custom.css">
19
-
20
- </body>
21
-
22
- </html>
14
+ <body>
15
+ <div id="root"></div>
16
+ <!-- allows you to override default style by providing this css file -->
17
+ <link rel="stylesheet" type="text/css" href="./custom.css" />
18
+
19
+ </body>
20
+ </html>
@@ -42,7 +42,12 @@ const createSessionInfo_1 = __importDefault(require("./createSessionInfo"));
42
42
  ip: '',
43
43
  referrer: '',
44
44
  userAgent: {
45
- browser: { name: 'Mobile Safari', version: '13.0.3', windowWidth: 1024, windowHeight: 912 },
45
+ browser: {
46
+ name: 'Mobile Safari',
47
+ version: '13.0.3',
48
+ windowWidth: 1024,
49
+ windowHeight: 912,
50
+ },
46
51
  os: { name: 'iOS', version: '13.2.3' },
47
52
  device: { vendor: 'Apple', model: 'iPhone', type: 'mobile' },
48
53
  },
@@ -57,7 +62,10 @@ const createSessionInfo_1 = __importDefault(require("./createSessionInfo"));
57
62
  // client
58
63
  (0, globals_1.expect)(sessionInfo.client.name).toBe('my-client');
59
64
  (0, globals_1.expect)(sessionInfo.client.type).toBe('webclient');
60
- (0, globals_1.expect)(sessionInfo.client.payload.headers).toEqual({ ...headers, cookie: undefined }); // cookies sollen nicht gespeichert werden
65
+ (0, globals_1.expect)(sessionInfo.client.payload.headers).toEqual({
66
+ ...headers,
67
+ cookie: undefined,
68
+ }); // cookies sollen nicht gespeichert werden
61
69
  (0, globals_1.expect)(sessionInfo.client.payload.querystrings).toEqual(querystrings);
62
70
  (0, globals_1.expect)(sessionInfo.client.payload.ip).toBe('151.248.213.117');
63
71
  // user