Socket
Socket
Sign inDemoInstall

@monsenso/account-api-next

Package Overview
Dependencies
5
Maintainers
3
Versions
117
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @monsenso/account-api-next

JavaScript and TypeScript client for Monsenso's UserService.


Version published
Maintainers
3
Created

Readme

Source

@monsenso/user-api

JavaScript and TypeScript client for Monsenso's UserService.

Using the client

  • Provide the base url of the UserService the client shall target, e.g.:
    import { AccountModuleApi, BASE_URL } from '@monsenso/account-api'
    
    @NgModule({
        imports: [
          AccountApiModule
        ],
        providers: [
            { provide: BASE_URL, useValue: 'https://user.dev.monsenso.com' }
        ]
    })
    export class MyModule { ... }
    
  • The UserApi class contains a function for each operation supported by the UserService.

Generating the client

cd client
yarn
yarn generate

FAQs

Last updated on 28 Feb 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc