Socket
Socket
Sign inDemoInstall

recime-message-responder

Package Overview
Dependencies
154
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

2

dist/request.d.ts

@@ -9,3 +9,3 @@ import { Vars } from "./vars";

export declare class Request {
send(options: RequestOptions): any;
send(__: any, options: RequestOptions): any;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const recime_bot_extension_1 = require("recime-bot-extension");
const __ = recime_bot_extension_1.default.default;
const code_block_1 = require("./code-block");
class Request {
send(options) {
send(__, options) {
if (options.nlp.response && options.nlp.response.length) {

@@ -9,0 +7,0 @@ const response = options.nlp.response.map(message => () => {

@@ -21,3 +21,3 @@ "use strict";

v.vals["args"] = this.args;
return req.send({
return req.send(__, {
nlp: res,

@@ -24,0 +24,0 @@ vars: v,

const Responder = require("./dist/responder").Responder;
exports.respond = (args)=>{
exports.handler = (args)=>{
return new Responder(args).respond();
}
{
"name": "recime-message-responder",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,5 +0,1 @@

import Ext from 'recime-bot-extension';
const __ = Ext.default;
import {CodeBlock} from "./code-block";

@@ -16,3 +12,3 @@ import {Vars} from "./vars";

export class Request {
send(options: RequestOptions) {
send(__:any, options: RequestOptions) {
if (options.nlp.response && options.nlp.response.length) {

@@ -19,0 +15,0 @@ const response = options.nlp.response.map(message => ()=> {

@@ -27,3 +27,3 @@ import HandleBars from "handlebars";

return req.send({
return req.send(__, {
nlp : res,

@@ -30,0 +30,0 @@ vars: v,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc