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

neru-alpha

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neru-alpha - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

6

package.json
{
"name": "neru-alpha",
"type": "module",
"version": "0.0.16",
"version": "0.0.17",
"description": "",

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

"eslint-plugin-prettier": "3.4.0",
"typescript": "^4.3.2",
"prettier": "^2.3.1"
"prettier": "^2.3.1",
"typescript": "^4.3.2"
}
}

@@ -159,2 +159,23 @@ import { Instance } from '../instance.js';

deleteMember = (memberId: string): RequestInterface => {
const action: Action<object> = {
provider: Providers.Conversation,
action: ConversationActions.InvokeCsApi,
description: 'Delete Member',
payload: {
url: `/conversations/${this.id}/members/${memberId}`,
method: `PATCH`,
neruCID: this.name,
csBody: {
state: "left",
reason: {
code: '123',
text: 'leaving conversation'
}
},
}
};
return new RequestInterface(this.instance, action);
};
sayText = (params: SayTextParams): RequestInterface => {

@@ -215,3 +236,3 @@ const action: Action<SayTextPayload> = {

playStream = (params: PlayStreamParams, to: string): RequestInterface => {
playStream = (params: PlayStreamParams, to?: string): RequestInterface => {
const action: Action<PlayStreamPayload> = {

@@ -227,3 +248,2 @@ provider: Providers.Conversation,

type: Events.AudioPlay,
to: to,
body: params,

@@ -233,2 +253,3 @@ },

};
if (to) action.payload.csBody.to = to;
return new RequestInterface(this.instance, action);

@@ -235,0 +256,0 @@ };

@@ -110,3 +110,3 @@ import { WrappedCallback } from '.';

type: Events.AudioPlay;
to: string;
to?: string;
body: {

@@ -113,0 +113,0 @@ level: number;

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