@novu/nextjs 3.8.1 → 3.9.2

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.
@@ -26,7 +26,10 @@ __export(app_router_exports, {
26
26
  InboxContent: () => import_react.InboxContent,
27
27
  Notifications: () => import_react.Notifications,
28
28
  NovuProvider: () => import_react.NovuProvider,
29
- Preferences: () => import_react.Preferences
29
+ PreferenceLevel: () => import_react.PreferenceLevel,
30
+ Preferences: () => import_react.Preferences,
31
+ SeverityLevelEnum: () => import_react.SeverityLevelEnum,
32
+ WorkflowCriticalityEnum: () => import_react.WorkflowCriticalityEnum
30
33
  });
31
34
  module.exports = __toCommonJS(app_router_exports);
32
35
  var import_react = require("@novu/react");
@@ -38,6 +41,9 @@ var import_Inbox = require("./Inbox.js");
38
41
  InboxContent,
39
42
  Notifications,
40
43
  NovuProvider,
41
- Preferences
44
+ PreferenceLevel,
45
+ Preferences,
46
+ SeverityLevelEnum,
47
+ WorkflowCriticalityEnum
42
48
  });
43
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/app-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport { Bell, InboxContent, Notifications, NovuProvider, Preferences } from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBAA6E;AAC7E,mBAAsB;","names":[]}
1
+ {"version":3,"sources":["../../../src/app-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport {\n Bell,\n InboxContent,\n Notifications,\n NovuProvider,\n PreferenceLevel,\n Preferences,\n SeverityLevelEnum,\n WorkflowCriticalityEnum,\n} from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBASO;AACP,mBAAsB;","names":[]}
@@ -26,7 +26,10 @@ __export(pages_router_exports, {
26
26
  InboxContent: () => import_react.InboxContent,
27
27
  Notifications: () => import_react.Notifications,
28
28
  NovuProvider: () => import_react.NovuProvider,
29
- Preferences: () => import_react.Preferences
29
+ PreferenceLevel: () => import_react.PreferenceLevel,
30
+ Preferences: () => import_react.Preferences,
31
+ SeverityLevelEnum: () => import_react.SeverityLevelEnum,
32
+ WorkflowCriticalityEnum: () => import_react.WorkflowCriticalityEnum
30
33
  });
31
34
  module.exports = __toCommonJS(pages_router_exports);
32
35
  var import_react = require("@novu/react");
@@ -38,6 +41,9 @@ var import_Inbox = require("./Inbox.js");
38
41
  InboxContent,
39
42
  Notifications,
40
43
  NovuProvider,
41
- Preferences
44
+ PreferenceLevel,
45
+ Preferences,
46
+ SeverityLevelEnum,
47
+ WorkflowCriticalityEnum
42
48
  });
43
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/pages-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport { Bell, InboxContent, Notifications, NovuProvider, Preferences } from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBAA6E;AAC7E,mBAAsB;","names":[]}
1
+ {"version":3,"sources":["../../../src/pages-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport {\n Bell,\n InboxContent,\n Notifications,\n NovuProvider,\n PreferenceLevel,\n Preferences,\n SeverityLevelEnum,\n WorkflowCriticalityEnum,\n} from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBASO;AACP,mBAAsB;","names":[]}
@@ -25,7 +25,10 @@ __export(server_exports, {
25
25
  InboxContent: () => import_server.InboxContent,
26
26
  Notifications: () => import_server.Notifications,
27
27
  NovuProvider: () => import_server.NovuProvider,
28
+ PreferenceLevel: () => import_server.PreferenceLevel,
28
29
  Preferences: () => import_server.Preferences,
30
+ SeverityLevelEnum: () => import_server.SeverityLevelEnum,
31
+ WorkflowCriticalityEnum: () => import_server.WorkflowCriticalityEnum,
29
32
  useCounts: () => import_server.useCounts,
30
33
  useNotifications: () => import_server.useNotifications,
31
34
  useNovu: () => import_server.useNovu,
@@ -40,7 +43,10 @@ var import_server = require("@novu/react/server");
40
43
  InboxContent,
41
44
  Notifications,
42
45
  NovuProvider,
46
+ PreferenceLevel,
43
47
  Preferences,
48
+ SeverityLevelEnum,
49
+ WorkflowCriticalityEnum,
44
50
  useCounts,
45
51
  useNotifications,
46
52
  useNovu,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/server/index.ts"],"sourcesContent":["export type * from '@novu/react';\n\nexport {\n Bell,\n Inbox,\n InboxContent,\n Notifications,\n NovuProvider,\n Preferences,\n useCounts,\n useNotifications,\n useNovu,\n usePreferences,\n} from '@novu/react/server';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAWO;","names":[]}
1
+ {"version":3,"sources":["../../../src/server/index.ts"],"sourcesContent":["export type * from '@novu/react';\n\nexport {\n Bell,\n Inbox,\n InboxContent,\n Notifications,\n NovuProvider,\n PreferenceLevel,\n Preferences,\n SeverityLevelEnum,\n useCounts,\n useNotifications,\n useNovu,\n usePreferences,\n WorkflowCriticalityEnum,\n} from '@novu/react/server';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAcO;","names":[]}
@@ -1,7 +1,16 @@
1
1
  "use client";
2
2
 
3
3
  // src/app-router/index.ts
4
- import { Bell, InboxContent, Notifications, NovuProvider, Preferences } from "@novu/react";
4
+ import {
5
+ Bell,
6
+ InboxContent,
7
+ Notifications,
8
+ NovuProvider,
9
+ PreferenceLevel,
10
+ Preferences,
11
+ SeverityLevelEnum,
12
+ WorkflowCriticalityEnum
13
+ } from "@novu/react";
5
14
  import { Inbox } from "./Inbox.js";
6
15
  export {
7
16
  Bell,
@@ -9,6 +18,9 @@ export {
9
18
  InboxContent,
10
19
  Notifications,
11
20
  NovuProvider,
12
- Preferences
21
+ PreferenceLevel,
22
+ Preferences,
23
+ SeverityLevelEnum,
24
+ WorkflowCriticalityEnum
13
25
  };
14
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/app-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport { Bell, InboxContent, Notifications, NovuProvider, Preferences } from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;AAIA,SAAS,MAAM,cAAc,eAAe,cAAc,mBAAmB;AAC7E,SAAS,aAAa;","names":[]}
1
+ {"version":3,"sources":["../../../src/app-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport {\n Bell,\n InboxContent,\n Notifications,\n NovuProvider,\n PreferenceLevel,\n Preferences,\n SeverityLevelEnum,\n WorkflowCriticalityEnum,\n} from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;AAIA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,aAAa;","names":[]}
@@ -1,7 +1,16 @@
1
1
  "use client";
2
2
 
3
3
  // src/pages-router/index.ts
4
- import { Bell, InboxContent, Notifications, NovuProvider, Preferences } from "@novu/react";
4
+ import {
5
+ Bell,
6
+ InboxContent,
7
+ Notifications,
8
+ NovuProvider,
9
+ PreferenceLevel,
10
+ Preferences,
11
+ SeverityLevelEnum,
12
+ WorkflowCriticalityEnum
13
+ } from "@novu/react";
5
14
  import { Inbox } from "./Inbox.js";
6
15
  export {
7
16
  Bell,
@@ -9,6 +18,9 @@ export {
9
18
  InboxContent,
10
19
  Notifications,
11
20
  NovuProvider,
12
- Preferences
21
+ PreferenceLevel,
22
+ Preferences,
23
+ SeverityLevelEnum,
24
+ WorkflowCriticalityEnum
13
25
  };
14
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/pages-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport { Bell, InboxContent, Notifications, NovuProvider, Preferences } from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;AAIA,SAAS,MAAM,cAAc,eAAe,cAAc,mBAAmB;AAC7E,SAAS,aAAa;","names":[]}
1
+ {"version":3,"sources":["../../../src/pages-router/index.ts"],"sourcesContent":["'use client';\n\n// First export to override anything that we redeclare\nexport type * from '@novu/react';\nexport {\n Bell,\n InboxContent,\n Notifications,\n NovuProvider,\n PreferenceLevel,\n Preferences,\n SeverityLevelEnum,\n WorkflowCriticalityEnum,\n} from '@novu/react';\nexport { Inbox } from './Inbox';\n"],"mappings":";;;AAIA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,aAAa;","names":[]}
@@ -5,11 +5,14 @@ import {
5
5
  InboxContent,
6
6
  Notifications,
7
7
  NovuProvider,
8
+ PreferenceLevel,
8
9
  Preferences,
10
+ SeverityLevelEnum,
9
11
  useCounts,
10
12
  useNotifications,
11
13
  useNovu,
12
- usePreferences
14
+ usePreferences,
15
+ WorkflowCriticalityEnum
13
16
  } from "@novu/react/server";
14
17
  export {
15
18
  Bell,
@@ -17,7 +20,10 @@ export {
17
20
  InboxContent,
18
21
  Notifications,
19
22
  NovuProvider,
23
+ PreferenceLevel,
20
24
  Preferences,
25
+ SeverityLevelEnum,
26
+ WorkflowCriticalityEnum,
21
27
  useCounts,
22
28
  useNotifications,
23
29
  useNovu,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/server/index.ts"],"sourcesContent":["export type * from '@novu/react';\n\nexport {\n Bell,\n Inbox,\n InboxContent,\n Notifications,\n NovuProvider,\n Preferences,\n useCounts,\n useNotifications,\n useNovu,\n usePreferences,\n} from '@novu/react/server';\n"],"mappings":";AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
1
+ {"version":3,"sources":["../../../src/server/index.ts"],"sourcesContent":["export type * from '@novu/react';\n\nexport {\n Bell,\n Inbox,\n InboxContent,\n Notifications,\n NovuProvider,\n PreferenceLevel,\n Preferences,\n SeverityLevelEnum,\n useCounts,\n useNotifications,\n useNovu,\n usePreferences,\n WorkflowCriticalityEnum,\n} from '@novu/react/server';\n"],"mappings":";AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -1,4 +1,4 @@
1
1
  export type * from '@novu/react';
2
- export { Bell, InboxContent, Notifications, NovuProvider, Preferences } from '@novu/react';
2
+ export { Bell, InboxContent, Notifications, NovuProvider, PreferenceLevel, Preferences, SeverityLevelEnum, WorkflowCriticalityEnum, } from '@novu/react';
3
3
  export { Inbox } from './Inbox';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-router/index.ts"],"names":[],"mappings":"AAGA,mBAAmB,aAAa,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-router/index.ts"],"names":[],"mappings":"AAGA,mBAAmB,aAAa,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export type * from '@novu/react';
2
- export { Bell, InboxContent, Notifications, NovuProvider, Preferences } from '@novu/react';
2
+ export { Bell, InboxContent, Notifications, NovuProvider, PreferenceLevel, Preferences, SeverityLevelEnum, WorkflowCriticalityEnum, } from '@novu/react';
3
3
  export { Inbox } from './Inbox';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages-router/index.ts"],"names":[],"mappings":"AAGA,mBAAmB,aAAa,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages-router/index.ts"],"names":[],"mappings":"AAGA,mBAAmB,aAAa,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export type * from '@novu/react';
2
- export { Bell, Inbox, InboxContent, Notifications, NovuProvider, Preferences, useCounts, useNotifications, useNovu, usePreferences, } from '@novu/react/server';
2
+ export { Bell, Inbox, InboxContent, Notifications, NovuProvider, PreferenceLevel, Preferences, SeverityLevelEnum, useCounts, useNotifications, useNovu, usePreferences, WorkflowCriticalityEnum, } from '@novu/react/server';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/server/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,aAAa,CAAC;AAEjC,OAAO,EACL,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,OAAO,EACP,cAAc,GACf,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/server/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,aAAa,CAAC;AAEjC,OAAO,EACL,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,OAAO,EACP,cAAc,EACd,uBAAuB,GACxB,MAAM,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novu/nextjs",
3
- "version": "3.8.1",
3
+ "version": "3.9.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/novuhq/novu",
@@ -93,7 +93,7 @@
93
93
  }
94
94
  },
95
95
  "dependencies": {
96
- "@novu/react": "3.8.1"
96
+ "@novu/react": "3.9.2"
97
97
  },
98
98
  "nx": {
99
99
  "tags": [