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

matrix-bot-sdk

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

matrix-bot-sdk - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

lib/MatrixClient.d.ts

@@ -50,2 +50,8 @@ /// <reference types="node" />

/**
* Gets the joined members in a room. The client must be in the room to make this request.
* @param {string} roomId The room ID to get the joined members of.
* @returns {Promise<string>} The joined user IDs in the room
*/
getJoinedRoomMembers(roomId: string): Promise<string>;
/**
* Starts syncing the client with an optional filter

@@ -52,0 +58,0 @@ * @param {*} filter The filter to use, or null for none

@@ -73,2 +73,12 @@ "use strict";

/**
* Gets the joined members in a room. The client must be in the room to make this request.
* @param {string} roomId The room ID to get the joined members of.
* @returns {Promise<string>} The joined user IDs in the room
*/
getJoinedRoomMembers(roomId) {
return this.do("GET", "/_matrix/client/r0/room/" + roomId + "/joined_members").then(response => {
return response['joined'];
});
}
/**
* Starts syncing the client with an optional filter

@@ -75,0 +85,0 @@ * @param {*} filter The filter to use, or null for none

2

package.json
{
"name": "matrix-bot-sdk",
"version": "0.1.3",
"version": "0.1.4",
"description": "A lightweight version of the matrix-js-sdk intended for bots",

@@ -5,0 +5,0 @@ "repository": {

# matrix-js-bot-sdk
[![npm version](https://badge.fury.io/js/matrix-bot-sdk.svg)](https://www.npmjs.com/package/matrix-bot-sdk)
[![TravisCI badge](https://travis-ci.org/turt2live/matrix-bot-sdk.svg?branch=master)](https://travis-ci.org/turt2live/matrix-bot-sdk)
[![TravisCI badge](https://travis-ci.org/turt2live/matrix-js-bot-sdk.svg?branch=master)](https://travis-ci.org/turt2live/matrix-js-bot-sdk)
A lightweight version of the matrix-js-sdk intended for bots
A lightweight version of the matrix-js-sdk intended for bots. For help and support, visit [#matrix-bot-sdk:t2bot.io](https://matrix.to/#/#matrix-bot-sdk:t2bot.io)

@@ -8,0 +8,0 @@ # Installing

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