
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@dropthis/sdk
Advanced tools
Official Node.js SDK for Dropthis.
npm install @dropthis/sdk
import { Dropthis } from "@dropthis/sdk";
const dropthis = new Dropthis({ apiKey: process.env.DROPTHIS_API_KEY });
const { data, error } = await dropthis.publish("./dist", {
title: "Generated launch page",
visibility: "unlisted",
});
if (error) {
console.error(error.message);
process.exit(1);
}
console.log(data.url);
const created = await dropthis.publish("./dist", { title: "Launch" });
if (created.error) throw new Error(created.error.message);
const updated = await dropthis.update(created.data.id, "./dist", {
ifRevision: created.data.revision,
});
if (updated.error) throw new Error(updated.error.message);
const deployments = await dropthis.deployments.list(created.data.id);
Supported inputs:
content, files, sourceUrl, and sourceUrls objectsLarge strings, binary inputs, local files, local folders, and explicit files are staged through /uploads, signed object-store PUT requests, upload completion, then a final upload_id publish request.
SDK methods return { data, error, headers }.
const result = await dropthis.drops.get("drop_123");
if (result.error) {
console.error(result.error.code, result.error.message);
}
dropthis.auth.requestEmailOtp({ email: "agent@example.com" });
dropthis.auth.verifyEmailOtp({ email: "agent@example.com", code: "123456" });
dropthis.apiKeys.create({ label: "CI" });
dropthis.drops.list({ limit: 20 });
dropthis.drops.get("drop_123");
dropthis.drops.update("drop_123", { title: "Updated" });
dropthis.drops.delete("drop_123");
dropthis.uploads.create({
schemaVersion: 1,
files: [{ path: "index.html", contentType: "text/html", sizeBytes: 12 }],
});
dropthis.uploads.get("upl_123");
dropthis.uploads.complete("upl_123", { files: {} });
dropthis.uploads.cancel("upl_123");
dropthis.deployments.list("drop_123");
dropthis.deployments.get("drop_123", "dep_123");
dropthis.account.get();
FAQs
Official Node.js SDK for Dropthis.
We found that @dropthis/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.