@boldvideo/bold-js 1.11.1 → 1.12.0
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/CHANGELOG.md +6 -0
- package/README.md +2 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -62,8 +62,9 @@ console.log(recs.guidance);
|
|
|
62
62
|
// List latest videos
|
|
63
63
|
const videos = await bold.videos.list();
|
|
64
64
|
|
|
65
|
-
// Get a single video
|
|
65
|
+
// Get a single video by ID or slug
|
|
66
66
|
const video = await bold.videos.get('video-id');
|
|
67
|
+
const videoBySlug = await bold.videos.get('my-video-slug');
|
|
67
68
|
|
|
68
69
|
// Search videos
|
|
69
70
|
const results = await bold.videos.search('pricing strategies');
|
package/dist/index.d.ts
CHANGED