Socket
Socket
Sign inDemoInstall

@fastybird/vuex-orm-wamp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastybird/vuex-orm-wamp

WAMPv1 websockets communication for VUEX ORM


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

FastyBird Vuex ORM WAMPv1 websocket client plugin

Latest stable Downloads total Licence Types

What is FastyBird Vuex ORM WAMPv1 websocket client plugin?

This plugin add smooth integration between WAMPv1 requests and Vuex ORM data persistence through the awesome WAMP client library.

Installation

The best way to install @fastybird/vuex-orm-wamp is using Yarn:

yarn add @fastybird/vuex-orm-wamp

or if you prefer npm:

npm install @fastybird/vuex-orm-wamp

Setup in your application

Register Vue plugin:

import VuexORM from '@vuex-orm/core'
import VuexORMWamp from '@fastybird/vuex-orm-wamp'
import { WampClient } from '@fastybird/vue-wamp-v1'

VuexORM.use(VuexORMWamp, {
  wamp: WampClient('ws://your.server.com', null)
})
Options:
  • wamp - optional option which have to provide WAMP client instance

Usage

Available methods:

User.wamp().open()
User.wamp().close()

User.publish(data, config)
User.call(data, config)

Typescript setup

Add the types to your "types" array in tsconfig.json.

{
  "compilerOptions": {
    "types": [
      "@fastybird/vuex-orm-wamp"
    ]
  }
}

Homepage https://www.fastybird.com and repository https://github.com/FastyBird/vue-wamp-v1.

Keywords

FAQs

Package last updated on 03 Jun 2021

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