Skip to content

Commit 3e552f8

Browse files
authored
Merge pull request #724 from nevermined-io/fix/keep-customdata-for-webservice-like-assets
Fix: Preserve customData for webservice-like assets
2 parents 7a8d3ba + 3b100c8 commit 3e552f8

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

CHANGELOG.md

+15-7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [v3.0.41](https://github.com/nevermined-io/sdk-js/compare/v3.0.40...v3.0.41)
8+
9+
> 24 October 2024
10+
11+
- docs: updating documentation [skip actions] [`be2cb29`](https://github.com/nevermined-io/sdk-js/commit/be2cb29d1e0c3256926942b0ca71e833d9c9b749)
12+
- chore: adding v3.0.40 Changelog updates [`b5e55ea`](https://github.com/nevermined-io/sdk-js/commit/b5e55eab9d0ebcc9023ac5ea2d4b30a77616251e)
13+
- chore: bump [`153efdc`](https://github.com/nevermined-io/sdk-js/commit/153efdc5349cc31a33a52486642c272ffde94703)
14+
715
#### [v3.0.40](https://github.com/nevermined-io/sdk-js/compare/v3.0.39...v3.0.40)
816

917
> 10 October 2024
@@ -524,7 +532,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
524532
- fix: wait tx for session keys an use bigint for blocknumbers in all the places [`a6188e7`](https://github.com/nevermined-io/sdk-js/commit/a6188e78eaeecb346ff0b067335c4c7783dfefb0)
525533
- chore: adding v3.0.0 Changelog updates [`bcc2d13`](https://github.com/nevermined-io/sdk-js/commit/bcc2d13c3da67cee187b2bb1b8e2c74ebec40bb4)
526534

527-
#### [v3.0.0](https://github.com/nevermined-io/sdk-js/compare/v3.0.0-rc9...v3.0.0)
535+
### [v3.0.0](https://github.com/nevermined-io/sdk-js/compare/v3.0.0-rc9...v3.0.0)
528536

529537
> 2 May 2024
530538
@@ -1011,7 +1019,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
10111019
- feat: add as an option in the config [`6f610b4`](https://github.com/nevermined-io/sdk-js/commit/6f610b4d6372c0d0843b70083b7018708f5a948d)
10121020
- chore: adding v2.0.0 Changelog updates [`4ddbf3d`](https://github.com/nevermined-io/sdk-js/commit/4ddbf3de548ed94c0a79341961693510151ce9bd)
10131021

1014-
#### [v2.0.0](https://github.com/nevermined-io/sdk-js/compare/v2.0.0-rc9...v2.0.0)
1022+
### [v2.0.0](https://github.com/nevermined-io/sdk-js/compare/v2.0.0-rc9...v2.0.0)
10151023

10161024
> 20 October 2023
10171025
@@ -1607,7 +1615,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
16071615
- ci: testing with https services [`bb96077`](https://github.com/nevermined-io/sdk-js/commit/bb96077c9403ea7ae26195a51d8a92e144cea384)
16081616
- linting [`d2547ed`](https://github.com/nevermined-io/sdk-js/commit/d2547edfbfebb49b488c97c4ce9e6d6f2ee849e4)
16091617

1610-
#### [v1.0.0](https://github.com/nevermined-io/sdk-js/compare/v1.0.0-rc9...v1.0.0)
1618+
### [v1.0.0](https://github.com/nevermined-io/sdk-js/compare/v1.0.0-rc9...v1.0.0)
16111619

16121620
> 14 February 2023
16131621
@@ -2346,7 +2354,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
23462354

23472355
> 2 May 2022
23482356
2349-
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
2357+
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
23502358
- Adding v0.19.21 Changelog updates [`c93cdc5`](https://github.com/nevermined-io/sdk-js/commit/c93cdc55f139a43db4130ccb0f80924d2645a931)
23512359

23522360
#### [v0.19.21](https://github.com/nevermined-io/sdk-js/compare/v0.19.20...v0.19.21)
@@ -2609,7 +2617,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
26092617

26102618
> 18 January 2022
26112619
2612-
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
2620+
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
26132621
- [wip] Create agreement+pay in one transaction [`#183`](https://github.com/nevermined-io/sdk-js/pull/183)
26142622
- Adapting to contracts `v1.3.3` [`#177`](https://github.com/nevermined-io/sdk-js/pull/177)
26152623
- Adding v0.17.2 Changelog updates [`5eddda4`](https://github.com/nevermined-io/sdk-js/commit/5eddda43954e013e6e6f7344c9a877d801aacb5c)
@@ -3115,7 +3123,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
31153123
- Feature/sync develop [`#268`](https://github.com/nevermined-io/sdk-js/pull/268)
31163124
- Quick fix for non-eip1559 networks [`#266`](https://github.com/nevermined-io/sdk-js/pull/266)
31173125
- integrate Permissions and refactor search query [`#264`](https://github.com/nevermined-io/sdk-js/pull/264)
3118-
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
3126+
- add aave service agreement to ddo when creating nft721 asset [`#248`](https://github.com/nevermined-io/sdk-js/pull/248)
31193127
- Get the keeper version from the artifacts instead of package version [`#244`](https://github.com/nevermined-io/sdk-js/pull/244)
31203128
- replace `metadata-api` url by `marketplace-api` and sort type [`#243`](https://github.com/nevermined-io/sdk-js/pull/243)
31213129
- fixing issues with BigNumbers [`#246`](https://github.com/nevermined-io/sdk-js/pull/246)
@@ -3154,7 +3162,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
31543162
- Feature/190 add did to sec markets [`#191`](https://github.com/nevermined-io/sdk-js/pull/191)
31553163
- Adding utility methods for getting nft token uri [`#189`](https://github.com/nevermined-io/sdk-js/pull/189)
31563164
- Lint ... [`#187`](https://github.com/nevermined-io/sdk-js/pull/187)
3157-
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
3165+
- Removing not used parameter [`#186`](https://github.com/nevermined-io/sdk-js/pull/186)
31583166
- [wip] Create agreement+pay in one transaction [`#183`](https://github.com/nevermined-io/sdk-js/pull/183)
31593167
- Adapting to contracts `v1.3.3` [`#177`](https://github.com/nevermined-io/sdk-js/pull/177)
31603168
- Correct typo in route [`#184`](https://github.com/nevermined-io/sdk-js/pull/184)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nevermined-io/sdk",
3-
"version": "3.0.40",
3+
"version": "3.0.41",
44
"description": "Javascript SDK for connecting with Nevermined Data Platform ",
55
"main": "./dist/node/sdk.js",
66
"typings": "./dist/node/sdk.d.ts",

src/nevermined/api/RegistryBaseApi.ts

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ export abstract class RegistryBaseApi extends Instantiable {
172172
assetAttributes.metadata.additionalInformation = {
173173
...assetAttributes.metadata.additionalInformation,
174174
customData: {
175+
...assetAttributes.metadata.additionalInformation?.customData,
175176
openApi: assetAttributes.metadata.main.webService?.openEndpoints[0],
176177
},
177178
}

0 commit comments

Comments
 (0)