Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@restroom-mw/sawroom

dyne80AGPL-3.00.13.0TypeScript support: included

"Sawroom.dyne.org middleware to interact with sawtooth

blockchain, zenroom, sawtooth, sawroom, api, nodejs

readme

restroom

Restroom
Easy REST API builder executing Zencode

Dyne.org

🚀 Quick start 😍 Acknowledgements 🌐 Links 👤 Contributing 💼 License



Restroom is crafted with care by developers of the DECODE project about data-ownership and technological sovereignty. Our effort is that of improving people's awareness of how their data is processed by algorithms, as well facilitate the work of developers to create along privacy by design principles using algorithms that can be deployed in any situation without any change.

<summary>🚩 Table of Contents (click to expand)</summary>

🚀 Quick start

Start by reading the documentation

https://dyne.github.io/restroom-mw/

back to 🔝


😍 Acknowledgements

Copyright © 2020 by Dyne.org foundation, Amsterdam

Designed, written and maintained by Puria Nafisi Azizi.

Special thanks to Jaromil for his special contributions and for the idea.

Image in README courtesy of Old book illustrations

back to 🔝


https://zenroom.org/

https://dev.zenroom.org/

https://dyne.org/

https://decodeproject.eu/

back to 🔝


👤 Contributing

Please first take a look at the Dyne.org - Contributor License Agreement then

  1. 🔀 FORK IT
  2. Create your feature branch git checkout -b feature/branch
  3. Commit your changes git commit -am 'Add some fooBar'
  4. Push to the branch git push origin feature/branch
  5. Create a new Pull Request
  6. 🙏 Thank you

back to 🔝


💼 License

Restroom-mw - Easy REST API builder executing Zencode
Copyright (c) 2020 Dyne.org foundation, Amsterdam

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

back to 🔝

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.13.0 (2022-03-15)

Bug Fixes

Features

  • Add cycling loop ability per step in chains (#128) (83c4673)
  • core: Extend debug response for chain contracts (#123) (a04c1fa)
  • ethereum: Ethereum middleware all-in restroom (no Zenroom yet) (#120) (5648bb4)
  • ethereum: Read ERC20 informations (#122) (d4e769c)
  • files: 💾 Statement to store result of zenroom and its docs (#119) (78d63fb)
  • Save data on ethereum and fabric encoded with base64url (#124) (080c675), closes #110

0.12.2 (2022-02-24)

Note: Version bump only for package restroom-mw

0.12.1 (2022-02-24)

Note: Version bump only for package restroom-mw

0.12.0 (2022-02-24)

Features

  • files: 💾 @restroom-mw/files enables play with remote zip files (#114) (a4cb8a1)

0.11.0 (2022-02-18)

Bug Fixes

  • no error is thrown if fabric middleware is included but not used (#100) (d570e09)

Features

  • create: Add --all,--zencode-dir utility options and load .env in template (#108) (456b806)
  • fabric: Store and retrieve zenroom objects on fabric (#107) (d02f161)

0.10.0 (2022-02-16)

Bug Fixes

  • 🐛 tests update keys as it's being passed and rewritten (#59) (52a91e7)
  • Added check for the path in chains (#87) (f7dd201)
  • chain: Prevent and handle infinte loop in chain execution (#73) (61a5f06), closes #72
  • core: 📦 update zenroom and zencode dep to edge (#61) (71b1ffe)
  • db: 🐛 Fix the database write on tables (b2a14e4), closes #45
  • http: 🐛 Fix http post on endpoints (#48) (3432ea9), closes #47
  • http: 🐞 Fixed http send to (#70) (a9239e6)
  • http: check broken url before making the call (#65) (380ea74)
  • null object keys or values for yaml chain (#90) (62175ce)
  • redis: Unmarshal string on retrieve from redis (#84) (2b8285e)
  • sawroom: ⬆️ Missing dependency (5ac993a)
  • sawroom: 🐛 Missing borc (92200e6)
  • sawroom: 🐛 Prevent double parse, since is done in @dyne/sawroom-client (dccef52)
  • Use ids as contract map keys for chains avoiding execution loops (#91) (f274a5a)

Features

  • ✨ Allow execution of .chain (⛓ flow of contracts) (#56) (eeb52ee)
  • ✨ read yaml or json in keys files (#77) (63a04dc)
  • 📢 Enhance message error on chain contracts (#63) (7772fb4)
  • fabric: ⛓ Fabric middleware (#78) (76038c5)
  • First implementation of the CLI restroom generator (#99) (cf01853)
  • http: ✨ POST capabilities to the HTTP module (#76) (046fc98), closes #75
  • paraller http (#88) (b6d4524), closes #79
  • sawroom: ✨ Allow to save the whole zencode execution output directly on Sawroom (1bc602d), closes #41
  • sawroom: ✨ Implement the RETREVE action from sawroom (762231c)
  • sawroom: ✨ Write on the sawroom with the new shiny storage-tp (01ee0d7)
  • sawroom: ✨ Add support for wallet in sawroom (#53) (461de54)
  • shiny Timestamp mw package (#89) (7d95235), closes #86
  • Updated Sawroom Wallet statements (#55) (da957ae)

0.9.2 (2020-12-15)

Bug Fixes

  • sawroom: 🐛 Read and write json objects on sawroom (e8c8393)

0.9.1 (2020-12-08)

Note: Version bump only for package restroom-mw

0.9.0 (2020-12-08)

Features

  • sawroom: ✨ Sawroom middleware (#28) (a83fc77)
  • zencode: ✨ Mimic zenroom contract parsing (680d712)

Performance Improvements

  • ui: ⚡️ Faster fs traversing (a398c48)

BREAKING CHANGES

  • zencode: midlleware should be carefully updated to match correctly the senteces in Zencode class

0.8.1 (2020-12-01)

Note: Version bump only for package restroom-mw

0.8.0 (2020-12-01)

Features

  • db: Updated db middleware with new ACTIONS (#26) (8b89c2b), closes #22

0.7.1 (2020-11-20)

Bug Fixes

  • core: 🐛 Fix empty object literal data when nothing is expected (c6e22e2)
  • http: 🐛 Make the http work with SSL and fix Given nothing sentences (c614e7c)

0.7.0 (2020-11-18)

Features

  • http: :zap: middleware implementation + tests and contracts (#21) (132c419)

0.6.3 (2020-11-11)

Bug Fixes

  • http: 🐛 Make the http mw work as expected (5138507), closes #18

Performance Improvements

  • ⚡️ Parallel building faster dev experience (6c2a934)

0.6.2 (2020-11-08)

Performance Improvements

  • core: ⚡️ Prevent EventEmitter memory leak (fb5b823)

0.6.1 (2020-11-08)

Bug Fixes

  • ui: 🐛 catch unhandled promise rejection on folder scan for zencodes (523d038)

0.6.0 (2020-11-07)

Bug Fixes

  • core: 💥 Remove setData/getData in favour of direct manipulatino of paramsetDa (2b1db26), closes #13

Features

  • core: 💥 Error management, promise hooks and zenroom@next (8a73590), closes #14 #14

0.5.0 (2020-10-16)

Features