3.0.4 • Published 1 month ago

faybl-client v3.0.4

Weekly downloads
-
License
TBD
Repository
-
Last release
1 month ago

Faybl Client JS

Faybl JavaScript Client

Getting Started

import { createClient } from 'faybl-client/browser';
// For nodejs version, remove '/browser' above

const client = createClient({ tenantUrl: 'atenant.faybl.online' });
await client.conf.asset.create({ id: 'test' });

createClient options

  • tenantUrl
  • confUrl
  • historyUrl
  • mqttUrl
  • noMqtt

The browser version also has:

  • pahoMqttOptions

Client structure

  • conf: All entities below have create, read, update, delete.
    • asset
    • assettype
    • channel
    • channeltype
    • config
    • configtype
    • procedure
    • proceduretype
    • rule
    • thing
    • thingtype
    • trigger
    • subscribe: No entity. Subscribes to changes in the data model.
    • unsubscribe: No entity. Unsubscribes above subscription.
  • channel
    • subscribe
    • unsubscribe
    • publish
    • read
  • mqttClient
  • close

License

Hippocratic 2.1

3.0.4

1 month ago

3.0.3

1 month ago

3.0.2

1 month ago

2.1.6

3 months ago

3.0.1

3 months ago

3.0.0

3 months ago

2.1.5

3 months ago

2.1.2

4 months ago

2.1.1

4 months ago

2.1.4

4 months ago

2.1.3

4 months ago

2.1.0

4 months ago

2.0.0

5 months ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago