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.7 to 0.4.8

4

package.json
{
"name": "@rocket.chat/apps-engine",
"version": "0.4.7",
"version": "0.4.8",
"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.14",
"@rocket.chat/apps-ts-definition": "^0.7.15",
"adm-zip": "^0.4.7",

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

@@ -13,2 +13,3 @@ import { ConfigurationExtend } from './ConfigurationExtend';

import { ModifyUpdater } from './ModifyUpdater';
import { Notifier } from './Notifier';
import { Persistence } from './Persistence';

@@ -26,2 +27,2 @@ import { PersistenceRead } from './PersistenceRead';

import { UserRead } from './UserRead';
export { ConfigurationExtend, ConfigurationModify, EnvironmentalVariableRead, EnvironmentRead, Http, HttpExtend, MessageBuilder, MessageRead, Modify, ModifyCreator, ModifyExtender, ModifyUpdater, Persistence, PersistenceRead, Reader, RoomBuilder, RoomRead, ServerSettingRead, ServerSettingsModify, SettingRead, SettingsExtend, SlashCommandsExtend, SlashCommandsModify, UserRead };
export { ConfigurationExtend, ConfigurationModify, EnvironmentalVariableRead, EnvironmentRead, Http, HttpExtend, MessageBuilder, MessageRead, Modify, ModifyCreator, ModifyExtender, ModifyUpdater, Notifier, Persistence, PersistenceRead, Reader, RoomBuilder, RoomRead, ServerSettingRead, ServerSettingsModify, SettingRead, SettingsExtend, SlashCommandsExtend, SlashCommandsModify, UserRead };

@@ -27,2 +27,4 @@ "use strict";

exports.ModifyUpdater = ModifyUpdater_1.ModifyUpdater;
var Notifier_1 = require("./Notifier");
exports.Notifier = Notifier_1.Notifier;
var Persistence_1 = require("./Persistence");

@@ -29,0 +31,0 @@ exports.Persistence = Persistence_1.Persistence;

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

import { INotifier } from '@rocket.chat/apps-ts-definition/accessors';
import { IMessageBuilder, INotifier } from '@rocket.chat/apps-ts-definition/accessors';
import { IMessage } from '@rocket.chat/apps-ts-definition/messages';

@@ -12,2 +12,3 @@ import { IRoom } from '@rocket.chat/apps-ts-definition/rooms';

notifyRoom(room: IRoom, message: IMessage): void;
getMessageBuilder(): IMessageBuilder;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MessageBuilder_1 = require("./MessageBuilder");
var Notifier = (function () {

@@ -14,2 +15,5 @@ function Notifier(bridges, appId) {

};
Notifier.prototype.getMessageBuilder = function () {
return new MessageBuilder_1.MessageBuilder();
};
return Notifier;

@@ -16,0 +20,0 @@ }());

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

import { IEnvironmentRead, IMessageRead, IPersistenceRead, IRead, IRoomRead, IUserRead } from '@rocket.chat/apps-ts-definition/accessors';
import { IEnvironmentRead, IMessageRead, INotifier, IPersistenceRead, IRead, IRoomRead, IUserRead } from '@rocket.chat/apps-ts-definition/accessors';
export declare class Reader implements IRead {

@@ -8,3 +8,4 @@ private env;

private user;
constructor(env: IEnvironmentRead, message: IMessageRead, persist: IPersistenceRead, room: IRoomRead, user: IUserRead);
private noti;
constructor(env: IEnvironmentRead, message: IMessageRead, persist: IPersistenceRead, room: IRoomRead, user: IUserRead, noti: INotifier);
getEnvironmentReader(): IEnvironmentRead;

@@ -15,2 +16,3 @@ getMessageReader(): IMessageRead;

getUserReader(): IUserRead;
getNotifier(): INotifier;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Reader = (function () {
function Reader(env, message, persist, room, user) {
function Reader(env, message, persist, room, user, noti) {
this.env = env;

@@ -10,2 +10,3 @@ this.message = message;

this.user = user;
this.noti = noti;
}

@@ -27,2 +28,5 @@ Reader.prototype.getEnvironmentReader = function () {

};
Reader.prototype.getNotifier = function () {
return this.noti;
};
return Reader;

@@ -29,0 +33,0 @@ }());

@@ -73,3 +73,4 @@ "use strict";

var user = new accessors_1.UserRead(this.bridges.getUserBridge(), appId);
this.readers.set(appId, new accessors_1.Reader(env, msg, persist, room, user));
var noti = new accessors_1.Notifier(this.bridges, appId);
this.readers.set(appId, new accessors_1.Reader(env, msg, persist, room, user, noti));
}

@@ -76,0 +77,0 @@ return this.readers.get(appId);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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