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

wickrio-bot-api

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wickrio-bot-api - npm Package Compare versions

Comparing version 5.38.11 to 5.38.13

2

package.json
{
"name": "wickrio-bot-api",
"version": "5.38.11",
"version": "5.38.13",
"description": "The official Wickr IO Bot API Framework",

@@ -5,0 +5,0 @@ "main": "WickrIOBot.js",

@@ -214,2 +214,12 @@ const WickrIOAPI = require('wickrio_addon');

var vGroupID = message.vgroupid;
var convoType = '';
// Determine the convo type (1to1, group, or room)
if (vGroupID.charAt(0) === 'S')
convoType = 'room';
else if (vGroupID.charAt(0) === 'G')
convoType = 'groupconvo';
else
convoType = 'personal';
if (message.file) {

@@ -226,3 +236,4 @@ var isVoiceMemo = false;

'isVoiceMemo': isVoiceMemo,
'voiceMemoDuration': voiceMemoDuration
'voiceMemoDuration': voiceMemoDuration,
'convotype': convoType
};

@@ -235,3 +246,4 @@ } else {

'userEmail': sender,
'isVoiceMemo': isVoiceMemo
'isVoiceMemo': isVoiceMemo,
'convotype': convoType
};

@@ -243,4 +255,3 @@ }

var command = '',
argument = '',
convoType = '';
argument = '';
if (message.control)

@@ -257,9 +268,2 @@ return;

}
if (vGroupID.charAt(0) === 'a' || vGroupID.charAt(0) === 'c' || vGroupID.charAt(0) === 'd')
convoType = 'personal';
else if (vGroupID.charAt(0) === 'G')
convoType = 'groupconvo';
else
convoType = 'room';
var parsedObj = {

@@ -266,0 +270,0 @@ 'message': request,

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