@novu/react 3.14.1 → 3.15.0-rc.cd43306f31

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,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentType, PropsWithChildren } from 'react';
2
+ import { PropsWithChildren, ComponentType } from 'react';
3
3
 
4
4
  type RendererProps = PropsWithChildren;
5
5
  declare const Renderer: (props: RendererProps) => react_jsx_runtime.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { SeverityLevelEnum, WorkflowCriticalityEnum, Preference, NovuError } from '@novu/js';
1
+ import { Preference, NovuError, SeverityLevelEnum, WorkflowCriticalityEnum } from '@novu/js';
2
2
 
3
3
  type UsePreferencesProps = {
4
4
  filter?: {
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  Bell: () => import_components.Bell,
24
24
  Inbox: () => import_components.Inbox,
25
25
  InboxContent: () => import_components.InboxContent,
@@ -43,7 +43,7 @@ __export(src_exports, {
43
43
  useSubscriptions: () => import_hooks.useSubscriptions,
44
44
  useUpdateSubscription: () => import_hooks.useUpdateSubscription
45
45
  });
46
- module.exports = __toCommonJS(src_exports);
46
+ module.exports = __toCommonJS(index_exports);
47
47
  var import_js = require("@novu/js");
48
48
  var import_components = require("./components/index.cjs");
49
49
  var import_hooks = require("./hooks/index.cjs");
@@ -1,5 +1,5 @@
1
- import { UnreadCount, NovuSocketOptions, DefaultSchedule, Context, Subscriber } from '@novu/js';
2
- import { Notification, InboxIconKey, InboxTheme, SubscriptionIconKey, SubscriptionTheme, AllIconKey, AllTheme, NotificationClickHandler, NotificationActionClickHandler, InboxProps, InboxLocalization, Tab, PreferencesFilter, PreferenceGroups, PreferencesSort, RouterPush } from '@novu/js/ui';
1
+ import { NovuSocketOptions, DefaultSchedule, Context, Subscriber, UnreadCount } from '@novu/js';
2
+ import { InboxTheme, InboxIconKey, InboxLocalization, Tab, PreferencesFilter, PreferenceGroups, PreferencesSort, RouterPush, Notification, NotificationClickHandler, NotificationActionClickHandler, InboxProps, SubscriptionTheme, SubscriptionIconKey, AllTheme, AllIconKey } from '@novu/js/ui';
3
3
  import { ReactNode } from 'react';
4
4
 
5
5
  type NotificationsRenderer = (notification: Notification) => React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentType, PropsWithChildren } from 'react';
2
+ import { PropsWithChildren, ComponentType } from 'react';
3
3
 
4
4
  type RendererProps = PropsWithChildren;
5
5
  declare const Renderer: (props: RendererProps) => react_jsx_runtime.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { SeverityLevelEnum, WorkflowCriticalityEnum, Preference, NovuError } from '@novu/js';
1
+ import { Preference, NovuError, SeverityLevelEnum, WorkflowCriticalityEnum } from '@novu/js';
2
2
 
3
3
  type UsePreferencesProps = {
4
4
  filter?: {
@@ -1,5 +1,5 @@
1
- import { UnreadCount, NovuSocketOptions, DefaultSchedule, Context, Subscriber } from '@novu/js';
2
- import { Notification, InboxIconKey, InboxTheme, SubscriptionIconKey, SubscriptionTheme, AllIconKey, AllTheme, NotificationClickHandler, NotificationActionClickHandler, InboxProps, InboxLocalization, Tab, PreferencesFilter, PreferenceGroups, PreferencesSort, RouterPush } from '@novu/js/ui';
1
+ import { NovuSocketOptions, DefaultSchedule, Context, Subscriber, UnreadCount } from '@novu/js';
2
+ import { InboxTheme, InboxIconKey, InboxLocalization, Tab, PreferencesFilter, PreferenceGroups, PreferencesSort, RouterPush, Notification, NotificationClickHandler, NotificationActionClickHandler, InboxProps, SubscriptionTheme, SubscriptionIconKey, AllTheme, AllIconKey } from '@novu/js/ui';
3
3
  import { ReactNode } from 'react';
4
4
 
5
5
  type NotificationsRenderer = (notification: Notification) => React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novu/react",
3
- "version": "3.14.1",
3
+ "version": "3.15.0-rc.cd43306f31",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/novuhq/novu",
@@ -104,7 +104,7 @@
104
104
  },
105
105
  "devDependencies": {
106
106
  "@arethetypeswrong/cli": "^0.17.4",
107
- "@types/node": "^20.14.12",
107
+ "@types/node": "^22.0.0",
108
108
  "@types/react": "*",
109
109
  "@types/react-dom": "*",
110
110
  "esbuild-plugin-file-path-extensions": "^2.1.4",
@@ -121,7 +121,7 @@
121
121
  }
122
122
  },
123
123
  "dependencies": {
124
- "@novu/js": "3.14.1"
124
+ "@novu/js": "3.15.0-rc.cd43306f31"
125
125
  },
126
126
  "nx": {
127
127
  "tags": [