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

@rocket.chat/apps-engine

Package Overview
Dependencies
Maintainers
1
Versions
619
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rocket.chat/apps-engine - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

server/accessors/Notifier.d.ts

4

package.json
{
"name": "@rocket.chat/apps-engine",
"version": "0.4.5",
"version": "0.4.6",
"description": "The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.",

@@ -47,3 +47,3 @@ "main": "index.js",

"dependencies": {
"@rocket.chat/apps-ts-definition": "^0.7.10",
"@rocket.chat/apps-ts-definition": "^0.7.12",
"adm-zip": "^0.4.7",

@@ -50,0 +50,0 @@ "semver": "^5.3.0",

@@ -1,2 +0,2 @@

import { IModify, IModifyCreator, IModifyExtender, IModifyUpdater } from '@rocket.chat/apps-ts-definition/accessors';
import { IModify, IModifyCreator, IModifyExtender, IModifyUpdater, INotifier } from '@rocket.chat/apps-ts-definition/accessors';
import { AppBridges } from '../bridges';

@@ -9,2 +9,3 @@ export declare class Modify implements IModify {

private extender;
private notifier;
constructor(bridges: AppBridges, appId: string);

@@ -14,2 +15,3 @@ getCreator(): IModifyCreator;

getExtender(): IModifyExtender;
getNotifer(): INotifier;
}

@@ -6,2 +6,3 @@ "use strict";

var ModifyUpdater_1 = require("./ModifyUpdater");
var Notifier_1 = require("./Notifier");
var Modify = (function () {

@@ -14,2 +15,3 @@ function Modify(bridges, appId) {

this.extender = new ModifyExtender_1.ModifyExtender(this.bridges, this.appId);
this.notifier = new Notifier_1.Notifier(this.bridges, this.appId);
}

@@ -25,2 +27,5 @@ Modify.prototype.getCreator = function () {

};
Modify.prototype.getNotifer = function () {
return this.notifier;
};
return Modify;

@@ -27,0 +32,0 @@ }());

@@ -6,3 +6,3 @@ import { AppInterface } from '../compiler';

messageEvent(int: AppInterface, message: IMessage): void | boolean | IMessage;
roomEvent(int: AppInterface, room: IRoom): void | boolean | IMessage;
roomEvent(int: AppInterface, room: IRoom): void | boolean | IRoom;
}
import { IMessage } from '@rocket.chat/apps-ts-definition/messages';
import { IRoom } from '@rocket.chat/apps-ts-definition/rooms';
import { IUser } from '@rocket.chat/apps-ts-definition/users/IUser';
export interface IMessageBridge {

@@ -6,2 +8,4 @@ create(message: IMessage, appId: string): string;

update(message: IMessage, appId: string): void;
notifyUser(user: IUser, message: IMessage, appId: string): void;
notifyRoom(room: IRoom, message: IMessage, appId: string): void;
}

Sorry, the diff of this file is not supported yet

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