Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit b460491

Browse files
author
Akim
authored
fix: JS-client bugs and tech debt [fixes DXJ-520] (#374)
Fix various bugs and a pair of TODO's
1 parent 2589e39 commit b460491

File tree

28 files changed

+121
-210
lines changed

28 files changed

+121
-210
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ jobs:
9090

9191
- run: pnpm -r i
9292
- run: pnpm -r build
93-
- run: pnpm lint-check
93+
94+
- name: Lint code and fix all fixable errors
95+
run: pnpm lint-fix
96+
97+
- name: Auto-commit
98+
uses: stefanzweifel/git-auto-commit-action@v4
9499

95100
- name: Override dependencies
96101
uses: fluencelabs/github-actions/pnpm-set-dependency@main

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
node_modules/
77

88
# Build directory
9-
**/dist
10-
**/public
9+
dist/
10+
public/
1111
.DS_Store

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ pnpm-lock.yaml
99

1010
**/CHANGELOG.md
1111

12-
packages/core/js-client/src/versions.ts
12+
packages/core/js-client-isomorphic/src/versions.ts

packages/@tests/aqua/.gitignore

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/@tests/aqua/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { Fluence } from "@fluencelabs/js-client";
18-
import type { ClientConfig } from "@fluencelabs/js-client";
17+
import { Fluence, type ClientConfig } from "@fluencelabs/js-client";
1918
import { fromByteArray } from "base64-js";
2019

2120
import { test as particleTest } from "./_aqua/finalize_particle.js";

packages/@tests/smoke/node/.gitignore

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/@tests/smoke/node/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
import "@fluencelabs/js-client";
1817
import { runTest } from "@test/aqua_for_test";
1918

2019
await runTest();
Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
7-
8-
# testing
9-
/coverage
10-
11-
# production
12-
/build
13-
14-
# misc
15-
.DS_Store
16-
.env.local
17-
.env.development.local
18-
.env.test.local
19-
.env.production.local
20-
21-
npm-debug.log*
22-
yarn-debug.log*
23-
yarn-error.log*
24-
25-
public/js-client.min.js
1+
build/

packages/@tests/smoke/web/.gitignore

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/versions.ts

0 commit comments

Comments
 (0)