call-control-sdk 6.4.2 → 6.4.3
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -303,10 +303,10 @@ export default function LogoutButton() {
|
|
|
303
303
|
get Authorization token for external API call
|
|
304
304
|
|
|
305
305
|
```tsx
|
|
306
|
-
import {
|
|
306
|
+
import { useGetAuthorizationToken } from "call-control-sdk";
|
|
307
307
|
|
|
308
308
|
export default function axios() {
|
|
309
|
-
const token =
|
|
309
|
+
const token = useGetAuthorizationToken();
|
|
310
310
|
|
|
311
311
|
console.log(token);
|
|
312
312
|
}
|