Socket
Socket
Sign inDemoInstall

@papersites/sdk

Package Overview
Dependencies
9
Maintainers
3
Versions
211
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @papersites/sdk

# How to use this SDK


Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Install size
724 kB
Created
Weekly downloads
 

Readme

Source

papersites-sdk

How to use this SDK

  1. Configure settings

    • for local test & debug purposes you can use staticSettingsProvider that is provided as part of this API

    • in production you need to implement ISettingsProvider that provides the followin configuration settings:

      • api/async-operation-timeout-ms - async operation timeout, e.g. work request
      • tenant/viewlinktemplate - public papersites-managed site URL
      • tenant/managelinktemplate - admin papersites-managed site URL
      • api-spec/host - API hostname
      • api-spec/schemes - arrays of allowed schemes: http or https or both
      • api-spec/port -API port
      • api-spec/basePath - base path for API operations
      • api-spec/accepts - accepted content type
      • api-spec/securityDefinitions - security mechanism to use. For Papersites currently only papersites_auth is supported and it has the following configuration settings:
      {
          "papersites_auth": {
              "type": "papersites_auth",
              "description": "Papersites via Auth0",
              "name": "papersites_auth"
          }
      }
      
  2. How to build and deploy

  • bump version in the package.json
  • npm run deploy

FAQs

Last updated on 28 Sep 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