diff --git a/src/config.ts b/src/config.ts index a07ee50e..fa734e78 100644 --- a/src/config.ts +++ b/src/config.ts @@ -18,7 +18,7 @@ /** * @private */ -const PICKER_VERSION = '1.29.3'; +const PICKER_VERSION = 'beta'; /** * @private diff --git a/src/lib/client.ts b/src/lib/client.ts index 5e3869f6..0fdb5ef1 100644 --- a/src/lib/client.ts +++ b/src/lib/client.ts @@ -475,7 +475,7 @@ export class Client extends EventEmitter { this.emit('upload.error', e); }); - return upload.upload(file, options.altText); + return upload.upload(file, options && options.altText); } /**