Socket
Book a DemoInstallSign in
Socket

matrix-firebase

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

matrix-firebase

Use Firebase with Matrix CLI and Matrix OS

latest
Source
npmnpm
Version
1.2.4
Version published
Maintainers
1
Created
Source

Matrix Firebase module

A model for Matrix Apps interacting via Firebase.

Firebase stores the following:

  • User and device associations
  • Device and app associations
  • App configurations

Firebase is also responsible for notifying connecting services on app configuration changes, either from the CLI, a Deployment or the Dashboard.

Bugs

https://github.com/matrix-io/matrix-firebase/issues

Questions

http://community.matrix.one

Methods

Schema

userId / deviceId / appId / config

Test Output


  matrix firebase module
    ✓ can connect to firebase (45ms)
    ✓ can add an app configuration
    lookups
      ✓ can get devices for a user (504ms)
      ✓ can get apps for a device
      ✓ can get an config for an app
    events
      ✓ supports onInstall to watch for app installs
      ✓ supports onChange to watch for app config changes

Keywords

matrix-os

FAQs

Package last updated on 07 Dec 2017

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