@adonis-agora/crypto-dashboard 0.1.0 → 0.1.2
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,28 +1,32 @@
|
|
|
1
1
|
# @adonis-agora/crypto-dashboard
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.2
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#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.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export button.
|
|
9
|
+
**The console mounted two page routes.** It registered `/<path>` **and** `/<path>/`; AdonisJS
|
|
10
|
+
normalizes the trailing slash, so those are the same route and the app died at boot with
|
|
11
|
+
`Duplicate route found. "GET: /<path>"`. One route is registered now (a request to `/<path>/` still
|
|
12
|
+
reaches it, because the router normalizes the URL).
|
|
14
13
|
|
|
15
|
-
The
|
|
16
|
-
`
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
**The console SPA threw "Illegal invocation" in Chrome.** Its API client stored `fetch` and called it
|
|
15
|
+
as `this.fetcher(...)`, which passes the instance as `this`; Chrome's `fetch` only accepts the global
|
|
16
|
+
object, so the console rendered an error while the API itself was fine (Node ignores `this`, which
|
|
17
|
+
is why tests never saw it). The fetcher is bound to `globalThis` once, and the console switcher's
|
|
18
|
+
`fetch` is explicitly `globalThis.fetch`.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
`
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
**`schema` was accepted and ignored.** `inSchema` only rewrote the table names of another package's
|
|
21
|
+
tables (`config_versions`, `config_audit` — a copy that was never pointed at crypto's own), so the
|
|
22
|
+
`crypto_*` DDL and queries went to `public` whatever `schema` said. It now rewrites `crypto_keys`,
|
|
23
|
+
`crypto_key_versions` and `crypto_audit` in both DDL and queries, inside transactions too. Covered by
|
|
24
|
+
a real-Postgres test (CI gets a Postgres service) that creates a non-default schema, forces
|
|
25
|
+
`search_path` away from it, and checks the tables, the key operations and the audit trail all land
|
|
26
|
+
there.
|
|
27
|
+
|
|
28
|
+
## 0.1.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- [#13](https://github.com/DavideCarvalho/adonis-agora-crypto/pull/13) [`10bcb45`](https://github.com/DavideCarvalho/adonis-agora-crypto/commit/10bcb455c9531608f5a870724c9faf6bbe099873) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - ⌘K now navigates: it lists every page of the console's sidebar and every other Agora console you can open ("Go to Workflows", found by "durable" too), matched case- and accent-insensitively, before the console's own commands and the cross-console search hits. ⌘K opens even without a search endpoint, and shows the pages and consoles before anything is typed.
|