@security-alliance/seal-isac-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

Usage

Setup

import { WebContentClient } from "@security-alliance/seal-isac-sdk";
// Initialize the SDK with your SEAL-ISAC host and API key
const client = new WebContentClient("https://sealisac.org", "your-api-key");

Functions

client.blockWebContent(content: WebContent, creator: Identifier<'identity'>): Promise<Indicator>;
client.unblockWebContent(content: WebContent): Promise<Indicator | undefined>;
client.trustWebContent(content: WebContent, creator: Identifier<'identity'>): Promise<Observable>;
client.untrustWebContent(content: WebContent): Promise<Observable | undefined>;

Package Sidebar

Install

npm i @security-alliance/seal-isac-sdk

Weekly Downloads

368

Version

0.1.6

License

UNLICENSED

Unpacked Size

18 kB

Total Files

14

Last publish

Collaborators

  • nikita-cp
  • samczsun