@multiplechain/bitcoin 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/provider.js +1 -1
package/package.json
CHANGED
package/src/provider.js
CHANGED
|
@@ -161,7 +161,7 @@ class Provider {
|
|
|
161
161
|
if (typeof window != 'undefined') {
|
|
162
162
|
const Wallet = require('./wallet');
|
|
163
163
|
|
|
164
|
-
if (typeof window.unisat !== 'undefined') {
|
|
164
|
+
if (typeof window.unisat !== 'undefined' && unisat.requestAccounts) {
|
|
165
165
|
this.detectedWallets['unisat'] = new Wallet('unisat', this);
|
|
166
166
|
}
|
|
167
167
|
}
|