1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
Commit Graph

2240 Commits

Author SHA1 Message Date
Andrea Armanni
d2c3b4b235
Add files via upload (#2046) 2024-06-04 15:28:49 +02:00
mihaisc
db853cd8d6
Delete .github/dependabot.yml 2024-05-27 15:30:57 +03:00
mihaisc
d7019abc86 disable dependabot 2024-05-27 15:29:07 +03:00
mihaisc
113af783df
Update _app.tsx (#2044)
* Update _app.tsx

* Update _app.tsx

* Update _app.tsx

* fix lint
2024-05-27 15:26:51 +03:00
mihaisc
cb3a9ae1b4
Delete .github/workflows/deploy.yml (#2043) 2024-05-26 15:31:14 +03:00
Neagu Toma Gabriel
0a8e72ae1d
feat: add GA4 (#2040) 2024-05-26 14:59:35 +03:00
Neagu Toma Gabriel
1a2a9a3de2
feat: update privacy policy (#2041) 2024-05-26 14:58:27 +03:00
Bogdan Fazakas
1c3a866e46
Remove Mumbai from supported chains dropdown (#2039) 2024-05-23 09:49:41 +03:00
Bogdan Fazakas
932dfb2472
more mumbai cleanups (#2036) 2024-05-09 14:52:30 +03:00
mihaisc
61046dcfa7
Update ci.yml (#2035) 2024-05-09 13:26:56 +03:00
mihaisc
f0ec8d1992
Update package.json (#2034) 2024-05-09 13:26:36 +03:00
Andrea Armanni
95a1dd1a44
Added documentation (#2025)
* Added documentation

* Removed relative URLs and updated links

* Update README.md
2024-05-09 12:40:59 +03:00
Bogdan Fazakas
cdc6ab6eda
more goerli cleanups (#2024) 2024-03-21 10:26:29 +02:00
mihaisc
dc60970b7d
remove goerli (#2023) 2024-03-21 10:12:01 +02:00
Jamie Hewitt
a042e4f644
Updatin the codeowners (#2006) 2023-12-14 08:24:27 +03:00
Ana
1e09614fb7
Added op mainnet into the Ocean market (#2007)
* Bump to ocean.js 3.2.0

* Added optimism network

* Added optimism network

* Enabled optimism network by default
2023-11-29 14:20:26 +02:00
Enzo Vezzaro
4ced71c5af
simple fix, a lot of debugging :-( (#1993)
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2023-11-15 13:16:53 +03:00
Jamie Hewitt
f39ddf97e3
Only validating custom parameters if algorithm has been selected (#2005) 2023-11-14 16:59:30 +03:00
Jamie Hewitt
b5b3137ea1
Updating validation so that node or python images can be selected (#2004) 2023-11-14 15:20:54 +03:00
Enzo Vezzaro
908acb1e7b
remove provider url from check error method (#1992) 2023-11-14 15:19:40 +03:00
Ana
ef5b236482
Added normalize url function to check the endpoint (#2000) 2023-11-10 13:24:47 +02:00
Enzo Vezzaro
a2ce8e4ae2
remove graphql query for accessDetails as it is return by aquarius (#1996)
* remove graphql query for accessDetails as it is return by aquarius

* increased size query on baseParams for algorithmDidList

* Remove console.logs

* Review changes

* Increased the size even more

---------

Co-authored-by: Ana Loznianu <ana@oceanprotocol.com>
2023-11-10 12:41:24 +02:00
Jamie Hewitt
8c886e7e03
Updating remark packages (#1997) 2023-11-09 12:17:49 +03:00
Enzo Vezzaro
90b41c72b7
restore error check on input (#1989) 2023-11-02 13:44:29 +01:00
dependabot[bot]
df4349f63f
Bump @types/react-modal from 3.13.1 to 3.16.2 (#1984)
Bumps [@types/react-modal](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-modal) from 3.13.1 to 3.16.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-modal)

---
updated-dependencies:
- dependency-name: "@types/react-modal"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 14:41:05 +03:00
dependabot[bot]
c7d1bd6b85
Bump react-devtools-core from 4.27.6 to 4.28.4 (#1983)
Bumps [react-devtools-core](https://github.com/facebook/react/tree/HEAD/packages/react-devtools-core) from 4.27.6 to 4.28.4.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/react-devtools-core)

---
updated-dependencies:
- dependency-name: react-devtools-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 12:11:52 +03:00
dependabot[bot]
538d986715
Bump @types/remove-markdown from 0.3.1 to 0.3.2 (#1971)
Bumps [@types/remove-markdown](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/remove-markdown) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/remove-markdown)

---
updated-dependencies:
- dependency-name: "@types/remove-markdown"
  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>
2023-10-23 11:17:27 +03:00
dependabot[bot]
e427db9f5e
Bump remark-gfm from 3.0.1 to 4.0.0 (#1973)
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases)
- [Commits](https://github.com/remarkjs/remark-gfm/compare/3.0.1...4.0.0)

---
updated-dependencies:
- dependency-name: remark-gfm
  dependency-type: direct:production
  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>
2023-10-23 11:16:54 +03:00
Bogdan Fazakas
d613f19804
Fix infinite loading on file info (#1977)
* error handling updates

* use ocean.js pre release 3.1.3-next.1

* bump oceanlib
2023-10-18 16:53:33 +03:00
Bogdan Fazakas
0c5a29d654
Fix custom docker image fields (#1978)
* add validation to custom docker image fields

* updated validation logic

* fix build
2023-10-18 16:51:31 +03:00
Bogdan Fazakas
ba17184cf8
Fix/Fallback to subgraph price (#1959)
* wip use subgraph

* add more fallbacks

* fix checks

* fix tests

* fix teaser

* fix build

* add return type
2023-10-18 16:49:08 +03:00
Bogdan Fazakas
1514e785f2
Fix footer market stats (#1976)
* fix footer market stats

* add loader component
2023-10-13 13:48:54 +03:00
Luca Milanese
031f6eb8f1
fix: free assets not displayed in c2d (#1974)
* fix: free assets not displayed in c2d

* feat: remove asset list from algo c2d actions
2023-10-12 15:37:15 +03:00
Bogdan Fazakas
e8d96c159e Revert "error handling updates"
This reverts commit 78b73800d3.
2023-10-11 12:02:09 +03:00
Bogdan Fazakas
78b73800d3 error handling updates 2023-10-11 12:00:29 +03:00
omahs
fed767680c
fix typos (#1968) 2023-09-27 17:09:24 +03:00
Bogdan Fazakas
4fdd053833
fix retry button state (#1967) 2023-09-25 08:07:43 +03:00
Bogdan Fazakas
a976e5b5c5
Fix custom provider error handling (#1965)
* fixes error handling for is valid and is compatible custom provider input field

* revert some input form changes
2023-09-25 07:53:54 +03:00
dependabot[bot]
24d8998fc6
Bump @uiw/codemirror-themes from 4.19.5 to 4.21.12 (#1960)
Bumps [@uiw/codemirror-themes](https://github.com/uiwjs/react-codemirror) from 4.19.5 to 4.21.12.
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.19.5...v4.21.12)

---
updated-dependencies:
- dependency-name: "@uiw/codemirror-themes"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 15:39:20 +03:00
Moritz Kirstein
fefb42aa07
Feat: Consumer Parameters (#1921)
* feat: add consumer parameters to publish

* fix: publish form validation

* feat: update consumer parameters form

* feat: add consumer parameter types

* feat: update consumer parameter validation

* feat: add consumer parameters structure

* feat: add InputOptions error handling

* feat: update consumer parameters validation

* feat: update transformPublishFromToDdo

* feat: add default options to parameter options

* fix: value handling for select and mutliselect

* feat: update "add new parameter" button label

* feat: remove unused publish form sections

* chore: remove console.log

* chore: remove comments

* feat: remove multiselect

* feat: add consumer parameters section label

* feat: update types

* feat: update edit form fields

* feat: parse consumer parameters in edit form

* feat: add consumer parameters field to edit

* feat: transform consumer parameters values before edit

* feat: update "required" type to select

* feat: update "required" type to select on edit form

* fix: error object access

* fix: edit flow crash

* fix: validation when consumer parameters are not selected

* feat: update validation for default consumer parameters value

* fix: types

* feat: add service consumer parameters to publish form

* chore: remove console.log

* feat: add service consumer parameters edit

* chore: remove comments

* fix: form edit metadata types

* feat: add consume algo parameter structure

* feat: consumer parameter required default value condition

* feat: add consumer parameter groups to assetActions

* fix: consumer parameters grouping

* feat: update consumer parameters alignment

* feat: update types

* feat: allow service consumer parameters on dataset asset type

* feat: add consumer parameters to ddo updated values in edit form

* feat: add "data service" consumer parameters to consumption form

* feat: allow service parameters on all asset types

* feat: update parameter consume form design

* feat: update asset actions consume parameters location

* feat: add service parameters to download assets

* refactor: consumer parameters actions

* refactor: form action name

* refactor: consumer parameters default input

* refactor: consumer parameters select input

* refactor: consumer parameter input

* fix: props name

* refactor: variable naming

* refactor: consumer parameters form validation

* refactor: rename consumer parameters types

* refactor: extract consumer parameters form data to separate file

* refactor: rename type

* feat: controlled tabs for consumer params

* feat: restore default value as required

* refactor: parse values before edit

* feat: add form to handle consumer parameters consumption

* feat: send consumer params with download request

* feat: send consumer params with compute request

* feat: handle compute form initialization

* chore: remove unused dependency

* feat: handle download form data initialization

* chore: remove console.log

* feat: update types

* fix: consumer parameter value types

* feat: update ConsumerParameter type

* feat: update ConsumerParameter type

* chore: add comments

* refactor: consumer parameters inputs

* refactor: rename data and algo service params

* refactor: consumer parameters form

* refactor: consumer parameter form styling

* refactor: make headers input reusable as KeyValueInput

* refactor: refactorings, reduce duplication (WIP)

* refactor: usercustomparameters consumption form creation/validation

* refactor: return undefined consistently if property path not found on object

* refactor: reuse fieldType and fieldOptions in DefaultInput

* fix: parse ddo consumer parameters for edit form

* fix: asset view crash for assets w/o consumer params

* fix: publish preview for assets with no consumer params

* fix: revert accidential rename of algoService

* fix: revert publish navigation padding change

* feat: update consumer parameters' labels and helpers

* fix: consumer parameters validation

* feat: update consumer parameter helper wording

* chore: merge conflicts

* feat: update types

* fix: validate form on consumer parameter deletion

* feat: add key value input placeholder props

* fix: handle boolean type consumer parameters in consume form (#38)

* Update src/components/Publish/_validation.ts

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/Asset/AssetActions/ConsumerParameters/FormConsumerParameters.module.css

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/Asset/Edit/_validation.ts

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/Asset/AssetActions/ConsumerParameters/index.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/Asset/AssetActions/ConsumerParameters/FormConsumerParameters.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/@shared/FormInput/index.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/index.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/index.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/OptionsInput.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/FormActions.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* Update src/@utils/provider.ts

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* fix: import paths

* refactor: add consumer parameters validation types

* feat: add string length min/max to consumer parameters validation

* feat: add cp description to consume form

* feat: reduce character limit in CP tab title

* feat: update CP fields' placeholders and helpers

* fix: show only relevant CPs in asset actions

---------

Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2023-09-07 17:14:27 +03:00
Bogdan Fazakas
b7a28df97e
Fix template id type (#1958)
* fix template id type

* remove logs
2023-08-29 10:02:45 +03:00
dependabot[bot]
6f138031c6
Bump formik from 2.2.9 to 2.4.2 (#1954)
Bumps [formik](https://github.com/formium/formik) from 2.2.9 to 2.4.2.
- [Release notes](https://github.com/formium/formik/releases)
- [Commits](https://github.com/formium/formik/compare/formik@2.2.9...formik@2.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 12:21:10 +03:00
dependabot[bot]
c2d5b4fc7c
Bump tsconfig-paths-webpack-plugin from 4.0.1 to 4.1.0 (#1953)
Bumps [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin) from 4.0.1 to 4.1.0.
- [Changelog](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths-webpack-plugin/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: tsconfig-paths-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 12:02:42 +03:00
dependabot[bot]
962c99ea19
Bump decimal.js from 10.4.2 to 10.4.3 (#1952)
Bumps [decimal.js](https://github.com/MikeMcl/decimal.js) from 10.4.2 to 10.4.3.
- [Changelog](https://github.com/MikeMcl/decimal.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MikeMcl/decimal.js/compare/v10.4.2...v10.4.3)

---
updated-dependencies:
- dependency-name: decimal.js
  dependency-type: direct:production
  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>
2023-08-02 09:58:06 +03:00
Bogdan Fazakas
d428a74e7e
bump oceanjs lib (#1955) 2023-08-01 20:55:07 +03:00
Bogdan Fazakas
cbe4d71f16
bump oceanjs lib (#1950) 2023-08-01 16:21:27 +03:00
Bogdan Fazakas
40d3ec109f
Feature/add sepolia (#1947)
* add sepolia

* bump ocean lib

* add sepolia to wagmi config
2023-07-20 12:58:13 +03:00
dependabot[bot]
99563a7f04
Bump word-wrap from 1.2.3 to 1.2.4 (#1948)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 12:10:36 +03:00
EnzoVezzaro
99090ee058
fix barge connection (#1729)
* adding network 8896 (barge)

* Update ocean.ts

* development network with env variable

* temp patch for provider  url check

* removed logs

* fix typing error

* set local provider url to asset metadata

* clean development config

* wip make use of barge addresses

* update env vars from script

* more fixes

* cleanup

* update readme

* more readme updates

* cleanup fixes

* more fixes

* script readme updates

* update readme

* update readme

* bump oceanjs

* fix tests after oceanjs upgrade

* adding custom provider for mac barge

* fix test app.config path

* remove log

* added NEXT_PUBLIC_PROVIDER_URL to load dev env

* added env variable for mac on load dev env

* fre fixes

* review suggestions

* Update README.md

Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>

* add private key example

* bump oceanlib

* fix build

* fix provider uri for mac

* add custom rpc env var example

* fix build

* update barge env vars script

* remove brage from supported and default chainIds by default

* remove log

---------

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
2023-07-17 23:42:32 +03:00
Bogdan Fazakas
2e69739778
Fix consume of FRE assets & improve error handling (#1940)
* wait for approve tx to finish

* handle provider errors better

* more error handling updates

* cleanups

* bump ocean lib

* fix publish try catch const assign
2023-07-17 12:01:21 +03:00