From 9af995610079f6956d2f22c39709dd0df32528d5 Mon Sep 17 00:00:00 2001 From: Stephen McGruer Date: Tue, 30 Apr 2024 14:12:38 -0400 Subject: [PATCH] Update spc-network-and-issuer-icons demo to latest API shape --- pr/spc-network-and-issuer-icons/pr.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pr/spc-network-and-issuer-icons/pr.js b/pr/spc-network-and-issuer-icons/pr.js index bda8f4a..5f1cd38 100644 --- a/pr/spc-network-and-issuer-icons/pr.js +++ b/pr/spc-network-and-issuer-icons/pr.js @@ -28,10 +28,14 @@ async function onBuyClicked(windowLocalStorageIdentifier) { displayName: 'ยทยทยทยท 1234', icon: 'https://rsolomakhin.github.io/pr/spc-network-and-issuer-icons/troy-card.png', }, - networkName: 'Sync', - networkIcon: 'https://rsolomakhin.github.io/pr/spc-network-and-issuer-icons/sync-logo.png', - issuerName: 'TroyBank', - issuerIcon: 'https://rsolomakhin.github.io/pr/spc/troy-alt-logo.png', + networkInfo: { + name: 'Sync', + icon: 'https://rsolomakhin.github.io/pr/spc-network-and-issuer-icons/sync-logo.png', + }, + issuerInfo: { + name: 'TroyBank', + icon: 'https://rsolomakhin.github.io/pr/spc/troy-alt-logo.png', + }, }); try {