@oddington/sdk 0.1.42 → 0.1.43

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/browser.js CHANGED
@@ -63,6 +63,8 @@ function fileErrorMessage(error) {
63
63
  return "Sign in to OS before accessing files.";
64
64
  case "access_denied":
65
65
  return "You don\u2019t have access to this file operation.";
66
+ case "not_found":
67
+ return "This file isn\u2019t available in this workspace.";
66
68
  case "request_too_large":
67
69
  return "The file request exceeds the size limit.";
68
70
  case "conflict":
@@ -1924,6 +1926,7 @@ var MAX_BYTES = 16 * 1024 * 1024, PART_BYTES = 8 * 1024 * 1024, METADATA_BYTES =
1924
1926
  400: ["invalid_input", "unsupported_context"],
1925
1927
  401: ["unauthenticated"],
1926
1928
  403: ["access_denied"],
1929
+ 404: ["not_found"],
1927
1930
  405: ["method_not_allowed"],
1928
1931
  409: ["conflict", "local_only"],
1929
1932
  413: ["request_too_large"],