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

32 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
Bogdan Fazakas
30aba62ef7
Remove amm pools (#1568)
* WIP remove pools

* added logs

* update checksums and logs

* Updating CodeExamples.md

* remove console logs

* remove unused params, simplify test folder structure

* contracts folder simplification, remove ss contract methods

* path fix

* remove more "staking" code

* put back `removeApprovedToken()`

* remove redundant and unused test commands

* test fix, auto-fix & auto-format

* consistent specific imports

* readme updates

* remove addDispenserContract method

* remove tokens subfolder from contracts

* update js docs and put back addDispenserContract

* use new digest for algorthms

* update nft getData to fix failing unit test

* replace pools with fre in  buyDatatokenBatch

* use proper exchange ids

* increase allowance

* fix buyBatch test and deploy issues from testcontracthandler

Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-16 11:54:28 +01: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
6cb54a7e2b Updating comment 2022-05-26 10:16:28 +01:00
Jamie Hewitt
ac3f5f7375 Add create:guide command 2022-05-25 17:12:08 +01: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
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
Miquel A. Cabot
10e86e3566 add createGuide.sh script 2022-05-03 10:47:05 +02:00
Jamie Hewitt
331da90db5 Updating script 2022-04-25 13:51:17 +02:00
Jamie Hewitt
f935f9f8a5 Creating markdown guide from simple publish consume flow 2022-04-25 13:45:06 +02:00
Jamie Hewitt
d1a6b54ebf Updating script 2022-04-21 17:29:08 +02:00
Jamie Hewitt
1055ef991c Creating script to generate readme guide 2022-04-21 15:45:11 +02:00
mihaisc
0c65a03a69
fix typedoc (#1378) 2022-03-29 07:36:22 -07:00
Alex Coseru
ee7a45e17a
use compute environments (#1258)
* use compute environments
2022-02-09 19:13:25 +02:00
Alex Coseru
9174baa3c0
Barge c2d & latest contracts bump (#1248)
* bump to latest contracts
2022-02-09 11:32:54 +02:00
d8914a8380
Replace Travis with GitHub Actions (#847)
* GitHub CI actions

* add coverage job

* test run tweaks

* windows build fix

* barge tweaks

* deal with env vars

* add npm publish job

* trial & error

* remove Travis

* publish as single workflow

* handle Docker Hub login

* maybe preparing ~/.ocean is needed

* downgrade barge contracts, run with barge defaults

* put back ADDRESS_FILE env var

* AQUARIUS_URI test

* ddo creation test logging

* make failing DDO creation test actually fail

* separate unit/integration Asset tests

* set AQUARIUS_URI again

* readme updates

* prepare ~/.ocean folder

* separate tests into multiple jobs

* address.json debugging

* windows build fixes

* address.json trials

* env var expansion workaround

* cleanup

* debug coverage output

* fix coverage

* bump codeclimate-action

* use barge instead of ganache (#855)

* use barge instead of ganache

* small unit test job cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>

* barge detach workaround

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2021-06-22 12:21:27 +02:00
25ac01e97d
typedoc fixes 2021-01-18 16:01:12 +01:00
Alex Coseru
f376f1df9d
Update typedoc.js 2020-11-12 19:32:38 +02:00
74f1967b0a
ocean-lib-js → ocean.js 2020-10-13 14:37:58 +02:00
alexcos20
3d4a596b8b more travis debug 2020-10-12 09:28:51 -07:00
alexcos20
cddc99b92a travis debug 2020-10-12 08:59:49 -07:00
alexcos20
a4b6f17552 fix travis 2020-10-12 08:50:16 -07:00
alexcos20
026bb048e0 fix travis 2020-09-15 01:32:06 -07:00
alexcos20
d93c31abac fix travis 2020-09-15 01:28:37 -07:00
7b1403c854
formatting and typings and lint fixes 2020-08-18 11:23:46 +02:00
mihaisc
8fa29871b7 added chainId in configs 2020-08-11 10:39:44 +03:00
Ahmed Ali
f3dd76fe80 add release to travis 2020-07-03 15:34:44 +02:00
Ahmed Ali
552d976ffc fix lint errors 2020-06-12 13:12:27 +02:00
alexcos20
fdd067f854 fix metadata 2020-05-28 02:49:27 -07:00