wineater-bot 4.5.9 → 4.5.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.
package/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
7
  <title>Chatbot</title>
8
8
  <!-- TODO: replace later with __WINEATER_WIDGET_DATA__ -->
9
- <script>window.wineaterData = { CLIENT_TOKEN: 'l3yovIe7qdAkOCO9ZJMb0sOZLWJArwQkHkeC5Fj7IBox5GPGJoaL32dC4WRQ4Yli', WIDGET_TYPE: 'store' };</script>
9
+ <script>window.wineaterData = { CLIENT_TOKEN: 'emZGQHlITdVpwvK2hLXRopFS2emvorRsHadgaKbJThiVCPRWRzD0JyZrxrtgt10a', WIDGET_TYPE: 'store' };</script>
10
10
  <!-- Production build checks -->
11
11
  <!-- <script type="module" src="./dist/wineater-chatbot.mjs"></script> -->
12
12
  <!-- Production CDN -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wineater-bot",
3
- "version": "4.5.9",
3
+ "version": "4.5.11",
4
4
  "description": "",
5
5
  "main": "dist/wineater-chatbot.mjs",
6
6
  "module": "src/index.js",
package/src/App.svelte CHANGED
@@ -347,7 +347,7 @@
347
347
  margin: 0;
348
348
  padding: 0;
349
349
 
350
- font-family: var(--wineater-font-primary, sans-serif);
350
+ font-family: var(--wineater-font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif);
351
351
  }
352
352
 
353
353
  /* ===================== 3) Widget Container ===================== */
@@ -213,6 +213,8 @@
213
213
 
214
214
  .wr-WineTile-image {
215
215
  height: 200px;
216
+ width: 100%;
217
+ max-width: 100%;
216
218
  object-fit: contain;
217
219
  margin: 0 auto 16px;
218
220
  display: block;
@@ -34,7 +34,7 @@ export type RecommendedWine = Omit<Wine, "shortDescription" | "producer" | "pair
34
34
  };
35
35
 
36
36
  class WineaterApi {
37
- #baseUrl = 'https://api.wineater.com/';
37
+ #baseUrl = 'http://localhost:3000/';
38
38
  #token: string;
39
39
 
40
40
  constructor(token: string) {
@@ -85,5 +85,13 @@ export const projectConfigs: Record<string, ProjectUiConfig> = {
85
85
  buttonUppercase: true,
86
86
  customCss: "",
87
87
  translations: {}
88
+ },
89
+ "28": {
90
+ logoUrl: "https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/ryba_moya.png",
91
+ brandColor: "#de4e2a",
92
+ wineaterColor: "#7B2BEB",
93
+ buttonUppercase: true,
94
+ customCss: "",
95
+ translations: {}
88
96
  }
89
97
  };