Commit 274dfdf
committed
refactor(sdk): centralise store validation and remove internal selector export
- add assertValidStore() and getClientForReducerPath() to sdk-store so
davinci and journey no longer duplicate the isSdkStoreHandle guard
- davinci() and journey() now return GenericError on invalid store arg
instead of throwing, matching the oidc() error contract
- add conflicting-client guard to journey() via getClientForReducerPath
- remove createWellknownSelector from sdk-store public index (internal detail)
- conflictingClientId in oidc-client delegates to getClientForReducerPath
- update e2e apps to handle new union return types from davinci() and journey()1 parent 42e33a2 commit 274dfdf
19 files changed
Lines changed: 6130 additions & 7424 deletions
File tree
- e2e
- davinci-app
- journey-app
- packages
- davinci-client
- api-report
- src/lib
- journey-client
- api-report
- src/lib
- oidc-client
- api-report
- src/lib
- sdk-effects/store/src
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| 72 | + | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
0 commit comments