@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.
- package/package.json +1 -1
- package/src/index.js +5 -3
package/package.json
CHANGED
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
|
|
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
|
/**
|