@twin.org/node 0.0.3-next.39 → 0.0.3-next.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/changelog.md +14 -0
- package/docs/open-api/spec.json +105 -53
- package/package.json +2 -2
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.40](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.39...node-v0.0.3-next.40) (2026-05-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **node:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/node-core bumped from 0.0.3-next.39 to 0.0.3-next.40
|
|
16
|
+
|
|
3
17
|
## [0.0.3-next.39](https://github.com/iotaledger/twin-node/compare/node-v0.0.3-next.38...node-v0.0.3-next.39) (2026-05-21)
|
|
4
18
|
|
|
5
19
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -7996,7 +7996,7 @@
|
|
|
7996
7996
|
"notarizationCreateExample": {
|
|
7997
7997
|
"value": {
|
|
7998
7998
|
"mode": "dynamic",
|
|
7999
|
-
"data":
|
|
7999
|
+
"data": "aGVsbG8gd29ybGQ=",
|
|
8000
8000
|
"description": "My first notarization"
|
|
8001
8001
|
}
|
|
8002
8002
|
}
|
|
@@ -8107,7 +8107,7 @@
|
|
|
8107
8107
|
"content": {
|
|
8108
8108
|
"application/json": {
|
|
8109
8109
|
"schema": {
|
|
8110
|
-
"$ref": "#/components/schemas/
|
|
8110
|
+
"$ref": "#/components/schemas/NotarizationGetResponse"
|
|
8111
8111
|
},
|
|
8112
8112
|
"examples": {
|
|
8113
8113
|
"notarizationGetResponseExample": {
|
|
@@ -8115,7 +8115,7 @@
|
|
|
8115
8115
|
"id": "123",
|
|
8116
8116
|
"mode": "dynamic",
|
|
8117
8117
|
"dateCreated": "2026-01-01T00:00:00.000Z",
|
|
8118
|
-
"data":
|
|
8118
|
+
"data": "aGVsbG8gd29ybGQ=",
|
|
8119
8119
|
"description": "A notarization"
|
|
8120
8120
|
}
|
|
8121
8121
|
}
|
|
@@ -8299,7 +8299,7 @@
|
|
|
8299
8299
|
"content": {
|
|
8300
8300
|
"application/json": {
|
|
8301
8301
|
"schema": {
|
|
8302
|
-
"$ref": "#/components/schemas/
|
|
8302
|
+
"$ref": "#/components/schemas/NotarizationUpdateRequest"
|
|
8303
8303
|
},
|
|
8304
8304
|
"examples": {
|
|
8305
8305
|
"notarizationUpdateExample": {
|
|
@@ -8307,7 +8307,7 @@
|
|
|
8307
8307
|
"id": "123",
|
|
8308
8308
|
"mode": "dynamic",
|
|
8309
8309
|
"dateCreated": "2026-01-01T00:00:00.000Z",
|
|
8310
|
-
"data":
|
|
8310
|
+
"data": "aGVsbG8gd29ybGQ=",
|
|
8311
8311
|
"description": "Updated notarization"
|
|
8312
8312
|
}
|
|
8313
8313
|
}
|
|
@@ -8643,7 +8643,6 @@
|
|
|
8643
8643
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
8644
8644
|
"dateCreated": "2024-06-18T13:34:51Z",
|
|
8645
8645
|
"ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8646
|
-
"holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8647
8646
|
"attestationObject": {
|
|
8648
8647
|
"@context": "https://schema.org",
|
|
8649
8648
|
"type": "DigitalDocument",
|
|
@@ -8669,7 +8668,6 @@
|
|
|
8669
8668
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
8670
8669
|
"dateCreated": "2024-06-18T13:34:51Z",
|
|
8671
8670
|
"ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8672
|
-
"holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8673
8671
|
"attestationObject": {
|
|
8674
8672
|
"@context": "https://schema.org",
|
|
8675
8673
|
"type": "DigitalDocument",
|
|
@@ -8703,7 +8701,6 @@
|
|
|
8703
8701
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
8704
8702
|
"dateCreated": "2024-06-18T13:34:51Z",
|
|
8705
8703
|
"ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8706
|
-
"holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8707
8704
|
"attestationObject": {
|
|
8708
8705
|
"@context": "https://schema.org",
|
|
8709
8706
|
"type": "DigitalDocument",
|
|
@@ -8729,7 +8726,6 @@
|
|
|
8729
8726
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
8730
8727
|
"dateCreated": "2024-06-18T13:34:51Z",
|
|
8731
8728
|
"ownerIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8732
|
-
"holderIdentity": "did:iota:tst:0x8992c426116f21b2a4c7a2854300748d3e94a8ce089d5be62e11f105bd2a0f9e",
|
|
8733
8729
|
"attestationObject": {
|
|
8734
8730
|
"@context": "https://schema.org",
|
|
8735
8731
|
"type": "DigitalDocument",
|
|
@@ -8914,7 +8910,6 @@
|
|
|
8914
8910
|
"examples": {
|
|
8915
8911
|
"attestationTransferRequestExample": {
|
|
8916
8912
|
"value": {
|
|
8917
|
-
"holderIdentity": "did:iota:tst:0x06ae1034f9f4af1b408a0b54e877bb476259666a14f221400d3746aecefa7105",
|
|
8918
8913
|
"holderAddress": "tst1prctjk5ck0dutnsunnje6u90jk5htx03qznjjmkd6843pzltlgz87srjzzv"
|
|
8919
8914
|
}
|
|
8920
8915
|
}
|
|
@@ -12253,7 +12248,7 @@
|
|
|
12253
12248
|
}
|
|
12254
12249
|
}
|
|
12255
12250
|
},
|
|
12256
|
-
"/aig/{id}/versions/{
|
|
12251
|
+
"/aig/{id}/versions/{version}": {
|
|
12257
12252
|
"get": {
|
|
12258
12253
|
"operationId": "auditableItemGraphVersionGet",
|
|
12259
12254
|
"summary": "Get a graph vertex at a specific version",
|
|
@@ -12273,15 +12268,15 @@
|
|
|
12273
12268
|
"example": "aig:1234567890"
|
|
12274
12269
|
},
|
|
12275
12270
|
{
|
|
12276
|
-
"name": "
|
|
12277
|
-
"description": "The
|
|
12271
|
+
"name": "version",
|
|
12272
|
+
"description": "The version number to get.",
|
|
12278
12273
|
"in": "path",
|
|
12279
12274
|
"required": true,
|
|
12280
12275
|
"schema": {
|
|
12281
12276
|
"type": "string"
|
|
12282
12277
|
},
|
|
12283
12278
|
"style": "simple",
|
|
12284
|
-
"example": "
|
|
12279
|
+
"example": "1"
|
|
12285
12280
|
},
|
|
12286
12281
|
{
|
|
12287
12282
|
"name": "accept",
|
|
@@ -12459,9 +12454,18 @@
|
|
|
12459
12454
|
"AuditableItemGraphVertexVersionList"
|
|
12460
12455
|
],
|
|
12461
12456
|
"itemListElement": [
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12457
|
+
{
|
|
12458
|
+
"version": 0,
|
|
12459
|
+
"dateCreated": "2024-08-22T11:55:16.271Z"
|
|
12460
|
+
},
|
|
12461
|
+
{
|
|
12462
|
+
"version": 1,
|
|
12463
|
+
"dateCreated": "2024-08-22T11:56:00.000Z"
|
|
12464
|
+
},
|
|
12465
|
+
{
|
|
12466
|
+
"version": 2,
|
|
12467
|
+
"dateCreated": "2024-08-22T11:57:00.000Z"
|
|
12468
|
+
}
|
|
12465
12469
|
]
|
|
12466
12470
|
}
|
|
12467
12471
|
}
|
|
@@ -20490,17 +20494,12 @@
|
|
|
20490
20494
|
"AttestationTransferRequest": {
|
|
20491
20495
|
"type": "object",
|
|
20492
20496
|
"properties": {
|
|
20493
|
-
"holderIdentity": {
|
|
20494
|
-
"type": "string",
|
|
20495
|
-
"description": "The new holder identity."
|
|
20496
|
-
},
|
|
20497
20497
|
"holderAddress": {
|
|
20498
20498
|
"type": "string",
|
|
20499
20499
|
"description": "The new holder address."
|
|
20500
20500
|
}
|
|
20501
20501
|
},
|
|
20502
20502
|
"required": [
|
|
20503
|
-
"holderIdentity",
|
|
20504
20503
|
"holderAddress"
|
|
20505
20504
|
],
|
|
20506
20505
|
"description": "The parameters to be used in the transfer."
|
|
@@ -22151,32 +22150,16 @@
|
|
|
22151
22150
|
],
|
|
22152
22151
|
"description": "The body which contains the error."
|
|
22153
22152
|
},
|
|
22154
|
-
"
|
|
22155
|
-
"description": "Interface describing a notarization.",
|
|
22153
|
+
"NotarizationCreateRequest": {
|
|
22156
22154
|
"type": "object",
|
|
22157
22155
|
"properties": {
|
|
22158
|
-
"id": {
|
|
22159
|
-
"type": "string",
|
|
22160
|
-
"description": "The unique identifier of the notarization."
|
|
22161
|
-
},
|
|
22162
22156
|
"mode": {
|
|
22163
22157
|
"$ref": "#/components/schemas/NotarizationMode"
|
|
22164
22158
|
},
|
|
22165
|
-
"dateCreated": {
|
|
22166
|
-
"type": "string",
|
|
22167
|
-
"description": "The date and time when the notarization was created, in ISO 8601 format."
|
|
22168
|
-
},
|
|
22169
22159
|
"dateModified": {
|
|
22170
22160
|
"type": "string",
|
|
22171
22161
|
"description": "The date and time when the notarization was last modified, in ISO 8601 format."
|
|
22172
22162
|
},
|
|
22173
|
-
"data": {
|
|
22174
|
-
"type": "array",
|
|
22175
|
-
"items": {
|
|
22176
|
-
"type": "number"
|
|
22177
|
-
},
|
|
22178
|
-
"description": "The notarization data as a byte array."
|
|
22179
|
-
},
|
|
22180
22163
|
"immutableDescription": {
|
|
22181
22164
|
"type": "string",
|
|
22182
22165
|
"description": "An optional description of the notarization that cannot be changed after creation."
|
|
@@ -22196,32 +22179,40 @@
|
|
|
22196
22179
|
"transferLockDateTime": {
|
|
22197
22180
|
"type": "string",
|
|
22198
22181
|
"description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
|
|
22182
|
+
},
|
|
22183
|
+
"data": {
|
|
22184
|
+
"type": "string",
|
|
22185
|
+
"description": "The notarization data as a base64 encoded string."
|
|
22186
|
+
},
|
|
22187
|
+
"namespace": {
|
|
22188
|
+
"type": "string",
|
|
22189
|
+
"description": "The namespace of the connector to use for the notarization, defaults to component configured namespace."
|
|
22199
22190
|
}
|
|
22200
22191
|
},
|
|
22201
22192
|
"required": [
|
|
22202
|
-
"id",
|
|
22203
22193
|
"mode",
|
|
22204
|
-
"dateCreated",
|
|
22205
22194
|
"data"
|
|
22206
|
-
]
|
|
22195
|
+
],
|
|
22196
|
+
"description": "The request data."
|
|
22207
22197
|
},
|
|
22208
|
-
"
|
|
22198
|
+
"NotarizationGetResponse": {
|
|
22209
22199
|
"type": "object",
|
|
22210
22200
|
"properties": {
|
|
22201
|
+
"id": {
|
|
22202
|
+
"type": "string",
|
|
22203
|
+
"description": "The unique identifier of the notarization."
|
|
22204
|
+
},
|
|
22211
22205
|
"mode": {
|
|
22212
22206
|
"$ref": "#/components/schemas/NotarizationMode"
|
|
22213
22207
|
},
|
|
22208
|
+
"dateCreated": {
|
|
22209
|
+
"type": "string",
|
|
22210
|
+
"description": "The date and time when the notarization was created, in ISO 8601 format."
|
|
22211
|
+
},
|
|
22214
22212
|
"dateModified": {
|
|
22215
22213
|
"type": "string",
|
|
22216
22214
|
"description": "The date and time when the notarization was last modified, in ISO 8601 format."
|
|
22217
22215
|
},
|
|
22218
|
-
"data": {
|
|
22219
|
-
"type": "array",
|
|
22220
|
-
"items": {
|
|
22221
|
-
"type": "number"
|
|
22222
|
-
},
|
|
22223
|
-
"description": "The notarization data as a byte array."
|
|
22224
|
-
},
|
|
22225
22216
|
"immutableDescription": {
|
|
22226
22217
|
"type": "string",
|
|
22227
22218
|
"description": "An optional description of the notarization that cannot be changed after creation."
|
|
@@ -22242,16 +22233,18 @@
|
|
|
22242
22233
|
"type": "string",
|
|
22243
22234
|
"description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
|
|
22244
22235
|
},
|
|
22245
|
-
"
|
|
22236
|
+
"data": {
|
|
22246
22237
|
"type": "string",
|
|
22247
|
-
"description": "The
|
|
22238
|
+
"description": "The notarization data as a base64 encoded string."
|
|
22248
22239
|
}
|
|
22249
22240
|
},
|
|
22250
22241
|
"required": [
|
|
22242
|
+
"id",
|
|
22251
22243
|
"mode",
|
|
22244
|
+
"dateCreated",
|
|
22252
22245
|
"data"
|
|
22253
22246
|
],
|
|
22254
|
-
"description": "The
|
|
22247
|
+
"description": "The response body."
|
|
22255
22248
|
},
|
|
22256
22249
|
"NotarizationMode": {
|
|
22257
22250
|
"description": "Supported notarization mode values.",
|
|
@@ -22279,6 +22272,57 @@
|
|
|
22279
22272
|
],
|
|
22280
22273
|
"description": "The request data."
|
|
22281
22274
|
},
|
|
22275
|
+
"NotarizationUpdateRequest": {
|
|
22276
|
+
"type": "object",
|
|
22277
|
+
"properties": {
|
|
22278
|
+
"id": {
|
|
22279
|
+
"type": "string",
|
|
22280
|
+
"description": "The unique identifier of the notarization."
|
|
22281
|
+
},
|
|
22282
|
+
"mode": {
|
|
22283
|
+
"$ref": "#/components/schemas/NotarizationMode"
|
|
22284
|
+
},
|
|
22285
|
+
"dateCreated": {
|
|
22286
|
+
"type": "string",
|
|
22287
|
+
"description": "The date and time when the notarization was created, in ISO 8601 format."
|
|
22288
|
+
},
|
|
22289
|
+
"dateModified": {
|
|
22290
|
+
"type": "string",
|
|
22291
|
+
"description": "The date and time when the notarization was last modified, in ISO 8601 format."
|
|
22292
|
+
},
|
|
22293
|
+
"immutableDescription": {
|
|
22294
|
+
"type": "string",
|
|
22295
|
+
"description": "An optional description of the notarization that cannot be changed after creation."
|
|
22296
|
+
},
|
|
22297
|
+
"description": {
|
|
22298
|
+
"type": "string",
|
|
22299
|
+
"description": "An optional description of the notarization that can be modified until the notarization is locked."
|
|
22300
|
+
},
|
|
22301
|
+
"deleteLockDateTime": {
|
|
22302
|
+
"type": "string",
|
|
22303
|
+
"description": "An optional lock date, in ISO 8601 format, that prevents deletion until the date is reached.\nUsed only in Locked Notarization, it prevents the object from being deleted until the lock expires."
|
|
22304
|
+
},
|
|
22305
|
+
"transferLockUntilDestroyed": {
|
|
22306
|
+
"type": "boolean",
|
|
22307
|
+
"description": "An optional flag indicating transfer lock is active until the notarization is destroyed.\nUsed only in Dynamic Notarization."
|
|
22308
|
+
},
|
|
22309
|
+
"transferLockDateTime": {
|
|
22310
|
+
"type": "string",
|
|
22311
|
+
"description": "An optional transfer lock date-time, in ISO 8601 format.\nUsed only in Dynamic Notarization."
|
|
22312
|
+
},
|
|
22313
|
+
"data": {
|
|
22314
|
+
"type": "string",
|
|
22315
|
+
"description": "The notarization data as a base64 encoded string."
|
|
22316
|
+
}
|
|
22317
|
+
},
|
|
22318
|
+
"required": [
|
|
22319
|
+
"id",
|
|
22320
|
+
"mode",
|
|
22321
|
+
"dateCreated",
|
|
22322
|
+
"data"
|
|
22323
|
+
],
|
|
22324
|
+
"description": "The request data."
|
|
22325
|
+
},
|
|
22282
22326
|
"PapCreateRequest": {
|
|
22283
22327
|
"description": "The body of the request - the policy to create (id will be auto-generated if not provided).",
|
|
22284
22328
|
"type": "object",
|
|
@@ -23332,6 +23376,14 @@
|
|
|
23332
23376
|
"type": "string",
|
|
23333
23377
|
"description": "The identity associated with the payload."
|
|
23334
23378
|
},
|
|
23379
|
+
"tenantId": {
|
|
23380
|
+
"type": "string",
|
|
23381
|
+
"description": "The tenant that issued the payload, if multi-tenancy was active at generation time."
|
|
23382
|
+
},
|
|
23383
|
+
"organizationId": {
|
|
23384
|
+
"type": "string",
|
|
23385
|
+
"description": "The organisation that issued the payload, if an authenticated user context was available at generation time."
|
|
23386
|
+
},
|
|
23335
23387
|
"data": {
|
|
23336
23388
|
"type": "object",
|
|
23337
23389
|
"additionalProperties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/node",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.40",
|
|
4
4
|
"description": "TWIN Node serving APIs using the specified configuration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/node-core": "0.0.3-next.
|
|
17
|
+
"@twin.org/node-core": "0.0.3-next.40"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "git+https://github.com/iotaledger/node/issues"
|