From f7ad59bf5fed7c33f66d80ce10036854baf3647a Mon Sep 17 00:00:00 2001 From: "Miquel A. Cabot" Date: Tue, 2 Aug 2022 17:07:39 +0200 Subject: [PATCH 1/3] Release 1.1.7 --- CHANGELOG.md | 13 +++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6a44818..0e47079d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,20 @@ 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). +#### [v1.1.7](https://github.com/oceanprotocol/ocean.js/compare/v1.1.6...v1.1.7) + +- 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) +> 11 July 2022 + - 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) - CI updates [`#1503`](https://github.com/oceanprotocol/ocean.js/pull/1503) @@ -20,6 +32,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 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) +- 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) #### [v1.1.5](https://github.com/oceanprotocol/ocean.js/compare/v1.1.4...v1.1.5) diff --git a/package-lock.json b/package-lock.json index 2ccdcc64..6b4f0cec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@oceanprotocol/lib", - "version": "1.1.6", + "version": "1.1.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@oceanprotocol/lib", - "version": "1.1.6", + "version": "1.1.7", "license": "Apache-2.0", "dependencies": { "@oceanprotocol/contracts": "^1.0.0", diff --git a/package.json b/package.json index 4c6178ed..f740d6b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oceanprotocol/lib", "source": "./src/index.ts", - "version": "1.1.6", + "version": "1.1.7", "description": "JavaScript client library for Ocean Protocol", "main": "./dist/lib.js", "umd:main": "dist/lib.umd.js", From 02b805a45ddbc77a0d4675a06e73b31d0494d55f Mon Sep 17 00:00:00 2001 From: "Miquel A. Cabot" Date: Wed, 3 Aug 2022 11:37:13 +0200 Subject: [PATCH 2/3] let do any query in Aquarius --- src/aquarius/Aquarius.ts | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/aquarius/Aquarius.ts b/src/aquarius/Aquarius.ts index c2cf0f71..512b5ed9 100644 --- a/src/aquarius/Aquarius.ts +++ b/src/aquarius/Aquarius.ts @@ -5,24 +5,10 @@ import fetch from 'cross-fetch' export interface SearchQuery { from?: number size?: number - query: { - match?: { - [property: string]: - | string - | number - | boolean - | Record - } - // 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 - } - } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + query: any sort?: { [jsonPath: string]: string } + aggs?: any } export class Aquarius { From 0f0030daf34cc0a4c24647b0f93570312e4eac97 Mon Sep 17 00:00:00 2001 From: "Miquel A. Cabot" Date: Tue, 9 Aug 2022 10:07:13 +0200 Subject: [PATCH 3/3] Release 1.1.8 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e47079d..d9a9d7d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,15 @@ 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). +#### [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) diff --git a/package-lock.json b/package-lock.json index 6b4f0cec..0bdc1e14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@oceanprotocol/lib", - "version": "1.1.7", + "version": "1.1.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@oceanprotocol/lib", - "version": "1.1.7", + "version": "1.1.8", "license": "Apache-2.0", "dependencies": { "@oceanprotocol/contracts": "^1.0.0", diff --git a/package.json b/package.json index f740d6b5..64d66d39 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oceanprotocol/lib", "source": "./src/index.ts", - "version": "1.1.7", + "version": "1.1.8", "description": "JavaScript client library for Ocean Protocol", "main": "./dist/lib.js", "umd:main": "dist/lib.umd.js",