Commit 8c2d12d
Or Shemesh
Merged PR 275402: New API setSdkInfo in service + version bump 2.21.1
sdkType tells us which SDK wrapper performs the actions, e.g: powerbi-client-react, powerbi-client-angular...
To update it we should pass the type in the header 'x-sdk-type` which is populated in the service constructor. Therefore, each wrapper needs to pass the correct sdkType when initiating the service (see example: [Pull Request 274150](https://dev.azure.com/powerbi/Embedded/_git/powerbi-client-react/pullrequest/274150)).
**What is the problem?** if user injects a new powerbi service to the wrapper and doesn't use the default service, the sdkType won't be populated.
As a result, I created new API in the service, so we could update in each wrapper the sdk type after the service is created.
In addition, create new header `x-sdk-wrapper-version`.1 parent c1188f0 commit 8c2d12d
File tree
7 files changed
+49
-14
lines changed- dist
- src
7 files changed
+49
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
2057 | 2057 | | |
2058 | 2058 | | |
2059 | 2059 | | |
| 2060 | + | |
2060 | 2061 | | |
2061 | 2062 | | |
2062 | 2063 | | |
| |||
2254 | 2255 | | |
2255 | 2256 | | |
2256 | 2257 | | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
2257 | 2266 | | |
2258 | 2267 | | |
2259 | 2268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
8931 | 8931 | | |
8932 | 8932 | | |
8933 | 8933 | | |
8934 | | - | |
| 8934 | + | |
8935 | 8935 | | |
8936 | 8936 | | |
8937 | 8937 | | |
| |||
10044 | 10044 | | |
10045 | 10045 | | |
10046 | 10046 | | |
10047 | | - | |
| 10047 | + | |
10048 | 10048 | | |
10049 | 10049 | | |
10050 | 10050 | | |
10051 | 10051 | | |
10052 | | - | |
| 10052 | + | |
| 10053 | + | |
10053 | 10054 | | |
10054 | 10055 | | |
10055 | 10056 | | |
| |||
12410 | 12411 | | |
12411 | 12412 | | |
12412 | 12413 | | |
12413 | | - | |
| 12414 | + | |
12414 | 12415 | | |
12415 | 12416 | | |
12416 | 12417 | | |
| |||
12836 | 12837 | | |
12837 | 12838 | | |
12838 | 12839 | | |
| 12840 | + | |
| 12841 | + | |
| 12842 | + | |
| 12843 | + | |
| 12844 | + | |
| 12845 | + | |
| 12846 | + | |
| 12847 | + | |
| 12848 | + | |
| 12849 | + | |
| 12850 | + | |
12839 | 12851 | | |
12840 | 12852 | | |
12841 | 12853 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| 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 | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | | - | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
632 | 633 | | |
633 | 634 | | |
634 | 635 | | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
635 | 648 | | |
0 commit comments