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

1122 Commits

Author SHA1 Message Date
paulo-ocean
17603be1bb wip: create asset 2024-09-03 12:46:00 +01:00
paulo-ocean
2b04318e25 Merge branch 'main' into issue-1831-fileinfo-case 2024-07-01 17:38:26 +01:00
paulo-ocean
c4305d6758 make service endpoint / service name check case insensitive 2024-07-01 14:54:03 +01:00
paulo-ocean
4e0536a1f8 remove console.logs 2024-07-01 14:06:13 +01:00
paulo-ocean
c5b2fc50a5 more debugging 2024-07-01 12:22:19 +01:00
paulo-ocean
5f7d309692 update computeStop, add some comments explaining the flow issues on the route 2024-06-26 10:12:18 +01:00
paulo-ocean
5105a4fdad update compute stop, document id is not needed, neither for operator service, neither used on signature check 2024-06-25 16:47:42 +01:00
paulo@oceanprotocol
1242a6860f
Merge 1dcafcff6cd51b1d3f0ec4a7ce882ad727a2267b into a00211e8d8dbeeacc3b44b934f48e8d25bf36245 2024-06-25 09:19:49 +01:00
Moritz Kirstein
d384de975e
Pontus x devnet config (#1806)
* feat: add pontus-x-devnet config

* fix: typo

* fix: explorer uri
2024-06-25 11:09:10 +03:00
paulo-ocean
af9a8e7ec0 Merge branch 'main' into issue-1820-fix-compute-status 2024-06-25 09:02:36 +01:00
Maria Carmina
b060bc153f
Sanitize service endpoint by adding/reving slash when needed. (#1821)
* Sanitize service endpoint by adding/reving slash when needed.
2024-06-25 10:24:15 +03:00
paulo-ocean
9d582082f0 wip: update to support agreementId 2024-06-21 15:20:41 +01:00
Alex Coseru
ea3f175efd
add sapphire (#1808)
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2024-05-09 16:17:29 +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
mihaisc
be52ec26c2
Update ConfigHelper.ts (#1807)
remove goerli
2024-03-21 10:21:32 +02: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
Bogdan Fazakas
a0964d5096
Fix provider fee approval in order helper (#1795)
* fix provider fee approval in order helper

* fix lint

* undo hardcode
2023-12-15 13:39:39 +02:00
Alex Coseru
6f653fbdc0
fix sepolia (#1794) 2023-12-14 12:33:50 +02:00
Ana Loznianu
c7b45ee10a Fix linter 2023-12-05 16:02:29 +02:00
Ana Loznianu
bcfd125b72 Fix non existing transaction error 2023-12-05 15:38:05 +02:00
Ana Loznianu
4afa0699ee Fix for running c2d jobs with additional datasets 2023-12-05 15:19:50 +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
Bogdan Fazakas
01248ff9a7
make sure we increment a number when working with nonces (#1781) 2023-10-24 16:22:08 +03:00
Bogdan Fazakas
38cc02849e
fix fs use & error handling (#1777)
* fix fs use

* Release 3.1.3-next.0

* update error handling

* Release 3.1.3-next.1
2023-10-16 23:26:30 +03:00
Bogdan Fazakas
8f28f3b029
Feature/ Use custom addresses & fallback signature to legacy (#1772)
* add fixes

* added logs

* added missed fs call

* debug ci

* add more checks

* fix custom addr check
2023-09-25 07:46:38 +03:00
Yannick Meinberg
aa0905ed47
Added gen-x-testnet to ConfigHelper (#1741)
- See https://docs.genx.minimal-gaia-x.eu/docs/development/quick_start/
2023-09-05 09:48:28 +03:00
Bogdan Fazakas
cf0c1221a9
fix compute stop & uptade order helper to be reused also for c2d oreder methods (#1761) 2023-09-04 09:35:09 +03:00
Bogdan Fazakas
faa7de3601
Feature/Add order util method (#1759)
* added order  helper method using contracts calls

* fixes consume fees  & lint

* cleanup

* update order helper method to be more generic

* fix all warnings
2023-08-25 17:33:06 +03:00
Bogdan Fazakas
a50cd5bb00
Fix/ Download file browser (#1758)
* remove head call for download file browser helper method

* fix lint
2023-08-01 20:23:36 +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
a7c68e995d
Updates to Provider errors handling (#1745) 2023-07-14 12:11:38 +03:00
Alex Coseru
ed38f6028d
Feature/sepolia (#1749)
* add sepolia

* bump contracts
2023-07-12 16:48:28 +03:00
Jamie Hewitt
ece4883743 Checking for the decimals on the feeToken 2023-07-06 14:06:47 +03:00
Bogdan Fazakas
0c60d9bbd4
set min gas fee 30 gwei on priority fees for polygon and mumbai as well (#1736)
* set min gas fee 30 gwei on priority fees for polygon and  mumbai as well

* Release 3.0.1-next.0
2023-06-06 15:58:54 +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
Moritz Kirstein
e3dfa2997a
Add consumer parameter types (#1730)
* feat: add ConsumerParameter type

* feat: add export for ConsumerParameter type

* fix: ConsumerParameter.required type

---------

Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
2023-05-12 11:24:05 +03:00
Bogdan Fazakas
59568d292e
update get compute env return type (#1721) 2023-05-03 09:21:21 +03:00
Bogdan Fazakas
5a29fefd3b
Multichain Provider (#1698)
* added chainId param to encrypt method

* updated tests & examples
2023-03-20 15:44:12 +02:00
Bogdan Fazakas
6a4631d215
add macOS readme message (#1697)
* add readme message, update subgraph port

* update ip s add readme updates

* remove unwanted readme line

* update readme message

* fix aqua url

* Update README.md

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

---------

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2023-02-13 10:43:18 +00:00
Bogdan Fazakas
5306d75208
Set withMint default to true (#1693)
* make withMint default to true

* fix lint
2023-02-07 21:27:40 +00:00
Bogdan Fazakas
b99bde9327
Fix download when content disposition header missing (#1680)
* default filenamen

* remove logs
2023-01-05 17:40:48 +02:00
Bogdan Fazakas
8de514f15b
Min 30gwei polygon main and mumbai fees (#1671)
* wip tx underpriced

* cleanups

* small fixes

* added comments
2022-12-22 09:35:46 +02:00
Bogdan Fazakas
cbc3cd6776
Add missing symbol and name helper on datatoken (#1667)
* add two helpers method

* fix tests

* update comments
2022-12-19 10:09:05 +00:00
Bogdan Fazakas
d539e00072
add headers (#1665) 2022-12-19 10:08:35 +00:00
Bogdan Fazakas
293bf75b9e
add subgraph url to barge config and fix metadatacache config (#1652) 2022-11-15 20:23:42 +00:00
Jamie Hewitt
4abe5fc451
Updating types to include the price which is sent from Aquarius (#1651)
* Updating types to include the price which is sent from Aquarius

* Adding comments for AssetPrice

* Making Price required in Stats
2022-11-15 20:23:24 +00:00
EnzoVezzaro
cdb9f8e082
added more storage types to getFileInfo (#1640)
* added ipfs interface to getFileInfo

* added GraphqlQuery and Smartcontract interfaces to getFileInfo
2022-11-01 14:46:45 +00:00
mihaisc
a21671c853
remove moonbase config (#1643) 2022-11-01 14:45:58 +00:00
mihaisc
040a635de5
increase gas multiplier on polygon (#1637) 2022-10-23 09:35:02 +01:00
MantisClone
6efae8ebbc
Update Provider.checkFileUrl to allow non-URL file types (like Arweave) (#1627)
* Update Provider.checkFileUrl to allow non-URL file types

* Reduce scope to only URLs and Arweave.

* Remove parentheses to make linter happy

* Update Provider tests to use UrlFile argument

* Fix lint errors

* Fix lint error

* [REVERT THIS] comment coverage upload

  * CC_TEST_REPORTER_ID secret not available in PR workflows from
    external contributors.

* Revert "[REVERT THIS] comment coverage upload"

This reverts commit 7ca94b7e71ce5d53fa0c7b35bdff85e91b6db059.

* Add Arweave fileinfo unit test

* Rename `checkFileUrl` to `getFileInfo`

* Fix lint error
2022-10-19 13:24:20 +01:00