@twin.org/node-core 0.0.2-next.5 → 0.0.2-next.6
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/dist/cjs/index.cjs +21 -1
- package/dist/esm/index.mjs +22 -2
- package/docs/changelog.md +8 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1354,6 +1354,26 @@ function configureRightsManagement(coreConfig, envVars) {
|
|
|
1354
1354
|
coreConfig.types.rightsManagementPapComponent.push({
|
|
1355
1355
|
type: engineTypes.RightsManagementPapComponentType.Service
|
|
1356
1356
|
});
|
|
1357
|
+
coreConfig.types.rightsManagementPmpComponent ??= [];
|
|
1358
|
+
coreConfig.types.rightsManagementPmpComponent.push({
|
|
1359
|
+
type: engineTypes.RightsManagementPmpComponentType.Service
|
|
1360
|
+
});
|
|
1361
|
+
coreConfig.types.rightsManagementPipComponent ??= [];
|
|
1362
|
+
coreConfig.types.rightsManagementPipComponent.push({
|
|
1363
|
+
type: engineTypes.RightsManagementPipComponentType.Service
|
|
1364
|
+
});
|
|
1365
|
+
coreConfig.types.rightsManagementPxpComponent ??= [];
|
|
1366
|
+
coreConfig.types.rightsManagementPxpComponent.push({
|
|
1367
|
+
type: engineTypes.RightsManagementPxpComponentType.Service
|
|
1368
|
+
});
|
|
1369
|
+
coreConfig.types.rightsManagementPdpComponent ??= [];
|
|
1370
|
+
coreConfig.types.rightsManagementPdpComponent.push({
|
|
1371
|
+
type: engineTypes.RightsManagementPdpComponentType.Service
|
|
1372
|
+
});
|
|
1373
|
+
coreConfig.types.rightsManagementPepComponent ??= [];
|
|
1374
|
+
coreConfig.types.rightsManagementPepComponent.push({
|
|
1375
|
+
type: engineTypes.RightsManagementPepComponentType.Service
|
|
1376
|
+
});
|
|
1357
1377
|
coreConfig.types.rightsManagementComponent ??= [];
|
|
1358
1378
|
coreConfig.types.rightsManagementComponent.push({
|
|
1359
1379
|
type: engineTypes.RightsManagementComponentType.Service
|
|
@@ -1679,7 +1699,7 @@ async function run(nodeOptions) {
|
|
|
1679
1699
|
nodeOptions ??= {};
|
|
1680
1700
|
const serverInfo = {
|
|
1681
1701
|
name: nodeOptions?.serverName ?? "TWIN Node Server",
|
|
1682
|
-
version: nodeOptions?.serverVersion ?? "0.0.2-next.
|
|
1702
|
+
version: nodeOptions?.serverVersion ?? "0.0.2-next.6" // x-release-please-version
|
|
1683
1703
|
};
|
|
1684
1704
|
console.log(`\u001B[4m🌩️ ${serverInfo.name} v${serverInfo.version}\u001B[24m\n`);
|
|
1685
1705
|
if (!core.Is.stringValue(nodeOptions?.executionDirectory)) {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { PasswordHelper } from '@twin.org/api-auth-entity-storage-service';
|
|
|
2
2
|
import { I18n, Is, Converter, RandomHelper, StringHelper, Coerce, Urn, GeneralError, ErrorHelper, EnvHelper } from '@twin.org/core';
|
|
3
3
|
import { PasswordGenerator, Bip39 } from '@twin.org/crypto';
|
|
4
4
|
import { AuthenticationComponentType, InformationComponentType, RestRouteProcessorType, SocketRouteProcessorType, AuthenticationAdminComponentType } from '@twin.org/engine-server-types';
|
|
5
|
-
import { WalletConnectorType, IdentityConnectorType, EntityStorageConnectorType, BlobStorageConnectorType, BlobStorageComponentType, VaultConnectorType, DltConfigType, LoggingConnectorType, LoggingComponentType, BackgroundTaskConnectorType, EventBusConnectorType, EventBusComponentType, TelemetryConnectorType, TelemetryComponentType, MessagingEmailConnectorType, MessagingSmsConnectorType, MessagingPushNotificationConnectorType, MessagingComponentType, FaucetConnectorType, NftConnectorType, NftComponentType, VerifiableStorageConnectorType, VerifiableStorageComponentType, ImmutableProofComponentType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, IdentityComponentType, IdentityResolverConnectorType, IdentityResolverComponentType, IdentityProfileConnectorType, IdentityProfileComponentType, AttestationConnectorType, AttestationComponentType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType, DocumentManagementComponentType, RightsManagementPapComponentType, RightsManagementComponentType, TaskSchedulerComponentType, SynchronisedStorageComponentType, FederatedCatalogueComponentType } from '@twin.org/engine-types';
|
|
5
|
+
import { WalletConnectorType, IdentityConnectorType, EntityStorageConnectorType, BlobStorageConnectorType, BlobStorageComponentType, VaultConnectorType, DltConfigType, LoggingConnectorType, LoggingComponentType, BackgroundTaskConnectorType, EventBusConnectorType, EventBusComponentType, TelemetryConnectorType, TelemetryComponentType, MessagingEmailConnectorType, MessagingSmsConnectorType, MessagingPushNotificationConnectorType, MessagingComponentType, FaucetConnectorType, NftConnectorType, NftComponentType, VerifiableStorageConnectorType, VerifiableStorageComponentType, ImmutableProofComponentType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, IdentityComponentType, IdentityResolverConnectorType, IdentityResolverComponentType, IdentityProfileConnectorType, IdentityProfileComponentType, AttestationConnectorType, AttestationComponentType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType, DocumentManagementComponentType, RightsManagementPapComponentType, RightsManagementPmpComponentType, RightsManagementPipComponentType, RightsManagementPxpComponentType, RightsManagementPdpComponentType, RightsManagementPepComponentType, RightsManagementComponentType, TaskSchedulerComponentType, SynchronisedStorageComponentType, FederatedCatalogueComponentType } from '@twin.org/engine-types';
|
|
6
6
|
import { EntityStorageConnectorFactory } from '@twin.org/entity-storage-models';
|
|
7
7
|
import { IdentityProfileConnectorFactory, IdentityConnectorFactory, IdentityResolverConnectorFactory, DocumentHelper } from '@twin.org/identity-models';
|
|
8
8
|
import { VaultConnectorFactory, VaultKeyType } from '@twin.org/vault-models';
|
|
@@ -1333,6 +1333,26 @@ function configureRightsManagement(coreConfig, envVars) {
|
|
|
1333
1333
|
coreConfig.types.rightsManagementPapComponent.push({
|
|
1334
1334
|
type: RightsManagementPapComponentType.Service
|
|
1335
1335
|
});
|
|
1336
|
+
coreConfig.types.rightsManagementPmpComponent ??= [];
|
|
1337
|
+
coreConfig.types.rightsManagementPmpComponent.push({
|
|
1338
|
+
type: RightsManagementPmpComponentType.Service
|
|
1339
|
+
});
|
|
1340
|
+
coreConfig.types.rightsManagementPipComponent ??= [];
|
|
1341
|
+
coreConfig.types.rightsManagementPipComponent.push({
|
|
1342
|
+
type: RightsManagementPipComponentType.Service
|
|
1343
|
+
});
|
|
1344
|
+
coreConfig.types.rightsManagementPxpComponent ??= [];
|
|
1345
|
+
coreConfig.types.rightsManagementPxpComponent.push({
|
|
1346
|
+
type: RightsManagementPxpComponentType.Service
|
|
1347
|
+
});
|
|
1348
|
+
coreConfig.types.rightsManagementPdpComponent ??= [];
|
|
1349
|
+
coreConfig.types.rightsManagementPdpComponent.push({
|
|
1350
|
+
type: RightsManagementPdpComponentType.Service
|
|
1351
|
+
});
|
|
1352
|
+
coreConfig.types.rightsManagementPepComponent ??= [];
|
|
1353
|
+
coreConfig.types.rightsManagementPepComponent.push({
|
|
1354
|
+
type: RightsManagementPepComponentType.Service
|
|
1355
|
+
});
|
|
1336
1356
|
coreConfig.types.rightsManagementComponent ??= [];
|
|
1337
1357
|
coreConfig.types.rightsManagementComponent.push({
|
|
1338
1358
|
type: RightsManagementComponentType.Service
|
|
@@ -1658,7 +1678,7 @@ async function run(nodeOptions) {
|
|
|
1658
1678
|
nodeOptions ??= {};
|
|
1659
1679
|
const serverInfo = {
|
|
1660
1680
|
name: nodeOptions?.serverName ?? "TWIN Node Server",
|
|
1661
|
-
version: nodeOptions?.serverVersion ?? "0.0.2-next.
|
|
1681
|
+
version: nodeOptions?.serverVersion ?? "0.0.2-next.6" // x-release-please-version
|
|
1662
1682
|
};
|
|
1663
1683
|
console.log(`\u001B[4m🌩️ ${serverInfo.name} v${serverInfo.version}\u001B[24m\n`);
|
|
1664
1684
|
if (!Is.stringValue(nodeOptions?.executionDirectory)) {
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @twin.org/node-core - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.5...node-core-v0.0.2-next.6) (2025-08-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add rights management ([78fba62](https://github.com/twinfoundation/node/commit/78fba62f82afdbe615d55dd90eca8ee70ea62fc0))
|
|
9
|
+
* remove unused properties ([d8344b5](https://github.com/twinfoundation/node/commit/d8344b5aee5dc1c8104d75fad5093097f6530168))
|
|
10
|
+
|
|
3
11
|
## [0.0.2-next.5](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.4...node-core-v0.0.2-next.5) (2025-08-21)
|
|
4
12
|
|
|
5
13
|
|