saferoute-api 0.4.0 → 0.4.1
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 +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -221,8 +221,10 @@ _В разработке_
|
|
|
221
221
|
|
|
222
222
|
#### Получение данных и настроек пользователя по токену
|
|
223
223
|
|
|
224
|
+
Пример использования.
|
|
225
|
+
|
|
224
226
|
```typescript
|
|
225
|
-
import api, { UserData } from 'saferoute-api';
|
|
227
|
+
import api, { APIDataResponse, UserData } from 'saferoute-api';
|
|
226
228
|
|
|
227
229
|
const token = '******************';
|
|
228
230
|
|