packages/components/src/utils/lifeRecharge.ts
@@ -4,11 +4,15 @@ RequestConfig, } from './lifeRechargeServices'; import { IRequest, BlLifeRechargeOptions } from './types'; import { LifeRechargeConstants } from './lifeRechargeConstants'; export class BlLifeRecharge<T extends IRequest = IRequest> { services: BlLifeRechargeServices<T>; userId = ''; static constants = LifeRechargeConstants; constants = LifeRechargeConstants; constructor(options: BlLifeRechargeOptions<T>) { this.services = new BlLifeRechargeServices(options); this.userId = options.userId || '';