mp-front-cli 0.0.38 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { Observable } from "rxjs";
2
2
  import type { NextApiRequest, NextApiResponse } from "next";
3
- import { CustomValidator } from "../utils/custom-validator";
4
- export declare class ApiMiddleware<TRes, TData = {}> extends CustomValidator {
3
+ import { CustomEncrypter } from "../utils/custom-encrypter";
4
+ export declare class ApiMiddleware<TRes, TData = {}> extends CustomEncrypter {
5
5
  private uuid;
6
6
  private returnData;
7
7
  private returnError;
@@ -1,5 +1,5 @@
1
- import { CustomEncrypter } from "./custom-encrypter";
2
- export declare class CustomEncoder extends CustomEncrypter {
1
+ import { CustomLogger } from "./custom-logger";
2
+ export declare class CustomEncoder extends CustomLogger {
3
3
  encode<T>(data: T, uuid?: string): string;
4
4
  decode<T>(data: string | T | {
5
5
  info: string;
@@ -1 +1 @@
1
- {"version":3,"file":"custom-encoder.d.ts","sourceRoot":"","sources":["../../../src/core/utils/custom-encoder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,qBAAa,aAAc,SAAQ,eAAe;IAChD,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM;IAahC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;CAkB9C"}
1
+ {"version":3,"file":"custom-encoder.d.ts","sourceRoot":"","sources":["../../../src/core/utils/custom-encoder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,qBAAa,aAAc,SAAQ,YAAY;IAC7C,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM;IAahC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;CAkB9C"}
@@ -1,5 +1,5 @@
1
- import { CustomLogger } from "./custom-logger";
2
- export declare class CustomEncrypter extends CustomLogger {
1
+ import { CustomValidator } from "./custom-validator";
2
+ export declare class CustomEncrypter extends CustomValidator {
3
3
  private signatureKey;
4
4
  constructor();
5
5
  private isJSON;
@@ -1 +1 @@
1
- {"version":3,"file":"custom-encrypter.d.ts","sourceRoot":"","sources":["../../../src/core/utils/custom-encrypter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,CAAC,YAAY,CAAqB;;IAOzC,OAAO,CAAC,MAAM;YASA,WAAW;cAgBT,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC;cAgBrB,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM;cAS5B,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAahD,SAAS,CAAC,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;CAIlC"}
1
+ {"version":3,"file":"custom-encrypter.d.ts","sourceRoot":"","sources":["../../../src/core/utils/custom-encrypter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,qBAAa,eAAgB,SAAQ,eAAe;IAClD,OAAO,CAAC,YAAY,CAAqB;;IAOzC,OAAO,CAAC,MAAM;YASA,WAAW;cAgBT,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC;cAgBrB,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM;cAS5B,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAahD,SAAS,CAAC,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;CAIlC"}
@@ -1,6 +1,6 @@
1
1
  import { Observable } from "rxjs";
2
- import { CustomValidator } from "./custom-validator";
3
- export declare class CustomHeader extends CustomValidator {
2
+ import { CustomEncrypter } from "./custom-encrypter";
3
+ export declare class CustomHeader extends CustomEncrypter {
4
4
  private headers;
5
5
  constructor();
6
6
  addTokenBackend(headers: HeadersInit): Observable<HeadersInit>;