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

@abtnode/blocklet-services

Package Overview
Dependencies
Maintainers
0
Versions
557
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abtnode/blocklet-services

Provide unified services for every blocklet

  • 1.16.30-beta-b80c7bcd
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
760
decreased by-40.06%
Maintainers
0
Weekly downloads
 
Created
Source

Blocklet Services

Provides out-of-the-box services for blocklets.

Should run under Server Gateway (e.g. nginx).

Usage

yarn add @abtnode/blocklet-service

Then:

const createServer = require('@abtnode/blocklet-services');
const ABTNode = require('@abtnode/core');

const node = ABTNode({ ...nodeOptions });

node.onReady(() => {
  const server = createServer(node);

  server.listen(5000, '127.0.0.1', async (err) => {
    if (err) throw err;

    console.log(`> Blocklet Service ready on 5000`);
  });
});

Service API

Public

Web
  • /.well-known/service/lost-passport
  • /.well-known/service/login
  • /.well-known/service/admin/
  • /.well-known/service/blocklet/logo
API
  • /.well-known/service/health
  • /.well-known/service/api/did/session

Internal

Web
  • /.well-known/service/issue-passport
  • /.well-known/service/invite
  • /.well-known/service/start
  • /.well-known/service/setup
  • /.well-known/service/user/avatar/:fileName
  • /.well-known/service/studio/home
  • /.well-known/service/studio/preferences
  • /.well-known/service/studio/localization
  • /.well-known/service/hosted/form-builder
  • /.well-known/service/hosted/form-collector
API
  • /.well-known/service/api/passport/status

  • /.well-known/service/api/send-to-user

  • /.well-known/service/api/send-to-app-channel

  • /.well-known/service/api/blocklet/detail

  • /.well-known/service/api/blocklet/start

  • /.well-known/service/api/blocklet/meta

  • **/api/env

  • /.well-known/service/api/gql

  • /.well-known/service/api/dns-resolve

  • /.well-known/service/api/invitation

  • /.well-known/service/api/studio/preferences

DID Connect
  • /api/connect/relay/login/connect

  • /api/connect/relay/login/approve

  • /api/connect/relay/switch-profile/connect

  • /api/connect/relay/switch-profile/approve

  • /api/connect/relay/switch-passport/connect

  • /api/connect/relay/switch-passport/approve

  • /api/did/login

  • /api/did/invite

  • /api/did/issue-passport

  • /api/did/lost-passport-list

  • /api/did/lost-passport-issue

  • /api/did/pre-setup

  • /api/did/setup

  • /api/did/switch-profile

  • /api/did/switch-passport

  • /api/did/fuel

Websocket
  • /api/connect/relay/websocket
  • /websocket
  • /admin/websocket

Keywords

FAQs

Package last updated on 14 Aug 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

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