Merge pull request #214 from public-awesome/hotfix/batch-update-open-edition

Hotfix/batch update open edition
This commit is contained in:
Jorge Hernandez 2023-09-05 19:12:51 -06:00 committed by GitHub
commit 5db159dc96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -627,7 +627,7 @@ export const SG721 = (client: SigningCosmWasmClient, txSigner: string): SG721Con
const msg = { const msg = {
update_token_metadata: { update_token_metadata: {
token_id: i.toString(), token_id: i.toString(),
token_uri: `${baseURI}`, token_uri: `${baseURI}/${i}${jsonExtensions ? '.json' : ''}`,
}, },
} }
const executeContractMsg: MsgExecuteContractEncodeObject = { const executeContractMsg: MsgExecuteContractEncodeObject = {
@ -962,7 +962,7 @@ export const SG721 = (client: SigningCosmWasmClient, txSigner: string): SG721Con
msg.push({ msg.push({
update_token_metadata: { update_token_metadata: {
token_id: i.toString(), token_id: i.toString(),
token_uri: `${baseURI}`, token_uri: `${baseURI}/${i}${jsonExtensions ? '.json' : ''}`,
}, },
}) })
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "stargaze-studio", "name": "stargaze-studio",
"version": "0.7.7", "version": "0.7.8",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],