Commit Graph

230 Commits

Author SHA1 Message Date
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
f41e8f035d
Add particleId to error message when an aqua function times out (#106) 2021-11-30 12:18:55 +03:00
Pavel
ef57883abd
Compiler support: fix issues with registerService function (#104)
- Throwing error if `registerService` was called on a non-initialized peer.
- Fix issue with incorrect context being passed to class-based implementations of user services
- Fix typo in JSDoc
2021-11-28 09:36:01 +03:00
Pavel
7577170780
Fix timeout error message (#103) 2021-11-23 12:03:12 +03:00
Pavel
defe961413
Implement peer.timeout built-in function (#101) 2021-11-17 09:21:32 +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
337a3f45de
Compiler support: define and export FnConfig interface (#97) 2021-11-04 15:15:30 +03:00
Pavel
3ad6a41ed3
Docs: upate autogenerated gh page (#92) 2021-10-21 18:04:20 +03:00
Pavel
79ad43315b
FluencePeer: add option to specify default TTL for all new particles (#91) 2021-10-21 17:56:21 +03:00
Pavel
9d00b70897
Compiler support: fix issue with incorrect check for missing fields in service registration (#90) 2021-10-20 23:03:06 +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
Pavel
a5cd6d5a49
Replace fromBytes in favor of fromEd25519SK in KeyPair class (#81)
* Replace fromBytes in favor of fromEd25519SK in KeyPair class
2021-09-24 17:19:28 +03:00
Pavel
1c457dd2cf
Export PeerStatus type from index.ts (#80) 2021-09-21 22:10:33 +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
608506db9f
Refactor public API: put default peer API under Fluence facade (#72) 2021-09-10 19:21:45 +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
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
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
Pavel
0b91712964
Fix doc links (#58) 2021-08-06 00:57:10 +03:00
Dima
7959016ecb
update avm to 0.10.5 (#57) 2021-06-10 17:32:15 +03:00
Pavel
cabbe89845
Fixed issue when a variable passed to Request flow could be undefined (#55) 2021-06-09 20:39:04 +03:00
Pavel
67a1f91961
Fix issue with avm logs not being displayed (#54) 2021-06-08 11:08:07 +03:00
Pavel
2e016e9b7a
fix "Op" service name case to "op" (#53) 2021-06-04 14:05:04 +03:00
Pavel
53385c556a
Implement handlers for built-in calls from avm (#52) 2021-06-03 20:11:09 +03:00
Pavel
c01c6478b7
Update error handling when dialing libp2p connecion (#51) 2021-06-03 15:29:12 +03:00
Dima
b5bdc5d6e5
update (#50) 2021-06-01 19:05:40 +03:00
Pavel
054a7bf094
Mass rename (#48)
* Update terminology and namings

* Use renamed to `avm` package
2021-05-18 09:53:12 +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
Pavel
2d46fd47f1
fix error prototype (#45) 2021-04-27 17:50:53 +03:00
Pavel
8c372cd0c8
Improvements (#44)
* Add more detailed information when the particle is sent to incorrect peers

* Throwing custom error in case of version incompatibility
2021-04-27 17:08:18 +03:00
Pavel
d84d9fd7ea
Opt out defaults (#43)
* Change the wat the withDefaults() words. Now it is "disable default injections" instead of "enable default injections"
2021-04-21 19:56:19 +03:00
folex
f9d7a1c875
Update AIR interpreter to 0.8.2 (#42) 2021-04-21 12:42:42 +03:00
Pavel
8ddccd3c60
Fix zero to empty object conversion error (#40) 2021-04-20 14:19:08 +03:00
Pavel
f14baeb618
Fix variable injection (#39) 2021-04-15 15:42:18 +03:00
Pavel
de0516f305
fixes (#38)
* Fix error message when an incorrect service has been called.

* Fix return type of the handler in registerServiceFunction
2021-04-13 17:04:36 +03:00
folex
480c8aa850
Allow ws transport (#37) 2021-04-13 15:11:52 +03:00
Pavel
15e645c2d5
Fixes (#35)
* Fix assignment in `withInjectedVariables` 

* Pin all dependencies to exact version

* Remove unused deps
2021-04-08 13:55:33 +03:00