chatkitty
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -12,2 +12,4 @@ import { ChatKittyFile } from '../../chatkitty.file'; | ||
export declare type UserMessage = TextUserMessage | FileUserMessage; | ||
export declare type TextMessage = TextSystemMessage | TextUserMessage; | ||
export declare type FileMessage = FileSystemMessage | FileUserMessage; | ||
export declare class TextSystemMessage implements MessageProperties { | ||
@@ -43,3 +45,4 @@ id: number; | ||
} | ||
export declare function isFileMessage(message: Message): message is FileSystemMessage | FileUserMessage; | ||
export declare function isTextMessage(message: Message): message is TextMessage; | ||
export declare function isFileMessage(message: Message): message is FileMessage; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isFileMessage = void 0; | ||
exports.isFileMessage = exports.isTextMessage = void 0; | ||
function isTextMessage(message) { | ||
return message.body !== undefined; | ||
} | ||
exports.isTextMessage = isTextMessage; | ||
function isFileMessage(message) { | ||
@@ -8,2 +12,2 @@ return message.file !== undefined; | ||
exports.isFileMessage = isFileMessage; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvbWVzc2FnZS9tZXNzYWdlLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWtEQSxTQUFnQixhQUFhLENBQzNCLE9BQWdCO0lBRWhCLE9BQVEsT0FBbUMsQ0FBQyxJQUFJLEtBQUssU0FBUyxDQUFDO0FBQ2pFLENBQUM7QUFKRCxzQ0FJQyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvbWVzc2FnZS9tZXNzYWdlLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQXNEQSxTQUFnQixhQUFhLENBQzNCLE9BQWdCO0lBRWhCLE9BQVEsT0FBdUIsQ0FBQyxJQUFJLEtBQUssU0FBUyxDQUFDO0FBQ3JELENBQUM7QUFKRCxzQ0FJQztBQUVELFNBQWdCLGFBQWEsQ0FDM0IsT0FBZ0I7SUFFaEIsT0FBUSxPQUF1QixDQUFDLElBQUksS0FBSyxTQUFTLENBQUM7QUFDckQsQ0FBQztBQUpELHNDQUlDIn0= |
{ | ||
"name": "chatkitty", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "JS SDK for the ChatKitty Chat API", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
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
131777
1850