From ac1788680d2d1350dd8dbb24678c08d39419aeac Mon Sep 17 00:00:00 2001 From: Aleksandar Stojanovic Date: Tue, 18 Apr 2023 15:16:30 +0200 Subject: [PATCH 1/2] Use new callout url format. (#200) * Use new callout url format. * Change version. * Update service dependency. * Update lib version. * Update deps. --- lib/package-lock.json | 4 ++-- lib/package.json | 2 +- .../alkemio-url-generator/alkemio.url.generator.ts | 6 +++--- service/package-lock.json | 14 +++++++------- service/package.json | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/package-lock.json b/lib/package-lock.json index aca66f2d..699c3acc 100644 --- a/lib/package-lock.json +++ b/lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@alkemio/notifications-lib", - "version": "0.2.8", + "version": "0.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@alkemio/notifications-lib", - "version": "0.2.8", + "version": "0.3.1", "license": "EUPL-1.2", "devDependencies": { "@types/node": "^16.4.6", diff --git a/lib/package.json b/lib/package.json index 49db39bd..876ed415 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,6 +1,6 @@ { "name": "@alkemio/notifications-lib", - "version": "0.2.8", + "version": "0.3.1", "description": "Library for interacting with Alkemio notifications service", "author": "Alkemio Foundation", "private": false, diff --git a/lib/src/common/alkemio-url-generator/alkemio.url.generator.ts b/lib/src/common/alkemio-url-generator/alkemio.url.generator.ts index 333a6d1b..5ca54e22 100644 --- a/lib/src/common/alkemio-url-generator/alkemio.url.generator.ts +++ b/lib/src/common/alkemio-url-generator/alkemio.url.generator.ts @@ -46,7 +46,7 @@ export const createCalloutURL = ( journeyURL: string, calloutNameID: string ): string => { - return `${journeyURL}/contribute/callouts/${calloutNameID}`; + return `${journeyURL}/collaboration/${calloutNameID}`; }; export const createCardURL = ( @@ -54,7 +54,7 @@ export const createCardURL = ( calloutNameID: string, cardNameID: string ): string => { - return `${journeyURL}/contribute/callouts/${calloutNameID}/aspects/${cardNameID}`; + return `${journeyURL}/collaboration/${calloutNameID}/aspects/${cardNameID}`; }; export const createCanvasURL = ( @@ -62,7 +62,7 @@ export const createCanvasURL = ( calloutNameID: string, canvasNameID: string ): string => { - return `${journeyURL}/contribute/callouts/${calloutNameID}/canvases/${canvasNameID}`; + return `${journeyURL}/collaboration/${calloutNameID}/canvases/${canvasNameID}`; }; export const createOrganizationURL = ( diff --git a/service/package-lock.json b/service/package-lock.json index e60e31c5..8b0ce45e 100644 --- a/service/package-lock.json +++ b/service/package-lock.json @@ -10,7 +10,7 @@ "license": "EUPL-1.2", "dependencies": { "@alkemio/client-lib": "^0.18.1", - "@alkemio/notifications-lib": "^0.2.8", + "@alkemio/notifications-lib": "^0.3.1", "@nestjs/common": "^8.0.5", "@nestjs/config": "^1.0.1", "@nestjs/core": "^8.0.5", @@ -185,9 +185,9 @@ } }, "node_modules/@alkemio/notifications-lib": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@alkemio/notifications-lib/-/notifications-lib-0.2.8.tgz", - "integrity": "sha512-sx5+BLnU/Z625ssWaXUHOxbXsMrYDzVplrOg4fs+r2nOJJWwLiUxEBjvjJwwyFSu+EvX2FMPpON2D3MLncd/Tw==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@alkemio/notifications-lib/-/notifications-lib-0.3.1.tgz", + "integrity": "sha512-3XPtzDJ8WaCpS8Ip4ZKtXRhSWpakRK613Q/awQNIA7kMwSiILNRIM0UWyAnRSC4CqOObJlVbV9O5NtWcdG+YKA==", "engines": { "node": ">=16.15.0", "npm": ">=8.5.5" @@ -14670,9 +14670,9 @@ } }, "@alkemio/notifications-lib": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@alkemio/notifications-lib/-/notifications-lib-0.2.8.tgz", - "integrity": "sha512-sx5+BLnU/Z625ssWaXUHOxbXsMrYDzVplrOg4fs+r2nOJJWwLiUxEBjvjJwwyFSu+EvX2FMPpON2D3MLncd/Tw==" + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@alkemio/notifications-lib/-/notifications-lib-0.3.1.tgz", + "integrity": "sha512-3XPtzDJ8WaCpS8Ip4ZKtXRhSWpakRK613Q/awQNIA7kMwSiILNRIM0UWyAnRSC4CqOObJlVbV9O5NtWcdG+YKA==" }, "@angular-devkit/core": { "version": "13.3.6", diff --git a/service/package.json b/service/package.json index 88094b54..e6935e06 100644 --- a/service/package.json +++ b/service/package.json @@ -36,7 +36,7 @@ }, "dependencies": { "@alkemio/client-lib": "^0.18.1", - "@alkemio/notifications-lib": "^0.2.8", + "@alkemio/notifications-lib": "^0.3.1", "@nestjs/common": "^8.0.5", "@nestjs/config": "^1.0.1", "@nestjs/core": "^8.0.5", From f4c98f8b6da115cb929ba1e3988aaa01c7eb04fc Mon Sep 17 00:00:00 2001 From: Valentin Yanakiev Date: Thu, 20 Apr 2023 10:59:17 +0300 Subject: [PATCH 2/2] Major version bump (#201) --- service/package-lock.json | 4 ++-- service/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/service/package-lock.json b/service/package-lock.json index 8b0ce45e..ef3e35b3 100644 --- a/service/package-lock.json +++ b/service/package-lock.json @@ -1,12 +1,12 @@ { "name": "alkemio-notifications", - "version": "0.7.0", + "version": "0.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "alkemio-notifications", - "version": "0.7.0", + "version": "0.8.0", "license": "EUPL-1.2", "dependencies": { "@alkemio/client-lib": "^0.18.1", diff --git a/service/package.json b/service/package.json index e6935e06..7c1b77cc 100644 --- a/service/package.json +++ b/service/package.json @@ -1,6 +1,6 @@ { "name": "alkemio-notifications", - "version": "0.7.0", + "version": "0.8.0", "description": "Alkemio notifications service", "author": "Alkemio Foundation", "private": false,