@like-a-startup/matildex-chat 1.0.11 → 1.0.13

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.
@@ -8,6 +8,7 @@ export interface Chat {
8
8
  waitingForResponse: Ref<boolean>;
9
9
  loadPreviousSession?: () => Promise<string | undefined>;
10
10
  startNewSession?: () => Promise<void>;
11
+ resetSession?: () => Promise<void>;
11
12
  sendMessage: (text: string, files?: File[]) => Promise<SendMessageResponse | null>;
12
13
  ws?: WebSocket | null;
13
14
  }
package/package.json CHANGED
@@ -1,24 +1,6 @@
1
1
  {
2
2
  "name": "@like-a-startup/matildex-chat",
3
- "version": "1.0.11",
4
- "scripts": {
5
- "dev": "pnpm run storybook",
6
- "build": "pnpm build:vite && pnpm build:bundle",
7
- "build:vite": "cross-env vite build",
8
- "build:bundle": "cross-env INCLUDE_VUE=true vite build",
9
- "preview": "vite preview",
10
- "test:dev": "vitest",
11
- "test": "vitest run",
12
- "typecheck": "vue-tsc --noEmit",
13
- "lint": "eslint src --quiet",
14
- "lint:fix": "eslint src --fix",
15
- "lint:styles": "stylelint \"src/**/*.{scss,sass,vue}\" --cache",
16
- "lint:styles:fix": "stylelint \"src/**/*.{scss,sass,vue}\" --fix --cache",
17
- "format": "biome format --write src .storybook && prettier --write src/ --ignore-path ../../../../.prettierignore",
18
- "format:check": "biome ci src .storybook && prettier --check src/ --ignore-path ../../../../.prettierignore",
19
- "storybook": "storybook dev -p 6006 --no-open",
20
- "build:storybook": "storybook build"
21
- },
3
+ "version": "1.0.13",
22
4
  "types": "./dist/index.d.ts",
23
5
  "main": "./dist/chat.umd.js",
24
6
  "module": "./dist/chat.es.js",
@@ -38,33 +20,51 @@
38
20
  }
39
21
  },
40
22
  "dependencies": {
41
- "@n8n/design-system": "workspace:*",
42
- "@vueuse/core": "catalog:frontend",
43
- "highlight.js": "catalog:frontend",
23
+ "@vueuse/core": "^10.11.0",
24
+ "highlight.js": "^11.8.0",
44
25
  "markdown-it-link-attributes": "^4.0.1",
45
- "uuid": "catalog:",
26
+ "uuid": "10.0.0",
46
27
  "katex": "^0.16.9",
47
28
  "markdown-it-katex": "^2.0.3",
48
- "vue": "catalog:frontend",
49
- "vue-markdown-render": "catalog:frontend"
29
+ "vue": "^3.5.13",
30
+ "vue-markdown-render": "^2.2.1",
31
+ "@n8n/design-system": "1.94.0"
50
32
  },
51
33
  "devDependencies": {
52
34
  "@iconify-json/mdi": "^1.1.54",
53
- "@n8n/storybook": "workspace:*",
54
- "@n8n/eslint-config": "workspace:*",
55
- "@n8n/stylelint-config": "workspace:*",
56
- "@n8n/typescript-config": "workspace:*",
57
- "@n8n/vitest-config": "workspace:*",
58
- "@vitejs/plugin-vue": "catalog:frontend",
59
- "@vitest/coverage-v8": "catalog:",
35
+ "@vitejs/plugin-vue": "^5.2.4",
36
+ "@vitest/coverage-v8": "3.2.4",
60
37
  "unplugin-icons": "^0.19.0",
61
- "vite": "catalog:",
62
- "vitest": "catalog:",
38
+ "vite": "^6.3.5",
39
+ "vitest": "^3.1.3",
63
40
  "vite-plugin-dts": "^4.5.3",
64
- "vue-tsc": "catalog:frontend"
41
+ "vue-tsc": "^2.2.8",
42
+ "@n8n/storybook": "0.0.1",
43
+ "@n8n/typescript-config": "1.3.0",
44
+ "@n8n/eslint-config": "0.0.1",
45
+ "@n8n/stylelint-config": "0.0.1",
46
+ "@n8n/vitest-config": "1.5.0"
65
47
  },
66
48
  "files": [
67
49
  "README.md",
68
50
  "dist"
69
- ]
51
+ ],
52
+ "scripts": {
53
+ "dev": "pnpm run storybook",
54
+ "build": "pnpm build:vite && pnpm build:bundle",
55
+ "build:vite": "cross-env vite build",
56
+ "build:bundle": "cross-env INCLUDE_VUE=true vite build",
57
+ "preview": "vite preview",
58
+ "test:dev": "vitest",
59
+ "test": "vitest run",
60
+ "typecheck": "vue-tsc --noEmit",
61
+ "lint": "eslint src --quiet",
62
+ "lint:fix": "eslint src --fix",
63
+ "lint:styles": "stylelint \"src/**/*.{scss,sass,vue}\" --cache",
64
+ "lint:styles:fix": "stylelint \"src/**/*.{scss,sass,vue}\" --fix --cache",
65
+ "format": "biome format --write src .storybook && prettier --write src/ --ignore-path ../../../../.prettierignore",
66
+ "format:check": "biome ci src .storybook && prettier --check src/ --ignore-path ../../../../.prettierignore",
67
+ "storybook": "storybook dev -p 6006 --no-open",
68
+ "build:storybook": "storybook build"
69
+ }
70
70
  }