Socket
Socket
Sign inDemoInstall

remote.it

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote.it - npm Package Compare versions

Comparing version 0.44.0 to 0.44.1

1

lib/remote.it.d.ts

@@ -16,2 +16,3 @@ import { AxiosError, Method } from 'axios'

authHashLogin(username: string, authhash: string): Promise<IUser>
sessionExpired(username: string): Promise<boolean>
userData(username: string): Promise<IUser>

@@ -18,0 +19,0 @@ language: {

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

},
sessionExpired: function (username) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, r3
.get("/user/token/" + r3.token)
.then(function (resp) { return resp.userid !== username; })
.catch(function () { return true; })];
});
});
},
userData: function (username) {

@@ -151,0 +161,0 @@ return __awaiter(this, void 0, void 0, function () {

2

package.json
{
"name": "remote.it",
"version": "0.44.0",
"version": "0.44.1",
"description": "remote.it JavaScript/node client library",

@@ -5,0 +5,0 @@ "main": "lib/remote.it.js",

@@ -69,2 +69,8 @@ import axios, { AxiosError, AxiosResponse, Method } from 'axios'

},
async sessionExpired(username: string): Promise<boolean> {
return r3
.get(`/user/token/${r3.token}`)
.then(resp => resp.userid !== username)
.catch(() => true)
},
async userData(username: string): Promise<IUser> {

@@ -71,0 +77,0 @@ return r3

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