switch to data64

This commit is contained in:
PhilReact 2025-04-09 23:03:23 +03:00
parent 9a538f86d7
commit 25b6cc43e3
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "qapp-core", "name": "qapp-core",
"version": "1.0.15", "version": "1.0.16",
"description": "Qortal's core React library with global state, UI components, and utilities", "description": "Qortal's core React library with global state, UI components, and utilities",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.mjs", "module": "dist/index.mjs",

View File

@ -305,7 +305,7 @@ const AddMetadata = ({
action: "PUBLISH_QDN_RESOURCE", action: "PUBLISH_QDN_RESOURCE",
service: "METADATA", service: "METADATA",
identifier: identifier, identifier: identifier,
base64: toBase64, data64: toBase64,
}); });
if (res?.signature) { if (res?.signature) {
@ -595,7 +595,7 @@ const CreateIndex = ({
action: "PUBLISH_QDN_RESOURCE", action: "PUBLISH_QDN_RESOURCE",
service: "JSON", service: "JSON",
identifier: identifier, identifier: identifier,
base64: toBase64, data64: toBase64,
}); });
if (res?.signature) { if (res?.signature) {
@ -840,7 +840,7 @@ const YourIndices = ({
action: "PUBLISH_QDN_RESOURCE", action: "PUBLISH_QDN_RESOURCE",
service: "JSON", service: "JSON",
identifier: identifier, identifier: identifier,
base64: toBase64, data64: toBase64,
}); });
if (res?.signature) { if (res?.signature) {

View File

@ -189,7 +189,7 @@ export const usePublish = (
action: "PUBLISH_QDN_RESOURCE", action: "PUBLISH_QDN_RESOURCE",
service: publish.service, service: publish.service,
identifier: publish.identifier, identifier: publish.identifier,
base64: "RA==", data64: "RA==",
}); });
if (res?.signature) { if (res?.signature) {

View File

@ -326,7 +326,7 @@ export const useResources = (retryAttempts: number = 2) => {
deletes.push({ deletes.push({
service: resource.service, service: resource.service,
identifier: resource.identifier, identifier: resource.identifier,
base64: "RA==", data64: "RA==",
}); });
} }
await qortalRequestWithTimeout({ await qortalRequestWithTimeout({