mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
Merge pull request #260 from oceanprotocol/feature/release-it
setup release-it workflow
This commit is contained in:
commit
09b30ab82c
@ -1,5 +0,0 @@
|
||||
[bumpversion]
|
||||
current_version = 0.5.17
|
||||
|
||||
[bumpversion:file:package.json]
|
||||
|
711
CHANGELOG.md
711
CHANGELOG.md
@ -1,143 +1,662 @@
|
||||
History
|
||||
=======
|
||||
### Changelog
|
||||
|
||||
0.5.17 (Jun 19, 2019)
|
||||
-------------------------
|
||||
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
||||
|
||||
* Hotfix of `postinstall` script
|
||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||
|
||||
0.5.16 (Jun 19, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.17](https://github.com/oceanprotocol/squid-js/compare/v0.5.16...v0.5.17)
|
||||
|
||||
* Created Versions module (`ocean.versions`) to provide a overview of the components
|
||||
* Upgraded dependencies
|
||||
> 19 June 2019
|
||||
|
||||
0.5.15 (Jun 12, 2019)
|
||||
-------------------------
|
||||
- Bump version 0.5.16 -> 0.5.17. [`4978678`](https://github.com/oceanprotocol/squid-js/commit/497867854eff2c040934b7fd350383d6f16eefd2)
|
||||
- Fix postinstall script issue. [`9cba5e8`](https://github.com/oceanprotocol/squid-js/commit/9cba5e85f1c95d50ab326e6c0dfb7edaf9503123)
|
||||
|
||||
* Created Auth module (`ocean.auth`) to reduce the Web3 provider interactions
|
||||
#### [v0.5.16](https://github.com/oceanprotocol/squid-js/compare/v0.5.15...v0.5.16)
|
||||
|
||||
0.5.14 (May 31, 2019)
|
||||
-------------------------
|
||||
> 19 June 2019
|
||||
|
||||
* `ocean.assets.create` emits the progress of the process
|
||||
- package updates & test documentation [`#248`](https://github.com/oceanprotocol/squid-js/pull/248)
|
||||
- fixed component versions, document local testing [`8e92d8b`](https://github.com/oceanprotocol/squid-js/commit/8e92d8bc82c100917694acc563b132f3d2c208ed)
|
||||
- package updates [`5a7fdd1`](https://github.com/oceanprotocol/squid-js/commit/5a7fdd1d1733cca4603e85d7c947d738916e1fa7)
|
||||
- Create Versions module. [`0438bee`](https://github.com/oceanprotocol/squid-js/commit/0438beef2ba909c3714e4622e2819083689ceafc)
|
||||
|
||||
0.5.13 (May 31, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.15](https://github.com/oceanprotocol/squid-js/compare/v0.5.14...v0.5.15)
|
||||
|
||||
* Changed the `metadata.base.price` type to string
|
||||
> 12 June 2019
|
||||
|
||||
0.5.12 (May 29, 2019)
|
||||
-------------------------
|
||||
- Add Auth module. [`b236cda`](https://github.com/oceanprotocol/squid-js/commit/b236cda7dd684f1b0704ea32cc74665cdd65882f)
|
||||
- Add integration test for Auth module. [`4d73eb8`](https://github.com/oceanprotocol/squid-js/commit/4d73eb869705a26bf8a04da7acaba220fbe9a83a)
|
||||
- Improve Config comments. [`23d4749`](https://github.com/oceanprotocol/squid-js/commit/23d4749b122f8aafddaacb6f1a2fada6db9b55ab)
|
||||
|
||||
* Added the prefix of the checksum
|
||||
* Stop having a cache for Web3 instance
|
||||
* Improves on some contracts
|
||||
#### [v0.5.14](https://github.com/oceanprotocol/squid-js/compare/v0.5.12...v0.5.14)
|
||||
|
||||
0.5.11 (May 20, 2019)
|
||||
-------------------------
|
||||
> 31 May 2019
|
||||
|
||||
* Improved signatures
|
||||
* Allowing custom Web3 providers
|
||||
* Added config of _Duero_ to execute integration tests
|
||||
- Report the asset creation progress. [`7d94cf2`](https://github.com/oceanprotocol/squid-js/commit/7d94cf2b6c299a2a26fd3179917b73bde6912380)
|
||||
- Change the type of the price of an asset to string. [`6fe8430`](https://github.com/oceanprotocol/squid-js/commit/6fe8430b0839b1c719473a14c56cc4eb8adad7c5)
|
||||
- Fix integration tests. [`172967c`](https://github.com/oceanprotocol/squid-js/commit/172967c35290f5843ffaa1ad1e3c872006f6faf9)
|
||||
|
||||
0.5.10 (May 15, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.12](https://github.com/oceanprotocol/squid-js/compare/v0.5.11...v0.5.12)
|
||||
|
||||
* Added _Duero_ network on Keeper network detection method
|
||||
* Small refactors
|
||||
> 29 May 2019
|
||||
|
||||
0.5.9 (May 6, 2019)
|
||||
-------------------------
|
||||
- Skip catching of Web3 instances. [`d7e572c`](https://github.com/oceanprotocol/squid-js/commit/d7e572c646aa9cd937ca85dc0a1056b9377f8d8c)
|
||||
- Bump version 0.5.11 -> 0.5.12. [`080299d`](https://github.com/oceanprotocol/squid-js/commit/080299dbd8951af8360954a0f778e1459fc129d7)
|
||||
- Expose the granted agreementIds for a consumer. [`90fbc0b`](https://github.com/oceanprotocol/squid-js/commit/90fbc0b1d6ae9a1fc06a85291b46cb223625e16a)
|
||||
|
||||
* Simplified `ocean.assets.order` process (less Web3 provider interactions)
|
||||
#### [v0.5.11](https://github.com/oceanprotocol/squid-js/compare/v0.5.10...v0.5.11)
|
||||
|
||||
0.5.8 (April 30, 2019)
|
||||
-------------------------
|
||||
> 20 May 2019
|
||||
|
||||
* `ocean.assets.order` emits the progress of the process
|
||||
* Improved typing of DDO
|
||||
* Fixed some differences between implementations on DDO generation
|
||||
- Remove outdated examples. [`5910552`](https://github.com/oceanprotocol/squid-js/commit/5910552f206d326cbbbc8072215e22d7b385ae6a)
|
||||
- Add Duero config to execute integration test. [`18037db`](https://github.com/oceanprotocol/squid-js/commit/18037db43d63f4d371c3029eb3f039d174790038)
|
||||
- Bump version 0.5.10 -> 0.5.11. [`6d33fd7`](https://github.com/oceanprotocol/squid-js/commit/6d33fd7356e463131a3c14aaf6e02dd02514826d)
|
||||
|
||||
0.5.7 (April 23, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.10](https://github.com/oceanprotocol/squid-js/compare/v0.5.9...v0.5.10)
|
||||
|
||||
* Fixed Web3 beta 37 as peer dependency
|
||||
* Fixed a difference in the download folder name when consume
|
||||
* The DDOs are sent to Aquarius before confirming the DID registry transaction
|
||||
* Fixed error getting Ocean instance in wrong network
|
||||
> 15 May 2019
|
||||
|
||||
0.5.6 (April 17, 2019)
|
||||
-------------------------
|
||||
- Bump version 0.5.9 -> 0.5.10. [`#230`](https://github.com/oceanprotocol/squid-js/pull/230)
|
||||
- Move WebServiceConnector to utils and make it instantiable. [`d779adc`](https://github.com/oceanprotocol/squid-js/commit/d779adc0a34bf82264e7bb56ec740baa897b0bde)
|
||||
- Add Duero network on getNetworkName. [`a821e1f`](https://github.com/oceanprotocol/squid-js/commit/a821e1f7ef771e72b8646a579a9f137f7e61959a)
|
||||
- Fix Aquarius tests using new way to call to services. [`33a9939`](https://github.com/oceanprotocol/squid-js/commit/33a9939b47af2f6daaa83674c07d450ab318706d)
|
||||
|
||||
* Added `agreement.status` method
|
||||
* Added `assets.owner`, `assets.ownerAssets` and `assets.consumerAssets` methods
|
||||
* Fixes on asset queries
|
||||
* Fixed coverage reporting
|
||||
#### [v0.5.9](https://github.com/oceanprotocol/squid-js/compare/v0.5.8...v0.5.9)
|
||||
|
||||
0.5.5 (April 15, 2019)
|
||||
-------------------------
|
||||
> 6 May 2019
|
||||
|
||||
* Fixed `agreements.prepare` output
|
||||
- Update nyc to the latest version 🚀 [`#216`](https://github.com/oceanprotocol/squid-js/pull/216)
|
||||
- Update order flow using Brizo. [`#215`](https://github.com/oceanprotocol/squid-js/pull/215)
|
||||
- chore(package): update lockfile package-lock.json [`00b1c29`](https://github.com/oceanprotocol/squid-js/commit/00b1c294d6bc1ca3dea856f887dfae072649ee28)
|
||||
- Bump version 0.5.8 -> 0.5.9. [`f8606bb`](https://github.com/oceanprotocol/squid-js/commit/f8606bb9aa378e3e3b4d603b45fed8de7062fe88)
|
||||
- chore(package): update nyc to version 14.1.0 [`c269120`](https://github.com/oceanprotocol/squid-js/commit/c269120f91e83df5509eea7e5c957250af86a326)
|
||||
|
||||
0.5.4 (April 15, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.8](https://github.com/oceanprotocol/squid-js/compare/v0.5.7...v0.5.8)
|
||||
|
||||
* Improved error detection on consume
|
||||
> 30 April 2019
|
||||
|
||||
0.5.3 (April 9, 2019)
|
||||
-------------------------
|
||||
- update metadata interface [`#213`](https://github.com/oceanprotocol/squid-js/pull/213)
|
||||
- Fix linter errors. [`e76c152`](https://github.com/oceanprotocol/squid-js/commit/e76c152bfc17b7e777cb2b4e25cc4a6a2bc45fda)
|
||||
- Create SuscribiblePromise class. [`2e8e3d9`](https://github.com/oceanprotocol/squid-js/commit/2e8e3d9a8f4654a13d1fec24a64aca9a7c917f5e)
|
||||
- update test data [`6dd1fa5`](https://github.com/oceanprotocol/squid-js/commit/6dd1fa5d3623f6c4fed7d74522c50cf0a3570ffc)
|
||||
|
||||
* Improved how is consumed the assets
|
||||
#### [v0.5.7](https://github.com/oceanprotocol/squid-js/compare/v0.5.6...v0.5.7)
|
||||
|
||||
0.5.2 (April 8, 2019)
|
||||
-------------------------
|
||||
> 23 April 2019
|
||||
|
||||
* Support new Aquarius query response
|
||||
- Bump version 0.5.6 -> 0.5.7. [`#210`](https://github.com/oceanprotocol/squid-js/pull/210)
|
||||
- update readme [`#206`](https://github.com/oceanprotocol/squid-js/pull/206)
|
||||
- Allow create a Ocean instance in wrong network. #188 [`c116cde`](https://github.com/oceanprotocol/squid-js/commit/c116cde4ca91411436c5a18da3910965b3e8a215)
|
||||
- Add Web3 as peer dependency. [`a3128a3`](https://github.com/oceanprotocol/squid-js/commit/a3128a3a0433276854e5b3dc626cc959e2c261ff)
|
||||
- Send the DID registry transaction before send the DDO to Aquarius. #200 [`4438206`](https://github.com/oceanprotocol/squid-js/commit/443820691415395d1cefb67ef7f7b4cc63d832c5)
|
||||
|
||||
0.5.1 (April 4, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.6](https://github.com/oceanprotocol/squid-js/compare/v0.5.5...v0.5.6)
|
||||
|
||||
* Added a way to consume files individually
|
||||
> 17 April 2019
|
||||
|
||||
0.5.0 (April 1, 2019)
|
||||
-------------------------
|
||||
- Fix page numbers in search queries [`#203`](https://github.com/oceanprotocol/squid-js/pull/203)
|
||||
- Use only the agreementId on status method of agreements module. [`#199`](https://github.com/oceanprotocol/squid-js/pull/199)
|
||||
- Add status method to agreements module. [`398ec20`](https://github.com/oceanprotocol/squid-js/commit/398ec203c1d3c85a9684e7cb588ae02948b4e26a)
|
||||
- Add ownerAssets method to assets module. [`47ced8a`](https://github.com/oceanprotocol/squid-js/commit/47ced8af1b6b741b55fab0eed5f52952aaa99de2)
|
||||
- Add owner method on assets module. [`652d4e7`](https://github.com/oceanprotocol/squid-js/commit/652d4e7575cbf1cfe9f131ac7739e89e6498da36)
|
||||
|
||||
* Integration with Keeper Contracts v0.9.0
|
||||
* Using Secret Store through Brizo
|
||||
#### [v0.5.5](https://github.com/oceanprotocol/squid-js/compare/v0.5.4...v0.5.5)
|
||||
|
||||
0.4.1 (March 29, 2019)
|
||||
-------------------------
|
||||
> 15 April 2019
|
||||
|
||||
* Refactor that allows having multiple Ocean instances with different configuration
|
||||
* Fixed errors when consuming on browsers
|
||||
* Fixed errors on searching assets using queries
|
||||
* Update to new `files` metadata structure
|
||||
- Fix wrong prepare output. [`1e94e27`](https://github.com/oceanprotocol/squid-js/commit/1e94e27f81b47066a310ae6563ba0a72e9e2a3b0)
|
||||
- Bump version 0.5.4 -> 0.5.5 [`9545a95`](https://github.com/oceanprotocol/squid-js/commit/9545a95b7f090ef195f67b65d94b3c77f8ec9e26)
|
||||
|
||||
0.4.0 (March 18, 2019)
|
||||
-------------------------
|
||||
#### [v0.5.4](https://github.com/oceanprotocol/squid-js/compare/v0.5.3...v0.5.4)
|
||||
|
||||
* Integration with Keeper Contracts v0.8.6
|
||||
* Complete refactor on agreements, templates and conditions
|
||||
* Improved typeing
|
||||
> 15 April 2019
|
||||
|
||||
0.3.1 (February 26th, 2019)
|
||||
-------------------------
|
||||
- Use save-file to download assets on browser. [`#191`](https://github.com/oceanprotocol/squid-js/pull/191)
|
||||
- Fix/faster bootstrap [`#190`](https://github.com/oceanprotocol/squid-js/pull/190)
|
||||
- Upgrade dependencies. [`a32435b`](https://github.com/oceanprotocol/squid-js/commit/a32435b85359ce690c3f28b17d7324c1032b5a91)
|
||||
- await chaining to Promise.all [`26a721f`](https://github.com/oceanprotocol/squid-js/commit/26a721f754ece53f5d9e68e85889e83f3d592c75)
|
||||
- Fix bug on order assets that was stopping the flow after paying. [`29ea28c`](https://github.com/oceanprotocol/squid-js/commit/29ea28cf907f9eeb3f701ab5aa3551f3919a6c8e)
|
||||
|
||||
* New Ocean API submodules
|
||||
* Improved typeing
|
||||
* Fixes on consume flow
|
||||
#### [v0.5.3](https://github.com/oceanprotocol/squid-js/compare/v0.5.2...v0.5.3)
|
||||
|
||||
0.3.0 (February 14th, 2019)
|
||||
-------------------------
|
||||
> 9 April 2019
|
||||
|
||||
* Integration with Keeper Contracts v0.6.12
|
||||
* New Ocean API submodules
|
||||
* Added new fields to metadata (files, checksum)
|
||||
* Added integration tests
|
||||
- Add the correct name to consumed assets. [`c90f9ce`](https://github.com/oceanprotocol/squid-js/commit/c90f9cea80e8fab6c946ffcf1591c95700414b16)
|
||||
- Add consume support for browsers. [`dde9345`](https://github.com/oceanprotocol/squid-js/commit/dde934543c8ef434ed2866274e0e9dc16031fc01)
|
||||
- Fix lint errors. [`78ab06b`](https://github.com/oceanprotocol/squid-js/commit/78ab06bf9adbcf0f5e265267b84bfa2b2b4f2499)
|
||||
|
||||
#### [v0.5.2](https://github.com/oceanprotocol/squid-js/compare/v0.5.1...v0.5.2)
|
||||
|
||||
0.0.1 (2018-)
|
||||
------------------
|
||||
> 8 April 2019
|
||||
|
||||
* First release
|
||||
- Bump version 0.5.1 -> 0.5.2 [`#183`](https://github.com/oceanprotocol/squid-js/pull/183)
|
||||
- Use the new Aquarius response type. [`b8fec2d`](https://github.com/oceanprotocol/squid-js/commit/b8fec2d0844009944f6492aa62049e806a4286a1)
|
||||
- Add a integration test using the consumption of big files. [`6a98fc3`](https://github.com/oceanprotocol/squid-js/commit/6a98fc39cfc8b914c5c59f59242781fd56165856)
|
||||
|
||||
#### [v0.5.1](https://github.com/oceanprotocol/squid-js/compare/v0.5.0...v0.5.1)
|
||||
|
||||
> 4 April 2019
|
||||
|
||||
- Bump version 0.5.0 -> 0.5.1 [`#178`](https://github.com/oceanprotocol/squid-js/pull/178)
|
||||
- Be able to download a specific file of an asset. [`3dbc1b9`](https://github.com/oceanprotocol/squid-js/commit/3dbc1b90d79f08574a8cd7e468a47d875195d886)
|
||||
|
||||
#### [v0.5.0](https://github.com/oceanprotocol/squid-js/compare/v0.4.1...v0.5.0)
|
||||
|
||||
> 1 April 2019
|
||||
|
||||
- Bump version 0.4.1 -> 0.5.0. [`#171`](https://github.com/oceanprotocol/squid-js/pull/171)
|
||||
- Move helpers/utils that needs web3 or ocean instance to instantiable classes. [`a931fe5`](https://github.com/oceanprotocol/squid-js/commit/a931fe5a42c29ca82ea350265b0e7487bd1c5956)
|
||||
- Upgrade to Keeper 0.9.0 and Secret Store access way. [`c632307`](https://github.com/oceanprotocol/squid-js/commit/c63230764620a63f7c624770f8491bbdcbd6a91e)
|
||||
- Fix lint errors. [`b5727bb`](https://github.com/oceanprotocol/squid-js/commit/b5727bb8dc808fe13eee86162cb59ea344779bef)
|
||||
|
||||
#### [v0.4.1](https://github.com/oceanprotocol/squid-js/compare/v0.4.0...v0.4.1)
|
||||
|
||||
> 1 April 2019
|
||||
|
||||
- Bump version 0.4.0 -> 0.4.1. [`#167`](https://github.com/oceanprotocol/squid-js/pull/167)
|
||||
- Browser consume flow fix [`#164`](https://github.com/oceanprotocol/squid-js/pull/164)
|
||||
- Bump version 0.3.1 -> 0.4.0. [`#155`](https://github.com/oceanprotocol/squid-js/pull/155)
|
||||
- Be able to create different Ocean instances with different config. [`7a13ad8`](https://github.com/oceanprotocol/squid-js/commit/7a13ad8daa353ac6f05ff9c1f3e925142c8284fd)
|
||||
- Report complete coverage. [`83973e6`](https://github.com/oceanprotocol/squid-js/commit/83973e63c0276c7577335abcfe309fb717034e16)
|
||||
- Replace the main Logger for a instantiable class. [`ea16729`](https://github.com/oceanprotocol/squid-js/commit/ea16729d86cfc9413ea58a00b972d98da159a129)
|
||||
|
||||
#### [v0.4.0](https://github.com/oceanprotocol/squid-js/compare/v0.3.1...v0.4.0)
|
||||
|
||||
> 18 March 2019
|
||||
|
||||
- Fix all broken tests. [`76c4b2b`](https://github.com/oceanprotocol/squid-js/commit/76c4b2b1fbc2784458d91a20b9ce3742c309375d)
|
||||
- Clean and simplify template related typings. [`51aa0fb`](https://github.com/oceanprotocol/squid-js/commit/51aa0fbf64e88f7019a4f999f2a067e414bce4e7)
|
||||
- initial implementation of templates and conditions [`5ec624b`](https://github.com/oceanprotocol/squid-js/commit/5ec624b2a504111e9b5110d32e7c10a55b71532d)
|
||||
|
||||
#### [v0.3.1](https://github.com/oceanprotocol/squid-js/compare/v0.3.0...v0.3.1)
|
||||
|
||||
> 26 February 2019
|
||||
|
||||
- Bumped version 0.3.0 -> 0.3.1 [`#145`](https://github.com/oceanprotocol/squid-js/pull/145)
|
||||
- added consumption integration test [`6b3541b`](https://github.com/oceanprotocol/squid-js/commit/6b3541bbc5412efd400dc95ec88c1c218f80687a)
|
||||
- fixed consume flow [`6d5be0d`](https://github.com/oceanprotocol/squid-js/commit/6d5be0db75789b6fe787098d43a48b6a282ad68c)
|
||||
- added Ocean.secretStore module [`3fd8f99`](https://github.com/oceanprotocol/squid-js/commit/3fd8f995f64d894a39012a861af74eb73cf73cbb)
|
||||
|
||||
#### [v0.3.0](https://github.com/oceanprotocol/squid-js/compare/v0.2.8...v0.3.0)
|
||||
|
||||
> 14 February 2019
|
||||
|
||||
- Bumped version 0.2.8 -> 0.3.0 [`#138`](https://github.com/oceanprotocol/squid-js/pull/138)
|
||||
- Added library.json file with the platform dependencies. [`#121`](https://github.com/oceanprotocol/squid-js/pull/121)
|
||||
- updated registerAttribute method [`d51e3f3`](https://github.com/oceanprotocol/squid-js/commit/d51e3f3dbf08d9baf50b528f08261300775b7ca8)
|
||||
- improved exportation of typings related to DDOs [`518a784`](https://github.com/oceanprotocol/squid-js/commit/518a7845544531b0e8ef2fc30dc31657a39fe9c0)
|
||||
- moved main methods to modules by scope [`95a98da`](https://github.com/oceanprotocol/squid-js/commit/95a98daa38acc8b57cdb47e037aad3cffcfc3404)
|
||||
|
||||
#### [v0.2.8](https://github.com/oceanprotocol/squid-js/compare/v0.2.7...v0.2.8)
|
||||
|
||||
> 25 January 2019
|
||||
|
||||
- Bumped version 0.2.7 -> 0.2.8 [`#122`](https://github.com/oceanprotocol/squid-js/pull/122)
|
||||
- Skipped some integration test are not consistent. [`#123`](https://github.com/oceanprotocol/squid-js/pull/123)
|
||||
- Improved integration test error detection and fixed some bugs. [`#120`](https://github.com/oceanprotocol/squid-js/pull/120)
|
||||
- Fix the link to the examples dir in README.md [`#109`](https://github.com/oceanprotocol/squid-js/pull/109)
|
||||
- Better DID validation. [`#116`](https://github.com/oceanprotocol/squid-js/pull/116)
|
||||
- Exporting source map to do debugging easier. [`#117`](https://github.com/oceanprotocol/squid-js/pull/117)
|
||||
- Using a random account (of a list) to run the integration test. [`#108`](https://github.com/oceanprotocol/squid-js/pull/108)
|
||||
- Use Barge to run integration tests. [`#105`](https://github.com/oceanprotocol/squid-js/pull/105)
|
||||
- Changed some methods names and marked as deprecated. [`#106`](https://github.com/oceanprotocol/squid-js/pull/106)
|
||||
- changed some methods names and marking as deprectated #65 [`21b3840`](https://github.com/oceanprotocol/squid-js/commit/21b38402ca743b04f485829e6e3e62efbef878b5)
|
||||
- update lock [`21cca45`](https://github.com/oceanprotocol/squid-js/commit/21cca458fffe92d626b299a1b83a1b7eeafd01ab)
|
||||
- improved error detection on integration test #118 [`c1c3168`](https://github.com/oceanprotocol/squid-js/commit/c1c3168c6429746263c9dede4962381c058f84d9)
|
||||
|
||||
#### [v0.2.7](https://github.com/oceanprotocol/squid-js/compare/v0.2.6...v0.2.7)
|
||||
|
||||
> 10 January 2019
|
||||
|
||||
- Bumped version 0.2.6 -> 0.2.7 [`#104`](https://github.com/oceanprotocol/squid-js/pull/104)
|
||||
- (WIP) Add code comments (to create usable API documentation) [`#102`](https://github.com/oceanprotocol/squid-js/pull/102)
|
||||
- Feature/keeper 0.5.3 [`#101`](https://github.com/oceanprotocol/squid-js/pull/101)
|
||||
- added comment documentation on DDO related classes #79 [`b2d2271`](https://github.com/oceanprotocol/squid-js/commit/b2d2271e50f896ffc056ea753ae991614f4c4729)
|
||||
- added comments on some internal classes #79 [`4074d95`](https://github.com/oceanprotocol/squid-js/commit/4074d95f1e39045ea753aabf8c41236427f663d6)
|
||||
- added comments to main Ocean class #79 [`89dbc10`](https://github.com/oceanprotocol/squid-js/commit/89dbc1053246ca1d61e7773c837cd4c6feaaa88b)
|
||||
|
||||
#### [v0.2.6](https://github.com/oceanprotocol/squid-js/compare/v0.2.5...v0.2.6)
|
||||
|
||||
> 9 January 2019
|
||||
|
||||
- added missing reference [`c1eea1d`](https://github.com/oceanprotocol/squid-js/commit/c1eea1daea1a6dd257efcaa2b2a415d9d0ec63d7)
|
||||
|
||||
#### [v0.2.5](https://github.com/oceanprotocol/squid-js/compare/v0.2.4...v0.2.5)
|
||||
|
||||
> 8 January 2019
|
||||
|
||||
- Bumped version 0.2.4 -> 0.2.5 [`#99`](https://github.com/oceanprotocol/squid-js/pull/99)
|
||||
- Added information about ganache-cli installation and .editorconfig file. [`#98`](https://github.com/oceanprotocol/squid-js/pull/98)
|
||||
- updated packages, keeper-contracts `v0.5.2` [`#97`](https://github.com/oceanprotocol/squid-js/pull/97)
|
||||
- Update typedoc to the latest version 🚀 [`#96`](https://github.com/oceanprotocol/squid-js/pull/96)
|
||||
- Updated and cleaned packages [`#91`](https://github.com/oceanprotocol/squid-js/pull/91)
|
||||
- added test for failed service agreements [`#94`](https://github.com/oceanprotocol/squid-js/pull/94)
|
||||
- Update rollup to the latest version 🚀 [`#95`](https://github.com/oceanprotocol/squid-js/pull/95)
|
||||
- fix codacy coverage [`#93`](https://github.com/oceanprotocol/squid-js/pull/93)
|
||||
- add detection for meta mask [`#90`](https://github.com/oceanprotocol/squid-js/pull/90)
|
||||
- Feature/expose did and idgenerator [`#89`](https://github.com/oceanprotocol/squid-js/pull/89)
|
||||
- fix/circular_dep [`#88`](https://github.com/oceanprotocol/squid-js/pull/88)
|
||||
- return file urls [`#87`](https://github.com/oceanprotocol/squid-js/pull/87)
|
||||
- go to keeper-contracts v0.5.1 [`#85`](https://github.com/oceanprotocol/squid-js/pull/85)
|
||||
- Fix/0x [`#86`](https://github.com/oceanprotocol/squid-js/pull/86)
|
||||
- export EventListener [`#81`](https://github.com/oceanprotocol/squid-js/pull/81)
|
||||
- Update rollup to the latest version 🚀 [`#83`](https://github.com/oceanprotocol/squid-js/pull/83)
|
||||
- Fix/file download [`#78`](https://github.com/oceanprotocol/squid-js/pull/78)
|
||||
- fix merge conflicts [`8b4752b`](https://github.com/oceanprotocol/squid-js/commit/8b4752b76ec55d3c9f7591a3ebbc02d2d95eff01)
|
||||
- cleaned packages [`b1df251`](https://github.com/oceanprotocol/squid-js/commit/b1df2513e219261ff2ce01262f04a965c471aadc)
|
||||
- enhanced did handling [`6ea480f`](https://github.com/oceanprotocol/squid-js/commit/6ea480fd47752e0e6cca2657e01a6fd7f87cb5cb)
|
||||
|
||||
#### [v0.2.4](https://github.com/oceanprotocol/squid-js/compare/v0.2.3...v0.2.4)
|
||||
|
||||
> 14 December 2018
|
||||
|
||||
- Make assetId always prefixed with "0x" [`#77`](https://github.com/oceanprotocol/squid-js/pull/77)
|
||||
- Fix brizo purchaseEndpoint. [`#75`](https://github.com/oceanprotocol/squid-js/pull/75)
|
||||
- Version/v0.2.3 [`#74`](https://github.com/oceanprotocol/squid-js/pull/74)
|
||||
- removed file-saver and added a callback with the content [`77a410c`](https://github.com/oceanprotocol/squid-js/commit/77a410c607cd67b1dbdda3ad68dc8ea9364aa3d9)
|
||||
- Generate assetId with 0x prefix, update all references to reflect this. This makes it similar to squid-py and fixes an issue in payAsset where the asset id in the condition param had double 0x prefix when paying a service agreement for an asset created in squid-py. [`233aede`](https://github.com/oceanprotocol/squid-js/commit/233aede5f6f51e77263b17e0d716dbf4b9c6df6a)
|
||||
- Fix tests. [`c2f7729`](https://github.com/oceanprotocol/squid-js/commit/c2f77295ceb19703db00f7876bcfbdaeadfec535)
|
||||
|
||||
#### [v0.2.3](https://github.com/oceanprotocol/squid-js/compare/v0.2.2...v0.2.3)
|
||||
|
||||
> 12 December 2018
|
||||
|
||||
- Update @oceanprotocol/secret-store-client to the latest version 🚀 [`#73`](https://github.com/oceanprotocol/squid-js/pull/73)
|
||||
- Feature/verbose [`#72`](https://github.com/oceanprotocol/squid-js/pull/72)
|
||||
- chore(package): update lockfile package-lock.json [`e910eba`](https://github.com/oceanprotocol/squid-js/commit/e910ebad07d01604c8263bf25855497d24974a02)
|
||||
- update packages [`1b1a309`](https://github.com/oceanprotocol/squid-js/commit/1b1a309990967f7c28b4eb8a3043fc94c7663b47)
|
||||
- fix(package): update @oceanprotocol/secret-store-client to version 0.0.13 [`3392a14`](https://github.com/oceanprotocol/squid-js/commit/3392a14458de50a98ae998608f6528500d3d55ff)
|
||||
|
||||
#### [v0.2.2](https://github.com/oceanprotocol/squid-js/compare/v0.2.1...v0.2.2)
|
||||
|
||||
> 11 December 2018
|
||||
|
||||
- added buy asset and grant access samples, prepare for consumption [`#57`](https://github.com/oceanprotocol/squid-js/pull/57)
|
||||
- added verbose flag to config [`b2cebf7`](https://github.com/oceanprotocol/squid-js/commit/b2cebf7748db74031953de73ab12c0dbce31b6c8)
|
||||
|
||||
#### [v0.2.1](https://github.com/oceanprotocol/squid-js/compare/v0.2.0...v0.2.1)
|
||||
|
||||
> 10 December 2018
|
||||
|
||||
- defect/fix-aquarius-url-and-registered-type [`#63`](https://github.com/oceanprotocol/squid-js/pull/63)
|
||||
- Standardize contrib guidelines across public repos [`#62`](https://github.com/oceanprotocol/squid-js/pull/62)
|
||||
- added hdwallet support to examples [`8c4813b`](https://github.com/oceanprotocol/squid-js/commit/8c4813b9089acfc6c3bd8c2a2968458e9513be06)
|
||||
- new access template [`ce70275`](https://github.com/oceanprotocol/squid-js/commit/ce7027590e9843dd84b4aace417d848e346c4bc8)
|
||||
- Handle the access granted event. Invoke the consume endpoint. Fix issue in the generated serviceEndpoint. [`1756903`](https://github.com/oceanprotocol/squid-js/commit/17569030054b487f1d0d87f86f924ef4116cd559)
|
||||
|
||||
#### [v0.2.0](https://github.com/oceanprotocol/squid-js/compare/v0.1.28...v0.2.0)
|
||||
|
||||
> 29 November 2018
|
||||
|
||||
- added logging of brizo args [`9ebe435`](https://github.com/oceanprotocol/squid-js/commit/9ebe43510f429c8342fac07e2f65df81621a4660)
|
||||
- example for adding hdwallet [`9cd1340`](https://github.com/oceanprotocol/squid-js/commit/9cd134052c52269ae4d4cd01e0543ec2ac07b40b)
|
||||
- keeper-contracts 0.5.0 [`e433437`](https://github.com/oceanprotocol/squid-js/commit/e433437926d7d3a7e78ef0d10a7c3aa7f8111cf7)
|
||||
|
||||
#### [v0.1.28](https://github.com/oceanprotocol/squid-js/compare/v0.1.27...v0.1.28)
|
||||
|
||||
> 28 November 2018
|
||||
|
||||
- use compiled typescript instead of ts-loader to generate minified versions [`2b4d453`](https://github.com/oceanprotocol/squid-js/commit/2b4d45349f0e31b964c38a80ccc51fd52211a37f)
|
||||
|
||||
#### [v0.1.27](https://github.com/oceanprotocol/squid-js/compare/v0.1.26...v0.1.27)
|
||||
|
||||
> 27 November 2018
|
||||
|
||||
- up, up it goes [`2a24529`](https://github.com/oceanprotocol/squid-js/commit/2a24529413d14be7dced3b09cf7d5260bb9c7a1d)
|
||||
- fix fire lazers [`8d2b9c6`](https://github.com/oceanprotocol/squid-js/commit/8d2b9c62f2aa0288787ec02db84125fe3ad7132c)
|
||||
- removed test page [`07f347c`](https://github.com/oceanprotocol/squid-js/commit/07f347cefc0e16f41f295cef12dd811d0701ba28)
|
||||
|
||||
#### [v0.1.26](https://github.com/oceanprotocol/squid-js/compare/v0.1.25...v0.1.26)
|
||||
|
||||
> 26 November 2018
|
||||
|
||||
- Webpack window.squid build [`#60`](https://github.com/oceanprotocol/squid-js/pull/60)
|
||||
- webpack package builder [`7f3b4b1`](https://github.com/oceanprotocol/squid-js/commit/7f3b4b1f4847f152226702990baa5a70972a9b49)
|
||||
- add event listener for lockPayment [`a904649`](https://github.com/oceanprotocol/squid-js/commit/a904649c3305c23d09e39f179c9216336644edcd)
|
||||
- fix brizo connection [`43a5e53`](https://github.com/oceanprotocol/squid-js/commit/43a5e53d57ae4813c6771ab4e37297a10046b956)
|
||||
|
||||
#### [v0.1.25](https://github.com/oceanprotocol/squid-js/compare/v0.1.24...v0.1.25)
|
||||
|
||||
> 23 November 2018
|
||||
|
||||
- Deploy/es cjs umd min builds [`#59`](https://github.com/oceanprotocol/squid-js/pull/59)
|
||||
- Feature/v0.1.24 [`#56`](https://github.com/oceanprotocol/squid-js/pull/56)
|
||||
- fix listener, add eventing, moved generation of conditions to template structure [`0c3c21b`](https://github.com/oceanprotocol/squid-js/commit/0c3c21b4c58278ba6a86a2697a3279c0df163950)
|
||||
- added buy asset and grant access samples, prepare for consumption [`8d01863`](https://github.com/oceanprotocol/squid-js/commit/8d018633a997629f2df4094e25768e57dba7999f)
|
||||
- added event listener [`df475b6`](https://github.com/oceanprotocol/squid-js/commit/df475b69582b6477ae9c2f07f64d2c1f18dfe11e)
|
||||
|
||||
#### [v0.1.24](https://github.com/oceanprotocol/squid-js/compare/v0.1.23...v0.1.24)
|
||||
|
||||
> 22 November 2018
|
||||
|
||||
- Fix/lock payment [`#55`](https://github.com/oceanprotocol/squid-js/pull/55)
|
||||
- fix lock Payment [`a6c09d0`](https://github.com/oceanprotocol/squid-js/commit/a6c09d0f8884bf15f013bab31cba2b9799e69314)
|
||||
- added more logging [`920ae0d`](https://github.com/oceanprotocol/squid-js/commit/920ae0dc354850c3f117dba0f9e1da34144d5310)
|
||||
- getting closer to compressed deps [`8a68715`](https://github.com/oceanprotocol/squid-js/commit/8a68715fcef640dc22fa337b3ee795f3bb3ca6ed)
|
||||
|
||||
#### [v0.1.23](https://github.com/oceanprotocol/squid-js/compare/v0.1.22...v0.1.23)
|
||||
|
||||
> 22 November 2018
|
||||
|
||||
- Feature/v0.1.22 [`#54`](https://github.com/oceanprotocol/squid-js/pull/54)
|
||||
- update packages [`aab0882`](https://github.com/oceanprotocol/squid-js/commit/aab0882c3b3f9261c8335d9e88e6854364b86290)
|
||||
- fix lockPayment [`43fe863`](https://github.com/oceanprotocol/squid-js/commit/43fe8634d246be833e7422bb5e2b895da0c73f56)
|
||||
- ignore test for now [`450ecb1`](https://github.com/oceanprotocol/squid-js/commit/450ecb12a7f5a58beb05d813b0ee980ae6577e53)
|
||||
|
||||
#### [v0.1.22](https://github.com/oceanprotocol/squid-js/compare/v0.1.21...v0.1.22)
|
||||
|
||||
> 21 November 2018
|
||||
|
||||
- Feature/sa register [`#45`](https://github.com/oceanprotocol/squid-js/pull/45)
|
||||
- keeper-contracts 0.3.23 [`bd39ff9`](https://github.com/oceanprotocol/squid-js/commit/bd39ff9cdba1e402c45d3cf18a9c9860b5d18f5b)
|
||||
|
||||
#### [v0.1.21](https://github.com/oceanprotocol/squid-js/compare/v0.1.20...v0.1.21)
|
||||
|
||||
> 21 November 2018
|
||||
|
||||
- Generate fulfillmentIndices from service agreement conditions, set fu… [`#53`](https://github.com/oceanprotocol/squid-js/pull/53)
|
||||
- some style changes for readability [`#52`](https://github.com/oceanprotocol/squid-js/pull/52)
|
||||
- added event wireup [`dfff8fc`](https://github.com/oceanprotocol/squid-js/commit/dfff8fc22843ce0497709cadef7abd507198a9d4)
|
||||
- added connection to brizo [`a2bfe0a`](https://github.com/oceanprotocol/squid-js/commit/a2bfe0a816b9194fb12fd7c60ce10ee366834a7b)
|
||||
- map parameter values [`cc91cdb`](https://github.com/oceanprotocol/squid-js/commit/cc91cdb0540ebc4bac7254303d5fd03c06c9a0c1)
|
||||
|
||||
#### [v0.1.20](https://github.com/oceanprotocol/squid-js/compare/v0.1.19...v0.1.20)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- update keeper contracts [`f6d830e`](https://github.com/oceanprotocol/squid-js/commit/f6d830e15af8adc5fb81ffe74be492fc2307fb39)
|
||||
|
||||
#### [v0.1.19](https://github.com/oceanprotocol/squid-js/compare/v0.1.18...v0.1.19)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- adapt changes to ddo condition structure [`58cd281`](https://github.com/oceanprotocol/squid-js/commit/58cd2810ed9f880e33069ac64619d861a7e59c13)
|
||||
- fix tests [`80c6e3d`](https://github.com/oceanprotocol/squid-js/commit/80c6e3d66f9a575b1852a78c31f0156c48d48320)
|
||||
|
||||
#### [v0.1.18](https://github.com/oceanprotocol/squid-js/compare/v0.1.17...v0.1.18)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- adapted examples to interface changes [`48ef4cf`](https://github.com/oceanprotocol/squid-js/commit/48ef4cff5f43459371172dc7d6db735d502213f4)
|
||||
- made squid fire lazers [`469088e`](https://github.com/oceanprotocol/squid-js/commit/469088ec7993d1a7f4dac2e9ce81f704f4233db2)
|
||||
- fix issue with generating public key, adapt interface changes of aquarius [`02c36d1`](https://github.com/oceanprotocol/squid-js/commit/02c36d12ad7b0165979fac0ecd4f8dfb38c9c6b5)
|
||||
|
||||
#### [v0.1.17](https://github.com/oceanprotocol/squid-js/compare/v0.1.16...v0.1.17)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- fix retrieveDDO and storeDDO [`7a79bd3`](https://github.com/oceanprotocol/squid-js/commit/7a79bd3883b8c915a3b7cdc8158c9774801d1ffc)
|
||||
|
||||
#### [v0.1.16](https://github.com/oceanprotocol/squid-js/compare/v0.1.15...v0.1.16)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- fixed re-decode of json response from aquarius [`7e6c431`](https://github.com/oceanprotocol/squid-js/commit/7e6c431d85b1581d4deae14d34e18c2c6b2fcc7c)
|
||||
|
||||
#### [v0.1.15](https://github.com/oceanprotocol/squid-js/compare/v0.1.14...v0.1.15)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- Update @oceanprotocol/secret-store-client to the latest version 🚀 [`#51`](https://github.com/oceanprotocol/squid-js/pull/51)
|
||||
- update lock [`41517ec`](https://github.com/oceanprotocol/squid-js/commit/41517ec24e67427aa8d03fd6024c85cb3d595f2c)
|
||||
- added headers again [`750d240`](https://github.com/oceanprotocol/squid-js/commit/750d240f1c27eaab235f9f3dd735af7dac241167)
|
||||
|
||||
#### [v0.1.14](https://github.com/oceanprotocol/squid-js/compare/v0.1.13...v0.1.14)
|
||||
|
||||
> 16 November 2018
|
||||
|
||||
- update secret store [`34ab057`](https://github.com/oceanprotocol/squid-js/commit/34ab057d197bfb4a3e332866d96498e6831e8b2a)
|
||||
- revert [`9132659`](https://github.com/oceanprotocol/squid-js/commit/91326591faf9544ad6626df8fdd11442027d4a63)
|
||||
- chore(package): update lockfile package-lock.json [`1dead88`](https://github.com/oceanprotocol/squid-js/commit/1dead88cd83cfc364d1b6cb0da8133aa920f5caa)
|
||||
|
||||
#### [v0.1.13](https://github.com/oceanprotocol/squid-js/compare/v0.1.12...v0.1.13)
|
||||
|
||||
> 15 November 2018
|
||||
|
||||
- Update @oceanprotocol/secret-store-client to the latest version 🚀 [`#49`](https://github.com/oceanprotocol/squid-js/pull/49)
|
||||
- fix package-lock.json [`5133751`](https://github.com/oceanprotocol/squid-js/commit/5133751a97ade9633c9fa569eeac8548315afebb)
|
||||
- adapted changes from squid discussion [`ba4e2d4`](https://github.com/oceanprotocol/squid-js/commit/ba4e2d4656afd6692fd8276d2683deb56687d034)
|
||||
- chore(package): update lockfile package-lock.json [`bab55d4`](https://github.com/oceanprotocol/squid-js/commit/bab55d40191dfeb0036e6fe5855af3b00bc3e8aa)
|
||||
|
||||
#### [v0.1.12](https://github.com/oceanprotocol/squid-js/compare/v0.1.11...v0.1.12)
|
||||
|
||||
> 14 November 2018
|
||||
|
||||
- Update @types/node to the latest version 🚀 [`#48`](https://github.com/oceanprotocol/squid-js/pull/48)
|
||||
- update packages [`57a9786`](https://github.com/oceanprotocol/squid-js/commit/57a97867463499f709dd71909a293c13016ef1c8)
|
||||
- update secret store client [`cfc0ce5`](https://github.com/oceanprotocol/squid-js/commit/cfc0ce58f1ffccd3c0b207b23bb6e142c7b1995d)
|
||||
|
||||
#### [v0.1.11](https://github.com/oceanprotocol/squid-js/compare/v0.1.10...v0.1.11)
|
||||
|
||||
> 14 November 2018
|
||||
|
||||
- chore(package): update lockfile package-lock.json [`94740ac`](https://github.com/oceanprotocol/squid-js/commit/94740ac53e76fa9aed6d5c6a8277b9f0be5aaf6a)
|
||||
- added support for POA network [`3983c83`](https://github.com/oceanprotocol/squid-js/commit/3983c83eb9c47a5b276b3eb228a7e4307e5a8311)
|
||||
- chore(package): update @types/node to version 10.12.6 [`f4a794d`](https://github.com/oceanprotocol/squid-js/commit/f4a794de63985e7ef86d9031c32be25ff56645bb)
|
||||
|
||||
#### [v0.1.10](https://github.com/oceanprotocol/squid-js/compare/v0.1.9...v0.1.10)
|
||||
|
||||
> 12 November 2018
|
||||
|
||||
- fix doc generation [`8d71844`](https://github.com/oceanprotocol/squid-js/commit/8d71844902a3f6dc33845b18f5dad8d80d251f9d)
|
||||
- aftermath bump version [`dc3ba3b`](https://github.com/oceanprotocol/squid-js/commit/dc3ba3b05362a52db1791259ffc5ea22ee95cf30)
|
||||
|
||||
#### [v0.1.9](https://github.com/oceanprotocol/squid-js/compare/v0.1.8...v0.1.9)
|
||||
|
||||
> 12 November 2018
|
||||
|
||||
- separate sign and execute agreement [`c425f03`](https://github.com/oceanprotocol/squid-js/commit/c425f03efde3e76fe42c7e14e71add9d3616ae90)
|
||||
- encrypt contentUrls at once instead separate, move generation of serviceAgreementId outside of signAgreement and executeAgreement in ocean object, hardened sign and execute of service agreements, wrote unit tests [`0c46763`](https://github.com/oceanprotocol/squid-js/commit/0c46763095b77cfd50964487a603f204808b5055)
|
||||
- add get public key method to account [`86d1621`](https://github.com/oceanprotocol/squid-js/commit/86d1621046584bc6d153c513b850eca43f0fef6b)
|
||||
|
||||
#### [v0.1.8](https://github.com/oceanprotocol/squid-js/compare/v0.1.7...v0.1.8)
|
||||
|
||||
> 9 November 2018
|
||||
|
||||
- Squid 1.0 [`#31`](https://github.com/oceanprotocol/squid-js/pull/31)
|
||||
- added brizo [`6df097e`](https://github.com/oceanprotocol/squid-js/commit/6df097ea8f66435b26647135bbadd0df19cfa563)
|
||||
- fix 500 on aquarius, hardened tests, avoided loading contracts more than once per chain and item [`2df3a68`](https://github.com/oceanprotocol/squid-js/commit/2df3a68abf672007b125c3495e5a185c7e2e8fd3)
|
||||
- update registerasset flow [`77213a4`](https://github.com/oceanprotocol/squid-js/commit/77213a44e19b168fce73d4e03ae64745f0bd2fdd)
|
||||
|
||||
#### [v0.1.7](https://github.com/oceanprotocol/squid-js/compare/v0.1.6...v0.1.7)
|
||||
|
||||
> 7 November 2018
|
||||
|
||||
- moved test code to test, added metadata, added endpoint generation to aquarius, removed unused code and tests, updated to latest keeper [`cbf0b55`](https://github.com/oceanprotocol/squid-js/commit/cbf0b558311bd356ef3de170d126aa5817f14f40)
|
||||
- get rid of order [`20377f5`](https://github.com/oceanprotocol/squid-js/commit/20377f5aa32ff1091c8f20492274519dbeae7b5a)
|
||||
- channel all the contract trough the keeper [`8e3a309`](https://github.com/oceanprotocol/squid-js/commit/8e3a30990b4e99cd8f679230b5f818c1820fc52f)
|
||||
|
||||
#### [v0.1.6](https://github.com/oceanprotocol/squid-js/compare/v0.1.5...v0.1.6)
|
||||
|
||||
> 7 November 2018
|
||||
|
||||
- Removed variable condition [`8d99dba`](https://github.com/oceanprotocol/squid-js/commit/8d99dba0f927006351b22d77fc00cc7cba6d6702)
|
||||
|
||||
#### [v0.1.5](https://github.com/oceanprotocol/squid-js/compare/v0.1.4...v0.1.5)
|
||||
|
||||
> 7 November 2018
|
||||
|
||||
- switch to url polyfill [`45fb69e`](https://github.com/oceanprotocol/squid-js/commit/45fb69e5f41ace6962e9d25cf415a1e1d435c4e5)
|
||||
|
||||
#### [v0.1.4](https://github.com/oceanprotocol/squid-js/compare/v0.1.3...v0.1.4)
|
||||
|
||||
> 7 November 2018
|
||||
|
||||
- move template registration outside of asset registration again [`6ab8563`](https://github.com/oceanprotocol/squid-js/commit/6ab85631ca2199563efbbde6262ccbe740c6bc18)
|
||||
- adapt changes from keeper 0.3.18 [`2194ae5`](https://github.com/oceanprotocol/squid-js/commit/2194ae59c350c81017d75d939979120f49376e4d)
|
||||
- fix tests [`c3282a9`](https://github.com/oceanprotocol/squid-js/commit/c3282a97c654eb1facd4a19c21d8a3757abaa079)
|
||||
|
||||
#### [v0.1.3](https://github.com/oceanprotocol/squid-js/compare/v0.1.2...v0.1.3)
|
||||
|
||||
> 6 November 2018
|
||||
|
||||
- keeper contracts v0.3.16 [`c722ccf`](https://github.com/oceanprotocol/squid-js/commit/c722ccf58720d6feb345a09b293f3b48ec61a8ed)
|
||||
|
||||
#### [v0.1.2](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.20...v0.1.2)
|
||||
|
||||
> 6 November 2018
|
||||
|
||||
- Update bignumber.js to the latest version 🚀 [`#39`](https://github.com/oceanprotocol/squid-js/pull/39)
|
||||
- integrate DDO more [`6e2b270`](https://github.com/oceanprotocol/squid-js/commit/6e2b270a1fc672183b5df8d409ab2b4fc61f094c)
|
||||
- rollback bignumber [`ae90878`](https://github.com/oceanprotocol/squid-js/commit/ae90878723ef539cf7eda4dbf3d69aeddfead4f7)
|
||||
- added ddo business objects [`63e8452`](https://github.com/oceanprotocol/squid-js/commit/63e8452d69ed9faac30b7214dee1275a8cd11224)
|
||||
|
||||
#### v0.1.1
|
||||
|
||||
> 31 August 2018
|
||||
|
||||
- initial version [`7748395`](https://github.com/oceanprotocol/squid-js/commit/77483956aa8cdcde0c6c85e80893b0310f819dad)
|
||||
- added es2015 transpile [`a6a25bb`](https://github.com/oceanprotocol/squid-js/commit/a6a25bbd1c6a4f24e2ea279ecb6dc3510fdeffac)
|
||||
- Initial commit [`6a65837`](https://github.com/oceanprotocol/squid-js/commit/6a6583767daf7c3feb18384326452ad6701cadcc)
|
||||
|
||||
#### [v0.1.0-beta.20](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.19...v0.1.0-beta.20)
|
||||
|
||||
> 1 November 2018
|
||||
|
||||
- first steps towards service agreements implementation [`cf86f5a`](https://github.com/oceanprotocol/squid-js/commit/cf86f5af0d6e3eb9d610e748ac9f928a4550314a)
|
||||
- make templates and service agreements configurable [`076c2eb`](https://github.com/oceanprotocol/squid-js/commit/076c2eb7887cac8ee167c2dc6c996198e926dbde)
|
||||
- optimize [`db910aa`](https://github.com/oceanprotocol/squid-js/commit/db910aaaa288de92c2cddf232049a4a6c707cb53)
|
||||
|
||||
#### [v0.1.0-beta.19](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.18...v0.1.0-beta.19)
|
||||
|
||||
> 30 October 2018
|
||||
|
||||
- update secret store client dep [`693be5d`](https://github.com/oceanprotocol/squid-js/commit/693be5dc9129874aba658a0aa7b9870e64e6ad92)
|
||||
- fix codacy issues [`733d93c`](https://github.com/oceanprotocol/squid-js/commit/733d93cfbaf15a85795e07410d44ea5d5af9bda3)
|
||||
- try to fix codacy problem [`c8fa39b`](https://github.com/oceanprotocol/squid-js/commit/c8fa39b3960093ed9318db56b2d4c13547dc62e0)
|
||||
|
||||
#### [v0.1.0-beta.18](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.17...v0.1.0-beta.18)
|
||||
|
||||
> 30 October 2018
|
||||
|
||||
- added searchAssets [`#34`](https://github.com/oceanprotocol/squid-js/pull/34)
|
||||
- Update @oceanprotocol/keeper-contracts to the latest version 🚀 [`#35`](https://github.com/oceanprotocol/squid-js/pull/35)
|
||||
- added serviceAgreementTemplates, wip [`df56556`](https://github.com/oceanprotocol/squid-js/commit/df56556e87d3e93acca78636b173eaf30b5a7ec3)
|
||||
- added business objects form DIDRegistry and ServieAgreement, Added tests for DIDRegistry [`bb6de97`](https://github.com/oceanprotocol/squid-js/commit/bb6de972eb2091fd9e1100373c479d4ad43be758)
|
||||
- added secret store [`fb5dcaf`](https://github.com/oceanprotocol/squid-js/commit/fb5dcaf52200bc55ab881e6b2ceea74f9c36178b)
|
||||
|
||||
#### [v0.1.0-beta.17](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.16...v0.1.0-beta.17)
|
||||
|
||||
> 26 October 2018
|
||||
|
||||
- rename provider -> aquarius [`#33`](https://github.com/oceanprotocol/squid-js/pull/33)
|
||||
- Squid v0.1.0 [`#20`](https://github.com/oceanprotocol/squid-js/pull/20)
|
||||
- moved secret store to secret-store-client-js [`717ca1d`](https://github.com/oceanprotocol/squid-js/commit/717ca1d07c0efccacbfed5c1ebc7d024f538a08b)
|
||||
- added secret store connection [`2662a77`](https://github.com/oceanprotocol/squid-js/commit/2662a7795b59ed6a38e70c76010ff58d3d088e65)
|
||||
- added encrypt and decrypt document [`b172a24`](https://github.com/oceanprotocol/squid-js/commit/b172a245b1255d610d4ec520c2b895308e5bfe33)
|
||||
|
||||
#### [v0.1.0-beta.16](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.15...v0.1.0-beta.16)
|
||||
|
||||
> 18 October 2018
|
||||
|
||||
- added unit tests, added code coverage [`bac7c9e`](https://github.com/oceanprotocol/squid-js/commit/bac7c9e4f09af6137c226c4ea3800e055cc38d50)
|
||||
- new squid design [`19201ef`](https://github.com/oceanprotocol/squid-js/commit/19201ef6e7061f8e76db26f27fe04c6629efc98b)
|
||||
- added purchase functiuonality [`5719a66`](https://github.com/oceanprotocol/squid-js/commit/5719a667ead3665785bef52caee2decd1c67f0c7)
|
||||
|
||||
#### [v0.1.0-beta.15](https://github.com/oceanprotocol/squid-js/compare/v0.1.0-beta.13...v0.1.0-beta.15)
|
||||
|
||||
> 9 October 2018
|
||||
|
||||
- interface changes, web3 migration [`bd06445`](https://github.com/oceanprotocol/squid-js/commit/bd06445b820f5c5f11a91dbe971a6d7a6395e631)
|
||||
- reworked event handling [`fbeae84`](https://github.com/oceanprotocol/squid-js/commit/fbeae84eda221712574980581825b8ac0d710b8e)
|
||||
- added unit tests [`90a99e4`](https://github.com/oceanprotocol/squid-js/commit/90a99e4dd3dd4a207491bfc446de5b19006db6c7)
|
||||
|
||||
#### [v0.1.0-beta.13](https://github.com/oceanprotocol/squid-js/compare/v0.0.12...v0.1.0-beta.13)
|
||||
|
||||
> 4 October 2018
|
||||
|
||||
- moved purchase logic to squid, new structure, mockable contracts, first version of unit tests [`d63fc69`](https://github.com/oceanprotocol/squid-js/commit/d63fc69dabd3963645d62f7b6f2e701b3aaa5b50)
|
||||
- update lock [`d8e7369`](https://github.com/oceanprotocol/squid-js/commit/d8e736907aa6488f14bfcefb98dc7cc3f3a50228)
|
||||
- version 1.0.0-beta bump [`71edc43`](https://github.com/oceanprotocol/squid-js/commit/71edc436762eac02ef0cbd68cb5a7fb6383853dc)
|
||||
|
||||
#### [v0.0.12](https://github.com/oceanprotocol/squid-js/compare/v0.0.11...v0.0.12)
|
||||
|
||||
> 25 September 2018
|
||||
|
||||
- Migrated to TypeScript [`#18`](https://github.com/oceanprotocol/squid-js/pull/18)
|
||||
- Update @oceanprotocol/keeper-contracts to the latest version 🚀 [`#17`](https://github.com/oceanprotocol/squid-js/pull/17)
|
||||
- migrated to typescript [`20c10a8`](https://github.com/oceanprotocol/squid-js/commit/20c10a8ef57da8da55fc78cd09f2b8e2ff8d972a)
|
||||
- replaced eslint with tslint [`72c9beb`](https://github.com/oceanprotocol/squid-js/commit/72c9bebc2e7eef03aee7b37d5ae3950984dad97e)
|
||||
- chore(package): update lockfile package-lock.json [`f336700`](https://github.com/oceanprotocol/squid-js/commit/f3367005e573936994a51f298ab8a73b117e8ad6)
|
||||
|
||||
#### [v0.0.11](https://github.com/oceanprotocol/squid-js/compare/v0.0.10...v0.0.11)
|
||||
|
||||
> 24 September 2018
|
||||
|
||||
- Work In Progress: Refactor the ocean interface. [`82a149e`](https://github.com/oceanprotocol/squid-js/commit/82a149ec484c42279f6d4e6e1d1e21fc08f9801e)
|
||||
- made purchaseAsset async because it is async [`ca3b159`](https://github.com/oceanprotocol/squid-js/commit/ca3b1597d645547e344b30198205b5adbbc15150)
|
||||
|
||||
#### [v0.0.10](https://github.com/oceanprotocol/squid-js/compare/v0.0.9...v0.0.10)
|
||||
|
||||
> 21 September 2018
|
||||
|
||||
- added automatic network discovery to squid [`#14`](https://github.com/oceanprotocol/squid-js/pull/14)
|
||||
- fixed auth initiateAccessRequest call [`e7972d9`](https://github.com/oceanprotocol/squid-js/commit/e7972d9ad2b5d48e3a31bc03b4f23093ba240dc9)
|
||||
|
||||
#### [v0.0.9](https://github.com/oceanprotocol/squid-js/compare/v0.0.8...v0.0.9)
|
||||
|
||||
> 21 September 2018
|
||||
|
||||
- removed logging [`6e1fff2`](https://github.com/oceanprotocol/squid-js/commit/6e1fff2ed10004b98bb77d1a1792cc1fdef44514)
|
||||
- fixed token approve call [`90b0f66`](https://github.com/oceanprotocol/squid-js/commit/90b0f662c34d5f3e191b75f9183ff3eba48550cb)
|
||||
|
||||
#### [v0.0.8](https://github.com/oceanprotocol/squid-js/compare/v0.0.7...v0.0.8)
|
||||
|
||||
> 21 September 2018
|
||||
|
||||
- made getNetworkName and getAccounts async [`9a6838a`](https://github.com/oceanprotocol/squid-js/commit/9a6838a4375de0d99050779de45e13e3eff0c34f)
|
||||
|
||||
#### [v0.0.7](https://github.com/oceanprotocol/squid-js/compare/v0.0.6...v0.0.7)
|
||||
|
||||
> 21 September 2018
|
||||
|
||||
- Feature/Domain Driven Design [`#13`](https://github.com/oceanprotocol/squid-js/pull/13)
|
||||
- added automatic network discovery to squid [`591713d`](https://github.com/oceanprotocol/squid-js/commit/591713dd9053b6730cabf94f7f834c6ea47701f8)
|
||||
|
||||
#### [v0.0.6](https://github.com/oceanprotocol/squid-js/compare/v0.0.5...v0.0.6)
|
||||
|
||||
> 20 September 2018
|
||||
|
||||
- made OceanAgent deprecated, moved code to MetaData [`3d65274`](https://github.com/oceanprotocol/squid-js/commit/3d65274d9b9c345d54bdf9eaf996279892374b3d)
|
||||
|
||||
#### [v0.0.5](https://github.com/oceanprotocol/squid-js/compare/v0.0.4...v0.0.5)
|
||||
|
||||
> 20 September 2018
|
||||
|
||||
- Add basic usage instructions [`#11`](https://github.com/oceanprotocol/squid-js/pull/11)
|
||||
- add codacy badge in right place [`#10`](https://github.com/oceanprotocol/squid-js/pull/10)
|
||||
- Greenkeeper/initial [`#8`](https://github.com/oceanprotocol/squid-js/pull/8)
|
||||
- setup github/npm releases [`#6`](https://github.com/oceanprotocol/squid-js/pull/6)
|
||||
- dev updates [`#5`](https://github.com/oceanprotocol/squid-js/pull/5)
|
||||
- rename to squid-js [`#4`](https://github.com/oceanprotocol/squid-js/pull/4)
|
||||
- fresh package-lock.json [`1b91ce7`](https://github.com/oceanprotocol/squid-js/commit/1b91ce7ac24fb456e1d3e3ce71bb14b2e604e75b)
|
||||
- setup linting [`35d22a5`](https://github.com/oceanprotocol/squid-js/commit/35d22a5a68ab5a2846161639d70eaab254162dd1)
|
||||
- DDD refactoring [`1d7597d`](https://github.com/oceanprotocol/squid-js/commit/1d7597def8df2b40a416eebde025bb6a649a19b3)
|
||||
|
||||
#### [v0.0.4](https://github.com/oceanprotocol/squid-js/compare/v0.0.3...v0.0.4)
|
||||
|
||||
> 6 September 2018
|
||||
|
||||
- Initial version [`#1`](https://github.com/oceanprotocol/squid-js/pull/1)
|
||||
- added content to readme [`d0caa43`](https://github.com/oceanprotocol/squid-js/commit/d0caa436b5a0b51fe53b960d97e79f418389671f)
|
||||
- rename -> squid-js [`1dbdd25`](https://github.com/oceanprotocol/squid-js/commit/1dbdd2516d6bf025fab55b7b2547c2c7b21355b2)
|
||||
- added simple travis config [`95e926e`](https://github.com/oceanprotocol/squid-js/commit/95e926e413e2fe0fdf13624302a45629bb8fecf0)
|
||||
|
||||
#### [v0.0.3](https://github.com/oceanprotocol/squid-js/compare/v0.0.2...v0.0.3)
|
||||
|
||||
> 31 August 2018
|
||||
|
||||
- made keeper-js web ready [`ac0757e`](https://github.com/oceanprotocol/squid-js/commit/ac0757ea9f3cc13c1e783dade65234224c4025cc)
|
||||
|
||||
#### [v0.0.2](https://github.com/oceanprotocol/squid-js/compare/v0.0.1...v0.0.2)
|
||||
|
||||
> 31 August 2018
|
||||
|
||||
- added env [`9cbb52d`](https://github.com/oceanprotocol/squid-js/commit/9cbb52dbedd72d0a79fbdc38c0c1a0e526129b2d)
|
||||
- added contract loader [`97b8919`](https://github.com/oceanprotocol/squid-js/commit/97b891925b675f76ab2ed328eff507491eb657ac)
|
||||
|
||||
#### [v0.0.1](https://github.com/oceanprotocol/squid-js/compare/v0.1.1...v0.0.1)
|
||||
|
||||
> 31 August 2018
|
||||
|
||||
- revert version to 0.0.0 [`f8c2f57`](https://github.com/oceanprotocol/squid-js/commit/f8c2f57f124de658bc2523c76200c143a1182487)
|
||||
|
45
README.md
45
README.md
@ -18,16 +18,16 @@
|
||||
|
||||
---
|
||||
|
||||
- [Get started](#get-started)
|
||||
- [Examples](#examples)
|
||||
- [Documentation](#documentation)
|
||||
- [Development](#development)
|
||||
- [Testing](#testing)
|
||||
- [Unit Tests](#unit-tests)
|
||||
- [Integration Tests](#integration-tests)
|
||||
- [Production build](#production-build)
|
||||
- [Releases](#releases)
|
||||
- [License](#license)
|
||||
- [Get started](#Get-started)
|
||||
- [Examples](#Examples)
|
||||
- [Documentation](#Documentation)
|
||||
- [Development](#Development)
|
||||
- [Testing](#Testing)
|
||||
- [Unit Tests](#Unit-Tests)
|
||||
- [Integration Tests](#Integration-Tests)
|
||||
- [Production build](#Production-build)
|
||||
- [Releases](#Releases)
|
||||
- [License](#License)
|
||||
|
||||
---
|
||||
|
||||
@ -72,8 +72,8 @@ const ocean: Ocean = await Ocean.getInstance({
|
||||
|
||||
You can see how `squid-js` is used on:
|
||||
|
||||
* [Integration test](/src/integration/ocean/)
|
||||
* [Tuna](https://github.com/oceanprotocol/tuna/tree/develop/node)
|
||||
- [Integration test](/src/integration/ocean/)
|
||||
- [Tuna](https://github.com/oceanprotocol/tuna/tree/develop/node)
|
||||
|
||||
## Documentation
|
||||
|
||||
@ -159,19 +159,30 @@ npm run integration:cover
|
||||
|
||||
## Production build
|
||||
|
||||
To create a production build:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Releases
|
||||
|
||||
For a new **patch release**, execute on the machine where you're logged into your npm account:
|
||||
From a clean `master` branch you can run any release task doing the following:
|
||||
|
||||
```bash
|
||||
./bumpversion path
|
||||
```
|
||||
- bumps the project version in `package.json`, `package-lock.json`
|
||||
- auto-generates and updates the CHANGELOG.md file from commit messages
|
||||
- creates a Git tag
|
||||
- commits and pushes everything
|
||||
- creates a GitHub release with commit messages as description
|
||||
- Git tag push will trigger Travis to do a npm release
|
||||
|
||||
git tag with the latest version and `git push`
|
||||
You can execute the script using arguments to bump the version accordingly:
|
||||
|
||||
- To bump a patch version: `npm run release`
|
||||
- To bump a minor version: `npm run release minor`
|
||||
- To bump a major version: `npm run release major`
|
||||
|
||||
For the GitHub releases steps a GitHub personal access token, exported as `GITHUB_TOKEN` is required. [Setup](https://github.com/release-it/release-it#github-releases)
|
||||
|
||||
## License
|
||||
|
||||
|
@ -1,36 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
set -e
|
||||
|
||||
usage(){
|
||||
echo "Usage: $0 {major|minor|patch} [--tag]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if ! [ -x "$(command -v bumpversion)" ]; then
|
||||
echo 'Error: bumpversion is not installed.' >&2
|
||||
exit 1
|
||||
elif ! git diff-index --quiet HEAD -- >/dev/null 2>&1; then
|
||||
echo 'There are local changes in your the git repository. Please commit or stash them before bumping version.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
echo "Illegal number of parameters"
|
||||
usage
|
||||
elif [[ $1 != 'major' && $1 != 'minor' && $1 != 'patch' ]]; then
|
||||
echo 'First argument must be {major|minor|patch}'
|
||||
usage
|
||||
fi
|
||||
|
||||
if [[ $2 == '--tag' ]]; then
|
||||
if git branch --contains $(git rev-parse --verify HEAD) | grep -E 'master'; then
|
||||
bumpversion --tag --commit $1
|
||||
else
|
||||
echo "Only master tags can be tagged"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
bumpversion $1
|
||||
fi
|
1483
package-lock.json
generated
1483
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
67
package.json
67
package.json
@ -28,31 +28,12 @@
|
||||
"report-coverage:unit": "cat coverage/unit/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
||||
"report-coverage:integration": "cat coverage/integration/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
||||
"run": "ts-node",
|
||||
"release": "./node_modules/release-it/bin/release-it.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release-major": "./node_modules/release-it/bin/release-it.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release": "release-it --non-interactive",
|
||||
"changelog": "auto-changelog -p",
|
||||
"prepublishOnly": "npm run build",
|
||||
"prebuild": "npm run build:metadata",
|
||||
"prepare": "npm run build:metadata"
|
||||
},
|
||||
"nyc": {
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"extension": [
|
||||
".ts"
|
||||
],
|
||||
"require": [
|
||||
"ts-node/register"
|
||||
],
|
||||
"reporter": [
|
||||
"text-summary",
|
||||
"lcov",
|
||||
"html"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"instrument": true
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/oceanprotocol/squid-js.git"
|
||||
@ -78,11 +59,13 @@
|
||||
"whatwg-url": "^7.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@release-it/bumper": "^1.0.3",
|
||||
"@types/chai": "^4.1.7",
|
||||
"@types/chai-spies": "^1.0.0",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/node": "^12.0.5",
|
||||
"@types/node-fetch": "^2.3.5",
|
||||
"auto-changelog": "^1.13.0",
|
||||
"chai": "^4.2.0",
|
||||
"chai-spies": "^1.0.0",
|
||||
"cross-env": "^5.2.0",
|
||||
@ -90,6 +73,7 @@
|
||||
"mocha": "^6.1.4",
|
||||
"mock-local-storage": "^1.1.8",
|
||||
"nyc": "^14.1.1",
|
||||
"release-it": "^12.3.0",
|
||||
"source-map-support": "^0.5.12",
|
||||
"truffle-hdwallet-provider": "^1.0.10",
|
||||
"ts-node": "^8.2.0",
|
||||
@ -100,5 +84,46 @@
|
||||
"webpack": "^4.33.0",
|
||||
"webpack-cli": "^3.3.2",
|
||||
"webpack-merge": "^4.2.1"
|
||||
},
|
||||
"nyc": {
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"extension": [
|
||||
".ts"
|
||||
],
|
||||
"require": [
|
||||
"ts-node/register"
|
||||
],
|
||||
"reporter": [
|
||||
"text-summary",
|
||||
"lcov",
|
||||
"html"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"instrument": true
|
||||
},
|
||||
"release-it": {
|
||||
"hooks": {
|
||||
"after:init": "npm test",
|
||||
"after:bump": "npm run changelog"
|
||||
},
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": [
|
||||
"package.json",
|
||||
"package-lock.json"
|
||||
]
|
||||
}
|
||||
},
|
||||
"git": {
|
||||
"tagName": "v${version}"
|
||||
},
|
||||
"github": {
|
||||
"release": true
|
||||
},
|
||||
"npm": {
|
||||
"publish": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user