@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.
@@ -1437,7 +1437,11 @@ var EncryptionService = class extends BaseService {
1437
1437
  if (error instanceof DecryptTransportResponseError) {
1438
1438
  return encErr(
1439
1439
  encryptionError(
1440
- error.status === 401 || error.status === 403 ? {
1440
+ error.status === 404 ? {
1441
+ code: "NETWORK_NOT_FOUND",
1442
+ networkId: envelope.networkId,
1443
+ message: error.notFoundMessage
1444
+ } : error.status === 401 || error.status === 403 ? {
1441
1445
  code: "DECRYPT_DENIED",
1442
1446
  message: "Node denied decrypt request",
1443
1447
  ...error.permissionHint === void 0 ? {} : { permissionHint: error.permissionHint }