@n8n/stores 2.35.3 → 2.35.4

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,8 +1,8 @@
1
1
  import { t as ModalOpeners } from "./modalOpeners2.mjs";
2
- import * as pinia6 from "pinia";
3
- import * as vue212 from "vue";
2
+ import * as pinia7 from "pinia";
3
+ import * as vue443 from "vue";
4
4
  import { IVersionNotificationSettings } from "@n8n/api-types";
5
- import * as n8n_workflow0 from "n8n-workflow";
5
+ import * as n8n_workflow5 from "n8n-workflow";
6
6
  import * as versionsApi from "@n8n/rest-api-client/api/versions";
7
7
  import { Version } from "@n8n/rest-api-client/api/versions";
8
8
 
@@ -12,16 +12,16 @@ type SetVersionParams = {
12
12
  currentVersion: string;
13
13
  };
14
14
  declare const SEMVER_REGEX: RegExp;
15
- declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
16
- currentVersion: vue212.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
17
- latestVersion: vue212.ComputedRef<{
15
+ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
16
+ currentVersion: vue443.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
17
+ latestVersion: vue443.ComputedRef<{
18
18
  name: string;
19
19
  nodes: {
20
20
  name: string;
21
21
  displayName: string;
22
22
  icon: string;
23
23
  iconUrl?: string | undefined;
24
- defaults: n8n_workflow0.INodeParameters;
24
+ defaults: n8n_workflow5.INodeParameters;
25
25
  iconData: {
26
26
  type: string;
27
27
  icon?: string | undefined;
@@ -37,14 +37,14 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
37
37
  hasSecurityIssue: boolean;
38
38
  securityIssueFixVersion: string;
39
39
  }>;
40
- nextVersions: vue212.Ref<{
40
+ nextVersions: vue443.Ref<{
41
41
  name: string;
42
42
  nodes: {
43
43
  name: string;
44
44
  displayName: string;
45
45
  icon: string;
46
46
  iconUrl?: string | undefined;
47
- defaults: n8n_workflow0.INodeParameters;
47
+ defaults: n8n_workflow5.INodeParameters;
48
48
  iconData: {
49
49
  type: string;
50
50
  icon?: string | undefined;
@@ -66,7 +66,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
66
66
  displayName: string;
67
67
  icon: string;
68
68
  iconUrl?: string | undefined;
69
- defaults: n8n_workflow0.INodeParameters;
69
+ defaults: n8n_workflow5.INodeParameters;
70
70
  iconData: {
71
71
  type: string;
72
72
  icon?: string | undefined;
@@ -82,17 +82,17 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
82
82
  hasSecurityIssue: boolean;
83
83
  securityIssueFixVersion: string;
84
84
  }[]>;
85
- hasVersionUpdates: vue212.ComputedRef<boolean>;
86
- hasSignificantUpdates: vue212.ComputedRef<boolean>;
87
- areNotificationsEnabled: vue212.ComputedRef<boolean>;
88
- infoUrl: vue212.ComputedRef<string>;
85
+ hasVersionUpdates: vue443.ComputedRef<boolean>;
86
+ hasSignificantUpdates: vue443.ComputedRef<boolean>;
87
+ areNotificationsEnabled: vue443.ComputedRef<boolean>;
88
+ infoUrl: vue443.ComputedRef<string>;
89
89
  fetchVersions: () => Promise<void>;
90
90
  setVersions: (params: SetVersionParams) => void;
91
91
  initialize: (settings: IVersionNotificationSettings) => void;
92
92
  registerModalOpeners: (openers: ModalOpeners) => void;
93
93
  checkForNewVersions: () => Promise<void>;
94
94
  fetchWhatsNew: () => Promise<void>;
95
- whatsNew: vue212.Ref<{
95
+ whatsNew: vue443.Ref<{
96
96
  title: string;
97
97
  calloutText: string;
98
98
  footer: string;
@@ -121,7 +121,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
121
121
  createdAt: string;
122
122
  updatedAt: string | null;
123
123
  }>;
124
- whatsNewArticles: vue212.ComputedRef<{
124
+ whatsNewArticles: vue443.ComputedRef<{
125
125
  id: number;
126
126
  createdAt: string;
127
127
  updatedAt: string | null;
@@ -135,15 +135,15 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
135
135
  shouldShowWhatsNewCallout: () => boolean;
136
136
  dismissWhatsNewCallout: () => void;
137
137
  }, "currentVersion" | "nextVersions" | "whatsNew">, Pick<{
138
- currentVersion: vue212.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
139
- latestVersion: vue212.ComputedRef<{
138
+ currentVersion: vue443.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
139
+ latestVersion: vue443.ComputedRef<{
140
140
  name: string;
141
141
  nodes: {
142
142
  name: string;
143
143
  displayName: string;
144
144
  icon: string;
145
145
  iconUrl?: string | undefined;
146
- defaults: n8n_workflow0.INodeParameters;
146
+ defaults: n8n_workflow5.INodeParameters;
147
147
  iconData: {
148
148
  type: string;
149
149
  icon?: string | undefined;
@@ -159,14 +159,14 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
159
159
  hasSecurityIssue: boolean;
160
160
  securityIssueFixVersion: string;
161
161
  }>;
162
- nextVersions: vue212.Ref<{
162
+ nextVersions: vue443.Ref<{
163
163
  name: string;
164
164
  nodes: {
165
165
  name: string;
166
166
  displayName: string;
167
167
  icon: string;
168
168
  iconUrl?: string | undefined;
169
- defaults: n8n_workflow0.INodeParameters;
169
+ defaults: n8n_workflow5.INodeParameters;
170
170
  iconData: {
171
171
  type: string;
172
172
  icon?: string | undefined;
@@ -188,7 +188,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
188
188
  displayName: string;
189
189
  icon: string;
190
190
  iconUrl?: string | undefined;
191
- defaults: n8n_workflow0.INodeParameters;
191
+ defaults: n8n_workflow5.INodeParameters;
192
192
  iconData: {
193
193
  type: string;
194
194
  icon?: string | undefined;
@@ -204,17 +204,17 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
204
204
  hasSecurityIssue: boolean;
205
205
  securityIssueFixVersion: string;
206
206
  }[]>;
207
- hasVersionUpdates: vue212.ComputedRef<boolean>;
208
- hasSignificantUpdates: vue212.ComputedRef<boolean>;
209
- areNotificationsEnabled: vue212.ComputedRef<boolean>;
210
- infoUrl: vue212.ComputedRef<string>;
207
+ hasVersionUpdates: vue443.ComputedRef<boolean>;
208
+ hasSignificantUpdates: vue443.ComputedRef<boolean>;
209
+ areNotificationsEnabled: vue443.ComputedRef<boolean>;
210
+ infoUrl: vue443.ComputedRef<string>;
211
211
  fetchVersions: () => Promise<void>;
212
212
  setVersions: (params: SetVersionParams) => void;
213
213
  initialize: (settings: IVersionNotificationSettings) => void;
214
214
  registerModalOpeners: (openers: ModalOpeners) => void;
215
215
  checkForNewVersions: () => Promise<void>;
216
216
  fetchWhatsNew: () => Promise<void>;
217
- whatsNew: vue212.Ref<{
217
+ whatsNew: vue443.Ref<{
218
218
  title: string;
219
219
  calloutText: string;
220
220
  footer: string;
@@ -243,7 +243,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
243
243
  createdAt: string;
244
244
  updatedAt: string | null;
245
245
  }>;
246
- whatsNewArticles: vue212.ComputedRef<{
246
+ whatsNewArticles: vue443.ComputedRef<{
247
247
  id: number;
248
248
  createdAt: string;
249
249
  updatedAt: string | null;
@@ -257,15 +257,15 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
257
257
  shouldShowWhatsNewCallout: () => boolean;
258
258
  dismissWhatsNewCallout: () => void;
259
259
  }, "latestVersion" | "infoUrl" | "hasVersionUpdates" | "hasSignificantUpdates" | "areNotificationsEnabled" | "whatsNewArticles">, Pick<{
260
- currentVersion: vue212.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
261
- latestVersion: vue212.ComputedRef<{
260
+ currentVersion: vue443.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
261
+ latestVersion: vue443.ComputedRef<{
262
262
  name: string;
263
263
  nodes: {
264
264
  name: string;
265
265
  displayName: string;
266
266
  icon: string;
267
267
  iconUrl?: string | undefined;
268
- defaults: n8n_workflow0.INodeParameters;
268
+ defaults: n8n_workflow5.INodeParameters;
269
269
  iconData: {
270
270
  type: string;
271
271
  icon?: string | undefined;
@@ -281,14 +281,14 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
281
281
  hasSecurityIssue: boolean;
282
282
  securityIssueFixVersion: string;
283
283
  }>;
284
- nextVersions: vue212.Ref<{
284
+ nextVersions: vue443.Ref<{
285
285
  name: string;
286
286
  nodes: {
287
287
  name: string;
288
288
  displayName: string;
289
289
  icon: string;
290
290
  iconUrl?: string | undefined;
291
- defaults: n8n_workflow0.INodeParameters;
291
+ defaults: n8n_workflow5.INodeParameters;
292
292
  iconData: {
293
293
  type: string;
294
294
  icon?: string | undefined;
@@ -310,7 +310,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
310
310
  displayName: string;
311
311
  icon: string;
312
312
  iconUrl?: string | undefined;
313
- defaults: n8n_workflow0.INodeParameters;
313
+ defaults: n8n_workflow5.INodeParameters;
314
314
  iconData: {
315
315
  type: string;
316
316
  icon?: string | undefined;
@@ -326,17 +326,17 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
326
326
  hasSecurityIssue: boolean;
327
327
  securityIssueFixVersion: string;
328
328
  }[]>;
329
- hasVersionUpdates: vue212.ComputedRef<boolean>;
330
- hasSignificantUpdates: vue212.ComputedRef<boolean>;
331
- areNotificationsEnabled: vue212.ComputedRef<boolean>;
332
- infoUrl: vue212.ComputedRef<string>;
329
+ hasVersionUpdates: vue443.ComputedRef<boolean>;
330
+ hasSignificantUpdates: vue443.ComputedRef<boolean>;
331
+ areNotificationsEnabled: vue443.ComputedRef<boolean>;
332
+ infoUrl: vue443.ComputedRef<string>;
333
333
  fetchVersions: () => Promise<void>;
334
334
  setVersions: (params: SetVersionParams) => void;
335
335
  initialize: (settings: IVersionNotificationSettings) => void;
336
336
  registerModalOpeners: (openers: ModalOpeners) => void;
337
337
  checkForNewVersions: () => Promise<void>;
338
338
  fetchWhatsNew: () => Promise<void>;
339
- whatsNew: vue212.Ref<{
339
+ whatsNew: vue443.Ref<{
340
340
  title: string;
341
341
  calloutText: string;
342
342
  footer: string;
@@ -365,7 +365,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
365
365
  createdAt: string;
366
366
  updatedAt: string | null;
367
367
  }>;
368
- whatsNewArticles: vue212.ComputedRef<{
368
+ whatsNewArticles: vue443.ComputedRef<{
369
369
  id: number;
370
370
  createdAt: string;
371
371
  updatedAt: string | null;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@n8n/stores",
3
3
  "type": "module",
4
- "version": "2.35.3",
4
+ "version": "2.35.4",
5
5
  "files": [
6
6
  "dist",
7
- "LICENSE.md",
8
- "LICENSE_EE.md"
7
+ "LICENSE_EE.md",
8
+ "LICENSE.md"
9
9
  ],
10
10
  "main": "dist/index.cjs",
11
11
  "module": "dist/index.mjs",
@@ -27,14 +27,14 @@
27
27
  "bowser": "2.11.0",
28
28
  "pinia": "^2.2.4",
29
29
  "vue": "^3.5.13",
30
- "@n8n/api-types": "1.35.3",
31
- "@n8n/composables": "1.25.3",
30
+ "@n8n/api-types": "1.35.4",
32
31
  "@n8n/frontend-constants": "0.4.0",
33
- "@n8n/i18n": "2.35.3",
34
- "@n8n/permissions": "0.72.0",
35
- "@n8n/rest-api-client": "2.35.3",
36
32
  "@n8n/constants": "0.34.0",
37
- "n8n-workflow": "2.35.2"
33
+ "@n8n/i18n": "2.35.4",
34
+ "@n8n/composables": "1.25.4",
35
+ "@n8n/rest-api-client": "2.35.4",
36
+ "n8n-workflow": "2.35.3",
37
+ "@n8n/permissions": "0.72.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "^6.6.3",
@@ -51,8 +51,8 @@
51
51
  "vue-tsc": "^2.2.8",
52
52
  "@n8n/eslint-config": "0.0.1",
53
53
  "@n8n/playwright-janitor": "0.1.0",
54
- "@n8n/vitest-config": "1.20.0",
55
- "@n8n/typescript-config": "1.9.0"
54
+ "@n8n/typescript-config": "1.9.0",
55
+ "@n8n/vitest-config": "1.20.0"
56
56
  },
57
57
  "license": "SEE LICENSE IN LICENSE.md",
58
58
  "homepage": "https://n8n.io",