1.0.20 • Published 3 years ago

ocx-sdk-js v1.0.20

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

Octopusx Sdk

Build Status

Description

Simple universal SDK for easy consumption of OctopusX APIs.

Installation

npm install  ocx-sdk-js

Usage

import Sdk from "ocx-sdk-js";

const client = new Sdk()

You can set request options for client instance, and also for each request function call, which is useful because you can then use global instance of SDK client, with globally defined x-api-key, but still give separate x-authorization header for each user:

const auth = await client.register(userData);

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.11

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago