Commit Graph

352 Commits

Author SHA1 Message Date
Akim Mamedov
bb4ae8e82d Reproduce bug 2023-12-16 01:24:54 +07:00
Akim
9b629eef2e
fix(js-client): Remove log truncation. (#403)
Remove log truncation.
Introducing additional log level
2023-12-15 17:20:28 +00:00
Akim
d6008110cf
feat(npm-aqua-compiler): create package (#401)
* Add npm-aqua-compiler package

* Release new package

* Remove noUncheckedIndexedAccess from tsconfig.json

* Fix a test script

* Fix length checks

* Fix

* Update error description

* Try to choose a nicer err message

* New import format and API

* Fix error message

* Improve test

* Don't add empty string key when globalImports prop is empty

* Fix exports
2023-12-15 23:14:07 +07:00
fluencebot
ac407c204d
chore: release master (#394) 2023-12-06 15:26:51 +00:00
Akim
1578b791ac
feat: Support instance context [fixes DXJ-541] (#392)
* Support context

* Update doc

* Refactor

* Cover by doc

* Fix lint
2023-12-06 16:03:20 +01:00
Akim
44eb1493b3
feat(js-client): Update libp2p ecosystem [fixes DXJ-551] (#393)
* Update libp2p ecosystem
2023-12-06 10:52:28 +00:00
fluencebot
bf0ed95dff
chore: release master (#390) 2023-11-24 02:51:13 +07:00
Akim Mamedov
fdd0ca0ea2 feat: Additional export from js-client 2023-11-24 02:36:12 +07:00
Akim Mamedov
8dd30ea35b Additional export from js-client 2023-11-24 02:29:46 +07:00
fluencebot
59e852878c
chore: release master (#389) 2023-11-24 02:17:01 +07:00
Akim
04c278b783
feat!: Force release of interfaces (#388)
Force release of interfaces
2023-11-24 02:14:28 +07:00
fluencebot
65a9e44aac
chore: release master (#387) 2023-11-24 00:53:01 +07:00
Akim
b5a6296225
feat: Temporarily expose internal js client API (#386)
Expose
2023-11-24 00:49:12 +07:00
fluencebot
5e917a650f
chore: release master (#379)
* chore: release master

* chore: Regenerate pnpm lock file
2023-11-23 17:53:51 +07:00
Akim
98462bfdf6
chore: Review fixes at #378 (#383)
* Review fixes

* remove logs

* Fixes

* Todo to remove prefix later

* Refactor service signatures

* Fixes

* Update lock file

* Fix lockfile

* Update deps

* More fixes and renames

* Fix compiler

* Peer refactoring and cutting onConnectionChange API

* Revert deleted API
2023-11-23 04:18:10 +07:00
Akim
f4a550dd22
feat(js-client)!: Segregation of responsibility between js-client packages [fixes DXJ-525] (#378)
Schema validation in js-client
2023-11-19 09:04:10 +07:00
fluencebot
638da47bc2
chore: release master (#377) 2023-11-16 00:29:20 +07:00
Akim
f5e9923974
fix(js-client): Fix CDN flow and move it in modules [fixes DXJ-527] (#376)
* Use type module in html

* Fix autocommit

* Try fix template

* Try fix template

* Try fix template

* Try fix template

* Try fix template

* Fix test

* Update packages/@tests/smoke/web/public/index.html

Co-authored-by: shamsartem <shamsartem@gmail.com>

* Minify es bundle

* Remove autocommit

* Fix lint

* Remove minimal

* Change nox version

* Change nox version

* Fix CDN

---------

Co-authored-by: shamsartem <shamsartem@gmail.com>
2023-11-10 21:29:49 +07:00
fluencebot
1803d83ce7
chore: release master (#375)
* chore: release master

* chore: Regenerate pnpm lock file
2023-11-06 21:03:27 +07:00
Akim
b460491fbd
fix: JS-client bugs and tech debt [fixes DXJ-520] (#374)
Fix various bugs and a pair of TODO's
2023-11-06 11:42:24 +01:00
fluencebot
2589e39113
chore: release master (#373) 2023-10-30 23:37:23 +07:00
Akim
14e91b6e00
chore(deps): Bump avm to 0.54 (#372)
* Bump avm to 0.54

* set nox version with new avm

* set nox version with new avm x2

* Revert "set nox version with new avm x2"

This reverts commit a07b427dc4.

* Revert "set nox version with new avm"

This reverts commit e94fcdd73d.

---------

Co-authored-by: Aleksey Proshutisnkiy <justprosh@users.noreply.github.com>
2023-10-30 23:08:11 +07:00
Anatolios Laskaris
a82675796a
chore: Make renovate care for unstable versions (#367)
Make renovate care for unstable versions
2023-10-30 17:16:00 +02:00
fluencebot
8f011ace72
chore: release master (#371) 2023-10-27 15:43:54 +07:00
Akim
bb8fca88e7
fix: Enable publishing of js-client-isomorphic [fixes DXJ-516] (#370)
* Publish js-client-isomorphic

* Release 0.1.0 manually
2023-10-26 18:26:01 +07:00
fluencebot
747a7a1096
chore: release master (#368)
* chore: release master

* chore: Regenerate pnpm lock file
2023-10-25 14:56:46 +00:00
Akim
a605d757f9
fix(deps): Use published threads package (#369)
Use published threads package
2023-10-25 14:38:44 +00:00
Akim
f9abc6419c
chore(js-client)!: Simplify/optimize js-client and update README [fixes DXJ-490] (#366)
* Update README

* Improve build experience

* Fix eslint

* Fix eslint

* Fix eslint

* Fix tooling

* Fix formatting

* Fix formatting

* Fix test resource name

* Remove async

* Fix comments

* Add ts-check

* Add new line

* Fix arg

* add todo's

* Fix lint

* Fix typo

* Type module

* Add deps to isomorphic package

* Extract function type

* Fix newline

* Remove private

* Use prepare hook instead of postinstall
2023-10-25 19:02:42 +07:00
Anatolios Laskaris
1266a90737
chore: Fix pnpm install when running in e2e (#365)
Fix installation when running in e2e
2023-10-19 18:05:33 +03:00
fluencebot
9799ca13f7
chore: release master (#362)
* chore: release master

* chore: Regenerate pnpm lock file

---------

Co-authored-by: Akim <59872966+akim-bow@users.noreply.github.com>
2023-10-18 12:42:19 +07:00
Akim Mamedov
357ca00b1f Use localhost for tests 2023-10-18 11:54:27 +07:00
Akim Mamedov
34bd267989 Add request handlers 2023-10-18 11:48:58 +07:00
Akim Mamedov
3c1b422ed5 Add request logs 2023-10-18 10:54:14 +07:00
Akim Mamedov
f4e0a23cb1 Add browser message 2023-10-18 10:19:58 +07:00
Akim Mamedov
c1f2ba25b8 Add browser logs 2023-10-18 09:50:35 +07:00
Akim
36c7619b4a
fix(tests): Repair integration tests [fixes DXJ-506] (#364)
* Add test server

* remove headless

* Support for web-cra

* Review fixes and bug fixes

* Add error message
2023-10-18 08:38:49 +07:00
Akim
29ec812fc1
chore!: Bump avm (#361)
* Bump avm

* Fix lint
2023-10-17 23:52:30 +07:00
Akim Mamedov
2b7756a717 Fix release 2023-10-17 23:48:25 +07:00
Akim
919c7d6ea1
feat(js-client)!: Adding strictes eslint and ts config to all packages [fixes DXJ-464] (#355)
* introduce eslint

* Fix all eslint errors

* Eslint fix and some touches

* Fix tests

* Fix misc errors

* change semver

* change semver #2

* Fix path

* Fix path #2

* freeze lock file in CI

* fix package install

* Fix formatting of surrounding files

* Add empty prettier config

* Fix formatting

* Fix build errors

* Remove unused deps

* remove changelog from formatting

* deps cleanup

* make resource importers async

* Refactor

* Fix error message

* remove comment

* more refactoring

* Update packages/core/js-client/src/compilerSupport/registerService.ts

Co-authored-by: shamsartem <shamsartem@gmail.com>

* refactoring

* refactoring fix

* optimize import

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

Co-authored-by: shamsartem <shamsartem@gmail.com>

* Revert package

* Fix pnpm lock

* Lint-fix

* Fix CI

* Update tests

* Fix build

* Fix import

* Use forked threads dep

* Use fixed version

* Update threads

* Fix lint

* Fix test

* Fix test

* Add polyfill for assert

* Add subpath import

* Fix tests

* Fix deps

---------

Co-authored-by: shamsartem <shamsartem@gmail.com>
2023-10-17 22:14:08 +07:00
fluencebot
b46933252a
chore: release master (#358) 2023-10-12 14:14:11 +00:00
Akim
a8e5eb6c1e
fix(signatures): Add signature checks [fixes DXJ-488] (#357)
Add signature checks
2023-10-12 21:01:41 +07:00
fluencebot
47a610b71e
chore: release master (#354) 2023-10-10 20:34:07 +02:00
Akim
230f47d27e
fix(chore): Additional test for particle signature (#356)
* Additional test for particle signature

* remove .only

* Fix bs58

* Fix bs58 #2

* update test

* update test

* fix test

* remove only

* refactor

* refactor

---------

Co-authored-by: Aleksey Proshutisnkiy <justprosh@users.noreply.github.com>
Co-authored-by: Alexey Proshutinskiy <alexey.prosh@fluence.one>
2023-10-10 16:26:44 +00:00
Akim
c0b73fec4a
feat(js-client)!: Particle signatures [fixes DXJ-466] (#353)
* Introduce particle signatures

* Fix particle id field in particle context

* Fix types

* Fix review comments

* Remove init_peer_id from signature

* Fix typo

* Fix error msg

* Fix async promise constructor antipattern

* Refactor utils

* Move text encoder outside

* Use async/await

* Update packages/core/js-client/src/connection/RelayConnection.ts

Co-authored-by: shamsartem <shamsartem@gmail.com>

* Hide crypto implementation beside KeyPair

* Fix verify method

* Comment verify method

* Use particle signature instead of id

* remove async/await from method

* Fix type

* Update packages/core/js-client/src/particle/interfaces.ts

Co-authored-by: folex <0xdxdy@gmail.com>

* Update packages/core/js-client/src/particle/Particle.ts

Co-authored-by: folex <0xdxdy@gmail.com>

* Fix review comment

* Update pipe

* set logging

* try cache

---------

Co-authored-by: shamsartem <shamsartem@gmail.com>
Co-authored-by: folex <0xdxdy@gmail.com>
2023-10-02 19:39:13 +07:00
Akim
15a2c91917
chore: fix build [fixes DXJ-482] (#352)
* Remove additional node targeted build

* Fix test errors

* Typo fix

* Remove headless

* Prevent JSON error

* Cache json parsing

* Remove resource test as it's not working in new nox

* Fix test output

* enable smoke tests

* add puppeteer to deps

* Remove headless option
2023-09-29 16:23:06 +07:00
fluencebot
63e4ce3f84
chore: release master (#351) 2023-09-22 10:24:58 +00:00
renovate[bot]
945908a992
fix(deps): update dependency @fluencelabs/avm to v0.48.0 (#350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 16:58:56 +07:00
fluencebot
d35eccc80d
chore: release master (#349) 2023-09-22 06:52:43 +00:00
Akim Mamedov
fbac0a96a1 Set release version for aqua-to-js package 2023-09-22 13:42:38 +07:00
Akim
7fff3b1c03
feat(aqua-compiler)!: JS-client aqua wrapper [fixes DXJ-461] (#347)
* Implement wrapper compiler

* Small formatting fixes

* Add simple test

* Package rename

* Add new package to release-please

* Misc fixes

* Fix object type

* Update package name

* Revert "Fix object type"

This reverts commit 572f1e10e2.

* Set string type

* Make generator func async

* Cleanup

* Code refactoring

* Fix PR comments

* Fix file path

* Refactor generate module

* Change header text

* Rename package

* Move some deps to devDeps

* Add a comment

* New index file

* Move aqua-api to devDeps

* Add desc

* Fix header

* Change return type

* Fix all tests

* Fix func

* Fix index file

* Add file entry

* Change package name (again)

* Snapshot testing

* Add func name

* Fix return type

* Fix nox images

* Update aurora image

* Conditional services

* Use function instead classes

* Refactor header

* Import same type

* Make named export

* Type generator array
2023-09-21 15:32:27 +07:00