Commit Graph

108 Commits

Author SHA1 Message Date
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
Anatolios Laskaris
4ef0d312ca
chore: Rename fluence-cli to flox (#319)
* Trigger

* Rename to flox
2023-07-10 10:22:06 +03:00
Pavel
0b2f12d8ac
feat: Cleaning up technical debts (#295) 2023-04-03 20:52:40 +03:00
Pavel
10d7eaed80
feat(test): Automate smoke tests for JS Client [DXJ-293] (#282) 2023-03-07 19:07:52 +03:00
Anatolios Laskaris
dd7f4b69be
chore: Update e2e (#273)
* Update e2e

* Fixes
2023-03-04 10:13:37 +02:00
Pavel
d4bb8fb429
feat!: Expose updated JS Client API via js-client.api package (#246) 2023-02-15 03:00:42 +03:00
Pavel
9667c4fec6
feat!: Standalone web JS Client (#243)
- Move marine-related part into FJS repo (fixes DXJ-184)
- Move towards component-oriented architecture (fixes DXJ-183)
- Different JS Client distros for node.js and web (fixes DXJ-185)
- Update libp2p to 0.42.2 (fixes DXJ-26)
- Add JS Client API (fixes DXJ-196, fixes DXJ-177, fixes DXJ-60)
- Add Smoke test for JS Client web (fixes DXJ-253)

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-02-13 21:41:35 +07:00
Pavel
16fdbce17d
Migrate to monorepo and pnpm (#163)
DXJ-85
2022-08-24 18:03:06 +03:00
Pavel
fb50ec271c
Ephemeral networks core implementation (#160) 2022-08-05 16:43:19 +03:00
Pavel
83c587af34
Update AVM and MarineJS to latest versions (#162) 2022-08-04 16:51:44 +03:00
Pavel
2b752492c1
FluenceConnection: update libp2p to v0.36.2 (#155) 2022-05-18 15:33:24 +03:00
shamsartem
5234ba24ed
Turn on noImplicitAny and strictNullChecks (#153)
* Turn on noImplicitAny and strictNullChecks

* code review fixes
2022-05-12 17:14:16 +03:00
Pavel
e9454473ed
AquaVM: passing updated RunParameters structure (support v0.24.2) (#152) 2022-04-25 17:58:14 +03:00
Pavel
c4122f63b1
Marine JS: add configuration for setting logging level in marine services (#151) 2022-04-24 10:49:57 +03:00
Pavel
954c20e2c0
Integrate Marine JS into Fluence peer (#149) 2022-04-21 14:13:26 +03:00
Pavel
41984b8912
Throwing human-readable error for unsupported node.js versions (#145)
fixes #143
2022-04-01 00:37:25 +04:00
Pavel
88fcc749a1
Compile signing service definition using the latest Aqua compiler (#141) 2022-03-23 20:22:31 +03:00
Pavel
e8060cf7c1
Update AVM to v0.21.3 (#137) 2022-03-10 10:38:14 +03:00
Pavel
1c5b32cdd9
Update AVM version to 0.21.0 (#135) 2022-03-01 17:54:46 +03:00
Valery Antopol
96ede60099
Switch to marine-web based AquaVM runner (#132) 2022-02-18 20:06:37 +03:00
Pavel
133e75c818
Update avm version to 0.20.5 (#131) 2022-02-17 14:07:55 +03:00
Pavel
25f63f0b0d
Implement additional builtins: array_length, sha256_string, concat_strings (#130) 2022-02-17 13:24:26 +03:00
Pavel
d860ea6dec
Using polyfill for Buffer in browsers (#129) 2022-02-17 10:54:38 +03:00
Pavel
976cd0435c
Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
Pavel
48caa02d39
Update libp2p-related packages versions. Fix 'stream reset' error. (#123) 2022-01-27 16:05:20 +03:00
Pavel
d9ee6e2cb5
Update AVM version to 0.20.0 (#120) 2021-12-29 23:21:48 +03:00
Pavel
bc027b82cd
AvmRunner: update to 0.1.2 (fix issue with incorrect baseUrl) (#119) 2021-12-29 17:46:25 +03:00
Pavel
9d0c7b2bb8
Switching from AVM interpreter to AVM runner with background execution (#111) 2021-12-28 20:53:25 +03:00
Pavel
4aefddecaa
Update AVM version to 0.19.3 (#117) 2021-12-22 20:40:50 +03:00
Pavel
c9f2bb2407
Disable automatic branch publishing (#114) 2021-12-17 17:12:09 +03:00
Pavel
7853747d5e
Update AVM version to 0.18.0 (#115) 2021-12-17 17:10:22 +03:00
Aleksey Proshutisnkiy
228d3f104c
Update AVM version to 0.17.7 (#113) 2021-12-13 20:09:56 +03:00
Pavel
48fc017a1b
Add built-in service (Sig) which signs data and verifies signatures (#110) 2021-12-10 16:47:58 +03:00
Pavel
25da21aeeb
Update AVM version to 0.17.6 (#112) 2021-12-08 16:52:59 +03:00
Pavel
2de819144a
Update AVM: add support for restriction operator (#102) 2021-11-17 09:10:23 +03:00
Pavel
6e0a8c011f
Compiler support: fix issue with incorrect ttl value in config (#100) 2021-11-10 17:49:42 +03:00
Pavel
aa21abe465
Extend error handling in FluencePeer (#98) 2021-11-09 14:37:44 +03:00
Pavel
fe52648103
Integrate async AquaVM into fluence-js (#88) 2021-10-20 22:20:43 +03:00
Pavel
727d59fb61
Documentation update (#83) 2021-09-27 22:11:35 +03:00
folex
763e641fa2
KeyPair: add fromBytes, toEd25519PrivateKey (#78)
- fromBytes allows to pass any seed you want
- constructor takes PeerId (previously was empty and maybe private)
- toEd25519PrivateKey to complete the lifecycle.
2021-09-14 12:16:17 +03:00
Pavel
6436cd5684
Update JS SDK API to the new version (#61)
* FluenceClient renamed to FluencePeer.
* Using Aqua compiler is now the recommended way for all interaction with the network, including services registration and sending requests
* Old API (sendParticle etc) has been removed
* Opaque seed format replaced with 32 byte ed25519 private key. KeyPair introduced
* Documentation update
2021-09-08 12:42:30 +03:00
Pavel
eec581370d
Update base64-js version (#67) 2021-09-08 11:56:25 +03:00
Pavel
33d7406c55
Update CI workflow to tag-based one (#66) 2021-09-08 11:28:22 +03:00
folex
32e1ea4e04
Update avm to 0.14.3 (#65) 2021-08-27 20:02:55 +03:00
Pavel
ad83b51ce1
JS SDK 0.10.0 (#64)
BREAKING CHANGES: PROTOCOL_NAME is changed, AquaVM is updated to a new minor version
2021-08-24 18:37:20 +03:00
Mike Voronov
5da230cb05
Switch to crdt interpreter (#62) 2021-08-24 17:37:03 +03:00
folex
f67ca787a7
Update libp2p, multiaddr & peer-id libraries (#60) 2021-08-18 20:13:40 +03:00
Dima
7959016ecb
update avm to 0.10.5 (#57) 2021-06-10 17:32:15 +03:00
Pavel
67a1f91961
Fix issue with avm logs not being displayed (#54) 2021-06-08 11:08:07 +03:00
Pavel
53385c556a
Implement handlers for built-in calls from avm (#52) 2021-06-03 20:11:09 +03:00