@quantovainc/qcore 0.1.3 → 0.1.4

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.3",
3
+ "version": "0.1.4",
4
4
  "description": "Quantova's post quantum client core for JavaScript. Signs with ML-DSA-65 and builds Q1 addresses.",
5
5
  "keywords": [
6
6
  "post-quantum",
@@ -44,10 +44,15 @@
44
44
  "./package.json": "./package.json"
45
45
  },
46
46
  "license": "(Apache-2.0 OR MIT)",
47
+ "author": "Quantova Inc",
48
+ "homepage": "https://github.com/Quantova/QCore.js#readme",
47
49
  "repository": {
48
50
  "type": "git",
49
51
  "url": "git+https://github.com/Quantova/QCore.js.git"
50
52
  },
53
+ "bugs": {
54
+ "url": "https://github.com/Quantova/QCore.js/issues"
55
+ },
51
56
  "publishConfig": {
52
57
  "access": "public"
53
58
  },
package/pkg/package.json CHANGED
@@ -2,11 +2,11 @@
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.1.0",
5
+ "version": "0.1.4",
6
6
  "license": "Apache-2.0 OR MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/Quantova/QCore-JS"
9
+ "url": "git+https://github.com/Quantova/QCore.js.git"
10
10
  },
11
11
  "files": [
12
12
  "qcore_js_bg.wasm",
Binary file
@@ -1,11 +1,11 @@
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.1.0",
4
+ "version": "0.1.4",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/Quantova/QCore-JS"
8
+ "url": "git+https://github.com/Quantova/QCore.js.git"
9
9
  },
10
10
  "files": [
11
11
  "qcore_js_bg.wasm",
Binary file
package/shared.js CHANGED
@@ -208,7 +208,7 @@ function makeClient(core) {
208
208
  submit(txHex) { return this._call('submit_transaction', core.submit_body(txHex)); }
209
209
  container(address) { return this._call('get_container', JSON.stringify({ address })); }
210
210
  storage(address) { return this._call('get_storage', JSON.stringify({ address })); }
211
- events(height) { return this._call('get_events', JSON.stringify({ height: Number(BigInt(height)) })); }
211
+ events(height) { return this._call('get_events', core.eventsBody(BigInt(height))); }
212
212
 
213
213
  address(seedHex, index) { return core.address(seedHex, BigInt(index)); }
214
214