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

57 Commits

Author SHA1 Message Date
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
Alex Coseru
9b724d71bd
Feature/contracts alpha 22 (#1334)
* bump contracts to alpha 22
2022-03-14 14:23:16 +02:00
Alex Coseru
c23d274ebe
Use v4main images (#1267)
We merged op-service,op-engine, provider branches to v4main
2022-02-10 14:38:57 +02:00
Alex Coseru
ee7a45e17a
use compute environments (#1258)
* use compute environments
2022-02-09 19:13:25 +02:00
9142c354f0
run push builds against v4main 2022-02-09 17:12:55 +00:00
Alex Coseru
9174baa3c0
Barge c2d & latest contracts bump (#1248)
* bump to latest contracts
2022-02-09 11:32:54 +02:00
mihaisc
be7adcb6f8
fix order, update contracts (#1240)
* fix order, update contracts

* remove console.log

* remove force contracts install
2022-01-26 10:27:58 -08:00
Alex Coseru
f23e65f61b
publish tests (#1184)
* publish tests

* update to latest contracts

* fix unit tests
2022-01-03 17:34:28 +02:00
mihaisc
6a992e334a
add code owner (#1140) 2021-12-10 09:45:40 +02:00
Alex Coseru
02cc911ce9
Custom user parameters (#944)
* enable create / passthrough of userData & algoData

* refactor bassed on reviews

* refactor balance check async flows

* more provider logs

* more debugs for provider

* provider debug

* more provider logs

* more provider debug

* revert ci changes

* naming & typings

* Release 0.18.0-next.0

* deal with pre-releases

* clarify instructions

* fix merge errors

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-24 13:52:11 +02:00
4b9cac9a5a
fix yaml indentation (#1041) 2021-09-23 16:41:36 +02:00