Skip to content

Commit

Permalink
chore(js): spell check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LetItRock committed Jun 13, 2024
1 parent 9a46d29 commit 4fd00de
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/js/src/base-module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApiService } from '@novu/client';

import { NovuEventEmitter } from './event-emitter';
import { ApiServiceSingleton } from './utils/api-service-signleton';
import { ApiServiceSingleton } from './utils/api-service-singleton';

interface CallQueueItem {
fn: () => Promise<unknown>;
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/feeds/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
Subscriber,
TODO,
} from '../types';
import { ApiServiceSingleton } from '../utils/api-service-signleton';
import { ApiServiceSingleton } from '../utils/api-service-singleton';
import { markActionAs, markNotificationAs, remove } from './helpers';

type NotificationLike = Pick<
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/novu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { EventHandler, EventNames, Events } from './event-emitter';
import { Feeds } from './feeds';
import { Session } from './session';
import { Preferences } from './preferences';
import { ApiServiceSingleton } from './utils/api-service-signleton';
import { ApiServiceSingleton } from './utils/api-service-singleton';

type NovuOptions = {
applicationIdentifier: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/session/session.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApiService } from '@novu/client';

import { NovuEventEmitter } from '../event-emitter';
import { ApiServiceSingleton } from '../utils/api-service-signleton';
import { ApiServiceSingleton } from '../utils/api-service-singleton';
import { InitializeSessionArgs } from './types';

export class Session {
Expand Down
4 changes: 2 additions & 2 deletions packages/js/test-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ novu.on('notification.remove.error', (args) => {
const feed = await novu.feeds.fetch();
console.log(feed);

const notificatio1 = await novu.feeds.markNotificationAs({
const notification1 = await novu.feeds.markNotificationAs({
id: '123',
status: NotificationStatus.SEEN,
});
const notificatio2 = await novu.feeds.markNotificationAs({
const notification2 = await novu.feeds.markNotificationAs({
notification: feed.data[0],
status: NotificationStatus.SEEN,
});
Expand Down

0 comments on commit 4fd00de

Please sign in to comment.