From 0776ce5f1d72b739b07a46620528cdc17de9413c Mon Sep 17 00:00:00 2001 From: q_h Date: Thu, 25 Jul 2024 11:26:00 +0300 Subject: [PATCH] refactor: change `_token` from private to protected --- src/uploadx/lib/uploader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uploadx/lib/uploader.ts b/src/uploadx/lib/uploader.ts index 3957849..0f5ac28 100644 --- a/src/uploadx/lib/uploader.ts +++ b/src/uploadx/lib/uploader.ts @@ -59,8 +59,8 @@ export abstract class Uploader implements UploadState { responseType?: 'json' | 'text' | 'document'; protected _authorize: AuthorizeRequest; protected _prerequest: PreRequest; + protected _token!: string; private _eventsCount = 0; - private _token!: string; constructor( readonly file: File,