Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/@inxt-js/api/FileObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { Logger } from '../lib/download';
import { wrap } from '../lib/utils/error';
import { EventEmitter } from '../lib/utils/eventEmitter';
import { logger } from '../lib/utils/logger';
import { Bridge, InxtApiI } from '../services/api';
import FileManager from './FileManager';
import { DEFAULT_INXT_MIRRORS, DOWNLOAD_CANCELLED } from './constants';

Expand All @@ -34,7 +33,6 @@ export class FileObject extends EventEmitter {
fileKey: Buffer;

private aborted = false;
private api: InxtApiI;
private file: FileManager;

constructor(config: EnvironmentConfig, bucketId: string, fileId: string, debug: Logger, file: FileManager) {
Expand All @@ -43,8 +41,6 @@ export class FileObject extends EventEmitter {
this.bucketId = bucketId;
this.fileId = fileId;
this.fileKey = Buffer.alloc(0);

this.api = new Bridge(config);
this.file = file;

this.once(DOWNLOAD_CANCELLED, this.abort.bind(this));
Expand Down
315 changes: 0 additions & 315 deletions src/@inxt-js/api/FileObjectUpload.ts

This file was deleted.

Loading
Loading