@checkbox-site/node 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +35 -1
- package/dist/client.js +3 -2
- package/dist/generated/operations.d.ts +72 -7
- package/dist/generated/operations.js +66 -7
- package/dist/generated/types.d.ts +586 -55
- package/dist/generated/types.js +1 -1
- package/dist/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/generated/types.js
CHANGED
|
@@ -6,7 +6,7 @@ export const API_VERSION = "2026-10-30";
|
|
|
6
6
|
/** Every API version the server knows, oldest first. */
|
|
7
7
|
export const API_VERSIONS = ["2026-10-30"];
|
|
8
8
|
/** Every webhook event type. */
|
|
9
|
-
export const WEBHOOK_EVENT_TYPES = ["plan.updated", "task.verified", "notice.due", "notice.overdue", "receipt.created", "test_run.completed", "test_run.failed", "site.score_changed", "
|
|
9
|
+
export const WEBHOOK_EVENT_TYPES = ["plan.updated", "task.verified", "notice.due", "notice.overdue", "receipt.created", "test_run.completed", "test_run.failed", "site.score_changed", "finding.created", "finding.resolved", "scan.completed", "scan.failed", "law.changed", "certificate.issued", "certificate.lapsed", "certificate.revoked", "notice.sent", "consent.created", "site.compliant"];
|
|
10
10
|
// ---- Errors ----------------------------------------------------------------------------------------------------
|
|
11
11
|
/** Stable error codes (`error.code`), with HTTP status, type and meaning. Codes are never renamed. */
|
|
12
12
|
export const ERROR_CODES = {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Checkbox Node SDK. Public surface:
|
|
2
|
-
// import Checkbox from '@checkbox-site/node';
|
|
2
|
+
// import Checkbox from '@checkbox-site/node'; // or: import { Checkbox } from '@checkbox-site/node';
|
|
3
3
|
// const checkbox = new Checkbox(process.env.CHECKBOX_API_KEY);
|
|
4
4
|
// await checkbox.checks.stripeCheckoutSession({ params });
|
|
5
5
|
// const event = checkbox.webhooks.constructEvent(rawBody, req.headers['checkbox-signature'], secret);
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Version of this SDK (kept equal to packages/sdk-node/package.json "version"; a test checks it). */
|
|
2
|
-
export declare const SDK_VERSION = "0.1.
|
|
2
|
+
export declare const SDK_VERSION = "0.1.1";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Version of this SDK (kept equal to packages/sdk-node/package.json "version"; a test checks it). */
|
|
2
|
-
export const SDK_VERSION = '0.1.
|
|
2
|
+
export const SDK_VERSION = '0.1.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkbox-site/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Checkbox Node.js SDK: automatic-renewal-law compliance (ROSCA, California ARL, New York and other state laws) for subscription businesses. Zero dependencies. Published to npm as @checkbox-site/node.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"subscription",
|