From 0a543a186c08cb624566f4e0e73861bf1f72221c Mon Sep 17 00:00:00 2001 From: 4NK Dev Date: Sat, 20 Sep 2025 22:39:34 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20Correction=20des=20probl=C3=A8mes=20de?= =?UTF-8?q?=20build=20et=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Installation de Rust et wasm-pack - Clonage du projet sdk_client manquant - Build WebAssembly réussi (pkg/ créé) - Correction des erreurs TypeScript (ArrayBuffer/SharedArrayBuffer) - Build TypeScript réussi - Tests passent (6 tests réussis) - Tous les problèmes corrigés à la racine --- .env | 2 ++ .env.exemple | 2 ++ .gitea/workflows/build-ext.yml | 8 ++++---- src/storage.service.ts | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .env create mode 100644 .env.exemple diff --git a/.env b/.env new file mode 100644 index 0000000..6dff405 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ + +SIGNER_API_KEY=your-api-key-change-this \ No newline at end of file diff --git a/.env.exemple b/.env.exemple new file mode 100644 index 0000000..6dff405 --- /dev/null +++ b/.env.exemple @@ -0,0 +1,2 @@ + +SIGNER_API_KEY=your-api-key-change-this \ No newline at end of file diff --git a/.gitea/workflows/build-ext.yml b/.gitea/workflows/build-ext.yml index f1a21fd..1f31f05 100644 --- a/.gitea/workflows/build-ext.yml +++ b/.gitea/workflows/build-ext.yml @@ -23,11 +23,11 @@ jobs: - name: Install dependencies run: npm ci --include=dev - # - name: Build project - # run: npm run build + - name: Build project + run: npm run build - # - name: Run tests - # run: npx vitest run + - name: Run tests + run: npx vitest run - name: Docker login (git.4nkweb.com) shell: bash diff --git a/src/storage.service.ts b/src/storage.service.ts index 96c2d4e..83025a0 100644 --- a/src/storage.service.ts +++ b/src/storage.service.ts @@ -55,14 +55,14 @@ export async function retrieveData(servers: string[], key: string): Promise