Release 2.0.0

This commit is contained in:
mihaisc 2022-06-29 14:55:25 +03:00
parent a5d0c10855
commit d864a5ade7
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29
4 changed files with 7 additions and 3 deletions

View File

@ -4,8 +4,12 @@ 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).
#### [v2.0.0](https://github.com/oceanprotocol/ocean-subgraph/compare/v1.2.1...v2.0.0)
#### [v1.2.1](https://github.com/oceanprotocol/ocean-subgraph/compare/v1.2.0...v1.2.1) #### [v1.2.1](https://github.com/oceanprotocol/ocean-subgraph/compare/v1.2.0...v1.2.1)
> 29 June 2022
- changing the type of lastPriceToken from string to Token on Order [`#462`](https://github.com/oceanprotocol/ocean-subgraph/pull/462) - changing the type of lastPriceToken from string to Token on Order [`#462`](https://github.com/oceanprotocol/ocean-subgraph/pull/462)
- Bump @oceanprotocol/lib from 1.1.2 to 1.1.3 [`#470`](https://github.com/oceanprotocol/ocean-subgraph/pull/470) - Bump @oceanprotocol/lib from 1.1.2 to 1.1.3 [`#470`](https://github.com/oceanprotocol/ocean-subgraph/pull/470)
- Bump release-it from 15.0.0 to 15.1.0 [`#469`](https://github.com/oceanprotocol/ocean-subgraph/pull/469) - Bump release-it from 15.0.0 to 15.1.0 [`#469`](https://github.com/oceanprotocol/ocean-subgraph/pull/469)

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "ocean-subgraph", "name": "ocean-subgraph",
"version": "1.2.1", "version": "2.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -1,6 +1,6 @@
{ {
"name": "ocean-subgraph", "name": "ocean-subgraph",
"version": "1.2.1", "version": "2.0.0",
"scripts": { "scripts": {
"start": "", "start": "",
"quickstart:development": "node ./scripts/generatenetworkssubgraphs.js development && npm run codegen && npm run create:local && npm run deploy:local", "quickstart:development": "node ./scripts/generatenetworkssubgraphs.js development && npm run codegen && npm run create:local && npm run deploy:local",

View File

@ -14,7 +14,7 @@ export function getGlobalStats(): GlobalStatistic {
let globalStats = GlobalStatistic.load(GLOBAL_ID) let globalStats = GlobalStatistic.load(GLOBAL_ID)
if (!globalStats) { if (!globalStats) {
globalStats = new GlobalStatistic(GLOBAL_ID) globalStats = new GlobalStatistic(GLOBAL_ID)
globalStats.version = '1.2.1' globalStats.version = '2.0.0'
globalStats.save() globalStats.save()
} }
return globalStats return globalStats