Commit 06bd044
committed
pryv@3.3.0 + lockstep bumps: drop pryv.cmc.*, add utils.decomposeAPIEndpoint
pryv@3.3.0 slim-down: the pryv.cmc.* namespace moves to a new
sibling package @pryv/cmc@1.0.0 (separate commit). The sole consumer
of the pre-existing v3.2.0 pryv.cmc.* surface (hds-macro) is still on
pryv@3.0.4 and informed directly, so no deprecation shim is shipped.
Removed
- components/pryv/src/cmc.js + components/pryv/test/cmc.test.js.
- pryv.cmc namespace + types from index.d.ts (was never on master --
only on three unmerged commits 39dfba9 / 589e2d4 / ff55697 that
this session reset away). Nothing to remove from index.d.ts proper.
- pryv.cmc export from components/pryv/src/index.js.
Added
- pryv.utils.decomposeAPIEndpoint(apiEndpoint, serviceInfoApi)
decomposes a Pryv apiEndpoint into { token, username, host } by
inverting the platform's service.info.api template (subdomain vs
path-style). Returns the canonical platform host (no <username>.
subdomain prefix) -- the identity cross-account features key on,
regardless of which user the endpoint belongs to. Previously
pryv.cmc.extractActor; promoted to utils for general use.
- DecomposedAPIEndpoint type exposed in index.d.ts.
- [UTLM] decomposeAPIEndpoint tests (4 cases).
Lockstep bumps
- @pryv/monitor 3.2.0 -> 3.3.0 (no code change).
- @pryv/socket.io 3.2.0 -> 3.3.0 (no code change).
Tests: pryv 177/0, @pryv/monitor 24/0.1 parent 7598a8a commit 06bd044
11 files changed
Lines changed: 214 additions & 545 deletions
File tree
- components
- pryv-monitor
- pryv-socket.io
- pryv
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
20 | 62 | | |
21 | 63 | | |
22 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments