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

@odit/lfk-client-js

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@odit/lfk-client-js - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

2

dist/core/OpenAPI.js

@@ -6,3 +6,3 @@ "use strict";

BASE: '',
VERSION: '0.6.3',
VERSION: '0.6.4',
WITH_CREDENTIALS: false,

@@ -9,0 +9,0 @@ TOKEN: undefined,

@@ -6,8 +6,8 @@ import type { ResponseUser } from '../models/ResponseUser';

/**
* Get permissions
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
* @returns ResponseUserPermissions
* Get
* Lists all information about yourself.
* @returns ResponseUser
* @throws ApiError
*/
static meControllerGetPermissions(): Promise<ResponseUserPermissions>;
static meControllerGet(): Promise<ResponseUser>;
/**

@@ -29,2 +29,9 @@ * Put

static meControllerRemove(force?: boolean): Promise<ResponseUser>;
/**
* Get permissions
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
* @returns ResponseUserPermissions
* @throws ApiError
*/
static meControllerGetPermissions(): Promise<ResponseUserPermissions>;
}

@@ -7,8 +7,8 @@ "use strict";

/**
* Get permissions
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
* @returns ResponseUserPermissions
* Get
* Lists all information about yourself.
* @returns ResponseUser
* @throws ApiError
*/
static async meControllerGetPermissions() {
static async meControllerGet() {
const result = await request_1.request({

@@ -52,3 +52,16 @@ method: 'GET',

}
/**
* Get permissions
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
* @returns ResponseUserPermissions
* @throws ApiError
*/
static async meControllerGetPermissions() {
const result = await request_1.request({
method: 'GET',
path: `/api/users/me/permissions`,
});
return result.body;
}
}
exports.MeService = MeService;
{
"name": "@odit/lfk-client-js",
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.",
"version": "0.6.3",
"version": "0.6.4",
"license": "CC-BY-NC-SA-4.0",

@@ -6,0 +6,0 @@ "main": "./dist/index.js",

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