-
Notifications
You must be signed in to change notification settings - Fork 0
/
imports.js
59 lines (56 loc) · 2.53 KB
/
imports.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
import './node_modules/dashkeys/dashkeys.js';
import './node_modules/dashhd/dashhd.js';
import './node_modules/dashphrase/dashphrase.js';
import './node_modules/dashsight/dashsight.js';
import './node_modules/dashsight/dashsocket.js';
import './node_modules/crowdnode/dashapi.js';
import './node_modules/crowdnode/crowdnode.js';
import './node_modules/@dashincubator/secp256k1/secp256k1.js';
import './node_modules/@dashincubator/base58check/base58check.js';
// import './node_modules/qrcode-svg/dist/qrcode.min.js';
import * as DashKeysTypes from './node_modules/dashkeys/dashkeys.js';
import * as DashHDTypes from './node_modules/dashhd/dashhd.js';
import * as DashPhraseTypes from './node_modules/dashphrase/dashphrase.js';
import * as DashSightTypes from './node_modules/dashsight/dashsight.js';
import * as DashSocketTypes from './node_modules/dashsight/dashsocket.js';
import * as DashApiTypes from './node_modules/crowdnode/dashapi.js';
import * as CrowdNodeTypes from './node_modules/crowdnode/crowdnode.js';
import * as Secp256k1Types from './node_modules/@dashincubator/secp256k1/secp256k1.js'
import * as Base58CheckTypes from './node_modules/@dashincubator/base58check/base58check.js'
import * as RIPEMD160Types from './node_modules/@dashincubator/ripemd160/ripemd160.js'
// import * as QRCodeTypes from './node_modules/qrcode-svg/dist/qrcode.min.js'
/** @type {DashKeysTypes} */
export let DashKeys = window?.DashKeys || globalThis?.DashKeys
/** @type {DashHDTypes} */
export let DashHd = window?.DashHd || globalThis?.DashHd
/** @type {DashPhraseTypes} */
export let DashPhrase = window?.DashPhrase || globalThis?.DashPhrase
/** @type {DashSightTypes} */
export let DashSight = window?.DashSight || globalThis?.DashSight
/** @type {DashSocketTypes} */
export let DashSocket = window?.DashSocket || globalThis?.DashSocket
/** @type {DashApiTypes} */
export let DashApi = window?.DashApi || globalThis?.DashApi
/** @type {CrowdNodeTypes} */
export let CrowdNode = window?.CrowdNode || globalThis?.CrowdNode
/** @type {Secp256k1Types} */
export let Secp256k1 = window?.nobleSecp256k1 || globalThis?.nobleSecp256k1
/** @type {Base58CheckTypes} */
export let Base58Check = window?.Base58Check || globalThis?.Base58Check
/** @type {RIPEMD160Types} */
export let RIPEMD160 = window?.RIPEMD160 || globalThis?.RIPEMD160
// /** @type {QRCodeTypes} */
// export let QRCode = QRCodeTypes || window?.QRCode || globalThis?.QRCode
export default {
DashHd,
DashPhrase,
DashKeys,
DashSight,
DashSocket,
DashApi,
CrowdNode,
Secp256k1,
Base58Check,
RIPEMD160,
// QRCode,
}