@twin.org/node-core 0.9.1-next.1 → 0.9.1-next.10
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/es/builders/engineEnvBuilder.js +24 -3
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/cli.js +41 -12
- package/dist/es/cli.js.map +1 -1
- package/dist/es/commands/bootstrapLegacy.js +1 -1
- package/dist/es/commands/bootstrapLegacy.js.map +1 -1
- package/dist/es/commands/help.js +10 -1
- package/dist/es/commands/help.js.map +1 -1
- package/dist/es/commands/identityCreate.js +3 -3
- package/dist/es/commands/identityCreate.js.map +1 -1
- package/dist/es/commands/identityList.js +65 -0
- package/dist/es/commands/identityList.js.map +1 -0
- package/dist/es/commands/identityResolve.js +83 -0
- package/dist/es/commands/identityResolve.js.map +1 -0
- package/dist/es/commands/nodeIdentityGet.js +68 -0
- package/dist/es/commands/nodeIdentityGet.js.map +1 -0
- package/dist/es/commands/{nodeSetIdentity.js → nodeIdentitySet.js} +16 -15
- package/dist/es/commands/nodeIdentitySet.js.map +1 -0
- package/dist/es/commands/nodeOrgIdGet.js +55 -0
- package/dist/es/commands/nodeOrgIdGet.js.map +1 -0
- package/dist/es/commands/{setNodeOrgId.js → nodeOrgIdSet.js} +15 -13
- package/dist/es/commands/nodeOrgIdSet.js.map +1 -0
- package/dist/es/commands/orgUsersList.js +94 -0
- package/dist/es/commands/orgUsersList.js.map +1 -0
- package/dist/es/commands/tenantGet.js +68 -0
- package/dist/es/commands/tenantGet.js.map +1 -0
- package/dist/es/commands/tenantList.js +69 -0
- package/dist/es/commands/tenantList.js.map +1 -0
- package/dist/es/commands/tenantListByOrg.js +80 -0
- package/dist/es/commands/tenantListByOrg.js.map +1 -0
- package/dist/es/commands/{setTenantOrgId.js → tenantOrgIdSet.js} +16 -15
- package/dist/es/commands/tenantOrgIdSet.js.map +1 -0
- package/dist/es/commands/userGet.js +77 -0
- package/dist/es/commands/userGet.js.map +1 -0
- package/dist/es/models/ICliCommandDefinition.js.map +1 -1
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/engineEnvironmentVariableKeys.js +8 -0
- package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
- package/dist/es/node.js +4 -35
- package/dist/es/node.js.map +1 -1
- package/dist/types/commands/identityList.d.ts +17 -0
- package/dist/types/commands/identityResolve.d.ts +24 -0
- package/dist/types/commands/nodeIdentityGet.d.ts +20 -0
- package/dist/types/commands/{nodeSetIdentity.d.ts → nodeIdentitySet.d.ts} +2 -2
- package/dist/types/commands/nodeOrgIdGet.d.ts +19 -0
- package/dist/types/commands/{setNodeOrgId.d.ts → nodeOrgIdSet.d.ts} +2 -2
- package/dist/types/commands/orgUsersList.d.ts +27 -0
- package/dist/types/commands/tenantGet.d.ts +22 -0
- package/dist/types/commands/tenantList.d.ts +22 -0
- package/dist/types/commands/tenantListByOrg.d.ts +22 -0
- package/dist/types/commands/{setTenantOrgId.d.ts → tenantOrgIdSet.d.ts} +2 -2
- package/dist/types/commands/userGet.d.ts +24 -0
- package/dist/types/models/ICliCommandDefinition.d.ts +8 -0
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +45 -5
- package/docs/changelog.md +65 -0
- package/docs/reference/interfaces/ICliCommandDefinition.md +16 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +77 -5
- package/locales/en.json +229 -14
- package/package.json +2 -3
- package/dist/es/commands/nodeSetIdentity.js.map +0 -1
- package/dist/es/commands/setNodeOrgId.js.map +0 -1
- package/dist/es/commands/setTenantOrgId.js.map +0 -1
|
@@ -7,7 +7,7 @@ import type { INodeEngineState } from "../models/INodeEngineState.js";
|
|
|
7
7
|
* Get the command definition parameters.
|
|
8
8
|
* @param commandDefinitions The registered command definitions.
|
|
9
9
|
*/
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function getCommandDefinitionNodeIdentitySet(commandDefinitions: {
|
|
11
11
|
[id: string]: ICliCommandDefinition;
|
|
12
12
|
}): void;
|
|
13
13
|
/**
|
|
@@ -18,6 +18,6 @@ export declare function getCommandDefinitionNodeSetIdentity(commandDefinitions:
|
|
|
18
18
|
* @param params.identity The DID to set for the node.
|
|
19
19
|
* @returns A promise that resolves when the node identity has been persisted.
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function nodeIdentitySet(engineCore: IEngineCore<INodeEngineConfig, INodeEngineState>, envVars: IEnvironmentVariables, params: {
|
|
22
22
|
identity?: string;
|
|
23
23
|
}): Promise<void>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { IEngineCore } from "@twin.org/engine-models";
|
|
2
|
+
import type { ICliCommandDefinition } from "../models/ICliCommandDefinition.js";
|
|
3
|
+
import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
4
|
+
import type { INodeEngineConfig } from "../models/INodeEngineConfig.js";
|
|
5
|
+
import type { INodeEngineState } from "../models/INodeEngineState.js";
|
|
6
|
+
/**
|
|
7
|
+
* Get the command definition parameters.
|
|
8
|
+
* @param commandDefinitions The registered command definitions.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getCommandDefinitionNodeOrgIdGet(commandDefinitions: {
|
|
11
|
+
[id: string]: ICliCommandDefinition;
|
|
12
|
+
}): void;
|
|
13
|
+
/**
|
|
14
|
+
* Command for retrieving the organization ID currently assigned to the node.
|
|
15
|
+
* @param engineCore The engine core.
|
|
16
|
+
* @param envVars The environment variables for the node.
|
|
17
|
+
* @returns The node organization DID.
|
|
18
|
+
*/
|
|
19
|
+
export declare function nodeOrgIdGet(engineCore: IEngineCore<INodeEngineConfig, INodeEngineState>, envVars: IEnvironmentVariables): Promise<string>;
|
|
@@ -7,7 +7,7 @@ import type { INodeEngineState } from "../models/INodeEngineState.js";
|
|
|
7
7
|
* Get the command definition parameters.
|
|
8
8
|
* @param commandDefinitions The registered command definitions.
|
|
9
9
|
*/
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function getCommandDefinitionNodeOrgIdSet(commandDefinitions: {
|
|
11
11
|
[id: string]: ICliCommandDefinition;
|
|
12
12
|
}): void;
|
|
13
13
|
/**
|
|
@@ -19,6 +19,6 @@ export declare function getCommandDefinitionSetNodeOrgId(commandDefinitions: {
|
|
|
19
19
|
* @returns A promise that resolves when the node organization ID has been persisted.
|
|
20
20
|
* @throws GeneralError if called while multi-tenant mode is enabled.
|
|
21
21
|
*/
|
|
22
|
-
export declare function
|
|
22
|
+
export declare function nodeOrgIdSet(engineCore: IEngineCore<INodeEngineConfig, INodeEngineState>, envVars: IEnvironmentVariables, params: {
|
|
23
23
|
organizationId?: string;
|
|
24
24
|
}): Promise<void>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { IEngineCore } from "@twin.org/engine-models";
|
|
2
|
+
import type { ICliCommandDefinition } from "../models/ICliCommandDefinition.js";
|
|
3
|
+
import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
4
|
+
import type { INodeEngineConfig } from "../models/INodeEngineConfig.js";
|
|
5
|
+
import type { INodeEngineState } from "../models/INodeEngineState.js";
|
|
6
|
+
/**
|
|
7
|
+
* Get the command definition parameters.
|
|
8
|
+
* @param commandDefinitions The registered command definitions.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getCommandDefinitionOrgUsersList(commandDefinitions: {
|
|
11
|
+
[id: string]: ICliCommandDefinition;
|
|
12
|
+
}): void;
|
|
13
|
+
/**
|
|
14
|
+
* Command for listing all users belonging to a given organization DID.
|
|
15
|
+
* @param engineCore The engine core.
|
|
16
|
+
* @param envVars The environment variables for the node.
|
|
17
|
+
* @param params The parameters for the command.
|
|
18
|
+
* @param params.orgDid The organization DID to filter by. Defaults to the node organization ID in single-tenant mode.
|
|
19
|
+
* @returns The list of users for the organization.
|
|
20
|
+
*/
|
|
21
|
+
export declare function orgUsersList(engineCore: IEngineCore<INodeEngineConfig, INodeEngineState>, envVars: IEnvironmentVariables, params: {
|
|
22
|
+
orgDid?: string;
|
|
23
|
+
}): Promise<{
|
|
24
|
+
email: string;
|
|
25
|
+
identity: string;
|
|
26
|
+
scope: string;
|
|
27
|
+
}[]>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ITenant } from "@twin.org/api-models";
|
|
2
|
+
import type { IEngineCore } from "@twin.org/engine-models";
|
|
3
|
+
import type { ICliCommandDefinition } from "../models/ICliCommandDefinition.js";
|
|
4
|
+
import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
5
|
+
/**
|
|
6
|
+
* Get the command definition parameters.
|
|
7
|
+
* @param commandDefinitions The registered command definitions.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getCommandDefinitionTenantGet(commandDefinitions: {
|
|
10
|
+
[id: string]: ICliCommandDefinition;
|
|
11
|
+
}): void;
|
|
12
|
+
/**
|
|
13
|
+
* Command for retrieving a single tenant by ID.
|
|
14
|
+
* @param engineCore The engine core.
|
|
15
|
+
* @param envVars The environment variables for the node.
|
|
16
|
+
* @param params The parameters for the command.
|
|
17
|
+
* @param params.tenantId The ID of the tenant to retrieve.
|
|
18
|
+
* @returns The tenant record.
|
|
19
|
+
*/
|
|
20
|
+
export declare function tenantGet(engineCore: IEngineCore, envVars: IEnvironmentVariables, params: {
|
|
21
|
+
tenantId?: string;
|
|
22
|
+
}): Promise<ITenant>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IEngineCore } from "@twin.org/engine-models";
|
|
2
|
+
import type { ICliCommandDefinition } from "../models/ICliCommandDefinition.js";
|
|
3
|
+
import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
4
|
+
/**
|
|
5
|
+
* Get the command definition parameters.
|
|
6
|
+
* @param commandDefinitions The registered command definitions.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getCommandDefinitionTenantList(commandDefinitions: {
|
|
9
|
+
[id: string]: ICliCommandDefinition;
|
|
10
|
+
}): void;
|
|
11
|
+
/**
|
|
12
|
+
* Command for listing all tenants.
|
|
13
|
+
* @param engineCore The engine core.
|
|
14
|
+
* @param envVars The environment variables for the node.
|
|
15
|
+
* @returns The list of tenants.
|
|
16
|
+
*/
|
|
17
|
+
export declare function tenantList(engineCore: IEngineCore, envVars: IEnvironmentVariables): Promise<{
|
|
18
|
+
id: string;
|
|
19
|
+
apiKey: string;
|
|
20
|
+
organizationId: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[]>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ITenant } from "@twin.org/api-models";
|
|
2
|
+
import type { IEngineCore } from "@twin.org/engine-models";
|
|
3
|
+
import type { ICliCommandDefinition } from "../models/ICliCommandDefinition.js";
|
|
4
|
+
import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
5
|
+
/**
|
|
6
|
+
* Get the command definition parameters.
|
|
7
|
+
* @param commandDefinitions The registered command definitions.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getCommandDefinitionTenantListByOrg(commandDefinitions: {
|
|
10
|
+
[id: string]: ICliCommandDefinition;
|
|
11
|
+
}): void;
|
|
12
|
+
/**
|
|
13
|
+
* Command for listing all tenants associated with an organization DID.
|
|
14
|
+
* @param engineCore The engine core.
|
|
15
|
+
* @param envVars The environment variables for the node.
|
|
16
|
+
* @param params The parameters for the command.
|
|
17
|
+
* @param params.orgId The organization DID to filter by.
|
|
18
|
+
* @returns The matching tenants.
|
|
19
|
+
*/
|
|
20
|
+
export declare function tenantListByOrg(engineCore: IEngineCore, envVars: IEnvironmentVariables, params: {
|
|
21
|
+
orgId?: string;
|
|
22
|
+
}): Promise<ITenant[]>;
|
|
@@ -5,7 +5,7 @@ import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
|
5
5
|
* Get the command definition parameters.
|
|
6
6
|
* @param commandDefinitions The registered command definitions.
|
|
7
7
|
*/
|
|
8
|
-
export declare function
|
|
8
|
+
export declare function getCommandDefinitionTenantOrgIdSet(commandDefinitions: {
|
|
9
9
|
[id: string]: ICliCommandDefinition;
|
|
10
10
|
}): void;
|
|
11
11
|
/**
|
|
@@ -17,7 +17,7 @@ export declare function getCommandDefinitionSetTenantOrgId(commandDefinitions: {
|
|
|
17
17
|
* @param params.organizationId The organization ID to set.
|
|
18
18
|
* @returns A promise that resolves when the tenant organization ID has been stored.
|
|
19
19
|
*/
|
|
20
|
-
export declare function
|
|
20
|
+
export declare function tenantOrgIdSet(engineCore: IEngineCore, envVars: IEnvironmentVariables, params: {
|
|
21
21
|
tenantId?: string;
|
|
22
22
|
organizationId?: string;
|
|
23
23
|
}): Promise<void>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { IAuthenticationUser } from "@twin.org/api-auth-entity-storage-models";
|
|
2
|
+
import type { IEngineCore } from "@twin.org/engine-models";
|
|
3
|
+
import type { ICliCommandDefinition } from "../models/ICliCommandDefinition.js";
|
|
4
|
+
import type { IEnvironmentVariables } from "../models/IEnvironmentVariables.js";
|
|
5
|
+
/**
|
|
6
|
+
* Get the command definition parameters.
|
|
7
|
+
* @param commandDefinitions The registered command definitions.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getCommandDefinitionUserGet(commandDefinitions: {
|
|
10
|
+
[id: string]: ICliCommandDefinition;
|
|
11
|
+
}): void;
|
|
12
|
+
/**
|
|
13
|
+
* Command for retrieving a single user by email address.
|
|
14
|
+
* @param engineCore The engine core.
|
|
15
|
+
* @param envVars The environment variables for the node.
|
|
16
|
+
* @param params The parameters for the command.
|
|
17
|
+
* @param params.email The email address of the user to retrieve.
|
|
18
|
+
* @param params.tenantId The tenant ID (multi-tenant mode only).
|
|
19
|
+
* @returns The user record.
|
|
20
|
+
*/
|
|
21
|
+
export declare function userGet(engineCore: IEngineCore, envVars: IEnvironmentVariables, params: {
|
|
22
|
+
email?: string;
|
|
23
|
+
tenantId?: string;
|
|
24
|
+
}): Promise<IAuthenticationUser>;
|
|
@@ -22,6 +22,10 @@ export interface ICliCommandDefinition {
|
|
|
22
22
|
* The params available for the command.
|
|
23
23
|
*/
|
|
24
24
|
params: ICliCommandDefinitionParam[];
|
|
25
|
+
/**
|
|
26
|
+
* Deprecated names that resolve to this command with a warning.
|
|
27
|
+
*/
|
|
28
|
+
aliases?: string[];
|
|
25
29
|
/**
|
|
26
30
|
* The method to execute for the command.
|
|
27
31
|
*/
|
|
@@ -43,4 +47,8 @@ export interface ICliCommandDefinition {
|
|
|
43
47
|
* @default true
|
|
44
48
|
*/
|
|
45
49
|
requiresOrgIdentity?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether this command is only available in single-tenant mode.
|
|
52
|
+
*/
|
|
53
|
+
singleTenantOnly?: boolean;
|
|
46
54
|
}
|
|
@@ -289,7 +289,7 @@ export interface IEngineEnvironmentVariables {
|
|
|
289
289
|
*/
|
|
290
290
|
hashicorpVaultEndpoint?: string;
|
|
291
291
|
/**
|
|
292
|
-
* The type of logging task connector, can be a comma separated list: console, entity-storage.
|
|
292
|
+
* The type of logging task connector, can be a comma separated list: console, entity-storage, otel, file.
|
|
293
293
|
*/
|
|
294
294
|
loggingConnector?: string;
|
|
295
295
|
/**
|
|
@@ -304,6 +304,22 @@ export interface IEngineEnvironmentVariables {
|
|
|
304
304
|
* A list of components to exclude from logging, can be a comma separated list of component Class names e.g. "ComponentA,ComponentB".
|
|
305
305
|
*/
|
|
306
306
|
loggingSilentComponents?: string;
|
|
307
|
+
/**
|
|
308
|
+
* The directory to write log files into when using the file logging connector. Required when TWIN_LOGGING_CONNECTOR includes "file".
|
|
309
|
+
*/
|
|
310
|
+
loggingFileDirectory?: string;
|
|
311
|
+
/**
|
|
312
|
+
* The log filename when using the file logging connector, defaults to "app.log".
|
|
313
|
+
*/
|
|
314
|
+
loggingFileFilename?: string;
|
|
315
|
+
/**
|
|
316
|
+
* The maximum log file size in bytes before rotation when using the file logging connector, defaults to 10485760 (10 MB). Set to 0 or negative to disable rotation.
|
|
317
|
+
*/
|
|
318
|
+
loggingFileMaxFileSizeBytes?: string;
|
|
319
|
+
/**
|
|
320
|
+
* The number of rotated log files to retain when using the file logging connector, defaults to 5. Set to 0 or negative to keep all rotated files.
|
|
321
|
+
*/
|
|
322
|
+
loggingFileMaxRetainedFiles?: string;
|
|
307
323
|
/**
|
|
308
324
|
* The name of the OpenTelemetry logger, only required if using open-telemetry as logging connector, defaults to twin-logging.
|
|
309
325
|
*/
|
|
@@ -428,6 +444,10 @@ export interface IEngineEnvironmentVariables {
|
|
|
428
444
|
* The index of the wallet address to use, defaults to 0.
|
|
429
445
|
*/
|
|
430
446
|
identityWalletAddressIndex?: string;
|
|
447
|
+
/**
|
|
448
|
+
* The TTL in milliseconds for caching resolved DIDs when using the IOTA identity connector. Omit to use the connector default.
|
|
449
|
+
*/
|
|
450
|
+
identityDidResolutionCacheTtlMs?: string;
|
|
431
451
|
/**
|
|
432
452
|
* The type of identity resolver connector: entity-storage, iota.
|
|
433
453
|
*/
|
|
@@ -448,6 +468,14 @@ export interface IEngineEnvironmentVariables {
|
|
|
448
468
|
* IOTA coin type.
|
|
449
469
|
*/
|
|
450
470
|
iotaCoinType?: string;
|
|
471
|
+
/**
|
|
472
|
+
* IOTA gas budget, in nanos.
|
|
473
|
+
*/
|
|
474
|
+
iotaGasBudget?: string;
|
|
475
|
+
/**
|
|
476
|
+
* IOTA gas reservation duration, in seconds.
|
|
477
|
+
*/
|
|
478
|
+
iotaGasReservationDuration?: string;
|
|
451
479
|
/**
|
|
452
480
|
* IOTA Explorer Endpoint.
|
|
453
481
|
*/
|
|
@@ -524,6 +552,10 @@ export interface IEngineEnvironmentVariables {
|
|
|
524
552
|
* Federated catalog remote endpoint, if set will use a REST client instead of local service.
|
|
525
553
|
*/
|
|
526
554
|
federatedCatalogueRemoteEndpoint?: string;
|
|
555
|
+
/**
|
|
556
|
+
* The path prefix used by the federated catalogue REST client when forwarding requests to the remote endpoint, defaults to "federated-catalogue".
|
|
557
|
+
*/
|
|
558
|
+
federatedCatalogueRestClientPathPrefix?: string;
|
|
527
559
|
/**
|
|
528
560
|
* The trust generators to add to the factory, comma separated list.
|
|
529
561
|
*/
|
|
@@ -604,10 +636,18 @@ export interface IEngineEnvironmentVariables {
|
|
|
604
636
|
*/
|
|
605
637
|
dataspaceActivityLogsCleanupInterval?: string;
|
|
606
638
|
/**
|
|
607
|
-
*
|
|
608
|
-
*
|
|
609
|
-
*
|
|
610
|
-
*
|
|
639
|
+
* Base route path for the data plane service (path only, not full URL).
|
|
640
|
+
* Combined with the public origin to form the `dataAddress.endpoint` sent to PULL consumers
|
|
641
|
+
* and the inbox URL sent to PUSH providers.
|
|
642
|
+
*
|
|
643
|
+
* This must be the mount-point prefix of the data plane routes, NOT a specific route path.
|
|
644
|
+
* Do NOT append sub-paths such as `/entities` or `/inbox` — those are appended automatically
|
|
645
|
+
* by each transfer handler and by the data plane REST client.
|
|
646
|
+
*
|
|
647
|
+
* REQUIRED if PULL or PUSH transfers are supported.
|
|
648
|
+
* If not specified, PULL and PUSH transfers will not be available.
|
|
649
|
+
*
|
|
650
|
+
* Example: "dataspace"
|
|
611
651
|
*/
|
|
612
652
|
dataspaceDataPlanePath?: string;
|
|
613
653
|
/**
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1-next.10](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.9...node-core-v0.9.1-next.10) (2026-07-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update dependencies ([64c8ea8](https://github.com/iotaledger/twin-node/commit/64c8ea8c8b5e918f7ad419c4e3b8d08faf5e3fdd))
|
|
9
|
+
|
|
10
|
+
## [0.9.1-next.9](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.8...node-core-v0.9.1-next.9) (2026-07-21)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* enhanced cli commands ([#288](https://github.com/iotaledger/twin-node/issues/288)) ([479fb34](https://github.com/iotaledger/twin-node/commit/479fb3448c493a134aee35b69ae39458e493a4ad))
|
|
16
|
+
* expose gasBudget and gasReservationDuration as configurable env vars ([#286](https://github.com/iotaledger/twin-node/issues/286)) ([d678b27](https://github.com/iotaledger/twin-node/commit/d678b27d629930a6ce85eeab9caf89d1187c3461))
|
|
17
|
+
* file logging config ([#287](https://github.com/iotaledger/twin-node/issues/287)) ([a567b25](https://github.com/iotaledger/twin-node/commit/a567b253cbb8b9af872bb0e494c013212f4f55a2))
|
|
18
|
+
|
|
19
|
+
## [0.9.1-next.8](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.7...node-core-v0.9.1-next.8) (2026-07-10)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* **node-core:** Synchronize repo versions
|
|
25
|
+
|
|
26
|
+
## [0.9.1-next.7](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.6...node-core-v0.9.1-next.7) (2026-07-08)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* update dependencies ([#279](https://github.com/iotaledger/twin-node/issues/279)) ([2c0de07](https://github.com/iotaledger/twin-node/commit/2c0de07a15541e73612ba5bd62f4f566e4efca34))
|
|
32
|
+
|
|
33
|
+
## [0.9.1-next.6](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.5...node-core-v0.9.1-next.6) (2026-07-03)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* use core env helpers ([568fbc5](https://github.com/iotaledger/twin-node/commit/568fbc53906b022bc8465ffb941a160075d88e96))
|
|
39
|
+
|
|
40
|
+
## [0.9.1-next.5](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.4...node-core-v0.9.1-next.5) (2026-07-02)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* dataspace plane path ([#272](https://github.com/iotaledger/twin-node/issues/272)) ([5998eeb](https://github.com/iotaledger/twin-node/commit/5998eeb6fa1392ae753eb6bafeccefa1fb690573))
|
|
46
|
+
|
|
47
|
+
## [0.9.1-next.4](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.3...node-core-v0.9.1-next.4) (2026-07-01)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Features
|
|
51
|
+
|
|
52
|
+
* additional cli commands ([#269](https://github.com/iotaledger/twin-node/issues/269)) ([c9e7c93](https://github.com/iotaledger/twin-node/commit/c9e7c939aedfceed9cbe501f2dc936e84289ed62))
|
|
53
|
+
|
|
54
|
+
## [0.9.1-next.3](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.2...node-core-v0.9.1-next.3) (2026-06-30)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
* add new endpoints ([cc6e30d](https://github.com/iotaledger/twin-node/commit/cc6e30d85f7ed8018697462a7100e5c2f4e8f407))
|
|
60
|
+
|
|
61
|
+
## [0.9.1-next.2](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.1...node-core-v0.9.1-next.2) (2026-06-29)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Features
|
|
65
|
+
|
|
66
|
+
* update components ([35cdfdc](https://github.com/iotaledger/twin-node/commit/35cdfdcba2b52599b4db3afd8c9e6dd17468b21e))
|
|
67
|
+
|
|
3
68
|
## [0.9.1-next.1](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.1-next.0...node-core-v0.9.1-next.1) (2026-06-26)
|
|
4
69
|
|
|
5
70
|
|
|
@@ -36,6 +36,14 @@ The params available for the command.
|
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
|
+
### aliases? {#aliases}
|
|
40
|
+
|
|
41
|
+
> `optional` **aliases?**: `string`[]
|
|
42
|
+
|
|
43
|
+
Deprecated names that resolve to this command with a warning.
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
39
47
|
### action {#action}
|
|
40
48
|
|
|
41
49
|
> **action**: (`engineCore`, `envVars`, `params`) => `Promise`\<`unknown`\>
|
|
@@ -99,3 +107,11 @@ Indicates whether the engine needs the organization identity to be set.
|
|
|
99
107
|
```ts
|
|
100
108
|
true
|
|
101
109
|
```
|
|
110
|
+
|
|
111
|
+
***
|
|
112
|
+
|
|
113
|
+
### singleTenantOnly? {#singletenantonly}
|
|
114
|
+
|
|
115
|
+
> `optional` **singleTenantOnly?**: `boolean`
|
|
116
|
+
|
|
117
|
+
Indicates whether this command is only available in single-tenant mode.
|
|
@@ -575,7 +575,7 @@ Hashicorp Vault endpoint.
|
|
|
575
575
|
|
|
576
576
|
> `optional` **loggingConnector?**: `string`
|
|
577
577
|
|
|
578
|
-
The type of logging task connector, can be a comma separated list: console, entity-storage.
|
|
578
|
+
The type of logging task connector, can be a comma separated list: console, entity-storage, otel, file.
|
|
579
579
|
|
|
580
580
|
***
|
|
581
581
|
|
|
@@ -603,6 +603,38 @@ A list of components to exclude from logging, can be a comma separated list of c
|
|
|
603
603
|
|
|
604
604
|
***
|
|
605
605
|
|
|
606
|
+
### loggingFileDirectory? {#loggingfiledirectory}
|
|
607
|
+
|
|
608
|
+
> `optional` **loggingFileDirectory?**: `string`
|
|
609
|
+
|
|
610
|
+
The directory to write log files into when using the file logging connector. Required when TWIN_LOGGING_CONNECTOR includes "file".
|
|
611
|
+
|
|
612
|
+
***
|
|
613
|
+
|
|
614
|
+
### loggingFileFilename? {#loggingfilefilename}
|
|
615
|
+
|
|
616
|
+
> `optional` **loggingFileFilename?**: `string`
|
|
617
|
+
|
|
618
|
+
The log filename when using the file logging connector, defaults to "app.log".
|
|
619
|
+
|
|
620
|
+
***
|
|
621
|
+
|
|
622
|
+
### loggingFileMaxFileSizeBytes? {#loggingfilemaxfilesizebytes}
|
|
623
|
+
|
|
624
|
+
> `optional` **loggingFileMaxFileSizeBytes?**: `string`
|
|
625
|
+
|
|
626
|
+
The maximum log file size in bytes before rotation when using the file logging connector, defaults to 10485760 (10 MB). Set to 0 or negative to disable rotation.
|
|
627
|
+
|
|
628
|
+
***
|
|
629
|
+
|
|
630
|
+
### loggingFileMaxRetainedFiles? {#loggingfilemaxretainedfiles}
|
|
631
|
+
|
|
632
|
+
> `optional` **loggingFileMaxRetainedFiles?**: `string`
|
|
633
|
+
|
|
634
|
+
The number of rotated log files to retain when using the file logging connector, defaults to 5. Set to 0 or negative to keep all rotated files.
|
|
635
|
+
|
|
636
|
+
***
|
|
637
|
+
|
|
606
638
|
### openTelemetryLoggingLoggerName? {#opentelemetryloggingloggername}
|
|
607
639
|
|
|
608
640
|
> `optional` **openTelemetryLoggingLoggerName?**: `string`
|
|
@@ -851,6 +883,14 @@ The index of the wallet address to use, defaults to 0.
|
|
|
851
883
|
|
|
852
884
|
***
|
|
853
885
|
|
|
886
|
+
### identityDidResolutionCacheTtlMs? {#identitydidresolutioncachettlms}
|
|
887
|
+
|
|
888
|
+
> `optional` **identityDidResolutionCacheTtlMs?**: `string`
|
|
889
|
+
|
|
890
|
+
The TTL in milliseconds for caching resolved DIDs when using the IOTA identity connector. Omit to use the connector default.
|
|
891
|
+
|
|
892
|
+
***
|
|
893
|
+
|
|
854
894
|
### identityResolverConnector? {#identityresolverconnector}
|
|
855
895
|
|
|
856
896
|
> `optional` **identityResolverConnector?**: `string`
|
|
@@ -891,6 +931,22 @@ IOTA coin type.
|
|
|
891
931
|
|
|
892
932
|
***
|
|
893
933
|
|
|
934
|
+
### iotaGasBudget? {#iotagasbudget}
|
|
935
|
+
|
|
936
|
+
> `optional` **iotaGasBudget?**: `string`
|
|
937
|
+
|
|
938
|
+
IOTA gas budget, in nanos.
|
|
939
|
+
|
|
940
|
+
***
|
|
941
|
+
|
|
942
|
+
### iotaGasReservationDuration? {#iotagasreservationduration}
|
|
943
|
+
|
|
944
|
+
> `optional` **iotaGasReservationDuration?**: `string`
|
|
945
|
+
|
|
946
|
+
IOTA gas reservation duration, in seconds.
|
|
947
|
+
|
|
948
|
+
***
|
|
949
|
+
|
|
894
950
|
### iotaExplorerEndpoint? {#iotaexplorerendpoint}
|
|
895
951
|
|
|
896
952
|
> `optional` **iotaExplorerEndpoint?**: `string`
|
|
@@ -1043,6 +1099,14 @@ Federated catalog remote endpoint, if set will use a REST client instead of loca
|
|
|
1043
1099
|
|
|
1044
1100
|
***
|
|
1045
1101
|
|
|
1102
|
+
### federatedCatalogueRestClientPathPrefix? {#federatedcataloguerestclientpathprefix}
|
|
1103
|
+
|
|
1104
|
+
> `optional` **federatedCatalogueRestClientPathPrefix?**: `string`
|
|
1105
|
+
|
|
1106
|
+
The path prefix used by the federated catalogue REST client when forwarding requests to the remote endpoint, defaults to "federated-catalogue".
|
|
1107
|
+
|
|
1108
|
+
***
|
|
1109
|
+
|
|
1046
1110
|
### trustGenerators? {#trustgenerators}
|
|
1047
1111
|
|
|
1048
1112
|
> `optional` **trustGenerators?**: `string`
|
|
@@ -1204,10 +1268,18 @@ The interval in seconds for cleaning up the activity logs.
|
|
|
1204
1268
|
|
|
1205
1269
|
> `optional` **dataspaceDataPlanePath?**: `string`
|
|
1206
1270
|
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1271
|
+
Base route path for the data plane service (path only, not full URL).
|
|
1272
|
+
Combined with the public origin to form the `dataAddress.endpoint` sent to PULL consumers
|
|
1273
|
+
and the inbox URL sent to PUSH providers.
|
|
1274
|
+
|
|
1275
|
+
This must be the mount-point prefix of the data plane routes, NOT a specific route path.
|
|
1276
|
+
Do NOT append sub-paths such as `/entities` or `/inbox` — those are appended automatically
|
|
1277
|
+
by each transfer handler and by the data plane REST client.
|
|
1278
|
+
|
|
1279
|
+
REQUIRED if PULL or PUSH transfers are supported.
|
|
1280
|
+
If not specified, PULL and PUSH transfers will not be available.
|
|
1281
|
+
|
|
1282
|
+
Example: "dataspace"
|
|
1211
1283
|
|
|
1212
1284
|
***
|
|
1213
1285
|
|