🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

onshape

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onshape - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+3
-3
dist/api/client.js

@@ -7,4 +7,4 @@ "use strict";

const READ_RETRY_STATUSES = new Set([408, 429, 500, 502, 503, 504]);
const MAX_READ_ATTEMPTS = 5;
const MAX_RETRY_DELAY_MS = 10_000;
const MAX_READ_ATTEMPTS = 8;
const MAX_RETRY_DELAY_MS = 30_000;
class HttpError extends Error {

@@ -121,3 +121,3 @@ status;

}
return Math.min(500 * 2 ** (attempt - 1), MAX_RETRY_DELAY_MS);
return Math.min(1000 * 2 ** (attempt - 1), MAX_RETRY_DELAY_MS);
}
{
"name": "onshape",
"version": "0.1.3",
"version": "0.1.4",
"description": "Node.js CLI for Onshape CAD automation with the same JSON contract as onshape-cli.",

@@ -5,0 +5,0 @@ "license": "MIT",