@adonis-agora/crypto-dashboard 0.1.1 → 0.2.0

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
@@ -1,5 +1,36 @@
1
1
  # @adonis-agora/crypto-dashboard
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#27](https://github.com/DavideCarvalho/adonis-agora-crypto/pull/27) [`48979d0`](https://github.com/DavideCarvalho/adonis-agora-crypto/commit/48979d0b6f9c8cfefbefaab7ac1895aa8a48ecac) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The console's filters now live in the URL, so a view can be shared, bookmarked and reloaded, and back/forward step through it: the app picked in the topbar, the Keys search and page, and the Audit key, operation, result and page. They sit in the hash's query (`#/audit?app=billing&result=denied`); a value at its default is left out, so existing links (including `#/keys?key=<name>`) open as before, and the picked app is kept when you move between pages.
8
+
9
+ ## 0.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#22](https://github.com/DavideCarvalho/adonis-agora-crypto/pull/22) [`7523a85`](https://github.com/DavideCarvalho/adonis-agora-crypto/commit/7523a8584e2fff63912c444dad4b911e5531719c) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Three fixes found while building the Agora hub.
14
+
15
+ **The console mounted two page routes.** It registered `/<path>` **and** `/<path>/`; AdonisJS
16
+ normalizes the trailing slash, so those are the same route and the app died at boot with
17
+ `Duplicate route found. "GET: /<path>"`. One route is registered now (a request to `/<path>/` still
18
+ reaches it, because the router normalizes the URL).
19
+
20
+ **The console SPA threw "Illegal invocation" in Chrome.** Its API client stored `fetch` and called it
21
+ as `this.fetcher(...)`, which passes the instance as `this`; Chrome's `fetch` only accepts the global
22
+ object, so the console rendered an error while the API itself was fine (Node ignores `this`, which
23
+ is why tests never saw it). The fetcher is bound to `globalThis` once, and the console switcher's
24
+ `fetch` is explicitly `globalThis.fetch`.
25
+
26
+ **`schema` was accepted and ignored.** `inSchema` only rewrote the table names of another package's
27
+ tables (`config_versions`, `config_audit` — a copy that was never pointed at crypto's own), so the
28
+ `crypto_*` DDL and queries went to `public` whatever `schema` said. It now rewrites `crypto_keys`,
29
+ `crypto_key_versions` and `crypto_audit` in both DDL and queries, inside transactions too. Covered by
30
+ a real-Postgres test (CI gets a Postgres service) that creates a non-default schema, forces
31
+ `search_path` away from it, and checks the tables, the key operations and the audit trail all land
32
+ there.
33
+
3
34
  ## 0.1.1
4
35
 
5
36
  ### Patch Changes