@quantovainc/qcore 0.1.17 → 0.1.18

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.1.17",
3
+ "version": "0.1.18",
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": "RUSTFLAGS=\"--remap-path-prefix=$HOME/quantova-stack=/qcore --remap-path-prefix=$HOME/.cargo=/cargo --remap-path-prefix=$HOME/.rustup=/rustup\" wasm-pack build --target bundler --out-dir pkg && RUSTFLAGS=\"--remap-path-prefix=$HOME/quantova-stack=/qcore --remap-path-prefix=$HOME/.cargo=/cargo --remap-path-prefix=$HOME/.rustup=/rustup\" wasm-pack build --target nodejs --out-dir pkg-node",
Binary file
Binary file
package/shared.js CHANGED
@@ -189,10 +189,8 @@ function makeClient(core) {
189
189
  return BigInt(core.chainIdFromName(name));
190
190
  }
191
191
 
192
- // The canonical mainnet name is still an open convention (the chain crate's id vs the "Q-main-net-1"
193
- // preset), so until it is settled the gate prompts for either candidate rather than miss the real one.
194
192
  _isMainnetId(id) {
195
- return id === BigInt(core.mainnetChainId()) || id === BigInt(core.chainIdFromName('Q-main-net-1'));
193
+ return id === BigInt(core.mainnetChainId());
196
194
  }
197
195
 
198
196
  async _call(method, body) {