1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

2337 Commits

Author SHA1 Message Date
Jamie Hewitt
77af85cd3a Adding commit to CI 2022-05-18 10:47:12 +03:00
Jamie Hewitt
8b164b9f85 Adding create:guide command to CI 2022-05-17 11:38:30 +03:00
Jamie Hewitt
81acb4a7e9 Removing CodeExamples.md 2022-05-17 11:33:32 +03:00
Miquel A. Cabot
f9a8c0a784 fix lint problems 2022-05-09 11:29:45 +02:00
Miquel A. Cabot
55fec840c3 get addresses from config file instead of deploying it 2022-05-09 11:19:34 +02:00
Miquel A. Cabot
1749b0d989 update call to Dispenser constructor 2022-05-09 09:01:05 +02:00
Miquel A. Cabot
6930449ae8 Merge branch 'v4main' into issue-1437-marketplace-flow-integration-test-for-v4 2022-05-09 08:58:14 +02:00
Jamie Hewitt
2893d77952 Merge branch 'issue-1437-marketplace-flow-integration-test-for-v4' of github.com:oceanprotocol/ocean.js into issue-1437-marketplace-flow-integration-test-for-v4 2022-05-06 16:04:45 +03:00
Jamie Hewitt
4968d2d63d Updating comments and numbering 2022-05-06 16:04:30 +03:00
Miquel A. Cabot
287082e1f7 add DDO type 2022-05-06 11:15:17 +02:00
mihaisc
1d327bf100
Release 1.0.0-next.41 v1.0.0-next.41 2022-05-06 11:54:12 +03:00
0e261b4dec
Lock microbundle to v0.14.2 (#1457)
* lock microbundle to v0.14.2

* put back js extension for default export
2022-05-06 11:44:52 +03:00
Miquel A. Cabot
2632c12271
Merge pull request #1452 from oceanprotocol/issue-1345-rewrite-provider-test
Issue-#1345: Rewrite Provider test
2022-05-06 09:00:46 +02:00
Jamie Hewitt
a8354af548 Updating test command 2022-05-06 09:57:17 +03:00
7782bf49b3
Release 1.0.0-next.40 v1.0.0-next.40 2022-05-05 16:42:21 +01:00
0e3be3c4f9
update default ESM export (#1456) 2022-05-05 16:40:31 +01:00
Jamie Hewitt
d39c091999 Updating comments 2022-05-05 17:35:06 +03:00
Jamie Hewitt
74afc0407f Updating mac script 2022-05-05 16:52:33 +03:00
Jamie Hewitt
75e0afa4d9 Adding additional comments in the code 2022-05-05 16:47:38 +03:00
Jamie Hewitt
0e4df185b1 Addign links 2022-05-05 16:27:57 +03:00
Jamie Hewitt
50e711eabc Seperating the script for mac / linux 2022-05-05 16:19:33 +03:00
Jamie Hewitt
dd74300477 Merging changes from issue-1354-readme-integration-tests 2022-05-05 16:14:03 +03:00
af5137c370
Release 1.0.0-next.39 v1.0.0-next.39 2022-05-05 12:55:52 +01:00
Miquel A. Cabot
b40f52d6a6 add assertion 2022-05-04 18:25:12 +02:00
Miquel A. Cabot
997bbf57b4 test getComputeEnvironments() 2022-05-04 18:13:36 +02:00
Miquel A. Cabot
f8a42d9559
Issue-#1409: Excessive contract calls (#1424)
* add decimals parameter to unitsToAmount() and amountToUnits()

* unify use of amountToUnits() and unitsToAmount()

* use tokenDecimals in TokenUtils

* add tokenDecimals to functions in SideStaking

* add parameters to doc comments

* calculate amountToUnits and unitsToAmount using  decimals in FixedRateExchange

* remove unused amountToUnits() function from SideStaking

* use decimals in unitsToAmount() function in Pool

* add tokenInDecimals and tokenOutDecimals to TokenInOutMarket interface

* use decimals in amountToUnits() function in Pool

* fix errors related to pool decimals

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 19:06:39 +03:00
Jamie Hewitt
92a3d81353 Additional text 2022-05-03 17:19:39 +03:00
Miquel A. Cabot
9cb1ea51a8
Merge pull request #1430 from oceanprotocol/issue-1425-use-proper-config-in-constructors
Issue-#1425: Use proper config in constructors
2022-05-03 16:08:04 +02:00
mihaisc
1b93d86df5
fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:32:43 +03:00
mihaisc
60ffa8b271
fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:27:05 +03:00
mihaisc
2d744c3dd2
change param order
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:17:48 +03:00
mihaisc
c7dfe50b92
Merge branch 'v4main' into issue-1425-use-proper-config-in-constructors 2022-05-03 13:01:01 +03:00
Miquel A. Cabot
10e86e3566 add createGuide.sh script 2022-05-03 10:47:05 +02:00
Miquel A. Cabot
6471550ae5 add necessary comments 2022-05-02 23:01:00 +02:00
Miquel A. Cabot
3a757043f5 rename liquidityAccount to stakerAccount 2022-05-02 22:23:52 +02:00
Miquel A. Cabot
b7e305fa98 dispense flox in marketplace test 2022-05-02 12:17:31 +02:00
dependabot[bot]
3457020e3a
Bump release-it from 14.14.2 to 15.0.0 (#1449)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.2 to 15.0.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.14.2...15.0.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 07:10:19 +03:00
dependabot[bot]
e422ea707f
Bump mocha from 9.2.2 to 10.0.0 (#1450)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 06:39:06 +03:00
dependabot[bot]
1282d47f0f
Bump @types/node from 17.0.30 to 17.0.31 (#1451)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.30 to 17.0.31.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 06:38:59 +03:00
Miquel A. Cabot
86005ba091 publish and consume fixed rate exchange data asset 2022-05-01 14:46:13 +02:00
alexcos20
f9db9cea31 Release 1.0.0-next.38 v1.0.0-next.38 2022-04-29 06:27:00 -07:00
Alex Coseru
77fe186949
bump to contracts alpha 31 (#1448)
* bump to contracts alpha 31
2022-04-29 16:25:42 +03:00
Miquel A. Cabot
e70a81d756 publish a dataset (create NFT + Datatoken) with a fixed rate exchange 2022-04-29 10:23:16 +02:00
dependabot[bot]
2b27a0f7e9
Bump @truffle/hdwallet-provider from 2.0.7 to 2.0.8 (#1445)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.8/packages/hdwallet-provider)

---
updated-dependencies:
- dependency-name: "@truffle/hdwallet-provider"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 08:25:16 +03:00
dependabot[bot]
3cd13a3bae
Bump typescript from 4.6.3 to 4.6.4 (#1446)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.6.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 08:25:09 +03:00
dependabot[bot]
d49f4e9ca2
Bump @types/node from 17.0.29 to 17.0.30 (#1447)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.29 to 17.0.30.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 08:25:00 +03:00
Miquel A. Cabot
7e4ca995f8 refactor variable names 2022-04-28 23:47:14 +02:00
Miquel A. Cabot
41c7a34fa5 rename nft and datatoken variables 2022-04-28 23:40:33 +02:00
Miquel A. Cabot
978fc0bc5d user should add liquidity to the pool, receiving LP tokens 2022-04-28 23:35:53 +02:00
Miquel A. Cabot
f7cfc5e6a8 send some OCEAN to consumer account 2022-04-28 23:12:28 +02:00