remove unused dependencies

This commit is contained in:
OxSaitama 2023-09-06 09:56:21 +02:00
parent 255c1bdc23
commit ecf4f9ddb3
4 changed files with 0 additions and 5111 deletions

View File

@ -12,7 +12,6 @@ const nextConfig = {
NEXT_PUBLIC_FRONT_APP_PORT: process.env.NEXT_PUBLIC_FRONT_APP_PORT, NEXT_PUBLIC_FRONT_APP_PORT: process.env.NEXT_PUBLIC_FRONT_APP_PORT,
NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT: process.env.NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT, NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT: process.env.NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT,
NEXT_PUBLIC_IDNOT_CLIENT_ID: process.env.NEXT_PUBLIC_IDNOT_CLIENT_ID, NEXT_PUBLIC_IDNOT_CLIENT_ID: process.env.NEXT_PUBLIC_IDNOT_CLIENT_ID,
ACCESS_TOKEN_PUBLIC_KEY: process.env.ACCESS_TOKEN_PUBLIC_KEY,
}, },
// webpack: config => { // webpack: config => {
// config.node = { // config.node = {

5077
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,8 +23,6 @@
"eslint": "8.36.0", "eslint": "8.36.0",
"eslint-config-next": "13.2.4", "eslint-config-next": "13.2.4",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"jose": "^4.14.6",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^3.1.2", "jwt-decode": "^3.1.2",
"le-coffre-resources": "git@github.com:smart-chain-fr/leCoffre-resources.git#v2.69", "le-coffre-resources": "git@github.com:smart-chain-fr/leCoffre-resources.git#v2.69",
"next": "13.2.4", "next": "13.2.4",
@ -37,6 +35,5 @@
"typescript": "4.9.5" "typescript": "4.9.5"
}, },
"devDependencies": { "devDependencies": {
"@types/jsonwebtoken": "^9.0.2"
} }
} }

View File

@ -1,30 +0,0 @@
import BaseApiService from "@Front/Api/BaseApiService";
//import { FrontendVariables } from "@Front/Config/VariablesFront";
export default class Auth extends BaseApiService {
private static instance: Auth;
private constructor() {
super();
}
public static getInstance(): Auth {
return (this.instance = this.instance ?? new this());
}
// public async login(): {
// }
// public async getIdnotJwt(autorizationCode: string | string[]): Promise<any> {
// const variables = FrontendVariables.getInstance();
// const baseBackUrl = variables.BACK_API_PROTOCOL + variables.BACK_API_HOST;
// const url = new URL(`${baseBackUrl}/api/v1/idnot-user/${autorizationCode}`);
// try {
// return await this.postRequest<any>(url);
// } catch (err) {
// this.onError(err);
// return Promise.reject(err);
// }
// }
}