@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.cjs CHANGED
@@ -8487,7 +8487,11 @@ var EncryptionService = class extends BaseService {
8487
8487
  if (error instanceof import_decrypt_transport_response_error.DecryptTransportResponseError) {
8488
8488
  return encErr(
8489
8489
  encryptionError(
8490
- error.status === 401 || error.status === 403 ? {
8490
+ error.status === 404 ? {
8491
+ code: "NETWORK_NOT_FOUND",
8492
+ networkId: envelope.networkId,
8493
+ message: error.notFoundMessage
8494
+ } : error.status === 401 || error.status === 403 ? {
8491
8495
  code: "DECRYPT_DENIED",
8492
8496
  message: "Node denied decrypt request",
8493
8497
  ...error.permissionHint === void 0 ? {} : { permissionHint: error.permissionHint }