Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

topics-client

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

topics-client

Client bits for topics

  • 1.0.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Topic Usages Client

Simple wrapper for queuing updates of usages to topics.

Example code:

import { createClient } from "@skilitics/topic-usages-client";

const client = createClient({
  region: "ap-southeast-2",
  queueUrl: "https://sqs.ap-southeast-2.amazonaws.com/967555615294/topics-api-dev-usagesQueue",
  systemName: "Interact Designer",
});

const { successful, failed } = await client.updateUsages({
  type: "AddTopicUsage",
  consumerId: "1212-ab43",
  topicId: 3,
});

You can pass multiple messages to updateUsages and they will be sent in a batch, and executed in order.

FAQs

Package last updated on 11 Jan 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc