@pbvision/partner-sdk 0.1.12 → 0.1.13

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +5 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pbvision/partner-sdk",
3
3
  "description": "SDK for interacting with the PB Vision pickleball AI engine.",
4
- "version": "0.1.12",
4
+ "version": "0.1.13",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
package/src/index.js CHANGED
@@ -62,11 +62,13 @@ export class PBVision {
62
62
  * partner account uploaded.
63
63
  *
64
64
  * @param {string} vid video id
65
- * @param {Array<string>} editorEmails a list of 0 to 4 email addresses to
65
+ * @param {Array<string>} editorEmails a list of 0 to 8 email addresses to
66
66
  * allow edit access to the video (replaces any previous editors list).
67
+ * @param {Array<string>} viewerEmails a list of 0 to 8 email addresses to
68
+ * allow view access to the video (replaces any previous editors list).
67
69
  */
68
- async setVideoEditors (vid, editorEmails) {
69
- return this.__callAPI('video/editors/set', { vid, editorEmails })
70
+ async setVideoEditors (vid, editorEmails, viewerEmails) {
71
+ return this.__callAPI('video/editors/set', { vid, editorEmails, viewerEmails })
70
72
  }
71
73
 
72
74
  /**