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

67 Commits

Author SHA1 Message Date
Alex Coseru
e66748b9f2
Update CODEOWNERS (#1824) 2024-06-25 10:33:46 +03:00
Bogdan Fazakas
6a6f450780
Multiple fixes (#1785)
* add sepolia logic

* update min gas fee value

* Release 3.1.5-next.0

* update graphqlAsset url

* update timeouts

* added logs

* update timeouts

* upgrade node version

* cleanups
2024-05-09 13:28:38 +03:00
Alex Coseru
46103868fa
fix using custom address file (#1802)
* fix using custom address file

* fix updated github runner images
2024-02-05 12:23:55 +02:00
alexcos20
e71159e0a1 fix runner missing images 2023-12-05 15:27:41 +02:00
Alex Coseru
0dbe977909
Use latest barge (#1788) 2023-12-05 15:25:00 +02:00
Alex Coseru
91460b9cf5
bump contracts & add optimism (#1786)
* bump contracts

* fix contracts

* add optimism

* use upcoming barge

* update fre tests

* make sure all fres are withMint
2023-11-24 15:12:21 +02:00
Alex Coseru
6130a3df99
optimize disk space (#1771) 2023-09-21 16:32:58 +03:00
Alex Coseru
5062b6d2b7
Remove custom contracts (#1769)
* Remove custom contracts

* Updating CodeExamples.md

---------

Co-authored-by: GitHub Actions Bot <>
2023-09-05 09:42:07 +03:00
Bogdan Fazakas
808178291d
Update provider nonce handling (#1747)
* Updates the usage of nonce

* nonce method updates

* fix lint

* remove double resolve for the response

* use provider invalid-signature image and comm update docs

* print errro

* set a default value if nonce received is null

* fix issue with consumer address on download

* remove parse int

* skip compute tests

* Updating CodeExamples.md

* put back compute tests

* prepare for release

* use older contracts

---------

Co-authored-by: GitHub Actions Bot <>
2023-07-31 13:21:05 +03:00
Bogdan Fazakas
a95d563015
Update codeExamples dependencies (#1742)
* update compute examples depandancies

* Checking for the decimals on the feeToken

* Adding tests to check if the number of decimals is correct for the publishMarketFee

* Feature/sepolia (#1749)

* add sepolia

* bump contracts

* update install dependacies step in code and compute examples readmes

* commented out update docs for the moment

* Updating CodeExamples.md

* Updating ComputeExamples.md

---------

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
Co-authored-by: GitHub Actions Bot <>
2023-07-14 12:23:41 +02:00
Alex Coseru
9bf71ba4f0
Features/ethers (#1696)
* add ethers

* global updates

* ve updates

* ve tests

* contract updates

* first test passing

* downgrade to ethers 5.7.2

* add log

* add tx wait

* full NftFactory.test

* add wait

* add Router tests

* fix dispenser

* Nft test

* add dispenser tests

* add fre tests part 1

* WIP datatoken unit tests

* add DFRewards test

* increase gas estimate

* increase gas estimate

* Work datatoken unit tests

* datatoken test more tests

* finished datatoken tests

* fix nft get data

* fix nft transfer tests

* Provider int tests

* Updating CodeExamples.md

* update provider & fix publish flow int test

* wip publish edit consume integration test

* more work on  publish edit consume integration test

* fix edit  publish edit consume integration test

* add 3 int tests

* Updating ComputeExamples.md

* fix signature and download

* fix compute flow integration test

* udapte handleComputeOrder helper

* update datatoken instance

* update datatoken global variable

* mint ocean tokens to consumer as well and added logs

* update compute exammples

* Updating ComputeExamples.md

* wip code examples readme

* update code examples readme

* Updating CodeExamples.md

* run all tests

* update dep in readme

* update readme

* code examples update metadata flags

* update dt instance in code examples md

* set metadata updates

* Updating CodeExamples.md

* update code examples readme structure

* Updating CodeExamples.md

* update readmes table links

* Updating CodeExamples.md

* Updating ComputeExamples.md

* clean-up

* Updating CodeExamples.md

* added missing unit tests for usdc fixed rate exchange tests

* more cleanup and jsdoc updates

* more  jsdoc updates

* donw with jsdoc updates

* handle provider errors

* add missing error handling file

* adds most of the provider errors

* update get compute env return type

* Release 3.0.0-next.0

* adding Typedoc to ethers branch

* update provider signature message

* fix lint

* Release 3.0.0-next.1

* fix lint

* adding Typedoc to ethers branch

* Updating CI to build and commit the documentation

* Updating documentation

* Updating script permissions

* fix todos add missing logic to send tx

* npm package cleanups

* Release 3.0.0-next.2

* update log messages for errors

* Release 3.0.0-next.3

* fix gasFee issue on sendTx

* Release 3.0.0-next.4

* add consume params typings (#1731)

* fix gas fee estimate

* remove comments

* add some delays before resolving datasets

* adds delay to Publish flow tests

* Release 3.0.0-next.5

---------

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
2023-05-29 11:20:38 +03:00
Bogdan Fazakas
a026c12041
Compute Example Readme flow (#1615)
* wip

* add logs

* update checksum

* update test suite

* temp run just compute flow tests

* update file urle

* add c2d md file

* renamed files

* update script

* add script logs

* update create example script

* Updating CodeExamples.md

* Updating ComputeExamples.md

* readme text improvments

* Updating ComputeExamples.md

* more improvments

* Updating ComputeExamples.md

* again more improvments

* Updating ComputeExamples.md

* more readme improvments

* Updating ComputeExamples.md

* update chainid and service endpoint

* Updating CodeExamples.md

* Updating ComputeExamples.md

* req fixes

* Updating ComputeExamples.md

* more fixes

* Updating CodeExamples.md

* Updating ComputeExamples.md

* more fixes, ts configs etc

* Updating ComputeExamples.md

* mention typescript compile options

* add comment regarding mint method

* fix lint

* Updating ComputeExamples.md

* review fixes and sugestions

* Updating ComputeExamples.md

Co-authored-by: GitHub Actions Bot <>
2022-12-14 17:22:44 +02:00
Alex Coseru
ad0e724e68
Feature/add ve fee estimate (#1606)
* bump to contracts 1.1.4

* add estimateClaim

* fix

* Bump decimal.js from 10.3.1 to 10.4.0 (#1598)

Bumps [decimal.js](https://github.com/MikeMcl/decimal.js) from 10.3.1 to 10.4.0.
- [Release notes](https://github.com/MikeMcl/decimal.js/releases)
- [Changelog](https://github.com/MikeMcl/decimal.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MikeMcl/decimal.js/compare/v10.3.1...v10.4.0)

---
updated-dependencies:
- dependency-name: decimal.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.36.2 (#1601)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.33.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 8.19.0 to 8.23.0 (#1602)

Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.23.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add graphql type (#1607)

* add graphql type

* Updating CodeExamples.md

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions Bot <>
2022-09-12 18:20:21 +03:00
Alex Coseru
f8f4b48243
Feature/basic ve ocean (#1595)
* bump contracts to 1.1.3

* add basic veOcean support

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-09-06 15:00:47 +03:00
c731110596
CI updates (#1503)
* monthly dependabot updates

* branch trigger changes

* checkout barge `main`, bump action
2022-07-05 12:53:46 +03:00
Alex Coseru
be06f05365
update to new schema & compute fixes (#1510)
* update to new schema

* fix codeExamples

* fix computeflows
2022-06-15 19:03:56 +03:00
Jamie Hewitt
3a4da10c08 comparing the checksum of the CodeExamples.md file to see if it has been changed before commiting 2022-05-31 18:06:35 +01:00
Jamie Hewitt
ac3f5f7375 Add create:guide command 2022-05-25 17:12:08 +01:00
Jamie Hewitt
98155fa154 Only commiting if there are changes 2022-05-25 16:55:41 +01:00
Jamie Hewitt
608d64c259 Getting the CI to commit to a new branch 2022-05-25 16:26:23 +01:00
Jamie Hewitt
f137ff1898 Ignoring untracked files 2022-05-25 15:38:58 +01:00
Jamie Hewitt
4ee41f1f28 Update bash command 2022-05-18 15:30:25 +03:00
Jamie Hewitt
17bbf39d7b Remove git error output if nothing is pushed to remote 2022-05-18 15:13:34 +03:00
Jamie Hewitt
6a3e3edd06 Handling error if there is nothing to commit 2022-05-18 14:42:51 +03:00
Jamie Hewitt
8e556ed69e Making sure create guide runs last 2022-05-18 14:21:02 +03:00
Jamie Hewitt
2249ed8a43 Force push 2022-05-18 13:55:36 +03:00
Jamie Hewitt
1ed340cd86 Updating push command 2022-05-18 13:46:08 +03:00
Jamie Hewitt
8832ea1b48 Checkout pull request head commit 2022-05-18 13:40:40 +03:00
Jamie Hewitt
067510370a Updating git pull steps 2022-05-18 13:34:29 +03:00
Jamie Hewitt
23526370e7 Updating git commands 2022-05-18 13:22:45 +03:00
Jamie Hewitt
5469ac0578 Seperating CI steps 2022-05-18 13:13:04 +03:00
Jamie Hewitt
70a82f6e2f Adding git status check 2022-05-18 13:06:50 +03:00
Jamie Hewitt
396aee2c73 Checking out current branch 2022-05-18 13:01:35 +03:00
Jamie Hewitt
ee3a128f59 Updating branch name ref 2022-05-18 12:53:43 +03:00
Jamie Hewitt
9adcf46ab2 Checking out current branch with actions/checkout@v2 2022-05-18 12:45:07 +03:00
Jamie Hewitt
ca76294eec Updating CI 2022-05-18 12:21:55 +03:00
Jamie Hewitt
80ff80e0f3 Updating gitignore 2022-05-18 12:17:37 +03:00
Jamie Hewitt
35e5952081 Adding git remote origin to CI 2022-05-18 12:09:54 +03:00
Jamie Hewitt
3963f9bfbc Updating branch name - base head ref in github actions 2022-05-18 11:56:12 +03:00
Jamie Hewitt
868de7c178 fixing linting & solving conflict 2022-05-18 11:47:02 +03:00
Jamie Hewitt
36d7b12414 Updating CI to checkout current branch 2022-05-18 11:02:22 +03:00
Jamie Hewitt
5716a904e0 Pull from origin v4main 2022-05-18 10:57:34 +03:00
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
Alex Coseru
6d9f9fed92
simple compute flow (#1458)
* refactor compute flow
2022-05-10 08:52:24 +03:00
Alex Coseru
77fe186949
bump to contracts alpha 31 (#1448)
* bump to contracts alpha 31
2022-04-29 16:25:42 +03:00
Alex Coseru
e964b2a4a4
refactor signatures (#1395)
* refactor signatures
2022-04-14 16:52:12 +03:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 (#1392)
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
Miquel A. Cabot
aa9f52b83d add PROVIDER_URL environment variable 2022-03-17 16:04:01 +01:00