@oceanprotocol/lib 1.0.0-next.3 → 1.0.0-next.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +256 -1
  2. package/README.md +11 -31
  3. package/dist/lib.js +1 -1
  4. package/dist/lib.js.map +1 -1
  5. package/dist/lib.modern.js +1 -1
  6. package/dist/lib.modern.js.map +1 -1
  7. package/dist/lib.module.js +1 -1
  8. package/dist/lib.module.js.map +1 -1
  9. package/dist/lib.umd.js +1 -1
  10. package/dist/lib.umd.js.map +1 -1
  11. package/dist/src/@types/Asset.d.ts +83 -0
  12. package/dist/src/@types/Compute.d.ts +17 -0
  13. package/dist/src/@types/DDO/DDO.d.ts +43 -0
  14. package/dist/src/@types/DDO/Event.d.ts +20 -0
  15. package/dist/src/@types/DDO/Metadata.d.ts +92 -0
  16. package/dist/src/@types/DDO/Service.d.ts +72 -6
  17. package/dist/src/{interfaces/DispenserInterface.d.ts → @types/Dispenser.d.ts} +0 -0
  18. package/dist/src/@types/DownloadResponse.d.ts +4 -0
  19. package/dist/src/{interfaces/Erc20Interface.d.ts → @types/Erc20.d.ts} +5 -0
  20. package/dist/src/@types/Erc721.d.ts +12 -0
  21. package/dist/src/@types/FileMetadata.d.ts +30 -0
  22. package/dist/src/{interfaces/FixedRateInterface.d.ts → @types/FixedPrice.d.ts} +8 -2
  23. package/dist/src/{interfaces/PoolInterface.d.ts → @types/Pool.d.ts} +13 -6
  24. package/dist/src/@types/Provider.d.ts +3 -2
  25. package/dist/src/@types/Router.d.ts +59 -0
  26. package/dist/src/@types/index.d.ts +6 -0
  27. package/dist/src/aquarius/Aquarius.d.ts +26 -4
  28. package/dist/src/factories/NFTFactory.d.ts +222 -18
  29. package/dist/src/index.d.ts +1 -1
  30. package/dist/src/models/Config.d.ts +132 -0
  31. package/dist/src/pools/Router.d.ts +195 -12
  32. package/dist/src/pools/balancer/Pool.d.ts +379 -26
  33. package/dist/src/pools/dispenser/Dispenser.d.ts +112 -3
  34. package/dist/src/pools/fixedRate/FixedRateExchange.d.ts +312 -17
  35. package/dist/src/pools/ssContracts/SideStaking.d.ts +109 -5
  36. package/dist/src/provider/Provider.d.ts +128 -12
  37. package/dist/src/tokens/Datatoken.d.ts +301 -13
  38. package/dist/src/tokens/NFT.d.ts +301 -3
  39. package/dist/src/utils/ConfigHelper.d.ts +1 -1
  40. package/dist/src/utils/Constants.d.ts +1 -0
  41. package/dist/src/utils/ContractUtils.d.ts +12 -0
  42. package/dist/src/utils/DatatokenName.d.ts +4 -0
  43. package/dist/src/utils/FetchHelper.d.ts +3 -2
  44. package/dist/src/utils/General.d.ts +4 -0
  45. package/dist/src/utils/PoolHelpers.d.ts +8 -0
  46. package/dist/src/utils/TokenUtils.d.ts +39 -0
  47. package/dist/src/utils/index.d.ts +4 -2
  48. package/dist/src/utils/minAbi.d.ts +2 -0
  49. package/dist/test/config.d.ts +4 -0
  50. package/docs/beginners_guide.md +4 -4
  51. package/docs/overview.md +100 -9
  52. package/docs/quickstart_marketplace.md +34 -33
  53. package/docs/quickstart_simple.md +18 -16
  54. package/package.json +26 -25
  55. package/dist/src/interfaces/RouterInterface.d.ts +0 -12
  56. package/dist/src/interfaces/index.d.ts +0 -5
  57. package/dist/src/utils/ContractParams.d.ts +0 -4
  58. package/dist/src/utils/GasUtils.d.ts +0 -2
  59. package/dist/test/integration/config.d.ts +0 -3
  60. package/dist/test/unit/config.d.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -4,9 +4,264 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v1.0.0-next.30](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.29...v1.0.0-next.30)
8
+
9
+ - fix typedoc [`#1378`](https://github.com/oceanprotocol/ocean.js/pull/1378)
10
+ - Bump typescript from 4.6.2 to 4.6.3 [`#1371`](https://github.com/oceanprotocol/ocean.js/pull/1371)
11
+ - Bump @types/node from 17.0.22 to 17.0.23 [`#1366`](https://github.com/oceanprotocol/ocean.js/pull/1366)
12
+ - Issue-#1246: Use confighelper instead of hardcoded endpoints [`#1355`](https://github.com/oceanprotocol/ocean.js/pull/1355)
13
+ - solve all typing warnings [`#1364`](https://github.com/oceanprotocol/ocean.js/pull/1364)
14
+ - Bump @types/node from 17.0.21 to 17.0.22 [`#1363`](https://github.com/oceanprotocol/ocean.js/pull/1363)
15
+ - Bump release-it from 14.12.5 to 14.13.1 [`#1360`](https://github.com/oceanprotocol/ocean.js/pull/1360)
16
+ - Bump prettier from 2.5.1 to 2.6.0 [`#1340`](https://github.com/oceanprotocol/ocean.js/pull/1340)
17
+ - use configuration file to read variables [`3572223`](https://github.com/oceanprotocol/ocean.js/commit/35722239dfa2d021b074098e76f790e0191aa12a)
18
+ - refactor imports in the tests [`165b4c8`](https://github.com/oceanprotocol/ocean.js/commit/165b4c86809615aada2463f2ece2a3be1d3ee419)
19
+ - read configHelperNetworks values for the tests [`896211b`](https://github.com/oceanprotocol/ocean.js/commit/896211b93f1bfb634ab4677c4c68795884f16fc8)
20
+
21
+ #### [v1.0.0-next.29](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.28...v1.0.0-next.29)
22
+
23
+ > 21 March 2022
24
+
25
+ - Feature/contracts alpha 25 [`#1358`](https://github.com/oceanprotocol/ocean.js/pull/1358)
26
+ - Release 1.0.0-next.29 [`069d21c`](https://github.com/oceanprotocol/ocean.js/commit/069d21c16473a5e568d573834f85d9684bfdfca4)
27
+
28
+ #### [v1.0.0-next.28](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.27...v1.0.0-next.28)
29
+
30
+ > 16 March 2022
31
+
32
+ - Replace toWei/fromWei when base token conversion [`#1318`](https://github.com/oceanprotocol/ocean.js/pull/1318)
33
+ - Make metadataProofs optional in setMetadataAndTokenURI [`#1336`](https://github.com/oceanprotocol/ocean.js/pull/1336)
34
+ - fix moonbase urls [`#1337`](https://github.com/oceanprotocol/ocean.js/pull/1337)
35
+ - Release 1.0.0-next.28 [`6675de4`](https://github.com/oceanprotocol/ocean.js/commit/6675de4e361cb62c8dc45e6e162139c77f6d5a45)
36
+
37
+ #### [v1.0.0-next.27](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.26...v1.0.0-next.27)
38
+
39
+ > 14 March 2022
40
+
41
+ - Feature/contracts alpha 22 [`#1334`](https://github.com/oceanprotocol/ocean.js/pull/1334)
42
+ - Bump mocha from 9.2.1 to 9.2.2 [`#1332`](https://github.com/oceanprotocol/ocean.js/pull/1332)
43
+ - Release 1.0.0-next.27 [`d3fcdd0`](https://github.com/oceanprotocol/ocean.js/commit/d3fcdd0d561f85924a1b8266c564604d554e8148)
44
+
45
+ #### [v1.0.0-next.26](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.25...v1.0.0-next.26)
46
+
47
+ > 11 March 2022
48
+
49
+ - update `ServiceComputeOptions` [`#1330`](https://github.com/oceanprotocol/ocean.js/pull/1330)
50
+ - dispenser creation: transform maxTokens and maxBalance to wei [`#1328`](https://github.com/oceanprotocol/ocean.js/pull/1328)
51
+ - Bump @truffle/hdwallet-provider from 2.0.3 to 2.0.4 [`#1329`](https://github.com/oceanprotocol/ocean.js/pull/1329)
52
+ - Release 1.0.0-next.26 [`e9f32c7`](https://github.com/oceanprotocol/ocean.js/commit/e9f32c729abadc5985add4016d72f7647b8cecf9)
53
+
54
+ #### [v1.0.0-next.25](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.24...v1.0.0-next.25)
55
+
56
+ > 8 March 2022
57
+
58
+ - Bump ts-node from 10.6.0 to 10.7.0 [`#1327`](https://github.com/oceanprotocol/ocean.js/pull/1327)
59
+ - Bump typedoc from 0.22.12 to 0.22.13 [`#1326`](https://github.com/oceanprotocol/ocean.js/pull/1326)
60
+ - fix url [`#1325`](https://github.com/oceanprotocol/ocean.js/pull/1325)
61
+ - Bump web3 from 1.7.0 to 1.7.1 [`#1323`](https://github.com/oceanprotocol/ocean.js/pull/1323)
62
+ - Bump eslint-config-prettier from 8.4.0 to 8.5.0 [`#1324`](https://github.com/oceanprotocol/ocean.js/pull/1324)
63
+ - Bump ts-node from 10.5.0 to 10.6.0 [`#1319`](https://github.com/oceanprotocol/ocean.js/pull/1319)
64
+ - Bump typescript from 4.5.5 to 4.6.2 [`#1317`](https://github.com/oceanprotocol/ocean.js/pull/1317)
65
+ - Bump @types/node from 17.0.19 to 17.0.21 [`#1310`](https://github.com/oceanprotocol/ocean.js/pull/1310)
66
+ - services specific additional information [`#1311`](https://github.com/oceanprotocol/ocean.js/pull/1311)
67
+ - Bump release-it from 14.12.4 to 14.12.5 [`#1308`](https://github.com/oceanprotocol/ocean.js/pull/1308)
68
+ - Update README: harmonize with ocean.py's v4 changes [`81b1849`](https://github.com/oceanprotocol/ocean.js/commit/81b18493ff1a6dee13b23648b5f8a47452aaf3ab)
69
+ - Release 1.0.0-next.25 [`b403130`](https://github.com/oceanprotocol/ocean.js/commit/b403130e2d7e99711d2fb582a12baeac49acbcc7)
70
+ - 2021 -> 2022 [`28a48f5`](https://github.com/oceanprotocol/ocean.js/commit/28a48f5b5a2f792a79dabcd1a4fa9be1b2228311)
71
+
72
+ #### [v1.0.0-next.24](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.23...v1.0.0-next.24)
73
+
74
+ > 23 February 2022
75
+
76
+ - fix export [`#1309`](https://github.com/oceanprotocol/ocean.js/pull/1309)
77
+ - Release 1.0.0-next.24 [`9116852`](https://github.com/oceanprotocol/ocean.js/commit/91168527fca9c0667e686486bd0aae4892b79e2a)
78
+
79
+ #### [v1.0.0-next.23](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.22...v1.0.0-next.23)
80
+
81
+ > 22 February 2022
82
+
83
+ - Calculating max swap/liquidity [`#1306`](https://github.com/oceanprotocol/ocean.js/pull/1306)
84
+ - Bump @types/node from 17.0.18 to 17.0.19 [`#1305`](https://github.com/oceanprotocol/ocean.js/pull/1305)
85
+ - Release 1.0.0-next.23 [`aadd145`](https://github.com/oceanprotocol/ocean.js/commit/aadd1458ba7364a709f6eb94b3f8c123de3c189a)
86
+
87
+ #### [v1.0.0-next.22](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.21...v1.0.0-next.22)
88
+
89
+ > 21 February 2022
90
+
91
+ - fix estGas for setMetadata call [`#1303`](https://github.com/oceanprotocol/ocean.js/pull/1303)
92
+ - Bump eslint-config-prettier from 8.3.0 to 8.4.0 [`#1301`](https://github.com/oceanprotocol/ocean.js/pull/1301)
93
+ - Bump typedoc from 0.22.11 to 0.22.12 [`#1300`](https://github.com/oceanprotocol/ocean.js/pull/1300)
94
+ - Bump mocha from 9.2.0 to 9.2.1 [`#1299`](https://github.com/oceanprotocol/ocean.js/pull/1299)
95
+ - Release 1.0.0-next.22 [`ff0653c`](https://github.com/oceanprotocol/ocean.js/commit/ff0653c8831a10dee36994adde460dbfa5567810)
96
+
97
+ #### [v1.0.0-next.21](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.20...v1.0.0-next.21)
98
+
99
+ > 17 February 2022
100
+
101
+ - Update contracts [`#1297`](https://github.com/oceanprotocol/ocean.js/pull/1297)
102
+ - Release 1.0.0-next.21 [`ce88427`](https://github.com/oceanprotocol/ocean.js/commit/ce8842701aa1e9c82dbc8d6b18d94eeb0ea24540)
103
+
104
+ #### [v1.0.0-next.20](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.19...v1.0.0-next.20)
105
+
106
+ > 16 February 2022
107
+
108
+ - bump to contracts alpha.20 [`#1295`](https://github.com/oceanprotocol/ocean.js/pull/1295)
109
+ - use barge addresses for unit tests [`#1291`](https://github.com/oceanprotocol/ocean.js/pull/1291)
110
+ - Bump @types/node from 17.0.17 to 17.0.18 [`#1290`](https://github.com/oceanprotocol/ocean.js/pull/1290)
111
+ - Bump @types/crypto-js from 4.1.0 to 4.1.1 [`#1289`](https://github.com/oceanprotocol/ocean.js/pull/1289)
112
+ - Release 1.0.0-next.20 [`cb8b52c`](https://github.com/oceanprotocol/ocean.js/commit/cb8b52c6e1a73444b8170a762822e4ba15bf244e)
113
+
114
+ #### [v1.0.0-next.19](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.18...v1.0.0-next.19)
115
+
116
+ > 15 February 2022
117
+
118
+ - update config endpoint [`#1288`](https://github.com/oceanprotocol/ocean.js/pull/1288)
119
+ - Release 1.0.0-next.19 [`9b71c85`](https://github.com/oceanprotocol/ocean.js/commit/9b71c853f7cd1f596b5fbd451f63e9cdb5af3b72)
120
+
121
+ #### [v1.0.0-next.18](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.17...v1.0.0-next.18)
122
+
123
+ > 14 February 2022
124
+
125
+ - update to contracts alpha.19 [`#1286`](https://github.com/oceanprotocol/ocean.js/pull/1286)
126
+ - Update Pool class JSDoc comments [`#1281`](https://github.com/oceanprotocol/ocean.js/pull/1281)
127
+ - updated existing jsdoc comments and add missing ones [`7b2ff71`](https://github.com/oceanprotocol/ocean.js/commit/7b2ff71d0cb148308cc49a0cb267e4b4f4ee83bb)
128
+ - Release 1.0.0-next.18 [`9f9e3dc`](https://github.com/oceanprotocol/ocean.js/commit/9f9e3dce88d5e5e731cc13dbadfefc8a66cd43a5)
129
+
130
+ #### [v1.0.0-next.17](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.16...v1.0.0-next.17)
131
+
132
+ > 14 February 2022
133
+
134
+ - fix fixed order params [`#1287`](https://github.com/oceanprotocol/ocean.js/pull/1287)
135
+ - Release 1.0.0-next.17 [`9c3a12d`](https://github.com/oceanprotocol/ocean.js/commit/9c3a12daa6276aeb3f0cf59d53ff76d2b8df7219)
136
+
137
+ #### [v1.0.0-next.16](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.15...v1.0.0-next.16)
138
+
139
+ > 14 February 2022
140
+
141
+ - Remove redundant get in `calcBaseInGivenOutDT` [`#1283`](https://github.com/oceanprotocol/ocean.js/pull/1283)
142
+ - add aquarius to export list [`#1280`](https://github.com/oceanprotocol/ocean.js/pull/1280)
143
+ - Release 1.0.0-next.16 [`9f8f6aa`](https://github.com/oceanprotocol/ocean.js/commit/9f8f6aae99ab409cd0bdb61f3950b067b0363c2f)
144
+
145
+ #### [v1.0.0-next.15](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.14...v1.0.0-next.15)
146
+
147
+ > 11 February 2022
148
+
149
+ - fix redundancy [`#1278`](https://github.com/oceanprotocol/ocean.js/pull/1278)
150
+ - Bump chai from 4.3.4 to 4.3.6 [`#1277`](https://github.com/oceanprotocol/ocean.js/pull/1277)
151
+ - Bump @types/crypto-js from 4.0.2 to 4.1.0 [`#1276`](https://github.com/oceanprotocol/ocean.js/pull/1276)
152
+ - Bump @types/node from 17.0.16 to 17.0.17 [`#1275`](https://github.com/oceanprotocol/ocean.js/pull/1275)
153
+ - Release 1.0.0-next.15 [`84a022f`](https://github.com/oceanprotocol/ocean.js/commit/84a022f80c30bed5c7ad6ab692252210a71e9ae3)
154
+
155
+ #### [v1.0.0-next.14](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.13...v1.0.0-next.14)
156
+
157
+ > 10 February 2022
158
+
159
+ - fixes [`#1273`](https://github.com/oceanprotocol/ocean.js/pull/1273)
160
+ - Release 1.0.0-next.14 [`6aa1231`](https://github.com/oceanprotocol/ocean.js/commit/6aa1231a0a64d32a148108fc43bef2afca42e873)
161
+
162
+ #### [v1.0.0-next.13](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.12...v1.0.0-next.13)
163
+
164
+ > 10 February 2022
165
+
166
+ - Bump typescript from 4.4.4 to 4.5.5 [`#1270`](https://github.com/oceanprotocol/ocean.js/pull/1270)
167
+ - Bump mocha from 9.1.3 to 9.2.0 [`#1269`](https://github.com/oceanprotocol/ocean.js/pull/1269)
168
+ - Use v4main images [`#1267`](https://github.com/oceanprotocol/ocean.js/pull/1267)
169
+ - Bump ts-node from 10.4.0 to 10.5.0 [`#1268`](https://github.com/oceanprotocol/ocean.js/pull/1268)
170
+ - Bump @truffle/hdwallet-provider from 1.7.0 to 2.0.3 [`#1271`](https://github.com/oceanprotocol/ocean.js/pull/1271)
171
+ - Bump mock-local-storage from 1.1.19 to 1.1.20 [`#1263`](https://github.com/oceanprotocol/ocean.js/pull/1263)
172
+ - Bump cross-fetch from 3.1.4 to 3.1.5 [`#1264`](https://github.com/oceanprotocol/ocean.js/pull/1264)
173
+ - Bump auto-changelog from 2.3.0 to 2.4.0 [`#1265`](https://github.com/oceanprotocol/ocean.js/pull/1265)
174
+ - Bump @types/mocha from 9.0.0 to 9.1.0 [`#1262`](https://github.com/oceanprotocol/ocean.js/pull/1262)
175
+ - Bump follow-redirects from 1.14.6 to 1.14.8 [`#1261`](https://github.com/oceanprotocol/ocean.js/pull/1261)
176
+ - Bump simple-get from 2.8.1 to 2.8.2 [`#1260`](https://github.com/oceanprotocol/ocean.js/pull/1260)
177
+ - Bump @openzeppelin/contracts from 4.4.1 to 4.4.2 [`#1259`](https://github.com/oceanprotocol/ocean.js/pull/1259)
178
+ - Bump @types/node from 17.0.8 to 17.0.16 [`#1255`](https://github.com/oceanprotocol/ocean.js/pull/1255)
179
+ - Bump typedoc from 0.22.10 to 0.22.11 [`#1230`](https://github.com/oceanprotocol/ocean.js/pull/1230)
180
+ - npm audit fix [`92f4eb9`](https://github.com/oceanprotocol/ocean.js/commit/92f4eb96695a1e32e750f6c3c0de7774e992e4f2)
181
+ - Release 1.0.0-next.13 [`5152bc2`](https://github.com/oceanprotocol/ocean.js/commit/5152bc21646a6375799838daf77188a9dd6713f0)
182
+
183
+ #### [v1.0.0-next.12](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.11...v1.0.0-next.12)
184
+
185
+ > 9 February 2022
186
+
187
+ - use compute environments [`#1258`](https://github.com/oceanprotocol/ocean.js/pull/1258)
188
+ - Bump web3 from 1.6.1 to 1.7.0 [`#1224`](https://github.com/oceanprotocol/ocean.js/pull/1224)
189
+ - Barge c2d & latest contracts bump [`#1248`](https://github.com/oceanprotocol/ocean.js/pull/1248)
190
+ - Release 1.0.0-next.12 [`022c8c7`](https://github.com/oceanprotocol/ocean.js/commit/022c8c7454a8e39fe552f68cacb6a5ec75776cdf)
191
+ - fixed version for contracts [`fbcd22e`](https://github.com/oceanprotocol/ocean.js/commit/fbcd22e714d6233d7d71f60d7eabb0cecb2fe963)
192
+ - run push builds against v4main [`9142c35`](https://github.com/oceanprotocol/ocean.js/commit/9142c354f0ba3829a31d71c2814e6bdac406d91e)
193
+
194
+ #### [v1.0.0-next.11](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.10...v1.0.0-next.11)
195
+
196
+ > 7 February 2022
197
+
198
+ - Moved interfaces under types and some small fixes [`#1253`](https://github.com/oceanprotocol/ocean.js/pull/1253)
199
+ - stop removing jsdocs [`#1254`](https://github.com/oceanprotocol/ocean.js/pull/1254)
200
+ - Release 1.0.0-next.11 [`8fc3773`](https://github.com/oceanprotocol/ocean.js/commit/8fc377383434a1c8a3ba68586ab8db85bc922d40)
201
+
202
+ #### [v1.0.0-next.10](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.9...v1.0.0-next.10)
203
+
204
+ > 28 January 2022
205
+
206
+ - remove ammount [`#1241`](https://github.com/oceanprotocol/ocean.js/pull/1241)
207
+ - update contracts [`#1244`](https://github.com/oceanprotocol/ocean.js/pull/1244)
208
+ - Release 1.0.0-next.10 [`3dda9a6`](https://github.com/oceanprotocol/ocean.js/commit/3dda9a67097ac0adc388741b506cd23ef3e2cdb1)
209
+
210
+ #### [v1.0.0-next.9](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.8...v1.0.0-next.9)
211
+
212
+ > 26 January 2022
213
+
214
+ - fix order, update contracts [`#1240`](https://github.com/oceanprotocol/ocean.js/pull/1240)
215
+ - Release 1.0.0-next.9 [`ef83df7`](https://github.com/oceanprotocol/ocean.js/commit/ef83df7c7248402940a25a3f5d223131c7ece82e)
216
+
217
+ #### [v1.0.0-next.8](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.7...v1.0.0-next.8)
218
+
219
+ > 25 January 2022
220
+
221
+ - heleper+ remove old ibs [`#1238`](https://github.com/oceanprotocol/ocean.js/pull/1238)
222
+ - Add setMetaDataAndTokenURI method [`#1234`](https://github.com/oceanprotocol/ocean.js/pull/1234)
223
+ - remove optional fetch method, add abort signal [`#1235`](https://github.com/oceanprotocol/ocean.js/pull/1235)
224
+ - Release 1.0.0-next.8 [`1b0fb28`](https://github.com/oceanprotocol/ocean.js/commit/1b0fb28e7676737f2086f5032dd9dfca85431b0b)
225
+
226
+ #### [v1.0.0-next.7](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.6...v1.0.0-next.7)
227
+
228
+ > 20 January 2022
229
+
230
+ - replaced local artifacts with the published ones [`#1232`](https://github.com/oceanprotocol/ocean.js/pull/1232)
231
+ - Allow users/market to set own gas contract options & configurable web3 contract params [`#1214`](https://github.com/oceanprotocol/ocean.js/pull/1214)
232
+ - Add default http function and fixes provider class [`#1212`](https://github.com/oceanprotocol/ocean.js/pull/1212)
233
+ - Feature/ split orders&fees and uniformize datatoken naming [`#1223`](https://github.com/oceanprotocol/ocean.js/pull/1223)
234
+ - added default contract options and gas in config [`4d60a16`](https://github.com/oceanprotocol/ocean.js/commit/4d60a16f6e79a89ed636b99592167c2c8f8c50ed)
235
+ - update artifacts after latest contract changes [`b4e102e`](https://github.com/oceanprotocol/ocean.js/commit/b4e102e6a6fa597fc9540d169428030db52efcad)
236
+ - update artifacts [`c5b5835`](https://github.com/oceanprotocol/ocean.js/commit/c5b583554eea28bab8a0c3af252dc70a707cdb51)
237
+
238
+ #### [v1.0.0-next.6](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.5...v1.0.0-next.6)
239
+
240
+ > 14 January 2022
241
+
242
+ - up [`#1219`](https://github.com/oceanprotocol/ocean.js/pull/1219)
243
+ - Release 1.0.0-next.6 [`1879315`](https://github.com/oceanprotocol/ocean.js/commit/187931531021b89bd9c735f90c7426aea65dd57b)
244
+
245
+ #### [v1.0.0-next.5](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.4...v1.0.0-next.5)
246
+
247
+ > 13 January 2022
248
+
249
+ - update abi/address [`#1218`](https://github.com/oceanprotocol/ocean.js/pull/1218)
250
+ - Release 1.0.0-next.5 [`672e2b1`](https://github.com/oceanprotocol/ocean.js/commit/672e2b1f4abcc16b4a747b66fa609ea4ca9b5994)
251
+
252
+ #### [v1.0.0-next.4](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.3...v1.0.0-next.4)
253
+
254
+ > 13 January 2022
255
+
256
+ - update addresses based on new deployment [`#1216`](https://github.com/oceanprotocol/ocean.js/pull/1216)
257
+ - Release 1.0.0-next.4 [`a85f29a`](https://github.com/oceanprotocol/ocean.js/commit/a85f29a5d2324f4b17ab45882267920f7a66e42b)
258
+
7
259
  #### [v1.0.0-next.3](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.2...v1.0.0-next.3)
8
260
 
261
+ > 12 January 2022
262
+
9
263
  - update addresses [`#1213`](https://github.com/oceanprotocol/ocean.js/pull/1213)
264
+ - Release 1.0.0-next.3 [`3c9ee75`](https://github.com/oceanprotocol/ocean.js/commit/3c9ee7599ba3c5a8109925cdb6e76fa9ff389fe2)
10
265
 
11
266
  #### [v1.0.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.1...v1.0.0-next.2)
12
267
 
@@ -182,7 +437,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
182
437
  - Bump prettier from 2.4.0 to 2.4.1 [`#1027`](https://github.com/oceanprotocol/ocean.js/pull/1027)
183
438
  - add catenax network config [`#1025`](https://github.com/oceanprotocol/ocean.js/pull/1025)
184
439
  - Bump @oceanprotocol/contracts from 0.6.5 to 0.6.7 [`#1024`](https://github.com/oceanprotocol/ocean.js/pull/1024)
185
- - Bump aqua queries [`3bea2aa`](https://github.com/oceanprotocol/ocean.js/commit/3bea2aaf9082bf1b61219f3d7960c14cec04fa1e)
440
+ - Bump aqua queries [`3bea2aa`](https://github.com/oceanprotocol/ocean.js/commit/3bea2aaf9082bf1b61219f3d7960c14cec04fa1e)
186
441
  - Release 0.17.4 [`2651b72`](https://github.com/oceanprotocol/ocean.js/commit/2651b72a2f02f952eb94e0b83edaf308cbb9e130)
187
442
  - Release 0.17.5 [`f893cb8`](https://github.com/oceanprotocol/ocean.js/commit/f893cb8b09e325df238be243713e07d64a158269)
188
443
 
package/README.md CHANGED
@@ -13,27 +13,18 @@
13
13
 
14
14
  With ocean.js, you can:
15
15
 
16
- - **Publish** data services: downloadable files or compute-to-data.
17
- Ocean creates a new [ERC20](https://github.com/ethereum/EIPs/blob/7f4f0377730f5fc266824084188cc17cf246932e/EIPS/eip-20.md)
18
- datatoken for each dataset / data service.
19
- - **Mint** datatokens for the service
20
- - **Sell** datatokens via an OCEAN-datatoken Balancer pool (for auto price discovery), or for a fixed price
21
- - **Stake** OCEAN on datatoken pools
22
- - **Consume** datatokens, to access the service
23
- - **Transfer** datatokens to another owner, and **all other ERC20 actions**
24
- using [web3.js](https://web3js.readthedocs.io/en/v1.2.9/web3-eth-contract.html) etc.
16
+ - **Publish** data services: downloadable files or compute-to-data. Create an ERC721 **data NFT** for each service, and ERC20 **datatoken** for access (1.0 datatokens to access).
17
+ - **Sell** datatokens via an OCEAN-datatoken Balancer pool (for auto price discovery), or for a fixed price. Sell data NFTs.
18
+ - **Stake OCEAN** on datatoken pools
19
+ - **Transfer** data NFTs & datatokens to another owner, and **all other ERC721 & ERC20 actions** using [web3.js](https://web3js.readthedocs.io/en/v1.2.9/web3-eth-contract.html) etc.
25
20
 
26
21
  ocean.js is part of the [Ocean Protocol](https://oceanprotocol.com) toolset.
27
22
 
28
- This is in alpha state and you can expect running into problems. If you run into them, please open up a [new issue](https://github.com/oceanprotocol/ocean.js/issues/new?assignees=&labels=bug&template=bug_report.md&title=).
23
+ This is in alpha state. If you run into problems, please open up a [new issue](https://github.com/oceanprotocol/ocean.js/issues/new?assignees=&labels=bug&template=bug_report.md&title=).
29
24
 
30
25
  - [📚 Prerequisites](#-prerequisites)
31
26
  - [🏗 Installation](#-installation)
32
- - [🏄 Quickstart](#-quickstart)
33
- - [Beginners Guide](#beginners-guide)
34
- - [Simple Flow](#simple-flow)
35
- - [Marketplace Flow](#marketplace-flow)
36
- - [📖 Learn More](#learn-more)
27
+ - [🏄 Quickstart](#-quickstart): simple flow, marketplace, compute-to-data, more
37
28
  - [🦑 Development](#-development)
38
29
  - [✨ Code Style](#-code-style)
39
30
  - [👩‍🔬 Testing](#-testing)
@@ -93,23 +84,12 @@ async function init() {
93
84
  }
94
85
  ```
95
86
 
96
- ### Beginners Guide
87
+ Here are flows to try out, from beginners to advanced.
97
88
 
98
- This introduction is aimed at developers who are completely new to blockchain, no coding experience is required.
89
+ - **[Beginners guide](docs/beginners_guide.md)** - for developers who are completely new to blockchain, no coding experience is required.
90
+ - **[Simple flow](docs/quickstart_simple.md)** - the essence of Ocean - creating a data NFT & datatoken.
91
+ - **[Marketplace flow](docs/quickstart_marketplace.md)** - a data asset is posted for sale in a datatoken pool, then purchased. Includes metadata and Compute-to-Data.
99
92
 
100
- [Go to beginners guide](docs/beginners_guide.md)
101
-
102
- ### Simple Flow
103
-
104
- This stripped-down flow shows the essence of Ocean. Just downloading, no metadata.
105
-
106
- [Go to simple flow](docs/quickstart_simple.md)
107
-
108
- ### Marketplace Flow
109
-
110
- This batteries-included flow includes metadata, multiple services for one datatoken, and compute-to-data.
111
-
112
- [Go to marketplace flow](docs/quickstart_marketplace.md)
113
93
 
114
94
  ### 📖 Learn more
115
95
 
@@ -243,7 +223,7 @@ Further releases afterwards can be done with `npm run release` again and selecti
243
223
  ## 🏛 License
244
224
 
245
225
  ```
246
- Copyright ((C)) 2021 Ocean Protocol Foundation
226
+ Copyright ((C)) 2022 Ocean Protocol Foundation
247
227
 
248
228
  Licensed under the Apache License, Version 2.0 (the "License");
249
229
  you may not use this file except in compliance with the License.