@soulmachines/smwebsdk
TypeScript icon, indicating that this package has built-in type declarations

15.8.1 • Public • Published

@soulmachines/smwebsdk

The Soul Machines Web SDK can be used for presenting and interacting with Digital Heroes in a web page or front-end JavaScript application.

You will need access to a Soul Machines Digital Hero to use this library.

Full documentation can be found in the Soul Machines Support Portal.

Installation

npm install @soulmachines/smwebsdk

Usage

import { smwebsdk } from '@soulmachines/smwebsdk'

See the Soul Machines Support Portal for further documentation.

License

Please see the End User Licence Agreement included with the code.

Release

The web sdk is released using github actions.

Releases are stored here: https://github.com/soulmachines/smwebsdk/releases.

There are three key actions to consider during release:

  1. Draft release PR. On merge to main this action creates a draft PR using Google's release-please action. This identifies changes as fixes and features to update release notes, creates a github release and assigns a new semver version into package.json. As more changes are merged release-please automatically updates the PR. When the release is ready to be made, the PR can be promoted from draft, approved and merged
  2. Publish to Github Packages. This action runs automatically on release (triggered by release-please PR merge) and will update the package registry in github. It can also be run manually.
  3. Publish to npm. This is a manual run github action. Take the version number assigned by the release-please PR's merge (in package.json) and specify it as a parameter to this job: Release tag name to publish (eg. v1.0.0). Publishing to npm makes the release publicly available to customers.

Readme

Keywords

none

Package Sidebar

Install

npm i @soulmachines/smwebsdk

Weekly Downloads

349

Version

15.8.1

License

ISC

Unpacked Size

7.85 MB

Total Files

1117

Last publish

Collaborators

  • tanya.sm
  • soulmachines-ci
  • timw-sm