fix(cloudflare.plugins): Switch to smartrequest namespace export and improve request typing and JSON parsing

This commit is contained in:
2025-11-17 23:22:00 +00:00
parent 0184371635
commit 002ac3ae01
4 changed files with 15 additions and 6 deletions

View File

@@ -1,11 +1,11 @@
import * as smartlog from '@push.rocks/smartlog';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartdelay from '@push.rocks/smartdelay';
import { SmartRequest, CoreResponse } from '@push.rocks/smartrequest';
import * as smartrequest from '@push.rocks/smartrequest';
import * as smartstring from '@push.rocks/smartstring';
import * as tsclass from '@tsclass/tsclass';
export { smartlog, smartpromise, smartdelay, SmartRequest, CoreResponse, smartstring, tsclass };
export { smartlog, smartpromise, smartdelay, smartrequest, smartstring, tsclass };
// third party
import * as cloudflare from 'cloudflare';