@tinycloud/sdk-services 3.6.0 → 3.7.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/index.js CHANGED
@@ -8321,7 +8321,11 @@ var EncryptionService = class extends BaseService {
8321
8321
  if (error instanceof DecryptTransportResponseError) {
8322
8322
  return encErr(
8323
8323
  encryptionError(
8324
- error.status === 401 || error.status === 403 ? {
8324
+ error.status === 404 ? {
8325
+ code: "NETWORK_NOT_FOUND",
8326
+ networkId: envelope.networkId,
8327
+ message: error.notFoundMessage
8328
+ } : error.status === 401 || error.status === 403 ? {
8325
8329
  code: "DECRYPT_DENIED",
8326
8330
  message: "Node denied decrypt request",
8327
8331
  ...error.permissionHint === void 0 ? {} : { permissionHint: error.permissionHint }