@oceanprotocol/lib 1.0.0-next.2 → 1.0.0-next.20
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.
- package/CHANGELOG.md +163 -1
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/src/@types/Asset.d.ts +83 -0
- package/dist/src/@types/Compute.d.ts +17 -0
- package/dist/src/@types/DDO/DDO.d.ts +43 -0
- package/dist/src/@types/DDO/Event.d.ts +20 -0
- package/dist/src/@types/DDO/Metadata.d.ts +88 -0
- package/dist/src/@types/DDO/Service.d.ts +96 -0
- package/dist/src/{interfaces/DispenserInterface.d.ts → @types/Dispenser.d.ts} +0 -0
- package/dist/src/@types/DownloadResponse.d.ts +4 -0
- package/dist/src/{interfaces/Erc20Interface.d.ts → @types/Erc20.d.ts} +5 -0
- package/dist/src/@types/Erc721.d.ts +12 -0
- package/dist/src/@types/FileMetadata.d.ts +30 -0
- package/dist/src/{interfaces/FixedRateInterface.d.ts → @types/FixedPrice.d.ts} +8 -2
- package/dist/src/{interfaces/PoolInterface.d.ts → @types/Pool.d.ts} +13 -6
- package/dist/src/@types/Provider.d.ts +3 -2
- package/dist/src/@types/Router.d.ts +59 -0
- package/dist/src/@types/index.d.ts +6 -0
- package/dist/src/aquarius/Aquarius.d.ts +26 -4
- package/dist/src/factories/NFTFactory.d.ts +222 -18
- package/dist/src/index.d.ts +1 -1
- package/dist/src/models/Config.d.ts +132 -0
- package/dist/src/pools/Router.d.ts +190 -7
- package/dist/src/pools/balancer/Pool.d.ts +381 -26
- package/dist/src/pools/dispenser/Dispenser.d.ts +112 -3
- package/dist/src/pools/fixedRate/FixedRateExchange.d.ts +304 -13
- package/dist/src/pools/ssContracts/SideStaking.d.ts +109 -5
- package/dist/src/provider/Provider.d.ts +128 -12
- package/dist/src/tokens/Datatoken.d.ts +301 -13
- package/dist/src/tokens/NFT.d.ts +301 -3
- package/dist/src/utils/ConfigHelper.d.ts +1 -1
- package/dist/src/utils/Constants.d.ts +1 -0
- package/dist/src/utils/ContractUtils.d.ts +12 -0
- package/dist/src/utils/DatatokenName.d.ts +4 -0
- package/dist/src/utils/FetchHelper.d.ts +3 -2
- package/dist/src/utils/General.d.ts +4 -0
- package/dist/src/utils/TokenUtils.d.ts +39 -0
- package/dist/src/utils/index.d.ts +3 -2
- package/dist/src/utils/minAbi.d.ts +2 -0
- package/docs/beginners_guide.md +4 -4
- package/docs/overview.md +100 -9
- package/docs/quickstart_marketplace.md +34 -33
- package/docs/quickstart_simple.md +18 -16
- package/package.json +24 -23
- package/dist/src/interfaces/RouterInterface.d.ts +0 -12
- package/dist/src/interfaces/index.d.ts +0 -5
- package/dist/src/utils/ContractParams.d.ts +0 -4
- package/dist/src/utils/GasUtils.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,170 @@ 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.20](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.19...v1.0.0-next.20)
|
|
8
|
+
|
|
9
|
+
- bump to contracts alpha.20 [`#1295`](https://github.com/oceanprotocol/ocean.js/pull/1295)
|
|
10
|
+
- use barge addresses for unit tests [`#1291`](https://github.com/oceanprotocol/ocean.js/pull/1291)
|
|
11
|
+
- Bump @types/node from 17.0.17 to 17.0.18 [`#1290`](https://github.com/oceanprotocol/ocean.js/pull/1290)
|
|
12
|
+
- Bump @types/crypto-js from 4.1.0 to 4.1.1 [`#1289`](https://github.com/oceanprotocol/ocean.js/pull/1289)
|
|
13
|
+
|
|
14
|
+
#### [v1.0.0-next.19](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.18...v1.0.0-next.19)
|
|
15
|
+
|
|
16
|
+
> 15 February 2022
|
|
17
|
+
|
|
18
|
+
- update config endpoint [`#1288`](https://github.com/oceanprotocol/ocean.js/pull/1288)
|
|
19
|
+
- Release 1.0.0-next.19 [`9b71c85`](https://github.com/oceanprotocol/ocean.js/commit/9b71c853f7cd1f596b5fbd451f63e9cdb5af3b72)
|
|
20
|
+
|
|
21
|
+
#### [v1.0.0-next.18](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.17...v1.0.0-next.18)
|
|
22
|
+
|
|
23
|
+
> 14 February 2022
|
|
24
|
+
|
|
25
|
+
- update to contracts alpha.19 [`#1286`](https://github.com/oceanprotocol/ocean.js/pull/1286)
|
|
26
|
+
- Update Pool class JSDoc comments [`#1281`](https://github.com/oceanprotocol/ocean.js/pull/1281)
|
|
27
|
+
- updated existing jsdoc comments and add missing ones [`7b2ff71`](https://github.com/oceanprotocol/ocean.js/commit/7b2ff71d0cb148308cc49a0cb267e4b4f4ee83bb)
|
|
28
|
+
- Release 1.0.0-next.18 [`9f9e3dc`](https://github.com/oceanprotocol/ocean.js/commit/9f9e3dce88d5e5e731cc13dbadfefc8a66cd43a5)
|
|
29
|
+
|
|
30
|
+
#### [v1.0.0-next.17](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.16...v1.0.0-next.17)
|
|
31
|
+
|
|
32
|
+
> 14 February 2022
|
|
33
|
+
|
|
34
|
+
- fix fixed order params [`#1287`](https://github.com/oceanprotocol/ocean.js/pull/1287)
|
|
35
|
+
- Release 1.0.0-next.17 [`9c3a12d`](https://github.com/oceanprotocol/ocean.js/commit/9c3a12daa6276aeb3f0cf59d53ff76d2b8df7219)
|
|
36
|
+
|
|
37
|
+
#### [v1.0.0-next.16](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.15...v1.0.0-next.16)
|
|
38
|
+
|
|
39
|
+
> 14 February 2022
|
|
40
|
+
|
|
41
|
+
- Remove redundant get in `calcBaseInGivenOutDT` [`#1283`](https://github.com/oceanprotocol/ocean.js/pull/1283)
|
|
42
|
+
- add aquarius to export list [`#1280`](https://github.com/oceanprotocol/ocean.js/pull/1280)
|
|
43
|
+
- Release 1.0.0-next.16 [`9f8f6aa`](https://github.com/oceanprotocol/ocean.js/commit/9f8f6aae99ab409cd0bdb61f3950b067b0363c2f)
|
|
44
|
+
|
|
45
|
+
#### [v1.0.0-next.15](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.14...v1.0.0-next.15)
|
|
46
|
+
|
|
47
|
+
> 11 February 2022
|
|
48
|
+
|
|
49
|
+
- fix redundancy [`#1278`](https://github.com/oceanprotocol/ocean.js/pull/1278)
|
|
50
|
+
- Bump chai from 4.3.4 to 4.3.6 [`#1277`](https://github.com/oceanprotocol/ocean.js/pull/1277)
|
|
51
|
+
- Bump @types/crypto-js from 4.0.2 to 4.1.0 [`#1276`](https://github.com/oceanprotocol/ocean.js/pull/1276)
|
|
52
|
+
- Bump @types/node from 17.0.16 to 17.0.17 [`#1275`](https://github.com/oceanprotocol/ocean.js/pull/1275)
|
|
53
|
+
- Release 1.0.0-next.15 [`84a022f`](https://github.com/oceanprotocol/ocean.js/commit/84a022f80c30bed5c7ad6ab692252210a71e9ae3)
|
|
54
|
+
|
|
55
|
+
#### [v1.0.0-next.14](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.13...v1.0.0-next.14)
|
|
56
|
+
|
|
57
|
+
> 10 February 2022
|
|
58
|
+
|
|
59
|
+
- fixes [`#1273`](https://github.com/oceanprotocol/ocean.js/pull/1273)
|
|
60
|
+
- Release 1.0.0-next.14 [`6aa1231`](https://github.com/oceanprotocol/ocean.js/commit/6aa1231a0a64d32a148108fc43bef2afca42e873)
|
|
61
|
+
|
|
62
|
+
#### [v1.0.0-next.13](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.12...v1.0.0-next.13)
|
|
63
|
+
|
|
64
|
+
> 10 February 2022
|
|
65
|
+
|
|
66
|
+
- Bump typescript from 4.4.4 to 4.5.5 [`#1270`](https://github.com/oceanprotocol/ocean.js/pull/1270)
|
|
67
|
+
- Bump mocha from 9.1.3 to 9.2.0 [`#1269`](https://github.com/oceanprotocol/ocean.js/pull/1269)
|
|
68
|
+
- Use v4main images [`#1267`](https://github.com/oceanprotocol/ocean.js/pull/1267)
|
|
69
|
+
- Bump ts-node from 10.4.0 to 10.5.0 [`#1268`](https://github.com/oceanprotocol/ocean.js/pull/1268)
|
|
70
|
+
- Bump @truffle/hdwallet-provider from 1.7.0 to 2.0.3 [`#1271`](https://github.com/oceanprotocol/ocean.js/pull/1271)
|
|
71
|
+
- Bump mock-local-storage from 1.1.19 to 1.1.20 [`#1263`](https://github.com/oceanprotocol/ocean.js/pull/1263)
|
|
72
|
+
- Bump cross-fetch from 3.1.4 to 3.1.5 [`#1264`](https://github.com/oceanprotocol/ocean.js/pull/1264)
|
|
73
|
+
- Bump auto-changelog from 2.3.0 to 2.4.0 [`#1265`](https://github.com/oceanprotocol/ocean.js/pull/1265)
|
|
74
|
+
- Bump @types/mocha from 9.0.0 to 9.1.0 [`#1262`](https://github.com/oceanprotocol/ocean.js/pull/1262)
|
|
75
|
+
- Bump follow-redirects from 1.14.6 to 1.14.8 [`#1261`](https://github.com/oceanprotocol/ocean.js/pull/1261)
|
|
76
|
+
- Bump simple-get from 2.8.1 to 2.8.2 [`#1260`](https://github.com/oceanprotocol/ocean.js/pull/1260)
|
|
77
|
+
- Bump @openzeppelin/contracts from 4.4.1 to 4.4.2 [`#1259`](https://github.com/oceanprotocol/ocean.js/pull/1259)
|
|
78
|
+
- Bump @types/node from 17.0.8 to 17.0.16 [`#1255`](https://github.com/oceanprotocol/ocean.js/pull/1255)
|
|
79
|
+
- Bump typedoc from 0.22.10 to 0.22.11 [`#1230`](https://github.com/oceanprotocol/ocean.js/pull/1230)
|
|
80
|
+
- npm audit fix [`92f4eb9`](https://github.com/oceanprotocol/ocean.js/commit/92f4eb96695a1e32e750f6c3c0de7774e992e4f2)
|
|
81
|
+
- Release 1.0.0-next.13 [`5152bc2`](https://github.com/oceanprotocol/ocean.js/commit/5152bc21646a6375799838daf77188a9dd6713f0)
|
|
82
|
+
|
|
83
|
+
#### [v1.0.0-next.12](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.11...v1.0.0-next.12)
|
|
84
|
+
|
|
85
|
+
> 9 February 2022
|
|
86
|
+
|
|
87
|
+
- use compute environments [`#1258`](https://github.com/oceanprotocol/ocean.js/pull/1258)
|
|
88
|
+
- Bump web3 from 1.6.1 to 1.7.0 [`#1224`](https://github.com/oceanprotocol/ocean.js/pull/1224)
|
|
89
|
+
- Barge c2d & latest contracts bump [`#1248`](https://github.com/oceanprotocol/ocean.js/pull/1248)
|
|
90
|
+
- Release 1.0.0-next.12 [`022c8c7`](https://github.com/oceanprotocol/ocean.js/commit/022c8c7454a8e39fe552f68cacb6a5ec75776cdf)
|
|
91
|
+
- fixed version for contracts [`fbcd22e`](https://github.com/oceanprotocol/ocean.js/commit/fbcd22e714d6233d7d71f60d7eabb0cecb2fe963)
|
|
92
|
+
- run push builds against v4main [`9142c35`](https://github.com/oceanprotocol/ocean.js/commit/9142c354f0ba3829a31d71c2814e6bdac406d91e)
|
|
93
|
+
|
|
94
|
+
#### [v1.0.0-next.11](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.10...v1.0.0-next.11)
|
|
95
|
+
|
|
96
|
+
> 7 February 2022
|
|
97
|
+
|
|
98
|
+
- Moved interfaces under types and some small fixes [`#1253`](https://github.com/oceanprotocol/ocean.js/pull/1253)
|
|
99
|
+
- stop removing jsdocs [`#1254`](https://github.com/oceanprotocol/ocean.js/pull/1254)
|
|
100
|
+
- Release 1.0.0-next.11 [`8fc3773`](https://github.com/oceanprotocol/ocean.js/commit/8fc377383434a1c8a3ba68586ab8db85bc922d40)
|
|
101
|
+
|
|
102
|
+
#### [v1.0.0-next.10](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.9...v1.0.0-next.10)
|
|
103
|
+
|
|
104
|
+
> 28 January 2022
|
|
105
|
+
|
|
106
|
+
- remove ammount [`#1241`](https://github.com/oceanprotocol/ocean.js/pull/1241)
|
|
107
|
+
- update contracts [`#1244`](https://github.com/oceanprotocol/ocean.js/pull/1244)
|
|
108
|
+
- Release 1.0.0-next.10 [`3dda9a6`](https://github.com/oceanprotocol/ocean.js/commit/3dda9a67097ac0adc388741b506cd23ef3e2cdb1)
|
|
109
|
+
|
|
110
|
+
#### [v1.0.0-next.9](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.8...v1.0.0-next.9)
|
|
111
|
+
|
|
112
|
+
> 26 January 2022
|
|
113
|
+
|
|
114
|
+
- fix order, update contracts [`#1240`](https://github.com/oceanprotocol/ocean.js/pull/1240)
|
|
115
|
+
- Release 1.0.0-next.9 [`ef83df7`](https://github.com/oceanprotocol/ocean.js/commit/ef83df7c7248402940a25a3f5d223131c7ece82e)
|
|
116
|
+
|
|
117
|
+
#### [v1.0.0-next.8](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.7...v1.0.0-next.8)
|
|
118
|
+
|
|
119
|
+
> 25 January 2022
|
|
120
|
+
|
|
121
|
+
- heleper+ remove old ibs [`#1238`](https://github.com/oceanprotocol/ocean.js/pull/1238)
|
|
122
|
+
- Add setMetaDataAndTokenURI method [`#1234`](https://github.com/oceanprotocol/ocean.js/pull/1234)
|
|
123
|
+
- remove optional fetch method, add abort signal [`#1235`](https://github.com/oceanprotocol/ocean.js/pull/1235)
|
|
124
|
+
- Release 1.0.0-next.8 [`1b0fb28`](https://github.com/oceanprotocol/ocean.js/commit/1b0fb28e7676737f2086f5032dd9dfca85431b0b)
|
|
125
|
+
|
|
126
|
+
#### [v1.0.0-next.7](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.6...v1.0.0-next.7)
|
|
127
|
+
|
|
128
|
+
> 20 January 2022
|
|
129
|
+
|
|
130
|
+
- replaced local artifacts with the published ones [`#1232`](https://github.com/oceanprotocol/ocean.js/pull/1232)
|
|
131
|
+
- Allow users/market to set own gas contract options & configurable web3 contract params [`#1214`](https://github.com/oceanprotocol/ocean.js/pull/1214)
|
|
132
|
+
- Add default http function and fixes provider class [`#1212`](https://github.com/oceanprotocol/ocean.js/pull/1212)
|
|
133
|
+
- Feature/ split orders&fees and uniformize datatoken naming [`#1223`](https://github.com/oceanprotocol/ocean.js/pull/1223)
|
|
134
|
+
- added default contract options and gas in config [`4d60a16`](https://github.com/oceanprotocol/ocean.js/commit/4d60a16f6e79a89ed636b99592167c2c8f8c50ed)
|
|
135
|
+
- update artifacts after latest contract changes [`b4e102e`](https://github.com/oceanprotocol/ocean.js/commit/b4e102e6a6fa597fc9540d169428030db52efcad)
|
|
136
|
+
- update artifacts [`c5b5835`](https://github.com/oceanprotocol/ocean.js/commit/c5b583554eea28bab8a0c3af252dc70a707cdb51)
|
|
137
|
+
|
|
138
|
+
#### [v1.0.0-next.6](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.5...v1.0.0-next.6)
|
|
139
|
+
|
|
140
|
+
> 14 January 2022
|
|
141
|
+
|
|
142
|
+
- up [`#1219`](https://github.com/oceanprotocol/ocean.js/pull/1219)
|
|
143
|
+
- Release 1.0.0-next.6 [`1879315`](https://github.com/oceanprotocol/ocean.js/commit/187931531021b89bd9c735f90c7426aea65dd57b)
|
|
144
|
+
|
|
145
|
+
#### [v1.0.0-next.5](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.4...v1.0.0-next.5)
|
|
146
|
+
|
|
147
|
+
> 13 January 2022
|
|
148
|
+
|
|
149
|
+
- update abi/address [`#1218`](https://github.com/oceanprotocol/ocean.js/pull/1218)
|
|
150
|
+
- Release 1.0.0-next.5 [`672e2b1`](https://github.com/oceanprotocol/ocean.js/commit/672e2b1f4abcc16b4a747b66fa609ea4ca9b5994)
|
|
151
|
+
|
|
152
|
+
#### [v1.0.0-next.4](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.3...v1.0.0-next.4)
|
|
153
|
+
|
|
154
|
+
> 13 January 2022
|
|
155
|
+
|
|
156
|
+
- update addresses based on new deployment [`#1216`](https://github.com/oceanprotocol/ocean.js/pull/1216)
|
|
157
|
+
- Release 1.0.0-next.4 [`a85f29a`](https://github.com/oceanprotocol/ocean.js/commit/a85f29a5d2324f4b17ab45882267920f7a66e42b)
|
|
158
|
+
|
|
159
|
+
#### [v1.0.0-next.3](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.2...v1.0.0-next.3)
|
|
160
|
+
|
|
161
|
+
> 12 January 2022
|
|
162
|
+
|
|
163
|
+
- update addresses [`#1213`](https://github.com/oceanprotocol/ocean.js/pull/1213)
|
|
164
|
+
- Release 1.0.0-next.3 [`3c9ee75`](https://github.com/oceanprotocol/ocean.js/commit/3c9ee7599ba3c5a8109925cdb6e76fa9ff389fe2)
|
|
165
|
+
|
|
7
166
|
#### [v1.0.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.1...v1.0.0-next.2)
|
|
8
167
|
|
|
168
|
+
> 11 January 2022
|
|
169
|
+
|
|
170
|
+
- Release 1.0.0-next.2 [`a9c592c`](https://github.com/oceanprotocol/ocean.js/commit/a9c592c3e6f77419f9ddc13ac396063696f7eb69)
|
|
9
171
|
- fix dist typings path [`ae6ee6f`](https://github.com/oceanprotocol/ocean.js/commit/ae6ee6f9c71218e0bf6c7a22283dbe9d725e61f0)
|
|
10
172
|
|
|
11
173
|
#### [v1.0.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.0...v1.0.0-next.1)
|
|
@@ -175,7 +337,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
175
337
|
- Bump prettier from 2.4.0 to 2.4.1 [`#1027`](https://github.com/oceanprotocol/ocean.js/pull/1027)
|
|
176
338
|
- add catenax network config [`#1025`](https://github.com/oceanprotocol/ocean.js/pull/1025)
|
|
177
339
|
- Bump @oceanprotocol/contracts from 0.6.5 to 0.6.7 [`#1024`](https://github.com/oceanprotocol/ocean.js/pull/1024)
|
|
178
|
-
- Bump aqua queries
|
|
340
|
+
- Bump aqua queries [`3bea2aa`](https://github.com/oceanprotocol/ocean.js/commit/3bea2aaf9082bf1b61219f3d7960c14cec04fa1e)
|
|
179
341
|
- Release 0.17.4 [`2651b72`](https://github.com/oceanprotocol/ocean.js/commit/2651b72a2f02f952eb94e0b83edaf308cbb9e130)
|
|
180
342
|
- Release 0.17.5 [`f893cb8`](https://github.com/oceanprotocol/ocean.js/commit/f893cb8b09e325df238be243713e07d64a158269)
|
|
181
343
|
|