@tinycloud/sdk-services 3.1.0 → 3.2.0-beta.2

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/kv/index.cjs CHANGED
@@ -1416,7 +1416,7 @@ var KVService = class extends BaseService {
1416
1416
  );
1417
1417
  }
1418
1418
  if (response.status === 404) {
1419
- return this.classifyNotFound(response, key);
1419
+ return await this.classifyNotFound(response, key);
1420
1420
  }
1421
1421
  const errorText = await response.text();
1422
1422
  if (response.status === 413) {
@@ -1985,7 +1985,7 @@ var KVService = class extends BaseService {
1985
1985
  );
1986
1986
  }
1987
1987
  if (response.status === 404) {
1988
- return this.classifyNotFound(response, key);
1988
+ return await this.classifyNotFound(response, key);
1989
1989
  }
1990
1990
  const errorText = await response.text();
1991
1991
  if (response.status === 412) {
@@ -2052,7 +2052,7 @@ var KVService = class extends BaseService {
2052
2052
  );
2053
2053
  }
2054
2054
  if (response.status === 404) {
2055
- return this.classifyNotFound(response, key);
2055
+ return await this.classifyNotFound(response, key);
2056
2056
  }
2057
2057
  const errorText = await response.text();
2058
2058
  return err(
@@ -2118,7 +2118,7 @@ var KVService = class extends BaseService {
2118
2118
  signal: request.signal
2119
2119
  });
2120
2120
  if (!response.ok) {
2121
- return this.createSignedReadUrlError(response, key, path);
2121
+ return await this.createSignedReadUrlError(response, key, path);
2122
2122
  }
2123
2123
  const signedUrl = this.normalizeSignedReadUrlResponse(
2124
2124
  await response.json()