@clearrecord/check 1.2.0 → 1.3.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/bin/check.js +1024 -305
- package/bin/thin-client.js +2 -2
- package/package.json +2 -1
package/bin/thin-client.js
CHANGED
|
@@ -18249,7 +18249,7 @@ var {
|
|
|
18249
18249
|
// src/cli.ts
|
|
18250
18250
|
async function runCli({ repoUrl }) {
|
|
18251
18251
|
const apiKey = process.env.CLEARRECORD_API_KEY;
|
|
18252
|
-
const apiUrl = process.env.CLEARRECORD_API_URL || "https://clearrecord
|
|
18252
|
+
const apiUrl = process.env.CLEARRECORD_API_URL || "https://www.clearrecord.dev";
|
|
18253
18253
|
if (!apiKey) {
|
|
18254
18254
|
throw new Error("Missing API Key. Please set CLEARRECORD_API_KEY environment variable.");
|
|
18255
18255
|
}
|
|
@@ -18285,7 +18285,7 @@ async function main() {
|
|
|
18285
18285
|
}
|
|
18286
18286
|
try {
|
|
18287
18287
|
const reportId = await runCli({ repoUrl });
|
|
18288
|
-
const basePortalUrl = process.env.CLEARRECORD_PORTAL_URL || "https://clearrecord
|
|
18288
|
+
const basePortalUrl = process.env.CLEARRECORD_PORTAL_URL || "https://www.clearrecord.dev";
|
|
18289
18289
|
console.log(`
|
|
18290
18290
|
\u2705 Audit triggered successfully!`);
|
|
18291
18291
|
console.log(`Report ID: ${reportId}`);
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clearrecord/check",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Local Air-Gapped Code Security, Route Auth, SQL RLS, Billing & Index Scanner",
|
|
5
5
|
"main": "bin/check.js",
|
|
6
6
|
"bin": {
|
|
7
|
+
"check": "bin/check.js",
|
|
7
8
|
"clearrecord": "bin/check.js",
|
|
8
9
|
"clearrecord-check": "bin/check.js",
|
|
9
10
|
"clearrecord-cloud": "bin/thin-client.js"
|