Commit Graph

148 Commits

Author SHA1 Message Date
fluencebot
31dab07e6d
chore: release master (#340)
Co-authored-by: Akim <59872966+akim-bow@users.noreply.github.com>
2023-09-14 17:54:03 +07:00
Anatolios Laskaris
20d0ab3cf6
chore: Hide changelogs in renovate PRs (#342)
Hide changelogs
2023-09-14 13:28:51 +03:00
Akim
e0a970d86a
fix: Fire and forget [fixes DXJ-446] (#336)
* Add test for particle and try to fix it

* Fix build

* Fix tests

* Fix stop order

* FluencePeer refactoring

* mplex to yamux

* Small fixes

* Refactor connections

* Update packages/core/js-client/src/jsPeer/FluencePeer.ts

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

* Remove redundant checks

* Update packages/core/js-client/src/jsPeer/FluencePeer.ts

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

* Suppress very long output of raw data

* Test for parallel execution

* Fix test

* Misc optimization

* Add minRepr

* Fix reset error

* Latest default nox image

---------

Co-authored-by: shamsartem <shamsartem@gmail.com>
2023-09-14 10:22:59 +07:00
fluencebot
b79039dff3
chore: release master (#339) 2023-09-07 13:05:34 +00:00
renovate[bot]
8e6918c4da
fix(deps): update dependency @fluencelabs/avm to v0.46.0 (#338)
* fix(deps): update dependency @fluencelabs/avm to v0.46.0

* Set nox image

* Add nox image to other file

* bump nox

* Update .github/workflows/e2e.yml

* Update .github/workflows/e2e.yml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Akim Mamedov <akim99999999@gmail.com>
Co-authored-by: Akim <59872966+akim-bow@users.noreply.github.com>
Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
Co-authored-by: shamsartem <shamsartem@gmail.com>
2023-09-07 14:48:05 +02:00
fluencebot
8155e3487e
chore: release master (#335) 2023-09-07 11:19:08 +07:00
Akim
e7e617661f
feat: remove obsolete packages [fixes DXJ-462] (#337)
* Remove api package

* Not publish interface package

* Refactoring of interface package

* Fix aqua imports

* Change impl of isFluencePeer

* Remove unused property
2023-09-05 21:38:59 +07:00
fluencebot
ea62bafc45
chore: release master (#329)
* chore: release master

* chore: Regenerate pnpm lock file
2023-08-29 20:20:16 +07:00
fluencebot
f2e5beeca5
chore: release master (#325)
* chore: release master

* chore: Regenerate pnpm lock file
2023-08-25 00:50:55 +07:00
Akim
97c24918d8
feat!: Unify all packages (#327)
* * Separate marine worker as a package
* Trying to fix tests

* Finalizing test fixes

* fix: rename back to Fluence CLI (#320)

chore: rename back to Fluence CLI

* fix(deps): update dependency @fluencelabs/avm to v0.43.1 (#322)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: release master (#324)

* chore: release master

* chore: Regenerate pnpm lock file

* feat: use marine-js 0.7.2 (#321)

* use marine-js 0.5.0

* increace some timeouts

* increace some timeouts

* use latest marine + remove larger timeouts

* propagate CallParameters type

* use marine 0.7.2

* Temp use node 18 and 20

* Comment out node 20.x

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>

* chore: Fix test with node 18/20 error message (#323)

* Fix test with node 18/20 error message

* Run tests on node 18 and 20

* Enhance description

* Fix type and obj property

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>

* * Separate marine worker as a package
* Trying to fix tests

* Finalizing test fixes

* * Refactoring packages.
* Using CDN to load .wasm deps.
* Setting up tests for new architecture

* Fix almost all tests

* Fix last strange test

* Remove package specific packages

* Remove avm class as it looks excessive

* marine worker new version

* misc refactoring/remove console.log's

* Rename package js-peer to js-client

* Move service info to marine worker

* Change CDN path

* Fix worker race confition

* Remove buffer type

* Remove turned off headless mode in platform tests

* Remove async keyword to make tests pass

* Remove util package

* Make js-client.api package just reexport interface from js-client main package

* Update package info in CI

* Fix review comments

* Remove test entry from marine-worker package

* Misc fixes

* Fix worker type

* Add fetchers

* Specify correct versions for js-client package

* Set first ver for js-client

* Update libp2p and related dep versions to the latest

* Build all deps into package itself

* Fix review

* Refine package

* Fix comment

* Update packages/core/js-client/src/fetchers/browser.ts

* Update packages/core/js-client/src/fetchers/index.ts

* Update packages/core/js-client/src/fetchers/node.ts

* Update packages/core/js-client/src/jsPeer/FluencePeer.ts

* Update packages/core/js-client/src/keypair/__test__/KeyPair.spec.ts

* Update packages/core/js-client/src/jsPeer/FluencePeer.ts

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

* Delete outdated file

* Need types for build to work

* Inline func call

* Add comments to replacement lines.
P.S. we can remove some of them after update libp2p

---------

Co-authored-by: shamsartem <shamsartem@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fluencebot <116741523+fluencebot@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-08-25 00:15:49 +07:00
Akim
2d2f5591cf
chore: Fix test with node 18/20 error message (#323)
* Fix test with node 18/20 error message

* Run tests on node 18 and 20

* Enhance description

* Fix type and obj property

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-08-09 16:04:22 +03:00
Valery Antopol
c99a509c87
feat: use marine-js 0.7.2 (#321)
* use marine-js 0.5.0

* increace some timeouts

* increace some timeouts

* use latest marine + remove larger timeouts

* propagate CallParameters type

* use marine 0.7.2

* Temp use node 18 and 20

* Comment out node 20.x

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-08-09 15:38:40 +03:00
fluencebot
f82a37ee96
chore: release master (#324)
* chore: release master

* chore: Regenerate pnpm lock file
2023-08-09 13:34:57 +03:00
Anatolios Laskaris
4ef0d312ca
chore: Rename fluence-cli to flox (#319)
* Trigger

* Rename to flox
2023-07-10 10:22:06 +03:00
Anatolios Laskaris
82da491f3d
chore: Renaming things (#316)
* Renaming

* Fix

* Fix

* Fix

* Use main
2023-07-10 09:40:48 +03:00
Anatolios Laskaris
c991f0908f
chore: Release packages as unstable (#318)
Release packages as unstable
2023-07-03 10:53:59 +03:00
fluencebot
d9b2c00c79
chore: release master (#317)
* chore: release master

* chore: Regenerate pnpm lock file
2023-06-29 13:03:49 -06:00
folex
8bae6e24e6
fix(avm): avm 0.40.0 (#315)
* fix(avm): avm 0.40.0

* fix: remove avm.tgz

* chore(ci): change rust-peer container

* fix: nix tag typo

* Update tests.yml

* try increasing timeout

* even more

* add loggs

* fix error message

* increase default ttl

* revert increased timeouts and ttls

* chore(ci): disable DEBUG=*

* chore(ci): use unstable_minimal for aqua-playground

* chore(ci): fix nox image

---------

Co-authored-by: Anatolios Laskaris <github_me@nahsi.dev>
Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
2023-06-29 12:48:24 -06:00
fluencebot
97177a2b94
chore: release master (#311)
* chore: release master

* chore: Regenerate pnpm lock file
2023-06-20 15:10:59 -06:00
shamsartem
a60dfe0d68
feat: support signatures [fixes DXJ-389] (#310)
* feat: support signatures [fixes DXJ-389]

* chore(ci): use nox with avm 0.39.1

---------

Co-authored-by: folex <0xdxdy@gmail.com>
2023-06-20 13:52:41 -06:00
fluencebot
b9f549f54a
chore: release master (#308)
* chore: release master

* chore: Regenerate pnpm lock file
2023-06-15 14:57:34 +02:00
fluencebot
2615d5cefd
chore: release master (#306)
* chore: release master

* chore: Regenerate pnpm lock file
2023-05-31 10:35:53 +02:00
Anatolios Laskaris
d22017c6b0
chore: no-frozen-lock-file (#303)
* Regenerate lock file

* Fix?
2023-05-04 16:43:29 +03:00
Anatolios Laskaris
c2d25b329e
chore: Use pnpmfile.js to override dependencies (#302)
* Use pnpmfile.js to override dependencies

* Typo

* Fix
2023-05-04 15:25:41 +03:00
Anatolios Laskaris
3bc94e4195
chore(ci): Run snapshot on builder (#301)
Run snapshot on builder
2023-04-26 13:30:50 +03:00
fluencebot
ac25f497b1
chore: release master (#297)
* chore: release master

* chore: Regenerate pnpm lock file
2023-04-04 12:50:50 +02:00
Anatolios Laskaris
c6c698a58a
chore: Fix js-client.web version (#299)
Fix
2023-04-04 12:33:39 +02:00
Anatolios Laskaris
f869564b44
chore: Add js-client.web to release-please (#298)
Add js-client.web to release-please
2023-04-04 12:29:57 +02:00
Anatolios Laskaris
00b62f1459
chore(e2e): e2e update [fixes FLU-297, FLU-298, FLU-267] (#296)
* Add fluence-cli

* Update e2e

* Run on labeled

* Cleanup

* Use main branch
2023-04-03 15:06:02 +03:00
fluencebot
9e0eb8d3bf
chore: release master (#283)
* chore: release master

* chore: Regenerate pnpm lock file
2023-03-31 16:13:43 +03:00
Anatolios Laskaris
b6e7a9cf55
chore: Temporary workaround for e2e version set (#294)
* Temporary workaround for e2e version set

* fix
2023-03-31 11:31:39 +03:00
Anatolios Laskaris
a664d233f0
chore: Set packages version with action [fixes FLU-290] (#293)
* Test setting version with action

* Cleanup
2023-03-28 15:46:23 -03:00
Anatolios Laskaris
9345040b87
chore: Try running install with -r (#286)
Try running install with -r
2023-03-16 13:59:31 -03:00
Anatolios Laskaris
31d567094c
chore(e2e): Use fluencelabs/rust-peer image (#288)
Use fluencelabs/rust-peer image
2023-03-16 13:59:07 -03:00
Pavel
43f39d5ac1
chore(ci): Release public packages as latest (#287) 2023-03-09 22:25:58 +03:00
Anatolios Laskaris
faf1f7d238
chore(ci): Setup chromium (#284)
* Setup chromium

* Run commentedout tests
2023-03-09 11:39:43 +02:00
Anatolios Laskaris
3fbeb0df8e
chore(ci): Use aqua-playground master (#281)
Use aqua-playground master
2023-03-04 13:53:17 +04:00
Anatolios Laskaris
dd7f4b69be
chore: Update e2e (#273)
* Update e2e

* Fixes
2023-03-04 10:13:37 +02:00
fluencebot
baf367e88a
chore: release master (#279)
* chore: release master

* chore: Regenerate pnpm lock file
2023-03-03 14:15:57 +03:00
fluencebot
e3548e9062
chore: release master (#272)
* chore: release master

* chore: Regenerate pnpm lock file
2023-02-22 13:48:55 +03:00
fluencebot
40c881be5c
chore: release master (#265) 2023-02-16 20:35:10 +03:00
fluencebot
7979db85c8
chore: release master (#263) 2023-02-16 16:41:45 +02:00
fluencebot
819790e9c9
chore: release master (#261) 2023-02-16 15:35:03 +03:00
fluencebot
0e795cb0fc
chore: release master (#258) 2023-02-16 14:44:07 +03:00
Anatolios Laskaris
35dfb1bfbc
chore: Fix typo in release command (#254)
Fix typo in release command
2023-02-16 15:18:18 +07:00
fluencebot
694a8a1bd2
chore: release master (#250)
* chore: release master

* chore: Regenerate pnpm lock file

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-02-15 19:07:57 +03:00
Anatolios Laskaris
ac63f6368c
chore: Fix path to some packages in release-please (#249)
Fix path
2023-02-15 17:48:19 +03:00
Anatolios Laskaris
63a3579ee6
chore: Add release-please (#240)
* Add release-please

* Fix

* Fix ci.js

* Rename fluence-js

* Run pnpm i

* Fix

* Update workflows

* Fix
2023-02-15 16:45:04 +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
Anatolios Laskaris
e02c506d7f
chore(ci): Set timeout and add e2e / status check [fixes FLU-222, FLU-194 and FLU-196] (#238)
* Update renovate config

* Update
2023-02-01 17:56:48 +07:00
renovate[bot]
b5e92dfe08
chore(deps): update pnpm/action-setup action to v2.2.4 (#217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 11:38:47 +02:00
Anatolios Laskaris
6a9aa2fcae
chore(ci): Add fluence-cli to E2E (#230)
* Add fluence-cli to E2E

* Add missing fluence-js in needs

* Test branch with fix

* Typo

* Use main branch

* Test

* Use main branch
2022-12-20 12:32:36 +03:00
renovate[bot]
421318f47c
chore(deps): update all github-actions to v3 (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 12:21:30 +03:00
Anatolios Laskaris
cf33a7b4fe
ci: Pin dependencies (#216) 2022-12-07 14:37:50 +07:00
Anatolios Laskaris
298e7c50a9
ci: Workaround for empty npm package version in e2e (#208) 2022-12-05 15:10:44 +03:00
Anatolios Laskaris
acc50d1d31
Fix git ref in e2e (#219) 2022-12-01 20:03:02 +03:00
renovate[bot]
89b88e71a9
ci: Configure Renovate (#209)
* chore(deps): add renovate.json

* Update config

* Update github-actions in one PR

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2022-12-01 13:44:23 +03:00
Pavel
208067eecf
Fix failing tests in AquaVM (#207) 2022-11-28 13:59:07 +03:00
Anatolios Laskaris
1f5fa892e3
ci: Remove v prefix from snapshot version output (#206) 2022-11-25 17:50:37 +03:00
Anatolios Laskaris
b2f2c69f02
ci: Use npm actions in e2e (#205)
* Use npm actions in e2e

* Update test workflow

* Typo

* Prepend verions with v

* Use main branch
2022-11-25 10:49:38 +03:00
Anatolios Laskaris
aa502de62b
ci: Add marine-js (#204)
* Add marine-js

* Add marine-js input
2022-11-22 19:07:58 +03:00
Anatolios Laskaris
1506c7cf16
ci: Update e2e (#203)
* Test

* Fix

* Fix

* Fix name

* Update

* Update actions

* Use main branch

* Fix
2022-11-22 15:39:45 +02:00
Anatolios Laskaris
bc276f0ec7
Use summary to print versions (#196) 2022-10-31 18:10:22 +03:00
Anatolios Laskaris
b160fb7edc
ci: Add registry to e2e (#193)
* Add registry tests

* Fix
2022-10-10 22:03:03 +04:00
Anatolios Laskaris
339be8ff28
ci: Fix setting version (#192)
* Fix setting version

* Fix
2022-10-10 20:09:16 +04:00
Anatoly Laskaris
3b05852a65
chore: Small E2E tuning (#184)
* Make comment a step instead of a job

To save space on summary screen of github actions

* Build aqua with fluence-js snapshot

* Typo

* Another typo

* Use short sha from branch

* Fix permissions?

* Fix

* Install then set version

* Better names

* Even better names
2022-09-14 17:43:17 +03:00
Anatoly Laskaris
73bce39621
chore: Prepare for Aquavm/aqua E2E (#182)
* Prepare for aquavm e2e

* Checkout to fluence-js repo

* Updates

* Use cache

* Fix setting up node version
2022-09-13 19:24:20 +03:00
Anatoly Laskaris
b68d61068a
Use workflow_call to run tests/publish build snapshot and add E2E (#175)
* Add workflow_call

* Add missing import secrest

* Run e2e with aqua-playground (#179)

* Try to run e2e with aqua-playground

* Use workflow_call to run local tests and publish snapshot

* Run e2e and tests in parallel

* Colors!

* Always add comment

* Use master branch of aqua-playground

* Remove invalid `cache` key

* Update .github/workflows/run-tests.yml

* Fix branch name in version
2022-09-06 17:51:43 +03:00
Pavel
0bf8eb2f1b
Fix issue when FluenceJS was not working in webpack-based web projects (#176) 2022-09-05 18:24:19 +03:00
Anatoly Laskaris
2fbde339b9
Run rust-peer using docker-compose (#168)
* Add docker-compose

* Run rust-peer using docker compose
2022-09-01 15:37:57 +03:00
Pavel
9de5aaeb36
Fix version displayed in github release (#172) 2022-09-01 13:14:22 +03:00
Pavel
baec9203ba
Fix release workflow dispatch type (#171) 2022-09-01 12:33:28 +03:00
Pavel
1ffca081cf
Bump FluenceJS version and fix CI workflow (#170) 2022-09-01 12:23:30 +03:00
Pavel
657499e2c8
Fix publishing issue (#166) 2022-08-25 18:08:42 +03:00
Pavel
0148c33dbc
Fix non-working CI workflows (#165) 2022-08-25 17:08:04 +03:00
Pavel
16fdbce17d
Migrate to monorepo and pnpm (#163)
DXJ-85
2022-08-24 18:03:06 +03:00
Anatoly Laskaris
bcfd5ff634
Update publish branch workflow to use selfhosted registry (#164) 2022-08-18 15:12:25 +03:00
Pavel
976cd0435c
Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
Pavel
0c5fecac40
Remove old node versions (#128) 2022-02-04 22:37:00 +03:00
Pavel
9d0c7b2bb8
Switching from AVM interpreter to AVM runner with background execution (#111) 2021-12-28 20:53:25 +03:00
Pavel
c9f2bb2407
Disable automatic branch publishing (#114) 2021-12-17 17:12:09 +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
c7ab9d56ee
CI: fix --allow-same-version flag(#69) 2021-09-08 12:21:11 +03:00
Pavel
140c38eb93
CI: set release name to JS SDK (#68) 2021-09-08 12:04:52 +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
Pavel
9aa077eb4b
Update air (#47)
* Migrate to the new version of air-interpreter package

* Add pipeline with integration tests 

* Fix issues which prevented tests to finish normally
2021-05-12 00:01:44 +03:00
folex
052a8a7f24
Do not use DataView (#28) 2021-03-03 17:27:00 +03:00
Pavel
416221ea17
Improve tests (#18)
Replaced mocha with jest. 
Test are split into unit and integration categories.
Dropped ESM dependency. Code is now being compiled into CJS
2021-02-14 00:35:02 +03:00
Pavel
b9d146c653
Hide non latest packages (#9)
* publishing branch packages with beta tag to hide it from being latest

* Update package version
2021-01-19 17:15:59 +03:00
folex
c7f94109a6
Do not run 'publish_branch' on master (#7) 2020-12-31 15:04:11 +03:00
folex
5ad4108361
Switch badge to @fluencelabs/fluence (#6) 2020-12-30 13:14:24 +03:00
folex
0c19f080df
Release @fluencelabs/fluence automatically (#5) 2020-12-29 15:38:20 +03:00
DieMyst
2876417554 fix workflow 2020-12-22 11:09:59 +03:00
DieMyst
3344c5d7a9 add workflow 2020-12-22 11:08:44 +03:00