@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.
- package/dist/{chunk-N3C7IKRK.js → chunk-QUBHH4G4.js} +3 -3
- package/dist/chunk-QUBHH4G4.js.map +1 -0
- package/dist/{chunk-XIUFYDVE.cjs → chunk-ZYDFFRK3.cjs} +3 -3
- package/dist/chunk-ZYDFFRK3.cjs.map +1 -0
- package/dist/server/controllers/drive.d.ts.map +1 -1
- package/dist/server/express.cjs +11 -11
- package/dist/server/express.js +2 -2
- package/dist/server/index.cjs +13 -13
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-N3C7IKRK.js.map +0 -1
- package/dist/chunk-XIUFYDVE.cjs.map +0 -1
|
@@ -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,
|
|
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-
|
|
2405
|
-
//# sourceMappingURL=chunk-
|
|
2404
|
+
//# sourceMappingURL=chunk-QUBHH4G4.js.map
|
|
2405
|
+
//# sourceMappingURL=chunk-QUBHH4G4.js.map
|