npm.io
1.1.4 • Published 18h ago

@contextual-io/native-object-client

Licence
MIT
Version
1.1.4
Deps
3
Size
40 kB
Vulns
0
Weekly
0

Getting Started

Requirements

This library supports Node.js >=16

Installation
yarn add @contextual-io/native-object-client
npm install @contextual-io/native-object-client
Configuration

This client will require a configuration provider to be registered at some point before a call:

import { registerNativeObjectConfigProvider } from "@contextual-io/native-object-client"

registerNativeObjectConfigProvider(async () => ({
  host: "https://native-object.{YOUR_TENANT}.my.contextual.io",
  organizationId: "{OPTIONAL_YOUR_ORGANIZATION_ID}",
  bearerToken: "{VALID_JWT}",
}))
Documentation

The documentation is accessible here.