1.5.4-alpha.22 • Published 4 months ago
@portkey-v1/socket v1.5.4-alpha.22
@portkey-v1/socket
It is already possible to follow the standard abp tutorial to add SignalR to your application. However, Portkey provides SignalR integration packages those simplify the integration and usage.
Installation
Using NPM
npm install @portkey-v1/socket
Using Yarn
yarn add @portkey-v1/socket
Prerequisites
Package.json Scripts
Script | Description |
---|---|
clean | Uses rm to remove dist/ |
build | Uses tsc to build package and dependent packages |
lint | Uses eslint to lint package |
lint:fix | Uses eslint to check and fix any warnings |
format | Uses prettier to format the code |
Basic Usage
import { DIDSignalr } from '@portkey-v1/socket'
// new signalr instance
const didSignalr = new DIDSignalr();
// open link
didSignalr.doOpen({ url: 'your did signalr url', clientId: 'your clientId' });
// Scan code feedback
didSignalr.onScanLogin(({ body }) => console.log(body));
1.5.4-alpha.22
4 months ago
1.5.4-alpha.21
4 months ago
1.5.4-alpha.20
4 months ago
1.5.4-alpha.19
4 months ago
1.5.4-alpha.18
4 months ago
1.5.4-alpha.17
4 months ago
1.5.4-alpha.16
4 months ago
1.5.4-alpha.15
4 months ago
1.5.4-alpha.14
4 months ago
1.5.4-alpha.11
4 months ago
1.5.4-alpha.13
4 months ago
1.5.4-alpha.12
4 months ago
1.5.4-alpha.10
4 months ago
1.5.4-alpha.9
4 months ago
1.5.4-alpha.8
4 months ago
1.5.4-alpha.7
4 months ago
1.5.4-alpha.6
4 months ago
1.5.4-alpha.4
5 months ago
1.5.4-alpha.3
5 months ago
1.5.4-alpha.2
5 months ago