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

Update contracts (#1297)

* add categories to metadata

* update contracts

* fix
This commit is contained in:
mihaisc 2022-02-17 11:17:02 +02:00 committed by GitHub
parent cb8b52c6e1
commit 6a70f48cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 10 deletions

14
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "1.0.0-next.20",
"license": "Apache-2.0",
"dependencies": {
"@oceanprotocol/contracts": "1.0.0-alpha.20",
"@oceanprotocol/contracts": "^1.0.0-alpha.21",
"bignumber.js": "^9.0.2",
"cross-fetch": "^3.1.5",
"crypto-js": "^4.1.1",
@ -3033,9 +3033,9 @@
}
},
"node_modules/@oceanprotocol/contracts": {
"version": "1.0.0-alpha.20",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.20.tgz",
"integrity": "sha512-Z+zP7XzYjZfd0+URupld2LLZ91E07EWM4wlxpRGOhXEZ7oL3iQAlRJGq6SZN7C65LSUaMQuhj+n5C8aYOXUdwQ==",
"version": "1.0.0-alpha.21",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.21.tgz",
"integrity": "sha512-aYMEwkclqBtHEgjeDAmEuGnWQ3yZLIeHWr3XtiuscDxF48eCG0wUYtdtuqzbLNEUqgdpNVxVNTLW2x0w2PAQDA==",
"dependencies": {
"@openzeppelin/contracts": "^4.3.3",
"@openzeppelin/test-helpers": "^0.5.15",
@ -27682,9 +27682,9 @@
}
},
"@oceanprotocol/contracts": {
"version": "1.0.0-alpha.20",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.20.tgz",
"integrity": "sha512-Z+zP7XzYjZfd0+URupld2LLZ91E07EWM4wlxpRGOhXEZ7oL3iQAlRJGq6SZN7C65LSUaMQuhj+n5C8aYOXUdwQ==",
"version": "1.0.0-alpha.21",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.21.tgz",
"integrity": "sha512-aYMEwkclqBtHEgjeDAmEuGnWQ3yZLIeHWr3XtiuscDxF48eCG0wUYtdtuqzbLNEUqgdpNVxVNTLW2x0w2PAQDA==",
"requires": {
"@openzeppelin/contracts": "^4.3.3",
"@openzeppelin/test-helpers": "^0.5.15",

View File

@ -57,7 +57,7 @@
"web3": "^1.7.0"
},
"dependencies": {
"@oceanprotocol/contracts": "1.0.0-alpha.20",
"@oceanprotocol/contracts": "1.0.0-alpha.21",
"bignumber.js": "^9.0.2",
"cross-fetch": "^3.1.5",
"crypto-js": "^4.1.1",

View File

@ -101,12 +101,17 @@ export interface Metadata {
links?: string[]
/**
* Mapping of URL strings for data samples, or links to find out more information.
* Links may be to either a URL or another asset.
* Array of keywords or tags used to describe this content. Empty by default.
* @type {string[]}
*/
tags?: string[]
/**
* Array of categories associated to the asset. Note: recommended to use tags instead of this.
* @type {string[]}
*/
categories?: string[]
/**
* The party holding the legal copyright. Empty by default.
* @type {string}