@qed-proof/sdk 0.1.1 → 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/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to `@qed-proof/sdk` are documented here. Format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [0.1.4] - Unreleased
8
+
9
+ ### Fixed
10
+ - Works in browsers: `QedProof` now calls `fetch` as a plain function. 0.1.0–0.1.3 called it as a method of the client, which browsers reject with "Illegal invocation" (Node accepts it).
11
+
12
+ ## [0.1.3] - Unreleased
13
+
14
+ Same code as 0.1.2. 0.1.2 was tagged but never published: the release job's npm was too old for trusted publishing.
15
+
16
+ ## [0.1.2] - never published
17
+
18
+ ### Fixed
19
+ - Works under a strict Content-Security-Policy (no `'unsafe-eval'`). The receipt schema is now precompiled at build time (ajv standalone), so importing the SDK no longer generates code with `new Function`; 0.1.1 threw at import in such pages. `ajv` and `ajv-formats` are no longer runtime dependencies.
20
+
7
21
  ## [0.1.1] - Unreleased
8
22
 
9
23
  The first published version. 0.1.0 was tagged on the public repo but never published.