You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2021. It is now read-only.
constsupportAlert='This site uses local data storage to give you control of your data. Please enable web APIs like localstorage, indexxeddb, etc in your browser settings.'
* @param {String} opts.addressServer URL of the Address Server
124
126
* @param {String} opts.ghostPinbot MultiAddress of a Ghost Pinbot node
127
+
* @param {String} opts.supportCheck Gives browser alert if 3boxjs/ipfs not supported in browser env, defaults to true. You can also set to false to implement your own alert and call Box.support to check if supported.
* Determines if this browser environment supports 3boxjs and ipfs.
146
+
*
147
+
* @return {Boolean}
148
+
*/
149
+
staticasyncsupported(){
150
+
returnnewPromise((resolve,reject)=>{
151
+
if(!browserHuh)thrownewError('Supported only detects browser feature support')
152
+
window.Modernizr.on('indexeddb',resolve)
153
+
})
154
+
}
155
+
135
156
staticget3idConnectProvider(){
136
157
// TODO Could add blogpost link
137
158
thrownewError('3idConnectProvider now consumes an eth provider, initialize 3box as you did before 3idconnectProvider, and 3box will create a 3idConnectProvider by default')
0 commit comments