mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
merge main
This commit is contained in:
commit
49bca513d6
20
CHANGELOG.md
20
CHANGELOG.md
@ -4,8 +4,27 @@ All notable changes to this project will be documented in this file. Dates are d
|
|||||||
|
|
||||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||||
|
|
||||||
|
#### [v1.1.8](https://github.com/oceanprotocol/ocean.js/compare/v1.1.7...v1.1.8)
|
||||||
|
|
||||||
|
- Let do any query in Aquarius [`#1576`](https://github.com/oceanprotocol/ocean.js/pull/1576)
|
||||||
|
- let do any query in Aquarius [`02b805a`](https://github.com/oceanprotocol/ocean.js/commit/02b805a45ddbc77a0d4675a06e73b31d0494d55f)
|
||||||
|
|
||||||
|
#### [v1.1.7](https://github.com/oceanprotocol/ocean.js/compare/v1.1.6...v1.1.7)
|
||||||
|
|
||||||
|
> 2 August 2022
|
||||||
|
|
||||||
|
- Issue-#1556: Add nft.setData() function [`#1558`](https://github.com/oceanprotocol/ocean.js/pull/1558)
|
||||||
|
- Bump terser from 5.10.0 to 5.14.2 [`#1564`](https://github.com/oceanprotocol/ocean.js/pull/1564)
|
||||||
|
- Issue-#1557: Add Aquarius.getAssetMetadata() and Aquarius.querySearch() functions [`#1560`](https://github.com/oceanprotocol/ocean.js/pull/1560)
|
||||||
|
- fix download [`#1563`](https://github.com/oceanprotocol/ocean.js/pull/1563)
|
||||||
|
- add querySearch() function [`8b952c6`](https://github.com/oceanprotocol/ocean.js/commit/8b952c6b05c50f3f29f2e4b44ace443adf07f10e)
|
||||||
|
- add getAssetMetadata() function [`76471f3`](https://github.com/oceanprotocol/ocean.js/commit/76471f367784360725ff05784a0b017be7c947c9)
|
||||||
|
- add setData function to NFT [`fc78894`](https://github.com/oceanprotocol/ocean.js/commit/fc78894753e2f24dd167a8e90401b56b1af938f8)
|
||||||
|
|
||||||
#### [v1.1.6](https://github.com/oceanprotocol/ocean.js/compare/v1.1.5...v1.1.6)
|
#### [v1.1.6](https://github.com/oceanprotocol/ocean.js/compare/v1.1.5...v1.1.6)
|
||||||
|
|
||||||
|
> 11 July 2022
|
||||||
|
|
||||||
- get files checksum using fileInfo helper [`#1555`](https://github.com/oceanprotocol/ocean.js/pull/1555)
|
- get files checksum using fileInfo helper [`#1555`](https://github.com/oceanprotocol/ocean.js/pull/1555)
|
||||||
- review provider URL [`#1554`](https://github.com/oceanprotocol/ocean.js/pull/1554)
|
- review provider URL [`#1554`](https://github.com/oceanprotocol/ocean.js/pull/1554)
|
||||||
- CI updates [`#1503`](https://github.com/oceanprotocol/ocean.js/pull/1503)
|
- CI updates [`#1503`](https://github.com/oceanprotocol/ocean.js/pull/1503)
|
||||||
@ -20,6 +39,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|||||||
- Bump @typescript-eslint/parser from 5.30.0 to 5.30.4 [`#1545`](https://github.com/oceanprotocol/ocean.js/pull/1545)
|
- Bump @typescript-eslint/parser from 5.30.0 to 5.30.4 [`#1545`](https://github.com/oceanprotocol/ocean.js/pull/1545)
|
||||||
- Bump ts-node from 10.8.0 to 10.8.2 [`#1546`](https://github.com/oceanprotocol/ocean.js/pull/1546)
|
- Bump ts-node from 10.8.0 to 10.8.2 [`#1546`](https://github.com/oceanprotocol/ocean.js/pull/1546)
|
||||||
- Bump eslint-plugin-prettier from 4.1.0 to 4.2.1 [`#1541`](https://github.com/oceanprotocol/ocean.js/pull/1541)
|
- Bump eslint-plugin-prettier from 4.1.0 to 4.2.1 [`#1541`](https://github.com/oceanprotocol/ocean.js/pull/1541)
|
||||||
|
- Release 1.1.6 [`bbab53c`](https://github.com/oceanprotocol/ocean.js/commit/bbab53c7bfe81b2c6bcbbcd9b02a1023dc59a5fb)
|
||||||
- add checksum param when fetching fileinfo and checksum aatribute to fileinfo interface [`00f776d`](https://github.com/oceanprotocol/ocean.js/commit/00f776d5404e0f5c8f7eec36460a65e258a69d81)
|
- add checksum param when fetching fileinfo and checksum aatribute to fileinfo interface [`00f776d`](https://github.com/oceanprotocol/ocean.js/commit/00f776d5404e0f5c8f7eec36460a65e258a69d81)
|
||||||
|
|
||||||
#### [v1.1.5](https://github.com/oceanprotocol/ocean.js/compare/v1.1.4...v1.1.5)
|
#### [v1.1.5](https://github.com/oceanprotocol/ocean.js/compare/v1.1.4...v1.1.5)
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@oceanprotocol/lib",
|
"name": "@oceanprotocol/lib",
|
||||||
"version": "1.1.6",
|
"version": "1.1.8",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@oceanprotocol/lib",
|
"name": "@oceanprotocol/lib",
|
||||||
"version": "1.1.6",
|
"version": "1.1.8",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@oceanprotocol/contracts": "^1.0.0",
|
"@oceanprotocol/contracts": "^1.0.0",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@oceanprotocol/lib",
|
"name": "@oceanprotocol/lib",
|
||||||
"source": "./src/index.ts",
|
"source": "./src/index.ts",
|
||||||
"version": "1.1.6",
|
"version": "1.1.8",
|
||||||
"description": "JavaScript client library for Ocean Protocol",
|
"description": "JavaScript client library for Ocean Protocol",
|
||||||
"main": "./dist/lib.js",
|
"main": "./dist/lib.js",
|
||||||
"umd:main": "dist/lib.umd.js",
|
"umd:main": "dist/lib.umd.js",
|
||||||
|
@ -5,24 +5,10 @@ import fetch from 'cross-fetch'
|
|||||||
export interface SearchQuery {
|
export interface SearchQuery {
|
||||||
from?: number
|
from?: number
|
||||||
size?: number
|
size?: number
|
||||||
query: {
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
match?: {
|
query: any
|
||||||
[property: string]:
|
|
||||||
| string
|
|
||||||
| number
|
|
||||||
| boolean
|
|
||||||
| Record<string, string | number | boolean>
|
|
||||||
}
|
|
||||||
// eslint-disable-next-line camelcase
|
|
||||||
query_string?: {
|
|
||||||
[property: string]: string | number | string[] | number[] | boolean
|
|
||||||
}
|
|
||||||
// eslint-disable-next-line camelcase
|
|
||||||
simple_query_string?: {
|
|
||||||
[property: string]: string | number | string[] | number[] | boolean
|
|
||||||
}
|
|
||||||
}
|
|
||||||
sort?: { [jsonPath: string]: string }
|
sort?: { [jsonPath: string]: string }
|
||||||
|
aggs?: any
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Aquarius {
|
export class Aquarius {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user