@tinycloud/sdk-services 3.6.1 → 3.7.0-beta.3

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.
@@ -1503,7 +1503,11 @@ var EncryptionService = class extends BaseService {
1503
1503
  if (error instanceof import_decrypt_transport_response_error.DecryptTransportResponseError) {
1504
1504
  return encErr(
1505
1505
  encryptionError(
1506
- error.status === 401 || error.status === 403 ? {
1506
+ error.status === 404 ? {
1507
+ code: "NETWORK_NOT_FOUND",
1508
+ networkId: envelope.networkId,
1509
+ message: error.notFoundMessage
1510
+ } : error.status === 401 || error.status === 403 ? {
1507
1511
  code: "DECRYPT_DENIED",
1508
1512
  message: "Node denied decrypt request",
1509
1513
  ...error.permissionHint === void 0 ? {} : { permissionHint: error.permissionHint }