2024-06-02 13:34:19 +00:00
|
|
|
import * as smartenv from '@push.rocks/smartenv';
|
2021-01-22 23:24:02 +00:00
|
|
|
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
|
2024-06-02 13:34:19 +00:00
|
|
|
import * as smartdelay from '@push.rocks/smartdelay';
|
|
|
|
import * as smartpromise from '@push.rocks/smartpromise';
|
|
|
|
import * as smartrequest from '@push.rocks/smartrequest';
|
2020-02-15 16:41:37 +00:00
|
|
|
|
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 };
|