From 63e60155183f197a91d5cfd6e84038d6da8dea43 Mon Sep 17 00:00:00 2001
From: Mike MacCana <mike.maccana@gmail.com>
Date: Mon, 5 Jun 2023 15:52:56 +0100
Subject: [PATCH] Explicitly mention that window globals aren't necessary

Per @jordansexton's comments on #18
---
 WALLET.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/WALLET.md b/WALLET.md
index 38c3b6a4..6bce13a0 100644
--- a/WALLET.md
+++ b/WALLET.md
@@ -135,7 +135,9 @@ const uniqueNewYork = new UniqueNewYork();
 // Register your wallet using the Wallet Standard, passing the reference.
 initialize(uniqueNewYork);
 
-// Attach the reference to the window, guarding against errors.
+// New wallets no longer need to register wallet globals - and can 
+// ignore the code below. However if you have legacy apps relying on globals, 
+// this is the safest way to attach the reference to the window, guarding against errors.
 try {
     Object.defineProperty(window, 'uniqueNewYork', { value: uniqueNewYork });
 }