@calimero-network/mero-react 9.16.1 → 10.0.0

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/README.md CHANGED
@@ -505,7 +505,7 @@ useGroupMetadata, useMemberMetadata, useUpdateMemberRole
505
505
  useSetDefaultCapabilities, useDefaultCapabilities
506
506
  useSetSubgroupVisibility, useSubgroupVisibility, useSetTeeAdmissionPolicy
507
507
  useDetachContextFromGroup
508
- useNamespaces, useNamespace, useNamespaceGroups, useNamespaceIdentity
508
+ useNamespaces, useNamespace, useNamespaceGroups, useNodeIdentity
509
509
  useNamespacesForApplication, useCreateNamespace, useDeleteNamespace
510
510
  useJoinNamespace, useRedeemInvitation, useCreateNamespaceInvitation, useCreateGroupInNamespace
511
511
  useBlobInfo, useBlobUrl, useUploadBlob
package/dist/index.cjs CHANGED
@@ -2880,15 +2880,6 @@ function useNodeIdentity() {
2880
2880
  );
2881
2881
  return { identity: data, loading, error, refetch };
2882
2882
  }
2883
- function useNamespaceIdentity(namespaceId) {
2884
- const { admin } = useMero();
2885
- const { data, loading, error, refetch } = useAsyncResource(
2886
- admin && namespaceId ? () => admin.getNamespaceIdentity(namespaceId) : null,
2887
- null,
2888
- [admin, namespaceId]
2889
- );
2890
- return { identity: data, loading, error, refetch };
2891
- }
2892
2883
  function useNamespacesForApplication(applicationId) {
2893
2884
  const { admin, isDelegated } = useMero();
2894
2885
  const { data, loading, error, refetch } = useAsyncResource(
@@ -5383,7 +5374,6 @@ exports.useMigrationStatus = useMigrationStatus;
5383
5374
  exports.useMyAuthoredMigration = useMyAuthoredMigration;
5384
5375
  exports.useNamespace = useNamespace;
5385
5376
  exports.useNamespaceGroups = useNamespaceGroups;
5386
- exports.useNamespaceIdentity = useNamespaceIdentity;
5387
5377
  exports.useNamespaces = useNamespaces;
5388
5378
  exports.useNamespacesForApplication = useNamespacesForApplication;
5389
5379
  exports.useNodeIdentity = useNodeIdentity;