Socket
Socket
Sign inDemoInstall

@halo-media/ts-client-api

Package Overview
Dependencies
5
Maintainers
7
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @halo-media/ts-client-api

A library for interacting with the Ticketsocket integration API


Version published
Weekly downloads
959
increased by282.07%
Maintainers
7
Created
Weekly downloads
 

Readme

Source

Ticketsocket Client API

The main purpose of this library is to communicate with the Ticketsocket Integration API

Usage

Script Tag

<script src="/dist/ticketsocket-client-api.umd.js"></script>
<script>
let ticketsocket = new Ticketsocket.API('http://localhost:3000/', 'test-token');
ticketsocket.getCategories().then(console.log, console.error);
ticketsocket.getEvents().then(console.log, console.error);
</script>

ES6

import Ticketsocket from 'ticketsocket-client-api';

let ticketsocket = new Ticketsocket.API('http://localhost:3000/', 'test-token');
ticketsocket.getCategories().then(console.log, console.error);
ticketsocket.getEvents().then(console.log, console.error);

Development

You can link this repository for client API development

Run in this repository directory:

npm link

Run in the project consuming this library

npm link ticketsocket-client-api

Update version & NPM package

To update package version, create new tag and publish new version to npm do:

npm version {x.x.x}

npm run build

npm commit -m "Update package to v{x.x.x}"

npm git push origin

npm publish

FAQs

Last updated on 16 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc