@nextlyhq/storage-vercel-blob 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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { BlobNotFoundError, del, head, list, put } from "@vercel/blob";
2
- // ../nextly/dist/nextly-error-D21_8kpX.mjs
2
+ // ../nextly/dist/nextly-error-CwDiSPDF.mjs
3
3
  function isDbError(err) {
4
4
  if (!err || typeof err !== "object") return false;
5
5
  const obj = err;
@@ -77,6 +77,7 @@ const NEXTLY_ERROR_STATUS = {
77
77
  API_KEY_ROLE_ABOVE_CREATOR: 403,
78
78
  NOT_FOUND: 404,
79
79
  METHOD_NOT_ALLOWED: 405,
80
+ RANGE_NOT_SATISFIABLE: 416,
80
81
  CONFLICT: 409,
81
82
  DUPLICATE: 409,
82
83
  RATE_LIMITED: 429,
@@ -190,6 +191,7 @@ const GENERIC_PUBLIC_MESSAGE = {
190
191
  FORBIDDEN: "You don't have permission to perform this action.",
191
192
  NOT_FOUND: "Not found.",
192
193
  METHOD_NOT_ALLOWED: "That method is not allowed on this address.",
194
+ RANGE_NOT_SATISFIABLE: "The requested range is outside the file.",
193
195
  CONFLICT: "The resource has changed since you last loaded it. Please refresh and try again.",
194
196
  DUPLICATE: "Resource already exists.",
195
197
  PAYLOAD_TOO_LARGE: "The request is too large.",
@@ -656,7 +658,7 @@ function ipv4ToInt(ip) {
656
658
  }
657
659
  return acc >>> 0;
658
660
  }
659
- // ../nextly/dist/validate-external-url-uHUKFZGh.mjs
661
+ // ../nextly/dist/validate-external-url-CnZrcJdP.mjs
660
662
  const IPV4_RE = /^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/;
661
663
  /**
662
664
  * IPv4 CIDR ranges that must NEVER be the destination of an outbound