@tivio/sdk-react 9.3.0 → 9.3.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 +4 -4
- package/README.md.bak +4 -4
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -182,13 +182,13 @@ await user.createUserProfile({
|
|
182
182
|
|
183
183
|
```typescript
|
184
184
|
user.setActiveUserProfileId(profileId: string): void
|
185
|
+
```
|
185
186
|
|
186
187
|
#### Delete user profile
|
187
188
|
|
188
189
|
```typescript
|
189
190
|
user.deleteUserProfile(profileId: string): Promise<void>
|
190
191
|
```
|
191
|
-
```
|
192
192
|
|
193
193
|
## Content
|
194
194
|
|
@@ -237,7 +237,7 @@ getFavorites(options?: GetUserProfileDataOptions): Promise<FavoriteWithData[]>
|
|
237
237
|
```
|
238
238
|
**Example**
|
239
239
|
```typescript
|
240
|
-
const favorites = await
|
240
|
+
const favorites = await user.getFavorites()
|
241
241
|
favorites.forEach(favorite => {
|
242
242
|
console.log({
|
243
243
|
name: favorite.name,
|
@@ -263,7 +263,7 @@ getWatchPositions(options?: GetUserProfileDataOptions): Promise<WatchPositionWit
|
|
263
263
|
```
|
264
264
|
**Example**
|
265
265
|
```typescript
|
266
|
-
const watchPositions = await
|
266
|
+
const watchPositions = await user.getWatchPositions()
|
267
267
|
watchPositions.forEach(watchPosition => {
|
268
268
|
console.log({
|
269
269
|
position: watchPosition.position, // watch position in milliseconds
|
@@ -284,7 +284,7 @@ getWatchHistory(options?: GetUserProfileDataOptions): Promise<WatchPositionWithD
|
|
284
284
|
```
|
285
285
|
**Example**
|
286
286
|
```typescript
|
287
|
-
const watchHistory = await
|
287
|
+
const watchHistory = await user.getWatchHistory()
|
288
288
|
watchHistory.forEach(watchPosition => {
|
289
289
|
console.log({
|
290
290
|
position: watchPosition.position, // watch position in milliseconds
|
package/README.md.bak
CHANGED
@@ -182,13 +182,13 @@ await user.createUserProfile({
|
|
182
182
|
|
183
183
|
```typescript
|
184
184
|
user.setActiveUserProfileId(profileId: string): void
|
185
|
+
```
|
185
186
|
|
186
187
|
#### Delete user profile
|
187
188
|
|
188
189
|
```typescript
|
189
190
|
user.deleteUserProfile(profileId: string): Promise<void>
|
190
191
|
```
|
191
|
-
```
|
192
192
|
|
193
193
|
## Content
|
194
194
|
|
@@ -237,7 +237,7 @@ getFavorites(options?: GetUserProfileDataOptions): Promise<FavoriteWithData[]>
|
|
237
237
|
```
|
238
238
|
**Example**
|
239
239
|
```typescript
|
240
|
-
const favorites = await
|
240
|
+
const favorites = await user.getFavorites()
|
241
241
|
favorites.forEach(favorite => {
|
242
242
|
console.log({
|
243
243
|
name: favorite.name,
|
@@ -263,7 +263,7 @@ getWatchPositions(options?: GetUserProfileDataOptions): Promise<WatchPositionWit
|
|
263
263
|
```
|
264
264
|
**Example**
|
265
265
|
```typescript
|
266
|
-
const watchPositions = await
|
266
|
+
const watchPositions = await user.getWatchPositions()
|
267
267
|
watchPositions.forEach(watchPosition => {
|
268
268
|
console.log({
|
269
269
|
position: watchPosition.position, // watch position in milliseconds
|
@@ -284,7 +284,7 @@ getWatchHistory(options?: GetUserProfileDataOptions): Promise<WatchPositionWithD
|
|
284
284
|
```
|
285
285
|
**Example**
|
286
286
|
```typescript
|
287
|
-
const watchHistory = await
|
287
|
+
const watchHistory = await user.getWatchHistory()
|
288
288
|
watchHistory.forEach(watchPosition => {
|
289
289
|
console.log({
|
290
290
|
position: watchPosition.position, // watch position in milliseconds
|