Commit 91e911a
fix: await demonstrateUsage() to make example output deterministic
The doubled fire-and-forget calls caused non-deterministic interleaved
output that differed between node and browser environments. Single
awaited call produces consistent output in both.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8fe40f3 commit 91e911a
2 files changed
Lines changed: 1 addition & 20 deletions
File tree
- packages/pki-lite-crypto-extended
- examples
- test/acceptance/__snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 101 | + | |
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 8 | | |
18 | 9 | | |
19 | 10 | | |
| |||
24 | 15 | | |
25 | 16 | | |
26 | 17 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 18 | | |
34 | 19 | | |
35 | 20 | | |
0 commit comments