moeralib 0.18.7 → 0.19.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/lib/node/node.js +3 -2
- package/lib/node/validators.js +1953 -1369
- package/package.json +2 -1
- package/typings/node/node.d.ts +3 -2
- package/typings/node/node.d.ts.map +1 -1
- package/typings/node/types.d.ts +79 -17
- package/typings/node/types.d.ts.map +1 -1
- package/typings/node/validators.d.ts.map +1 -1
package/lib/node/node.js
CHANGED
|
@@ -1382,8 +1382,9 @@ class MoeraNode extends caller_1.Caller {
|
|
|
1382
1382
|
*
|
|
1383
1383
|
* @param {string | null} upload - ID of the media upload to be used instead of the request body
|
|
1384
1384
|
* @param {string | null} url - URL of the media to be used instead of the request body
|
|
1385
|
-
* @param {boolean | null} downsize - `true` to scale the uploaded image down to the size recommended by the node
|
|
1386
|
-
* if possible; the
|
|
1385
|
+
* @param {boolean | null} downsize - `true` to scale the uploaded image down to the size recommended by the node
|
|
1386
|
+
* or asynchronously compress an uploaded video to the recommended playback format and size, if possible; the
|
|
1387
|
+
* default is `false`
|
|
1387
1388
|
* @param {Buffer | null} body - optional
|
|
1388
1389
|
* @param {string | null} contentType - optional content-type of ``body``
|
|
1389
1390
|
* @return {Promise<API.PrivateMediaFileInfo>}
|