@muhgholy/next-drive 4.17.0 → 4.17.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.
@@ -1607,7 +1607,7 @@ var driveUpload = async (source, key, options) => {
1607
1607
  }
1608
1608
  const isRootMode = config.mode === "ROOT";
1609
1609
  if (!options.enforce && !isRootMode) {
1610
- const quota = await provider.getQuota(key, accountId, void 0);
1610
+ const quota = await provider.getQuota(key, accountId, Number.MAX_SAFE_INTEGER);
1611
1611
  if (quota.usedInBytes + fileSize > quota.quotaInBytes) {
1612
1612
  throw new Error("Storage quota exceeded");
1613
1613
  }
@@ -2401,5 +2401,5 @@ var driveAPIHandler = async (req, res) => {
2401
2401
  };
2402
2402
 
2403
2403
  export { driveAPIHandler, driveConfiguration, driveDelete, driveFilePath, driveFileSchemaZod, driveGetUrl, driveInfo, driveList, driveReadFile, driveUpload, getDriveConfig, getDriveInformation };
2404
- //# sourceMappingURL=chunk-N3C7IKRK.js.map
2405
- //# sourceMappingURL=chunk-N3C7IKRK.js.map
2404
+ //# sourceMappingURL=chunk-QUBHH4G4.js.map
2405
+ //# sourceMappingURL=chunk-QUBHH4G4.js.map