Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chatkitty

Package Overview
Dependencies
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatkitty - npm Package Compare versions

Comparing version 0.0.32 to 0.0.33

5

build/main/lib/model/message/message.model.d.ts

@@ -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 {};

8

build/main/lib/model/message/message.model.js
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc