diff --git a/package.json b/package.json index 886a3a3..5f28b7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metastellar/ui-library", - "version": "0.0.17", + "version": "0.0.18", "scripts": { "dev": "vite dev --host", "build": "vite build && npm run package", diff --git a/src/constants.ts b/src/constants.ts index 12a1f95..e053f1d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,19 +1,19 @@ import type { AssetAccount } from "$lib/types.js"; -// export const nftInfo: AssetAccount = { -// code: "Spunks", -// issuer: "GCAR7OJULRZBOMMUPJ33YMI3O6GPBMKHWVWQAD2BHSH6NZ25QYMI44UP" -// } +export const nftInfo: AssetAccount = { + code: "Spunks", + issuer: "GCAR7OJULRZBOMMUPJ33YMI3O6GPBMKHWVWQAD2BHSH6NZ25QYMI44UP" +} // export const nftInfo: AssetAccount = { // code: "CYBERMAN007", // issuer: "GABSMRCVPJJQZ3PDYKR4B3UCU26JBMJFSWEQVQAHPDEFHDMSJI3IQ7IT" // } -export const nftInfo: AssetAccount = { - code: "nmt", - issuer: "GDSZ24D4II53QDUQDWJMCOYDE7YCLWH3XUAE662GS46RCZF3E7KTRR5E" -} +// export const nftInfo: AssetAccount = { +// code: "nmt", +// issuer: "GDSZ24D4II53QDUQDWJMCOYDE7YCLWH3XUAE662GS46RCZF3E7KTRR5E" +// } export const tokenInfo: AssetAccount = { code: "BTCLN", diff --git a/src/lib/index.ts b/src/lib/index.ts index 916632f..4e34c73 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -5,9 +5,10 @@ export { default as Card } from "./card/card.svelte"; export { default as AssetSelector } from "./assetSelector/assetSelector.svelte"; export { default as ImagePoster } from "./imagePoster/imagePoster.svelte"; export { default as NftPoster } from "./nftPoster/nftPoster.svelte"; +export { default as TokenPoster } from "./tokenPoster/tokenPoster.svelte"; export { default as YoutubePoster } from "./youtubePoster/youtubePoster.svelte"; export { default as CanvasModal } from "./CanvasModal/Modal.svelte"; -export { default as Jumbotron} from "./jumbotron/index.svelte"; +export { default as Jumbotron } from "./JumboTron/index.svelte"; export type * from "./types.js"; export { normalizeData, renderCanvas}; diff --git a/src/lib/nftPoster/nftPoster.svelte b/src/lib/nftPoster/nftPoster.svelte index 534fa5d..2068c6a 100644 --- a/src/lib/nftPoster/nftPoster.svelte +++ b/src/lib/nftPoster/nftPoster.svelte @@ -64,6 +64,7 @@ assetInfo: assetInfo, assetMetadata: assetMetadata } + console.log("data", data); getNFTAssetInfo(data) } diff --git a/src/lib/tokenPoster/tokenPoster.svelte b/src/lib/tokenPoster/tokenPoster.svelte index fd07af7..3eb9dcc 100644 --- a/src/lib/tokenPoster/tokenPoster.svelte +++ b/src/lib/tokenPoster/tokenPoster.svelte @@ -93,11 +93,11 @@ {#if assetMetadata?.image} {:else} - + {/if}