@quantovainc/qcore 0.5.2 → 0.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantovainc/qcore",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Quantova's post quantum client core for JavaScript. Signs with ML-DSA-65 and builds Q1 addresses.",
5
5
  "scripts": {
6
6
  "build": "bash scripts/build.sh",
package/pkg/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "qcore-js",
3
3
  "type": "module",
4
4
  "description": "The JavaScript binding for the Quantova client core, generated over QCore with wasm-bindgen. The core does the key derivation, the post quantum signing, and the wire, the page does the fetch.",
5
- "version": "0.5.2",
5
+ "version": "0.5.3",
6
6
  "license": "Apache-2.0 OR MIT",
7
7
  "repository": {
8
8
  "type": "git",
Binary file
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qcore-js",
3
3
  "description": "The JavaScript binding for the Quantova client core, generated over QCore with wasm-bindgen. The core does the key derivation, the post quantum signing, and the wire, the page does the fetch.",
4
- "version": "0.5.2",
4
+ "version": "0.5.3",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "repository": {
7
7
  "type": "git",
Binary file
package/shared.js CHANGED
@@ -419,7 +419,7 @@ function makeClient(core) {
419
419
  redirect: 'error',
420
420
  });
421
421
  const text = await readBounded(res);
422
- if (strict && res.status === 200) core.checkGatewayJson(text);
422
+ if (res.status === 200) core.checkGatewayJson(text);
423
423
  let data;
424
424
  try { data = JSON.parse(text); } catch { throw new Error('the node returned a non JSON response'); }
425
425
  if (res.status !== 200) {
package/shared.mjs CHANGED
@@ -419,7 +419,7 @@ function makeClient(core) {
419
419
  redirect: 'error',
420
420
  });
421
421
  const text = await readBounded(res);
422
- if (strict && res.status === 200) core.checkGatewayJson(text);
422
+ if (res.status === 200) core.checkGatewayJson(text);
423
423
  let data;
424
424
  try { data = JSON.parse(text); } catch { throw new Error('the node returned a non JSON response'); }
425
425
  if (res.status !== 200) {