pinme 1.1.1-alpha.3 → 1.1.1-alpha.4
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1485,7 +1485,7 @@ var import_chalk6 = __toESM(require("chalk"));
|
|
|
1485
1485
|
var import_figlet3 = __toESM(require("figlet"));
|
|
1486
1486
|
|
|
1487
1487
|
// package.json
|
|
1488
|
-
var version = "1.1.1-alpha.
|
|
1488
|
+
var version = "1.1.1-alpha.4";
|
|
1489
1489
|
|
|
1490
1490
|
// bin/upload.ts
|
|
1491
1491
|
var import_path5 = __toESM(require("path"));
|
|
@@ -4370,7 +4370,7 @@ var import_chalk2 = __toESM(require("chalk"));
|
|
|
4370
4370
|
// bin/utils/uploadLimits.ts
|
|
4371
4371
|
var import_fs = __toESM(require("fs"));
|
|
4372
4372
|
var import_path = __toESM(require("path"));
|
|
4373
|
-
var FILE_SIZE_LIMIT = parseInt("
|
|
4373
|
+
var FILE_SIZE_LIMIT = parseInt("500", 10) * 1024 * 1024;
|
|
4374
4374
|
var DIRECTORY_SIZE_LIMIT = parseInt("500", 10) * 1024 * 1024;
|
|
4375
4375
|
function checkFileSizeLimit(filePath) {
|
|
4376
4376
|
const stats = import_fs.default.statSync(filePath);
|
|
@@ -4610,7 +4610,7 @@ function handleMultipartError(error, context) {
|
|
|
4610
4610
|
return `Upload error: ${error.message}`;
|
|
4611
4611
|
}
|
|
4612
4612
|
var ERROR_CODES = {
|
|
4613
|
-
"30001": `File too large, single file max size: ${"
|
|
4613
|
+
"30001": `File too large, single file max size: ${"500"}MB,single folder max size: ${"500"}MB`,
|
|
4614
4614
|
"30002": `Max storage quorum ${Number("1000") / 1e3} GB reached`
|
|
4615
4615
|
};
|
|
4616
4616
|
function loadFilesToArrRecursively(directoryPath, dist, basePath) {
|