File tree Expand file tree Collapse file tree 3 files changed +613
-672
lines changed Expand file tree Collapse file tree 3 files changed +613
-672
lines changed Original file line number Diff line number Diff line change 7272 "cross-fetch" : " ^3.1.5"
7373 },
7474 "devDependencies" : {
75- "@babel/preset-env" : " ^7.18.2 " ,
75+ "@babel/preset-env" : " ^7.18.6 " ,
7676 "@rollup/plugin-babel" : " ^5.3.1" ,
7777 "@rollup/plugin-commonjs" : " 22.0.1" ,
7878 "@rollup/plugin-json" : " ^4.0.2" ,
102102 "nodemon" : " ^2.0.16" ,
103103 "prettier" : " ^2.2.1" ,
104104 "pretty-bytes" : " ^5.6.0" ,
105- "rollup" : " ^2.75.5 " ,
105+ "rollup" : " ^2.76.0 " ,
106106 "rollup-plugin-terser" : " ^7.0.0" ,
107107 "rollup-plugin-typescript2" : " ^0.31.2" ,
108108 "shx" : " ^0.3.2" ,
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ class Client {
275275 * @method getKey
276276 *
277277 * @param {string } keyOrUid - Key or uid of the API key
278- * @returns {Promise<Keys > } Promise returning a key
278+ * @returns {Promise<Key > } Promise returning a key
279279 */
280280 async getKey ( keyOrUid : string ) : Promise < Key > {
281281 const url = `keys/${ keyOrUid } `
@@ -288,7 +288,7 @@ class Client {
288288 * @method createKey
289289 *
290290 * @param {KeyCreation } options - Key options
291- * @returns {Promise<Key> } Promise returning an object with keys
291+ * @returns {Promise<Key> } Promise returning a key
292292 */
293293 async createKey ( options : KeyCreation ) : Promise < Key > {
294294 const url = `keys`
@@ -302,7 +302,7 @@ class Client {
302302 *
303303 * @param {string } keyOrUid - Key
304304 * @param {KeyUpdate } options - Key options
305- * @returns {Promise<Key> } Promise returning an object with keys
305+ * @returns {Promise<Key> } Promise returning a key
306306 */
307307 async updateKey ( keyOrUid : string , options : KeyUpdate ) : Promise < Key > {
308308 const url = `keys/${ keyOrUid } `
You can’t perform that action at this time.
0 commit comments