circuitscan
Advanced tools
Comparing version 0.0.1-alpha to 0.0.2-alpha
@@ -9,7 +9,6 @@ import {relative, dirname} from 'node:path'; | ||
const defaultCircomPath = 'circom-v2.1.8'; | ||
// TODO create a cloudformation template for the pkg_association service | ||
const serverURL = 'http://localhost:9000/2015-03-31/functions/function/invocations'; | ||
const serverURL = 'https://rekwakezbjsulha5ypzpjk3c7u0rfcgp.lambda-url.us-west-2.on.aws/'; | ||
// Default running on AWS Lambda max 10GB ram | ||
const circomCompilerURL = 'https://uvopzbfbfz5i5m4i3tsgq7rjeu0glwdl.lambda-url.us-west-2.on.aws/'; | ||
const statusURL = 'https://circuitscan-blobs.s3.us-west-002.backblazeb2.com/status/'; | ||
const statusURL = 'https://blob.circuitscan.org/status/'; | ||
const stackStarterURL = 'https://fydvjclemuhxdzsv2treynl32q0rwtpp.lambda-url.us-west-2.on.aws/'; | ||
@@ -163,3 +162,2 @@ | ||
if('errorType' in body) { | ||
console.error(body.errorMessage); | ||
throw new Error('Invalid compilation result'); | ||
@@ -190,3 +188,3 @@ } | ||
}); | ||
if (!response.ok) { | ||
if (!response.ok && response.status !== 400) { | ||
throw new Error('Network response was not ok'); | ||
@@ -193,0 +191,0 @@ } |
{ | ||
"name": "circuitscan", | ||
"version": "0.0.1-alpha", | ||
"version": "0.0.2-alpha", | ||
"main": "index.js", | ||
@@ -9,2 +9,6 @@ "type": "module", | ||
"private": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/circuitscan/cli.git" | ||
}, | ||
"bin": { | ||
@@ -11,0 +15,0 @@ "circuitscan": "./cli.js" |
@@ -54,3 +54,3 @@ import https from 'https'; | ||
} catch (error) { | ||
if(error.message !== 'not_found') { | ||
if(!error.message.startsWith('Unexpected token')) { | ||
console.error('Error fetching data:', error); | ||
@@ -57,0 +57,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
25899
11
629