diff --git a/package.json b/package.json index d8fba4a..d5f8a51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@daml/hub-react", - "version": "1.1.0", + "version": "1.1.1", "description": "Daml React functions for Daml Hub", "homepage": "https://hub.daml.com", "keywords": [ diff --git a/src/login/PartiesInput.tsx b/src/login/PartiesInput.tsx index 8ca41e0..bbe56a5 100644 --- a/src/login/PartiesInput.tsx +++ b/src/login/PartiesInput.tsx @@ -57,7 +57,9 @@ function validateParties(parties: PartyDetails[], publicPartyId: string): void { } // True if any ledgerIds do not match the app's deployed ledger Id - const givenPublicParty = parties.find(p => p.party.includes('public-')); + const givenPublicParty = parties.find( + p => p.party.includes('public-') || p.party.includes('public::') + ); if (!givenPublicParty) { throw new InvalidPartiesError(