Commit Graph

108 Commits

Author SHA1 Message Date
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
folex
f9d7a1c875
Update AIR interpreter to 0.8.2 (#42) 2021-04-21 12:42:42 +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
Pavel
0ff10a25de
update aqua version (#33)
* Bump aquamarine version

* Add connection options
2021-03-25 21:33:27 +03:00
Pavel
f732a30eb8
Swapped secio with noise (#32)
Update libp2p-related packages and switch from secio to noise
2021-03-10 15:56:12 +03:00
Pavel
b0ed007399
Particle lifecycle (#21)
Complete rethinking and refactoring of the codebase.

The codebase basically consists these 5 moving parts now: 

1. Fluence client (and the Particle processor which might be merged with the client) - This part is responsible for initiating Request flows, managing existing requests flows (it keeps the queue of received particles), pulling right strings on request flows to update their state etc
2. Fluence connection - This part is responsible for connecting to network, sending\receiving particles
3. RequestFlow - This is where the state of particle execution process is kept. It is basically a state storage with some control levers to update the state. Each request flow contains some particle lifecycle methods and the AquaCallHandler where all callback logic is kept
4. RequestFlowBuilder - This is where requests are prepared by the user (the developer of the client application) before they are ready to be sent into the network.
5. AquaCallHandler - This is how interpreter callbacks are handled. It is very similar to express.js app and is made of middlewares. Aqua handler is the unified api for both callbacks for our Request flows and non-ours (i.e services that are expected to be called be other peers). See `AquaHandler.ts` for details
2021-03-03 22:01:05 +03:00
Pavel
d65153e6de
Update interpreter (#26)
* Update interpreter version
2021-02-24 14:51:24 +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
Dima
7d5f1ed41d
update aqua (#16) 2021-02-04 13:40:19 +03:00
Dima
481a44b819
Add remove scripts, fix builtins (#15) 2021-02-03 21:18:27 +03:00
Dima
e4d3f688ed
Immediate -> timeout (#14) 2021-02-02 14:13:52 +03:00
Dima
92980379bd
Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +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
Pavel
ba537c79b3
Big refactoring (#8)
Big codebase refactoring. 

* Multiple clients are allowed on the same browser instance
* Particle queue processing is split from particle handling logic
* Public AIP is completely rethought
* Updated project file structure. Clean exports for public api methods
* Additional unit tests
2021-01-19 15:47:49 +03:00
folex
0c19f080df
Release @fluencelabs/fluence automatically (#5) 2020-12-29 15:38:20 +03:00
coder11
1995425f01
fix repository url in package.json (#4) 2020-12-29 12:01:53 +03:00
DieMyst
63281bbdfd rename, update version 2020-12-24 19:47:17 +03:00
Dima
7331d48afd
Data as base64 (#2) 2020-12-24 19:11:10 +03:00
DieMyst
cbecbf95f3 update aqua version, update aqua callservice hash 2020-12-24 16:13:45 +03:00
coder11
f6fd95ce77
Tetraplets (#1) 2020-12-23 17:24:22 +03:00
folex
b79f0920d4 JS SDK: fix host functions in mocha tests (#1003) 2020-12-19 23:59:29 +03:00
Dima
7848f59e00 fluence-js: fix particle data merging (#998) 2020-12-14 15:21:43 +03:00
folex
8a10957efe Fix host imports in fluence-js (#997) 2020-12-08 17:13:24 +03:00
Dima
84f0b3ba18 delete test dir from package, update version (#995) 2020-12-07 17:20:00 +03:00
folex
1da69b1fb9 Fluence.parseAIR function to return AST as JSON (#994) 2020-12-07 14:18:42 +03:00
Dima
957c0f90c1 module config, blueprint id (#993) 2020-12-04 17:08:35 +03:00
Dima
14a8463d3a update aqua (#988) 2020-11-25 16:56:01 +03:00
Dima
581193b044 update wasm-pack compiled js (#982) 2020-11-23 16:05:48 +03:00
Dima
f7e99247d1 Doc improvements, script generator (#979) 2020-11-19 15:32:49 +03:00
Dima
95be4bbd6d Use aqua wasm from package (#978) 2020-11-18 10:03:21 +03:00
Dima
abf19810dc Fix particle encoding (#974) 2020-11-11 22:05:54 +03:00
Dima
ff0a5ae080 update aqua (#972) 2020-11-06 17:12:04 +03:00
Dima
87af2bbe56 New aqua (#969) 2020-11-04 00:03:22 +03:00
Dima
6ebba3242d Client new logger (#964) 2020-10-26 17:38:01 +03:00
Dima
83c3a172e8 Builtin methods, update aquamarine (#960) 2020-10-23 14:01:21 +03:00
Dima
2792dcfc93 Stepper integration impl (#955) 2020-10-12 14:07:28 +03:00
Dima
0a49f84d08 Stepper wasm integration (#951) 2020-10-05 17:17:04 +03:00
Dima
85587c087d Fire client (#947) 2020-09-21 16:42:53 +03:00
Dima
bc46062279 Fluence js logging (#943) 2020-09-15 12:09:13 +03:00
Dima
9617a646ec Fix client SDK TypeScript compilation (#942) 2020-08-26 18:48:17 +03:00
Dima
2277a3584c Client blueprint, service incapsulation (#940) 2020-08-20 20:28:32 +03:00
Dima
cc493ea8d4 Interface types (#933) 2020-07-30 15:36:36 +03:00
Dima
747f0223a2 change version (#930) 2020-07-27 16:49:36 +03:00
Dima
4e89a13dee Hash in replyTo (#918) 2020-06-30 16:34:05 +03:00
Dima
b34c0628c5 Add fname and module name to arguments (#917) 2020-06-29 17:27:53 +03:00
Dima
afacef5138 Protocol updates (#914) 2020-06-26 16:12:37 +03:00
Dima
8a9ad8e9de fix sender in call (#913) 2020-06-19 14:29:06 +03:00
Dima
55db70d96f 'sender' field in FunctionCall (#908) 2020-06-12 19:54:09 +03:00
Dima
145b4232f6 Version updates (#903) 2020-06-08 17:51:17 +03:00
Dima
d894913dbb Add disconnect method (#899) 2020-05-28 20:19:26 +03:00
Dima
9d4190ae2c Rename misc.ts to seed.ts (#897)
* privkey conversion

* doc

* --

* --

* delete file
2020-05-27 15:41:07 +03:00
Dima
a28cce0b16 Privkey conversion (#896) 2020-05-27 15:04:13 +03:00
Dima
4d306dab63 Client certs (#895) 2020-05-25 19:49:13 +03:00
folex
5fbb08bc96 Back to Apache 2.0 (#83) 2020-05-14 17:30:17 +03:00
folex
96370bb26f Remove frank (#81) 2020-05-14 15:20:39 +03:00