@security-alliance/seal-isac-sdk
v0.1.6
Published
SEAL-ISAC SDK
Downloads
1,165
Readme
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>;