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

@universis/messages

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@universis/messages

Universis messaging services

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-15%
Maintainers
1
Weekly downloads
 
Created
Source

@universis/messages

Universis api server extension for implementing messaging services like sms messaging etc.

Installation

    npm i @universis/messages

Configuration

Register SmsService abstract service in application services by using a service strategy:

...
{
  "serviceType": "@universis/messages#SmsService",
  "strategyType": "./services/my-service#MySmsService"
}
...

Register also SmsSchemaLoader in application schema loaders:

"settings": {
    "schema": {
        "loaders": [
            ...
            {
                "loaderType": "@universis/messages#SmsSchemaLoader"
            }
        ]
    }
}

to activate the extensions of @universis/messages module.

Development

@universis/sms-gateway-catcher simulates sms services for development purposes.

Start sms-gateway-catche by executing:

    npx @universis/sms-gateway-catcher

which is available by navigating to http://localhost:3030

Finally configure application services to use sms gateway catcher:

"services": [
    ...
    {
       "serviceType": "@universis/messages#SmsService",
       "strategyType": "./services/sms-gateway-catcher-service#SmsGatewayCatcherService"
    }
]

Keywords

FAQs

Package last updated on 20 Sep 2022

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