New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wireapp/api-client

Package Overview
Dependencies
Maintainers
6
Versions
1434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wireapp/api-client - npm Package Compare versions

Comparing version 0.0.28 to 0.0.29

1

dist/commonjs/Client.d.ts

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

login(data: LoginData): Promise<Context>;
logout(): Promise<void>;
refreshAccessToken(): Promise<AccessTokenData>;

@@ -42,0 +43,0 @@ connect(clientId: string): Promise<void>;

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

};
Client.prototype.logout = function () {
var _this = this;
return this.auth.api
.postLogout()
.then(function () { return _this.disconnect(); })
.then(function () {
_this.client.http.accessToken = undefined;
_this.client.ws.accessToken = undefined;
});
};
Client.prototype.refreshAccessToken = function () {

@@ -66,0 +76,0 @@ var _this = this;

2

package.json

@@ -56,3 +56,3 @@ {

"types": "./dist/commonjs/Client.d.ts",
"version": "0.0.28"
"version": "0.0.29"
}

@@ -67,2 +67,12 @@ import * as WebSocket from 'ws';

public logout(): Promise<void> {
return this.auth.api
.postLogout()
.then(() => this.disconnect())
.then(() => {
this.client.http.accessToken = undefined;
this.client.ws.accessToken = undefined;
})
}
public refreshAccessToken(): Promise<AccessTokenData> {

@@ -69,0 +79,0 @@ return this.auth.api.postAccess()

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