@internxt/sdk 1.10.0 → 1.10.1

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.
@@ -238,6 +238,12 @@ export declare class Storage {
238
238
  * @param payload
239
239
  */
240
240
  addItemsToTrash(payload: AddItemsToTrashPayload): Promise<void>;
241
+ /**
242
+ * @returns whether the user has uploaded any files
243
+ */
244
+ hasUploadedFiles(): Promise<{
245
+ hasUploadedFiles: boolean;
246
+ }>;
241
247
  /**
242
248
  * Returns a list of the n most recent files
243
249
  * @param limit
@@ -514,6 +514,12 @@ var Storage = /** @class */ (function () {
514
514
  items: payload.items,
515
515
  }, this.headers());
516
516
  };
517
+ /**
518
+ * @returns whether the user has uploaded any files
519
+ */
520
+ Storage.prototype.hasUploadedFiles = function () {
521
+ return this.client.get('/users/me/upload-status', this.headers());
522
+ };
517
523
  /**
518
524
  * Returns a list of the n most recent files
519
525
  * @param limit
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@internxt/sdk",
3
3
  "author": "Internxt <hello@internxt.com>",
4
- "version": "1.10.0",
4
+ "version": "1.10.1",
5
5
  "description": "An sdk for interacting with Internxt's services",
6
6
  "repository": {
7
7
  "type": "git",