New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

permify-typescript

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

permify-typescript

Permify Typescript Client

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
5.4K
0.99%
Maintainers
0
Weekly downloads
 
Created
Source

permify-typescript

Permify Typescript Client

Getting Started

import * as permify from "permify-typescript";

const configuration = new permify.Configuration({
    basePath: "http://localhost:3476",
    headers: {
        'Authorization': "Bearer ***"
    }
})

const apiInstance = new permify.TenancyApi(configuration);

let tenantId = "tenant_id_example"; 

apiInstance.tenantsCreate({
    body: {
        id: tenantId,
        name: "Tenant 1"
    }
}).then((data) => {
    console.log('API called successfully. Returned data: ' + data.tenant);
}).catch((error) => console.error(error));

FAQs

Package last updated on 19 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts