From 25b6cc43e3a6f2eef2a4c9ef3bc0b8be79e27ce2 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Wed, 9 Apr 2025 23:03:23 +0300 Subject: [PATCH] switch to data64 --- package.json | 2 +- src/components/IndexManager/IndexManager.tsx | 6 +++--- src/hooks/usePublish.tsx | 2 +- src/hooks/useResources.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1a2707f..44d4795 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qapp-core", - "version": "1.0.15", + "version": "1.0.16", "description": "Qortal's core React library with global state, UI components, and utilities", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/components/IndexManager/IndexManager.tsx b/src/components/IndexManager/IndexManager.tsx index c5d7541..1206dba 100644 --- a/src/components/IndexManager/IndexManager.tsx +++ b/src/components/IndexManager/IndexManager.tsx @@ -305,7 +305,7 @@ const AddMetadata = ({ action: "PUBLISH_QDN_RESOURCE", service: "METADATA", identifier: identifier, - base64: toBase64, + data64: toBase64, }); if (res?.signature) { @@ -595,7 +595,7 @@ const CreateIndex = ({ action: "PUBLISH_QDN_RESOURCE", service: "JSON", identifier: identifier, - base64: toBase64, + data64: toBase64, }); if (res?.signature) { @@ -840,7 +840,7 @@ const YourIndices = ({ action: "PUBLISH_QDN_RESOURCE", service: "JSON", identifier: identifier, - base64: toBase64, + data64: toBase64, }); if (res?.signature) { diff --git a/src/hooks/usePublish.tsx b/src/hooks/usePublish.tsx index 00fe3b3..0399ae3 100644 --- a/src/hooks/usePublish.tsx +++ b/src/hooks/usePublish.tsx @@ -189,7 +189,7 @@ export const usePublish = ( action: "PUBLISH_QDN_RESOURCE", service: publish.service, identifier: publish.identifier, - base64: "RA==", + data64: "RA==", }); if (res?.signature) { diff --git a/src/hooks/useResources.tsx b/src/hooks/useResources.tsx index d060cbb..6721a35 100644 --- a/src/hooks/useResources.tsx +++ b/src/hooks/useResources.tsx @@ -326,7 +326,7 @@ export const useResources = (retryAttempts: number = 2) => { deletes.push({ service: resource.service, identifier: resource.identifier, - base64: "RA==", + data64: "RA==", }); } await qortalRequestWithTimeout({