Comparing version 2.0.3 to 2.0.4
@@ -1,2 +0,2 @@ | ||
import { CentOptions } from './cent-options.interface'; | ||
import { CentOptions } from './interfaces'; | ||
export declare class CentClient { | ||
@@ -26,3 +26,3 @@ private readonly options; | ||
client?: string; | ||
}) => Promise<import("./cent-responses.interface").OverrideResponse>; | ||
}) => Promise<import("./interfaces").OverrideResponse>; | ||
unsubscribe: (params?: { | ||
@@ -34,3 +34,3 @@ user: string; | ||
client?: string; | ||
}) => Promise<import("./cent-responses.interface").EmptyResponse>; | ||
}) => Promise<import("./interfaces").EmptyResponse>; | ||
disconnect: (params?: { | ||
@@ -40,3 +40,3 @@ user: string; | ||
client?: string; | ||
}) => Promise<import("./cent-responses.interface").EmptyResponse>; | ||
}) => Promise<import("./interfaces").EmptyResponse>; | ||
refresh: (params?: { | ||
@@ -46,9 +46,9 @@ user: string; | ||
client?: string; | ||
}) => Promise<import("./cent-responses.interface").EmptyResponse>; | ||
}) => Promise<import("./interfaces").EmptyResponse>; | ||
getPresence: (params?: { | ||
channel: string; | ||
}) => Promise<import("./cent-responses.interface").PresenceResponse>; | ||
}) => Promise<import("./interfaces").PresenceResponse>; | ||
getPresenceStats: (params?: { | ||
channel: string; | ||
}) => Promise<import("./cent-responses.interface").PresenceStatsResponse>; | ||
}) => Promise<import("./interfaces").PresenceStatsResponse>; | ||
getHistory: (params?: { | ||
@@ -60,10 +60,10 @@ channel: string; | ||
reverse?: boolean; | ||
}) => Promise<import("./cent-responses.interface").HistoryResponse>; | ||
}) => Promise<import("./interfaces").HistoryResponse>; | ||
removeHistory: (params?: { | ||
channel: string; | ||
}) => Promise<import("./cent-responses.interface").EmptyResponse>; | ||
}) => Promise<import("./interfaces").EmptyResponse>; | ||
getChannels: (params?: { | ||
pattern: string; | ||
}) => Promise<import("./cent-responses.interface").ChannelsResponse>; | ||
getInfo: (params?: {}) => Promise<import("./cent-responses.interface").InfoResponse>; | ||
}) => Promise<import("./interfaces").ChannelsResponse>; | ||
getInfo: (params?: {}) => Promise<import("./interfaces").InfoResponse>; | ||
} |
@@ -0,3 +1,4 @@ | ||
export * from './interfaces'; | ||
export * from './cent-methods.enum'; | ||
export * from './cent.exception'; | ||
export * from './cent.client'; | ||
export * from './cent.exception'; | ||
export * from './cent-options.interface'; |
@@ -17,4 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./interfaces"), exports); | ||
__exportStar(require("./cent-methods.enum"), exports); | ||
__exportStar(require("./cent.exception"), exports); | ||
__exportStar(require("./cent.client"), exports); | ||
__exportStar(require("./cent.exception"), exports); | ||
__exportStar(require("./cent-options.interface"), exports); |
@@ -5,1 +5,4 @@ export * from './client-info.interface'; | ||
export * from './stream-position.interface'; | ||
export * from './cent-options.interface'; | ||
export * from './cent-params.interface'; | ||
export * from './cent-responses.interface'; |
@@ -21,1 +21,4 @@ "use strict"; | ||
__exportStar(require("./stream-position.interface"), exports); | ||
__exportStar(require("./cent-options.interface"), exports); | ||
__exportStar(require("./cent-params.interface"), exports); | ||
__exportStar(require("./cent-responses.interface"), exports); |
{ | ||
"name": "cent.js", | ||
"description": "Javascript library to communicate with Centrifugo HTTP API", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"scripts": { | ||
@@ -30,18 +30,18 @@ "build": "rimraf -rf dist && tsc -p tsconfig.json", | ||
"devDependencies": { | ||
"@commitlint/cli": "17.0.0", | ||
"@commitlint/config-angular": "17.0.0", | ||
"@types/jest": "27.5.0", | ||
"@types/node": "17.0.35", | ||
"@typescript-eslint/eslint-plugin": "5.23.0", | ||
"@typescript-eslint/parser": "5.25.0", | ||
"eslint": "8.15.0", | ||
"@commitlint/cli": "17.0.3", | ||
"@commitlint/config-angular": "17.0.3", | ||
"@types/jest": "28.1.6", | ||
"@types/node": "18.6.2", | ||
"@typescript-eslint/eslint-plugin": "5.31.0", | ||
"@typescript-eslint/parser": "5.31.0", | ||
"eslint": "8.20.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"husky": "8.0.1", | ||
"jest": "27.5.1", | ||
"prettier": "2.6.2", | ||
"release-it": "15.0.0", | ||
"jest": "28.1.3", | ||
"prettier": "2.7.1", | ||
"release-it": "15.2.0", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "27.1.4", | ||
"typescript": "4.6.4" | ||
"ts-jest": "28.0.7", | ||
"typescript": "4.7.4" | ||
}, | ||
@@ -48,0 +48,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16760
357