1.1.8 • Published 4 months ago

@unito/integrations-platform-client v1.1.8

Weekly downloads
-
License
LicenseRef-LICENS...
Repository
-
Last release
4 months ago

Integrations Platform - Client

This component is a JS client library to communicate with the Integrations Platform Server. It exposes a standard oazapfts interface compiled without the --optimistic option.

Getting started

  1. Install the library:
npm install @unito/integrations-platform-client
  1. Use the library:
import * as IntegrationsPlatform from '@unito/integrations-platform-client';

IntegrationsPlatform.defaults.baseUrl = 'http://enpoint.to.the.server';
IntegrationsPlatform.defaults.headers = { Authorization: 'Bearer YOUR_TOKEN' };

try {
  IntegrationsPlatform.optimistic(IntegrationsPlatform.getIntegrations());
} catch (err: unknown) {
  if (err instanceof IntegrationsPlatform.HttpError) {
    // Handle the error.
  }
}

See oazapfts for more information.

Development

Getting started

Install the dependencies:

npm --no-audit --no-fund ci

Regenerate the library

npm publish --dry-run

Publish the library

  1. Modify the version. For example:
npm version minor

See npm version help for more information.

  1. Create a changeset -> pull request -> merge on main.

  2. A Github Action will automatically publish the package in our private NPM repository.

Terms and Conditions

By using the Integration Platform Client, you agree to be bound by our terms and conditions. Please ensure you have read and understood the Unito Software Development Kit Agreement before using the Platform Client. The full agreement can be found at Unito SDK Agreement.

1.1.8

4 months ago

1.1.7

5 months ago

1.1.6

7 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.2

11 months ago

1.0.1

1 year ago

1.0.0

1 year ago

0.48.4

1 year ago

0.48.3

1 year ago

0.48.2

1 year ago

0.48.1

1 year ago

0.48.0

1 year ago

0.46.2

1 year ago

0.44.4

2 years ago

0.46.0

1 year ago

0.47.0

1 year ago

0.46.1

1 year ago

0.44.3

2 years ago

0.45.0

1 year ago

0.40.3

2 years ago

0.40.2

2 years ago

0.40.1

2 years ago