@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.js CHANGED
@@ -1387,7 +1387,7 @@ var KVService = class extends BaseService {
1387
1387
  );
1388
1388
  }
1389
1389
  if (response.status === 404) {
1390
- return this.classifyNotFound(response, key);
1390
+ return await this.classifyNotFound(response, key);
1391
1391
  }
1392
1392
  const errorText = await response.text();
1393
1393
  if (response.status === 413) {
@@ -1956,7 +1956,7 @@ var KVService = class extends BaseService {
1956
1956
  );
1957
1957
  }
1958
1958
  if (response.status === 404) {
1959
- return this.classifyNotFound(response, key);
1959
+ return await this.classifyNotFound(response, key);
1960
1960
  }
1961
1961
  const errorText = await response.text();
1962
1962
  if (response.status === 412) {
@@ -2023,7 +2023,7 @@ var KVService = class extends BaseService {
2023
2023
  );
2024
2024
  }
2025
2025
  if (response.status === 404) {
2026
- return this.classifyNotFound(response, key);
2026
+ return await this.classifyNotFound(response, key);
2027
2027
  }
2028
2028
  const errorText = await response.text();
2029
2029
  return err(
@@ -2089,7 +2089,7 @@ var KVService = class extends BaseService {
2089
2089
  signal: request.signal
2090
2090
  });
2091
2091
  if (!response.ok) {
2092
- return this.createSignedReadUrlError(response, key, path);
2092
+ return await this.createSignedReadUrlError(response, key, path);
2093
2093
  }
2094
2094
  const signedUrl = this.normalizeSignedReadUrlResponse(
2095
2095
  await response.json()