4.0.0 • Published 2 months ago

@ospin/nexus v4.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 months ago

codecov

Documentation can be found here.


Table of Contents


Overview

The @ospin/nexus is a JavaScript SDK to communicate to Ospin's HTTP API. It is build on top of @aws-amplify. To use it, the user has to be registered at OSPIN.

Configuration

const nexus = require('@ospin/nexus')

nexus.configure() // set up the SDK for default usage

Authenticating

With the nexus configured, a user can authenticate as their OSPIN AWS Cognito user:

const username = 'Nero'
const password = 'BurnRome'
nexus.auth.signIn(username, password) // may require 2FA

Use Example

// loading a process

const processId = "a3339d89-345b-4baf-9859-46a4542a505a"
const {
  status: 200,
  data: process,
} = await nexus.process.get(processId)

Contributing

This repo employs the github action semantic-release, which, on approved PRs to main, sniffs the PR title/commit message to automatically bump the semantic versioning and publish the package to NPM.

All PRs to the main branch should indicate the semantic version change via the following options:

Available types:

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes (unclear if this bumps version)
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Add BREAKING CHANGE into the commit message body (!) to indicate a major version release.

4.0.0

2 months ago

3.20.0

8 months ago

3.17.0

10 months ago

3.19.0

9 months ago

3.21.0

7 months ago

3.16.0

10 months ago

3.18.0

9 months ago

3.15.0

11 months ago

3.13.1

11 months ago

3.12.0

11 months ago

3.14.0

11 months ago

3.11.0

11 months ago

3.13.0

11 months ago

3.9.0

1 year ago

3.10.0

1 year ago

3.8.0

1 year ago

3.6.0

1 year ago

3.7.0

1 year ago

3.5.0

1 year ago

3.4.0

1 year ago

3.2.1

2 years ago

3.3.0

1 year ago

3.2.0

2 years ago

3.1.0

2 years ago

2.11.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.4.0

2 years ago

2.6.0

2 years ago

2.8.0

2 years ago

2.3.0

2 years ago

2.5.0

2 years ago

2.10.0

2 years ago

2.7.0

2 years ago

2.9.0

2 years ago

2.7.1

2 years ago

2.2.0

2 years ago

2.0.0

2 years ago

1.25.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

1.24.1

2 years ago

1.24.0

2 years ago

1.23.0

2 years ago

1.22.0

2 years ago

1.19.0

2 years ago

1.21.0

2 years ago

1.20.1

2 years ago

1.20.0

2 years ago

1.15.0

2 years ago

1.18.0

2 years ago

1.17.0

2 years ago

1.16.0

2 years ago

1.14.0

3 years ago

1.13.0

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.0.0

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.0.2

3 years ago

0.0.115

3 years ago

0.0.114

3 years ago

0.0.113

3 years ago

0.0.112

3 years ago

0.0.111

3 years ago

0.0.11

3 years ago

0.0.1

3 years ago