@twin.org/node-core 0.0.2-next.16 → 0.0.2-next.18

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.
Files changed (38) hide show
  1. package/dist/cjs/index.cjs +211 -75
  2. package/dist/esm/index.mjs +203 -77
  3. package/dist/types/builders/engineServerEnvBuilder.d.ts +1 -1
  4. package/dist/types/builders/extensionsBuilder.d.ts +32 -0
  5. package/dist/types/defaults.d.ts +6 -0
  6. package/dist/types/index.d.ts +4 -0
  7. package/dist/types/models/IEngineEnvironmentVariables.d.ts +35 -14
  8. package/dist/types/models/INodeEngineConfig.d.ts +6 -0
  9. package/dist/types/models/INodeOptions.d.ts +2 -1
  10. package/dist/types/models/nodeExtensionMethods.d.ts +27 -0
  11. package/dist/types/node.d.ts +2 -2
  12. package/dist/types/server.d.ts +4 -2
  13. package/docs/changelog.md +15 -0
  14. package/docs/reference/functions/buildConfiguration.md +2 -2
  15. package/docs/reference/functions/buildEngineServerConfiguration.md +1 -1
  16. package/docs/reference/functions/extensionsConfiguration.md +25 -0
  17. package/docs/reference/functions/extensionsInitialiseEngine.md +25 -0
  18. package/docs/reference/functions/extensionsInitialiseEngineServer.md +31 -0
  19. package/docs/reference/functions/shutdownExtensions.md +25 -0
  20. package/docs/reference/functions/start.md +4 -4
  21. package/docs/reference/index.md +15 -0
  22. package/docs/reference/interfaces/IEngineEnvironmentVariables.md +73 -22
  23. package/docs/reference/interfaces/IEngineServerEnvironmentVariables.md +101 -30
  24. package/docs/reference/interfaces/INodeEngineConfig.md +7 -0
  25. package/docs/reference/interfaces/INodeEnvironmentVariables.md +101 -30
  26. package/docs/reference/interfaces/INodeOptions.md +6 -2
  27. package/docs/reference/type-aliases/NodeExtensionInitialiseEngineMethod.md +18 -0
  28. package/docs/reference/type-aliases/NodeExtensionInitialiseEngineServerMethod.md +24 -0
  29. package/docs/reference/type-aliases/NodeExtensionInitialiseMethod.md +23 -0
  30. package/docs/reference/type-aliases/NodeExtensionShutdownMethod.md +10 -0
  31. package/docs/reference/variables/ATTESTATION_VERIFICATION_METHOD_ID.md +3 -0
  32. package/docs/reference/variables/AUTH_SIGNING_KEY_ID.md +3 -0
  33. package/docs/reference/variables/BLOB_STORAGE_ENCRYPTION_KEY_ID.md +3 -0
  34. package/docs/reference/variables/IMMUTABLE_PROOF_VERIFICATION_METHOD_ID.md +3 -0
  35. package/docs/reference/variables/SYNCHRONISED_STORAGE_BLOB_STORAGE_ENCRYPTION_KEY_ID.md +3 -0
  36. package/docs/reference/variables/VC_AUTHENTICATION_VERIFICATION_METHOD_ID.md +3 -0
  37. package/locales/en.json +9 -2
  38. package/package.json +13 -1
@@ -27,6 +27,10 @@ export interface IEngineEnvironmentVariables {
27
27
  * A prefix for all the table in entity-storage, can be empty.
28
28
  */
29
29
  entityStorageTablePrefix?: string;
30
+ /**
31
+ * AWS DynamoDB auth mode, either credentials or pod.
32
+ */
33
+ awsDynamodbAuthMode?: string;
30
34
  /**
31
35
  * AWS Dynamo DB access key id.
32
36
  */
@@ -194,25 +198,29 @@ export interface IEngineEnvironmentVariables {
194
198
  */
195
199
  blobStoragePrefix?: string;
196
200
  /**
197
- * AWS S3 access key id.
201
+ * AWS S3 region.
198
202
  */
199
- awsS3AccessKeyId?: string;
203
+ awsS3Region?: string;
200
204
  /**
201
205
  * AWS S3 bucket name.
202
206
  */
203
207
  awsS3BucketName?: string;
204
208
  /**
205
- * AWS S3 endpoint.
209
+ * AWS S3 auth mode, either credentials or pod, defaults to credentials.
206
210
  */
207
- awsS3Endpoint?: string;
211
+ awsS3AuthMode?: string;
208
212
  /**
209
- * AWS S3 region.
213
+ * AWS S3 access key id.
210
214
  */
211
- awsS3Region?: string;
215
+ awsS3AccessKeyId?: string;
212
216
  /**
213
217
  * AWS S3 secret access key.
214
218
  */
215
219
  awsS3SecretAccessKey?: string;
220
+ /**
221
+ * AWS S3 endpoint.
222
+ */
223
+ awsS3Endpoint?: string;
216
224
  /**
217
225
  * Azure Storage account key.
218
226
  */
@@ -282,6 +290,14 @@ export interface IEngineEnvironmentVariables {
282
290
  * Use the @json: prefix to specify the path to the JSON file.
283
291
  */
284
292
  messagingTemplates?: string;
293
+ /**
294
+ * AWS SES region.
295
+ */
296
+ awsSesRegion?: string;
297
+ /**
298
+ * AWS SES auth mode, either credentials or pod, defaults to credentials.
299
+ */
300
+ awsSesAuthMode?: string;
285
301
  /**
286
302
  * AWS SES secret access key.
287
303
  */
@@ -290,10 +306,6 @@ export interface IEngineEnvironmentVariables {
290
306
  * AWS SES access key id.
291
307
  */
292
308
  awsSesAccessKeyId?: string;
293
- /**
294
- * AWS SES region.
295
- */
296
- awsSesRegion?: string;
297
309
  /**
298
310
  * AWS SES endpoint.
299
311
  */
@@ -424,7 +436,7 @@ export interface IEngineEnvironmentVariables {
424
436
  synchronisedStorageTrustedUrl?: string;
425
437
  /**
426
438
  * The key for the smart contract which contains the verifiable storage pointer store for synchronised storage.
427
- * This only required if using a custom verifiable storage item, otherwise it will default the the network name.
439
+ * This only required if using a custom verifiable storage item, otherwise it will default to the network name.
428
440
  */
429
441
  synchronisedStorageVerifiableStorageKeyId?: string;
430
442
  /**
@@ -522,10 +534,15 @@ export interface IEngineEnvironmentVariables {
522
534
  */
523
535
  dataSpaceConnectorEnabled?: string;
524
536
  /**
525
- * The application configuration for the data space connector.
526
- * Use the @json: prefix to specify the path to the JSON configuration file.
537
+ * The length of time to retain the activity logs for in minutes, set to -1 to keep forever.
538
+ * @default 10
539
+ */
540
+ dataSpaceConnectorRetainActivityLogsFor?: string;
541
+ /**
542
+ * The interval for cleaning up the activity logs.
543
+ * @default 60
527
544
  */
528
- dataSpaceConnectorApps?: string;
545
+ dataSpaceConnectorActivityLogsCleanUpInterval?: string;
529
546
  /**
530
547
  * Enable verifiable credential authentication for the API.
531
548
  */
@@ -535,4 +552,8 @@ export interface IEngineEnvironmentVariables {
535
552
  * Defaults to node-authentication-assertion.
536
553
  */
537
554
  vcAuthenticationVerificationMethodId?: string;
555
+ /**
556
+ * A comma separated list of additional node extensions to load, the initialiseExtension method will be called for each extension.
557
+ */
558
+ extensions?: string;
538
559
  }
@@ -0,0 +1,6 @@
1
+ import type { IEngineServerConfig } from "@twin.org/engine-server-types";
2
+ /**
3
+ * The config for the node.
4
+ */
5
+ export interface INodeEngineConfig extends IEngineServerConfig {
6
+ }
@@ -1,5 +1,6 @@
1
1
  import type { IEngineCore, IEngineServer, IEngineStateStorage } from "@twin.org/engine-models";
2
2
  import type { IEngineConfig } from "@twin.org/engine-types";
3
+ import type { INodeEngineConfig } from "./INodeEngineConfig";
3
4
  import type { INodeEnvironmentVariables } from "./INodeEnvironmentVariables";
4
5
  /**
5
6
  * The options when running the node.
@@ -56,7 +57,7 @@ export interface INodeOptions {
56
57
  /**
57
58
  * Method to extend the engine configuration with any additional custom configuration.
58
59
  */
59
- extendConfig?: (config: IEngineConfig) => Promise<void>;
60
+ extendConfig?: (envVars: INodeEnvironmentVariables, config: INodeEngineConfig) => Promise<void>;
60
61
  /**
61
62
  * Method to extend the engine with any additional options.
62
63
  */
@@ -0,0 +1,27 @@
1
+ import type { IEngineCore, IEngineServer } from "@twin.org/engine-models";
2
+ import type { INodeEngineConfig } from "./INodeEngineConfig";
3
+ import type { INodeEnvironmentVariables } from "./INodeEnvironmentVariables";
4
+ /**
5
+ * The type for the initialise method of an extension module.
6
+ * @param envVars The environment variables for the node.
7
+ * @param nodeEngineConfig The node engine config.
8
+ */
9
+ export type NodeExtensionInitialiseMethod = (envVars: INodeEnvironmentVariables, nodeEngineConfig: INodeEngineConfig) => Promise<void>;
10
+ /**
11
+ * The type for the initialise engine method of an extension module.
12
+ * This is called when the engine has been constructed but not yet started.
13
+ * @param engineCore The engine core instance.
14
+ */
15
+ export type NodeExtensionInitialiseEngineMethod = (engineCore: IEngineCore) => Promise<void>;
16
+ /**
17
+ * The type for the initialise engine server method of an extension module.
18
+ * This is called when the engine server has been constructed but not yet started.
19
+ * @param engineCore The engine core instance.
20
+ * @param engineServer The engine server instance.
21
+ */
22
+ export type NodeExtensionInitialiseEngineServerMethod = (engineCore: IEngineCore, engineServer: IEngineServer) => Promise<void>;
23
+ /**
24
+ * The type for the shutdown method of an extension module.
25
+ * This is called when the engine is shutting down.
26
+ */
27
+ export type NodeExtensionShutdownMethod = () => Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import type { IServerInfo } from "@twin.org/api-models";
2
- import type { IEngineServerConfig } from "@twin.org/engine-server-types";
2
+ import type { INodeEngineConfig } from "./models/INodeEngineConfig";
3
3
  import type { INodeEnvironmentVariables } from "./models/INodeEnvironmentVariables";
4
4
  import type { INodeOptions } from "./models/INodeOptions";
5
5
  /**
@@ -22,7 +22,7 @@ export declare function buildConfiguration(processEnv: {
22
22
  nodeEnvVars: INodeEnvironmentVariables & {
23
23
  [id: string]: string | unknown;
24
24
  };
25
- engineServerConfig: IEngineServerConfig;
25
+ nodeEngineConfig: INodeEngineConfig;
26
26
  }>;
27
27
  /**
28
28
  * Override module imports to use local files where possible.
@@ -2,16 +2,18 @@ import { Engine } from "@twin.org/engine";
2
2
  import { type IEngineState } from "@twin.org/engine-models";
3
3
  import { EngineServer } from "@twin.org/engine-server";
4
4
  import type { IEngineServerConfig } from "@twin.org/engine-server-types";
5
+ import type { INodeEngineConfig } from "./models/INodeEngineConfig";
5
6
  import type { INodeEnvironmentVariables } from "./models/INodeEnvironmentVariables";
6
7
  import type { INodeOptions } from "./models/INodeOptions";
7
8
  /**
8
9
  * Start the engine server.
9
10
  * @param nodeOptions Optional run options for the engine server.
10
- * @param engineServerConfig The configuration for the engine server.
11
+ * @param nodeEngineConfig The configuration for the engine server.
11
12
  * @param envVars The environment variables.
12
13
  * @returns The engine server.
13
14
  */
14
- export declare function start(nodeOptions: INodeOptions | undefined, engineServerConfig: IEngineServerConfig, envVars: INodeEnvironmentVariables): Promise<{
15
+ export declare function start(nodeOptions: INodeOptions | undefined, nodeEngineConfig: INodeEngineConfig, envVars: INodeEnvironmentVariables): Promise<{
15
16
  engine: Engine<IEngineServerConfig, IEngineState>;
16
17
  server: EngineServer;
18
+ shutdown: () => Promise<void>;
17
19
  } | undefined>;
package/docs/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @twin.org/node-core - Changelog
2
2
 
3
+ ## [0.0.2-next.18](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.17...node-core-v0.0.2-next.18) (2025-10-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * improve error handling for extensions and logging ([bd84fde](https://github.com/twinfoundation/node/commit/bd84fde67e5a9db6ac66730397992401ca52e88c))
9
+
10
+ ## [0.0.2-next.17](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.16...node-core-v0.0.2-next.17) (2025-10-02)
11
+
12
+
13
+ ### Features
14
+
15
+ * add extensions support ([476d5a8](https://github.com/twinfoundation/node/commit/476d5a864026a2f78e5b02bc9eb81359777a4a45))
16
+ * updating linting ([feacd17](https://github.com/twinfoundation/node/commit/feacd178bb025bcd29a0ae6e4b8e79f23a989169))
17
+
3
18
  ## [0.0.2-next.16](https://github.com/twinfoundation/node/compare/node-core-v0.0.2-next.15...node-core-v0.0.2-next.16) (2025-09-29)
4
19
 
5
20
 
@@ -1,6 +1,6 @@
1
1
  # Function: buildConfiguration()
2
2
 
3
- > **buildConfiguration**(`processEnv`, `options`, `serverInfo`): `Promise`\<\{ `nodeEnvVars`: [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & `object`; `engineServerConfig`: `IEngineServerConfig`; \}\>
3
+ > **buildConfiguration**(`processEnv`, `options`, `serverInfo`): `Promise`\<\{ `nodeEnvVars`: [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & `object`; `nodeEngineConfig`: [`INodeEngineConfig`](../interfaces/INodeEngineConfig.md); \}\>
4
4
 
5
5
  Build the configuration for the TWIN Node server.
6
6
 
@@ -24,7 +24,7 @@ The server information.
24
24
 
25
25
  ## Returns
26
26
 
27
- `Promise`\<\{ `nodeEnvVars`: [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & `object`; `engineServerConfig`: `IEngineServerConfig`; \}\>
27
+ `Promise`\<\{ `nodeEnvVars`: [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & `object`; `nodeEngineConfig`: [`INodeEngineConfig`](../interfaces/INodeEngineConfig.md); \}\>
28
28
 
29
29
  A promise that resolves to the engine server configuration, environment prefix, environment variables,
30
30
  and options.
@@ -40,4 +40,4 @@ The path to the favicon.
40
40
 
41
41
  `Promise`\<`IEngineServerConfig`\>
42
42
 
43
- The the config for the core and the server.
43
+ The config for the core and the server.
@@ -0,0 +1,25 @@
1
+ # Function: extensionsConfiguration()
2
+
3
+ > **extensionsConfiguration**(`envVars`, `nodeEngineConfig`): `Promise`\<[`INodeEngineConfig`](../interfaces/INodeEngineConfig.md)\>
4
+
5
+ Handles the configuration of the extensions.
6
+
7
+ ## Parameters
8
+
9
+ ### envVars
10
+
11
+ [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md)
12
+
13
+ The environment variables for the node.
14
+
15
+ ### nodeEngineConfig
16
+
17
+ [`INodeEngineConfig`](../interfaces/INodeEngineConfig.md)
18
+
19
+ The node engine config.
20
+
21
+ ## Returns
22
+
23
+ `Promise`\<[`INodeEngineConfig`](../interfaces/INodeEngineConfig.md)\>
24
+
25
+ The config for the core and the server.
@@ -0,0 +1,25 @@
1
+ # Function: extensionsInitialiseEngine()
2
+
3
+ > **extensionsInitialiseEngine**(`envVars`, `engineCore`): `Promise`\<`void`\>
4
+
5
+ Handles the initialisation of the extensions when the engine has been constructed.
6
+
7
+ ## Parameters
8
+
9
+ ### envVars
10
+
11
+ [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md)
12
+
13
+ The environment variables for the node.
14
+
15
+ ### engineCore
16
+
17
+ `IEngineCore`
18
+
19
+ The engine core instance.
20
+
21
+ ## Returns
22
+
23
+ `Promise`\<`void`\>
24
+
25
+ Nothing.
@@ -0,0 +1,31 @@
1
+ # Function: extensionsInitialiseEngineServer()
2
+
3
+ > **extensionsInitialiseEngineServer**(`envVars`, `engineCore`, `engineServer`): `Promise`\<`void`\>
4
+
5
+ Handles the initialisation of the extensions when the engine server has been constructed.
6
+
7
+ ## Parameters
8
+
9
+ ### envVars
10
+
11
+ [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md)
12
+
13
+ The environment variables for the node.
14
+
15
+ ### engineCore
16
+
17
+ `IEngineCore`
18
+
19
+ The engine core instance.
20
+
21
+ ### engineServer
22
+
23
+ `IEngineServer`
24
+
25
+ The engine server instance.
26
+
27
+ ## Returns
28
+
29
+ `Promise`\<`void`\>
30
+
31
+ Nothing.
@@ -0,0 +1,25 @@
1
+ # Function: shutdownExtensions()
2
+
3
+ > **shutdownExtensions**(`envVars`, `engineCore`): `Promise`\<`void`\>
4
+
5
+ Handles the shutdown of the extensions.
6
+
7
+ ## Parameters
8
+
9
+ ### envVars
10
+
11
+ [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md)
12
+
13
+ The environment variables for the node.
14
+
15
+ ### engineCore
16
+
17
+ `IEngineCore`
18
+
19
+ The engine core instance.
20
+
21
+ ## Returns
22
+
23
+ `Promise`\<`void`\>
24
+
25
+ Nothing.
@@ -1,6 +1,6 @@
1
1
  # Function: start()
2
2
 
3
- > **start**(`nodeOptions`, `engineServerConfig`, `envVars`): `Promise`\<`undefined` \| \{ `engine`: `Engine`\<`IEngineServerConfig`, `IEngineState`\>; `server`: `EngineServer`; \}\>
3
+ > **start**(`nodeOptions`, `nodeEngineConfig`, `envVars`): `Promise`\<`undefined` \| \{ `engine`: `Engine`\<`IEngineServerConfig`, `IEngineState`\>; `server`: `EngineServer`; `shutdown`: () => `Promise`\<`void`\>; \}\>
4
4
 
5
5
  Start the engine server.
6
6
 
@@ -12,9 +12,9 @@ Optional run options for the engine server.
12
12
 
13
13
  `undefined` | [`INodeOptions`](../interfaces/INodeOptions.md)
14
14
 
15
- ### engineServerConfig
15
+ ### nodeEngineConfig
16
16
 
17
- `IEngineServerConfig`
17
+ [`INodeEngineConfig`](../interfaces/INodeEngineConfig.md)
18
18
 
19
19
  The configuration for the engine server.
20
20
 
@@ -26,6 +26,6 @@ The environment variables.
26
26
 
27
27
  ## Returns
28
28
 
29
- `Promise`\<`undefined` \| \{ `engine`: `Engine`\<`IEngineServerConfig`, `IEngineState`\>; `server`: `EngineServer`; \}\>
29
+ `Promise`\<`undefined` \| \{ `engine`: `Engine`\<`IEngineServerConfig`, `IEngineState`\>; `server`: `EngineServer`; `shutdown`: () => `Promise`\<`void`\>; \}\>
30
30
 
31
31
  The engine server.
@@ -4,15 +4,26 @@
4
4
 
5
5
  - [IEngineEnvironmentVariables](interfaces/IEngineEnvironmentVariables.md)
6
6
  - [IEngineServerEnvironmentVariables](interfaces/IEngineServerEnvironmentVariables.md)
7
+ - [INodeEngineConfig](interfaces/INodeEngineConfig.md)
7
8
  - [INodeEnvironmentVariables](interfaces/INodeEnvironmentVariables.md)
8
9
  - [INodeOptions](interfaces/INodeOptions.md)
9
10
 
10
11
  ## Type Aliases
11
12
 
13
+ - [NodeExtensionInitialiseMethod](type-aliases/NodeExtensionInitialiseMethod.md)
14
+ - [NodeExtensionInitialiseEngineMethod](type-aliases/NodeExtensionInitialiseEngineMethod.md)
15
+ - [NodeExtensionInitialiseEngineServerMethod](type-aliases/NodeExtensionInitialiseEngineServerMethod.md)
16
+ - [NodeExtensionShutdownMethod](type-aliases/NodeExtensionShutdownMethod.md)
12
17
  - [NodeFeatures](type-aliases/NodeFeatures.md)
13
18
 
14
19
  ## Variables
15
20
 
21
+ - [ATTESTATION\_VERIFICATION\_METHOD\_ID](variables/ATTESTATION_VERIFICATION_METHOD_ID.md)
22
+ - [IMMUTABLE\_PROOF\_VERIFICATION\_METHOD\_ID](variables/IMMUTABLE_PROOF_VERIFICATION_METHOD_ID.md)
23
+ - [BLOB\_STORAGE\_ENCRYPTION\_KEY\_ID](variables/BLOB_STORAGE_ENCRYPTION_KEY_ID.md)
24
+ - [SYNCHRONISED\_STORAGE\_BLOB\_STORAGE\_ENCRYPTION\_KEY\_ID](variables/SYNCHRONISED_STORAGE_BLOB_STORAGE_ENCRYPTION_KEY_ID.md)
25
+ - [VC\_AUTHENTICATION\_VERIFICATION\_METHOD\_ID](variables/VC_AUTHENTICATION_VERIFICATION_METHOD_ID.md)
26
+ - [AUTH\_SIGNING\_KEY\_ID](variables/AUTH_SIGNING_KEY_ID.md)
16
27
  - [NodeFeatures](variables/NodeFeatures.md)
17
28
 
18
29
  ## Functions
@@ -26,6 +37,10 @@
26
37
  - [bootstrapSynchronisedStorage](functions/bootstrapSynchronisedStorage.md)
27
38
  - [buildEngineConfiguration](functions/buildEngineConfiguration.md)
28
39
  - [buildEngineServerConfiguration](functions/buildEngineServerConfiguration.md)
40
+ - [extensionsConfiguration](functions/extensionsConfiguration.md)
41
+ - [extensionsInitialiseEngine](functions/extensionsInitialiseEngine.md)
42
+ - [extensionsInitialiseEngineServer](functions/extensionsInitialiseEngineServer.md)
43
+ - [shutdownExtensions](functions/shutdownExtensions.md)
29
44
  - [run](functions/run.md)
30
45
  - [buildConfiguration](functions/buildConfiguration.md)
31
46
  - [overrideModuleImport](functions/overrideModuleImport.md)
@@ -57,6 +57,14 @@ A prefix for all the table in entity-storage, can be empty.
57
57
 
58
58
  ***
59
59
 
60
+ ### awsDynamodbAuthMode?
61
+
62
+ > `optional` **awsDynamodbAuthMode**: `string`
63
+
64
+ AWS DynamoDB auth mode, either credentials or pod.
65
+
66
+ ***
67
+
60
68
  ### awsDynamodbAccessKeyId?
61
69
 
62
70
  > `optional` **awsDynamodbAccessKeyId**: `string`
@@ -387,11 +395,11 @@ A prefix for all the blobs in blob-storage, can be empty.
387
395
 
388
396
  ***
389
397
 
390
- ### awsS3AccessKeyId?
398
+ ### awsS3Region?
391
399
 
392
- > `optional` **awsS3AccessKeyId**: `string`
400
+ > `optional` **awsS3Region**: `string`
393
401
 
394
- AWS S3 access key id.
402
+ AWS S3 region.
395
403
 
396
404
  ***
397
405
 
@@ -403,19 +411,19 @@ AWS S3 bucket name.
403
411
 
404
412
  ***
405
413
 
406
- ### awsS3Endpoint?
414
+ ### awsS3AuthMode?
407
415
 
408
- > `optional` **awsS3Endpoint**: `string`
416
+ > `optional` **awsS3AuthMode**: `string`
409
417
 
410
- AWS S3 endpoint.
418
+ AWS S3 auth mode, either credentials or pod, defaults to credentials.
411
419
 
412
420
  ***
413
421
 
414
- ### awsS3Region?
422
+ ### awsS3AccessKeyId?
415
423
 
416
- > `optional` **awsS3Region**: `string`
424
+ > `optional` **awsS3AccessKeyId**: `string`
417
425
 
418
- AWS S3 region.
426
+ AWS S3 access key id.
419
427
 
420
428
  ***
421
429
 
@@ -427,6 +435,14 @@ AWS S3 secret access key.
427
435
 
428
436
  ***
429
437
 
438
+ ### awsS3Endpoint?
439
+
440
+ > `optional` **awsS3Endpoint**: `string`
441
+
442
+ AWS S3 endpoint.
443
+
444
+ ***
445
+
430
446
  ### azureStorageAccountKey?
431
447
 
432
448
  > `optional` **azureStorageAccountKey**: `string`
@@ -564,6 +580,22 @@ Use the @json: prefix to specify the path to the JSON file.
564
580
 
565
581
  ***
566
582
 
583
+ ### awsSesRegion?
584
+
585
+ > `optional` **awsSesRegion**: `string`
586
+
587
+ AWS SES region.
588
+
589
+ ***
590
+
591
+ ### awsSesAuthMode?
592
+
593
+ > `optional` **awsSesAuthMode**: `string`
594
+
595
+ AWS SES auth mode, either credentials or pod, defaults to credentials.
596
+
597
+ ***
598
+
567
599
  ### awsSesSecretAccessKey?
568
600
 
569
601
  > `optional` **awsSesSecretAccessKey**: `string`
@@ -580,14 +612,6 @@ AWS SES access key id.
580
612
 
581
613
  ***
582
614
 
583
- ### awsSesRegion?
584
-
585
- > `optional` **awsSesRegion**: `string`
586
-
587
- AWS SES region.
588
-
589
- ***
590
-
591
615
  ### awsSesEndpoint?
592
616
 
593
617
  > `optional` **awsSesEndpoint**: `string`
@@ -849,7 +873,7 @@ Url which points to the api for a trusted synchronised storage node, not require
849
873
  > `optional` **synchronisedStorageVerifiableStorageKeyId**: `string`
850
874
 
851
875
  The key for the smart contract which contains the verifiable storage pointer store for synchronised storage.
852
- This only required if using a custom verifiable storage item, otherwise it will default the the network name.
876
+ This only required if using a custom verifiable storage item, otherwise it will default to the network name.
853
877
 
854
878
  ***
855
879
 
@@ -1047,12 +1071,31 @@ Is the data space connector enabled, defaults to false.
1047
1071
 
1048
1072
  ***
1049
1073
 
1050
- ### dataSpaceConnectorApps?
1074
+ ### dataSpaceConnectorRetainActivityLogsFor?
1051
1075
 
1052
- > `optional` **dataSpaceConnectorApps**: `string`
1076
+ > `optional` **dataSpaceConnectorRetainActivityLogsFor**: `string`
1053
1077
 
1054
- The application configuration for the data space connector.
1055
- Use the @json: prefix to specify the path to the JSON configuration file.
1078
+ The length of time to retain the activity logs for in minutes, set to -1 to keep forever.
1079
+
1080
+ #### Default
1081
+
1082
+ ```ts
1083
+ 10
1084
+ ```
1085
+
1086
+ ***
1087
+
1088
+ ### dataSpaceConnectorActivityLogsCleanUpInterval?
1089
+
1090
+ > `optional` **dataSpaceConnectorActivityLogsCleanUpInterval**: `string`
1091
+
1092
+ The interval for cleaning up the activity logs.
1093
+
1094
+ #### Default
1095
+
1096
+ ```ts
1097
+ 60
1098
+ ```
1056
1099
 
1057
1100
  ***
1058
1101
 
@@ -1070,3 +1113,11 @@ Enable verifiable credential authentication for the API.
1070
1113
 
1071
1114
  Verifiable credential assertion for node to node communication.
1072
1115
  Defaults to node-authentication-assertion.
1116
+
1117
+ ***
1118
+
1119
+ ### extensions?
1120
+
1121
+ > `optional` **extensions**: `string`
1122
+
1123
+ A comma separated list of additional node extensions to load, the initialiseExtension method will be called for each extension.