matrix-bot-sdk
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -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")); |
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43045
21
976
Updatedrequest@^2.88.0