2021-01-22 23:24:02 +00:00
|
|
|
import * as smartenv from '@pushrocks/smartenv';
|
|
|
|
const smartenvInstance = new smartenv.Smartenv();
|
2020-02-15 16:41:37 +00:00
|
|
|
// node native scope
|
2021-01-22 23:24:02 +00:00
|
|
|
import type dnsType from 'dns';
|
2022-07-27 06:59:29 +00:00
|
|
|
const dns: typeof dnsType = await smartenvInstance.getSafeNodeModule('dns');
|
2020-02-15 16:41:37 +00:00
|
|
|
|
|
|
|
export { dns };
|
|
|
|
|
|
|
|
// pushrocks scope
|
2019-01-06 23:21:15 +00:00
|
|
|
import * as smartdelay from '@pushrocks/smartdelay';
|
|
|
|
import * as smartpromise from '@pushrocks/smartpromise';
|
2020-02-15 16:41:37 +00:00
|
|
|
import * as smartrequest from '@pushrocks/smartrequest';
|
|
|
|
|
2021-01-22 23:24:02 +00:00
|
|
|
export { smartdelay, smartenv, smartpromise, smartrequest };
|
2020-02-15 16:41:37 +00:00
|
|
|
|
|
|
|
import * as tsclass from '@tsclass/tsclass';
|
2016-11-15 20:39:21 +00:00
|
|
|
|
2020-02-15 16:41:37 +00:00
|
|
|
export { tsclass };
|
2021-01-22 23:24:02 +00:00
|
|
|
|
|
|
|
// third party scope
|
|
|
|
const dns2 = smartenvInstance.getSafeNodeModule('dns2');
|
2021-08-24 09:40:44 +00:00
|
|
|
export { dns2 };
|