@nextlyhq/storage-s3 0.0.2-alpha.70 → 0.0.2-alpha.71

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.cjs CHANGED
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
3
3
  let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
4
4
  let _aws_sdk_s3_request_presigner = require("@aws-sdk/s3-request-presigner");
5
- // ../nextly/dist/nextly-error-D21_8kpX.mjs
5
+ // ../nextly/dist/nextly-error-CwDiSPDF.mjs
6
6
  function isDbError(err) {
7
7
  if (!err || typeof err !== "object") return false;
8
8
  const obj = err;
@@ -80,6 +80,7 @@ const NEXTLY_ERROR_STATUS = {
80
80
  API_KEY_ROLE_ABOVE_CREATOR: 403,
81
81
  NOT_FOUND: 404,
82
82
  METHOD_NOT_ALLOWED: 405,
83
+ RANGE_NOT_SATISFIABLE: 416,
83
84
  CONFLICT: 409,
84
85
  DUPLICATE: 409,
85
86
  RATE_LIMITED: 429,
@@ -193,6 +194,7 @@ const GENERIC_PUBLIC_MESSAGE = {
193
194
  FORBIDDEN: "You don't have permission to perform this action.",
194
195
  NOT_FOUND: "Not found.",
195
196
  METHOD_NOT_ALLOWED: "That method is not allowed on this address.",
197
+ RANGE_NOT_SATISFIABLE: "The requested range is outside the file.",
196
198
  CONFLICT: "The resource has changed since you last loaded it. Please refresh and try again.",
197
199
  DUPLICATE: "Resource already exists.",
198
200
  PAYLOAD_TOO_LARGE: "The request is too large.",
@@ -642,7 +644,7 @@ var NextlyError = class NextlyError extends Error {
642
644
  return NextlyError.isCode(err, "RATE_LIMITED");
643
645
  }
644
646
  };
645
- // ../nextly/dist/validate-external-url-uHUKFZGh.mjs
647
+ // ../nextly/dist/validate-external-url-CnZrcJdP.mjs
646
648
  /** Default response body cap: reject anything larger before buffering it all. */
647
649
  /**
648
650
  * How many bytes a bounded external read may buffer, absent a caller's own cap.