@twin.org/node-core 0.0.2-next.24 → 0.0.2-next.25

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.
@@ -1515,7 +1515,7 @@ async function configureRightsManagement(coreConfig, envVars) {
1515
1515
  offers: core.Is.arrayValue(envVars.rightsManagementOffers)
1516
1516
  ? envVars.rightsManagementOffers
1517
1517
  : [],
1518
- negotiationComponentCreator: async (url) => new rightsManagementRestClient.PolicyNegotiationPointClient({ endpoint: url })
1518
+ negotiationComponentCreator: async (url) => new rightsManagementRestClient.PolicyNegotiationPointRestClient({ endpoint: url })
1519
1519
  }
1520
1520
  }
1521
1521
  });
@@ -1532,7 +1532,7 @@ async function configureRightsManagement(coreConfig, envVars) {
1532
1532
  type: engineTypes.RightsManagementDarpComponentType.Service,
1533
1533
  options: {
1534
1534
  config: {
1535
- dataAccessComponentCreator: async (url) => new rightsManagementRestClient.DataAccessPointClient({ endpoint: url })
1535
+ dataAccessComponentCreator: async (url) => new rightsManagementRestClient.DataAccessPointRestClient({ endpoint: url })
1536
1536
  }
1537
1537
  }
1538
1538
  });
@@ -1994,7 +1994,7 @@ async function run(nodeOptions) {
1994
1994
  nodeOptions ??= {};
1995
1995
  const serverInfo = {
1996
1996
  name: nodeOptions?.serverName ?? "TWIN Node Server",
1997
- version: nodeOptions?.serverVersion ?? "0.0.2-next.24" // x-release-please-version
1997
+ version: nodeOptions?.serverVersion ?? "0.0.2-next.25" // x-release-please-version
1998
1998
  };
1999
1999
  cliCore.CLIDisplay.header(serverInfo.name, serverInfo.version, "đŸŒŠī¸ ");
2000
2000
  if (!core.Is.stringValue(nodeOptions?.executionDirectory)) {
@@ -10,7 +10,7 @@ import { WalletConnectorFactory } from '@twin.org/wallet-models';
10
10
  import { readFile, stat, readdir } from 'node:fs/promises';
11
11
  import path from 'node:path';
12
12
  import { CLIDisplay } from '@twin.org/cli-core';
13
- import { PolicyNegotiationPointClient, DataAccessPointClient } from '@twin.org/rights-management-rest-client';
13
+ import { PolicyNegotiationPointRestClient, DataAccessPointRestClient } from '@twin.org/rights-management-rest-client';
14
14
  import { addDefaultRestPaths, addDefaultSocketPaths, EngineServer } from '@twin.org/engine-server';
15
15
  import { ModuleHelper } from '@twin.org/modules';
16
16
  import { execSync } from 'node:child_process';
@@ -1494,7 +1494,7 @@ async function configureRightsManagement(coreConfig, envVars) {
1494
1494
  offers: Is.arrayValue(envVars.rightsManagementOffers)
1495
1495
  ? envVars.rightsManagementOffers
1496
1496
  : [],
1497
- negotiationComponentCreator: async (url) => new PolicyNegotiationPointClient({ endpoint: url })
1497
+ negotiationComponentCreator: async (url) => new PolicyNegotiationPointRestClient({ endpoint: url })
1498
1498
  }
1499
1499
  }
1500
1500
  });
@@ -1511,7 +1511,7 @@ async function configureRightsManagement(coreConfig, envVars) {
1511
1511
  type: RightsManagementDarpComponentType.Service,
1512
1512
  options: {
1513
1513
  config: {
1514
- dataAccessComponentCreator: async (url) => new DataAccessPointClient({ endpoint: url })
1514
+ dataAccessComponentCreator: async (url) => new DataAccessPointRestClient({ endpoint: url })
1515
1515
  }
1516
1516
  }
1517
1517
  });
@@ -1973,7 +1973,7 @@ async function run(nodeOptions) {
1973
1973
  nodeOptions ??= {};
1974
1974
  const serverInfo = {
1975
1975
  name: nodeOptions?.serverName ?? "TWIN Node Server",
1976
- version: nodeOptions?.serverVersion ?? "0.0.2-next.24" // x-release-please-version
1976
+ version: nodeOptions?.serverVersion ?? "0.0.2-next.25" // x-release-please-version
1977
1977
  };
1978
1978
  CLIDisplay.header(serverInfo.name, serverInfo.version, "đŸŒŠī¸ ");
1979
1979
  if (!Is.stringValue(nodeOptions?.executionDirectory)) {
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/node-core - Changelog
2
2
 
3
+ ## [0.0.2-next.25](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.24...node-core-v0.0.2-next.25) (2025-10-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * add validate-locales ([1a19dcb](https://github.com/twinfoundation/node/commit/1a19dcb005c2f0e3103e290db28c48a3464094cb))
9
+
3
10
  ## [0.0.2-next.24](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.23...node-core-v0.0.2-next.24) (2025-10-08)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node-core",
3
- "version": "0.0.2-next.24",
3
+ "version": "0.0.2-next.25",
4
4
  "description": "TWIN Node Core for serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "@twin.org/standards-w3c-odrl": "next",
34
34
  "@twin.org/vault-models": "next",
35
35
  "@twin.org/wallet-models": "next",
36
- "dotenv": "17.2.2",
36
+ "dotenv": "17.2.3",
37
37
  "schema-dts": "1.1.5"
38
38
  },
39
39
  "main": "./dist/cjs/index.cjs",
@@ -64,5 +64,9 @@
64
64
  "core",
65
65
  "foundation",
66
66
  "utilities"
67
- ]
67
+ ],
68
+ "bugs": {
69
+ "url": "git+https://github.com/twinfoundation/node/issues"
70
+ },
71
+ "homepage": "https://twindev.org"
68
72
  }