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.11 to 0.1.12

lib/UnstableApis.d.ts

1

lib/index.d.ts

@@ -7,1 +7,2 @@ export * from "./MatrixClient";

export * from "./strategies/JoinRoomStrategy";
export * from "./UnstableApis";

@@ -10,1 +10,2 @@ "use strict";

__export(require("./strategies/JoinRoomStrategy"));
__export(require("./UnstableApis"));

13

lib/MatrixClient.d.ts

@@ -6,2 +6,3 @@ /// <reference types="node" />

import { IJoinRoomStrategy } from "./strategies/JoinRoomStrategy";
import { UnstableApis } from "./UnstableApis";
/**

@@ -43,2 +44,8 @@ * A client that is capable of interacting with a matrix homeserver.

/**
* Gets the unstable API access class. This is generally not recommended to be
* used by clients.
* @return {UnstableApis} The unstable API access class.
*/
readonly unstableApis: UnstableApis;
/**
* Sets a user ID to impersonate as. This will assume that the access token for this client

@@ -93,5 +100,5 @@ * is for an application service, and that the userId given is within the reach of the

start(filter?: any): Promise<any>;
private startSync();
private doSync(token);
private processSync(raw);
private startSync;
private doSync;
private processSync;
/**

@@ -98,0 +105,0 @@ * Gets the room state for the given room. Returned as raw events.

@@ -7,2 +7,3 @@ "use strict";

const Promise = require("bluebird");
const UnstableApis_1 = require("./UnstableApis");
/**

@@ -48,2 +49,10 @@ * A client that is capable of interacting with a matrix homeserver.

/**
* Gets the unstable API access class. This is generally not recommended to be
* used by clients.
* @return {UnstableApis} The unstable API access class.
*/
get unstableApis() {
return new UnstableApis_1.UnstableApis(this);
}
/**
* Sets a user ID to impersonate as. This will assume that the access token for this client

@@ -50,0 +59,0 @@ * is for an application service, and that the userId given is within the reach of the

{
"name": "matrix-bot-sdk",
"version": "0.1.11",
"version": "0.1.12",
"description": "A lightweight version of the matrix-js-sdk intended for bots",

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

"devDependencies": {
"@types/node": "^9.4.6",
"tslint": "^5.9.1",
"typescript": "^2.7.2"
"@types/node": "^9.6.28",
"tslint": "^5.11.0",
"typescript": "^2.9.2"
},

@@ -34,3 +34,3 @@ "scripts": {

"bluebird": "^3.5.1",
"request": "^2.83.0"
"request": "^2.88.0"
},

@@ -37,0 +37,0 @@ "keywords": [

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