-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
77 lines (75 loc) · 2.04 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import { delay, later, async } from './lib/timers';
import { emailPattern } from './lib/patterns';
import {
getNodeStyle,
nodeBottom,
nodeLeft,
nodeRight,
nodeTop,
scrollIntoParentView,
} from './lib/dom-elements';
import cookieProperty from './lib/cookieProperty';
import copyToClipboard from './lib/copyToClipboard';
import websiteURL from './lib/websiteURL';
import ios from './lib/detectiOS';
import isMobile from './lib/detectMobile';
import formatBN, { cleanCacheFormatBN } from './lib/format-bn';
import idGenerator from './lib/idGenerator';
import isNode from './lib/isNode';
import localStorage from './lib/localStorage';
import localStorageProperty from './lib/localStorageProperty';
import noCryptoWalletMsg from './lib/noCryptoWalletMsg';
import translate from './lib/translate';
import toBN, { cleanCacheToBN } from './lib/toBN';
import useIntl from './lib/useIntl';
import cryptowalletCtx, { Provider as CryptoWalletProvider, walletEvents } from './lib/contextCryptoWallet';
import usePrevious from './lib/usePrevious';
import useQueue from './lib/useQueue';
import websocket from './lib/websocket';
import serviceworkers from './lib/serviceworkers';
import managedPromise from './lib/managedPromise';
import cryptowalletDetection from './lib/cryptowalletDetection';
import webBluetoothDetection from './lib/webBluetoothDetection';
import hasWebUsb from './lib/webUsbDetection';
const { clearCachedFiles, unregisterServiceworkers, updateServiceworkers } = serviceworkers;
export {
cleanCacheFormatBN,
cleanCacheToBN,
cookieProperty,
copyToClipboard,
delay,
later,
async,
cryptowalletCtx,
cryptowalletDetection,
CryptoWalletProvider,
emailPattern,
formatBN,
getNodeStyle,
hasWebUsb,
idGenerator,
isMobile,
isNode,
ios,
localStorage,
localStorageProperty,
managedPromise,
noCryptoWalletMsg,
nodeBottom,
nodeLeft,
nodeRight,
nodeTop,
scrollIntoParentView,
toBN,
translate,
useIntl,
usePrevious,
useQueue,
websocket,
clearCachedFiles,
unregisterServiceworkers,
updateServiceworkers,
walletEvents,
webBluetoothDetection,
websiteURL,
};