@twin.org/engine 0.0.1-next.47 → 0.0.1-next.49
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 +5 -0
- package/dist/esm/index.mjs +6 -1
- package/package.json +3 -3
package/dist/cjs/index.cjs
CHANGED
|
@@ -44,6 +44,7 @@ class Engine extends engineCore.EngineCore {
|
|
|
44
44
|
this.addTypeInitialiser("blobStorageConnector", this._context.config.types.blobStorageConnector, "@twin.org/engine-types", "initialiseBlobStorageConnector");
|
|
45
45
|
this.addTypeInitialiser("blobStorageComponent", this._context.config.types.blobStorageComponent, "@twin.org/engine-types", "initialiseBlobStorageComponent");
|
|
46
46
|
this.addTypeInitialiser("immutableStorageConnector", this._context.config.types.immutableStorageConnector, "@twin.org/engine-types", "initialiseImmutableStorageConnector");
|
|
47
|
+
this.addTypeInitialiser("immutableStorageComponent", this._context.config.types.immutableStorageComponent, "@twin.org/engine-types", "initialiseImmutableStorageComponent");
|
|
47
48
|
this.addTypeInitialiser("walletConnector", this._context.config.types.walletConnector, "@twin.org/engine-types", "initialiseWalletStorage");
|
|
48
49
|
this.addTypeInitialiser("faucetConnector", this._context.config.types.faucetConnector, "@twin.org/engine-types", "initialiseFaucetConnector");
|
|
49
50
|
this.addTypeInitialiser("walletConnector", this._context.config.types.walletConnector, "@twin.org/engine-types", "initialiseWalletConnector");
|
|
@@ -714,6 +715,10 @@ function configureImmutableStorageConnectors(coreConfig, envVars) {
|
|
|
714
715
|
});
|
|
715
716
|
}
|
|
716
717
|
if (coreConfig.types.immutableStorageConnector.length > 0) {
|
|
718
|
+
coreConfig.types.immutableStorageComponent ??= [];
|
|
719
|
+
coreConfig.types.immutableStorageComponent.push({
|
|
720
|
+
type: engineTypes.ImmutableStorageComponentType.Service
|
|
721
|
+
});
|
|
717
722
|
coreConfig.types.immutableProofComponent ??= [];
|
|
718
723
|
coreConfig.types.immutableProofComponent.push({
|
|
719
724
|
type: engineTypes.ImmutableProofComponentType.Service,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EngineCore } from '@twin.org/engine-core';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { Is, Coerce } from '@twin.org/core';
|
|
4
|
-
import { EntityStorageConnectorType, BlobStorageConnectorType, BlobStorageComponentType, VaultConnectorType, LoggingConnectorType, LoggingComponentType, BackgroundTaskConnectorType, EventBusConnectorType, EventBusComponentType, TelemetryConnectorType, TelemetryComponentType, MessagingEmailConnectorType, MessagingSmsConnectorType, MessagingPushNotificationConnectorType, MessagingComponentType, FaucetConnectorType, WalletConnectorType, NftConnectorType, NftComponentType, ImmutableStorageConnectorType, ImmutableProofComponentType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, IdentityConnectorType, IdentityComponentType, IdentityResolverConnectorType, IdentityResolverComponentType, IdentityProfileConnectorType, IdentityProfileComponentType, AttestationConnectorType, AttestationComponentType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType } from '@twin.org/engine-types';
|
|
4
|
+
import { EntityStorageConnectorType, BlobStorageConnectorType, BlobStorageComponentType, VaultConnectorType, LoggingConnectorType, LoggingComponentType, BackgroundTaskConnectorType, EventBusConnectorType, EventBusComponentType, TelemetryConnectorType, TelemetryComponentType, MessagingEmailConnectorType, MessagingSmsConnectorType, MessagingPushNotificationConnectorType, MessagingComponentType, FaucetConnectorType, WalletConnectorType, NftConnectorType, NftComponentType, ImmutableStorageConnectorType, ImmutableStorageComponentType, ImmutableProofComponentType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, IdentityConnectorType, IdentityComponentType, IdentityResolverConnectorType, IdentityResolverComponentType, IdentityProfileConnectorType, IdentityProfileComponentType, AttestationConnectorType, AttestationComponentType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType } from '@twin.org/engine-types';
|
|
5
5
|
|
|
6
6
|
// Copyright 2024 IOTA Stiftung.
|
|
7
7
|
// SPDX-License-Identifier: Apache-2.0.
|
|
@@ -42,6 +42,7 @@ class Engine extends EngineCore {
|
|
|
42
42
|
this.addTypeInitialiser("blobStorageConnector", this._context.config.types.blobStorageConnector, "@twin.org/engine-types", "initialiseBlobStorageConnector");
|
|
43
43
|
this.addTypeInitialiser("blobStorageComponent", this._context.config.types.blobStorageComponent, "@twin.org/engine-types", "initialiseBlobStorageComponent");
|
|
44
44
|
this.addTypeInitialiser("immutableStorageConnector", this._context.config.types.immutableStorageConnector, "@twin.org/engine-types", "initialiseImmutableStorageConnector");
|
|
45
|
+
this.addTypeInitialiser("immutableStorageComponent", this._context.config.types.immutableStorageComponent, "@twin.org/engine-types", "initialiseImmutableStorageComponent");
|
|
45
46
|
this.addTypeInitialiser("walletConnector", this._context.config.types.walletConnector, "@twin.org/engine-types", "initialiseWalletStorage");
|
|
46
47
|
this.addTypeInitialiser("faucetConnector", this._context.config.types.faucetConnector, "@twin.org/engine-types", "initialiseFaucetConnector");
|
|
47
48
|
this.addTypeInitialiser("walletConnector", this._context.config.types.walletConnector, "@twin.org/engine-types", "initialiseWalletConnector");
|
|
@@ -712,6 +713,10 @@ function configureImmutableStorageConnectors(coreConfig, envVars) {
|
|
|
712
713
|
});
|
|
713
714
|
}
|
|
714
715
|
if (coreConfig.types.immutableStorageConnector.length > 0) {
|
|
716
|
+
coreConfig.types.immutableStorageComponent ??= [];
|
|
717
|
+
coreConfig.types.immutableStorageComponent.push({
|
|
718
|
+
type: ImmutableStorageComponentType.Service
|
|
719
|
+
});
|
|
715
720
|
coreConfig.types.immutableProofComponent ??= [];
|
|
716
721
|
coreConfig.types.immutableProofComponent.push({
|
|
717
722
|
type: ImmutableProofComponentType.Service,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.49",
|
|
4
4
|
"description": "Engine implementation.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
|
-
"@twin.org/engine-core": "0.0.1-next.
|
|
19
|
-
"@twin.org/engine-types": "0.0.1-next.
|
|
18
|
+
"@twin.org/engine-core": "0.0.1-next.49",
|
|
19
|
+
"@twin.org/engine-types": "0.0.1-next.49"
|
|
20
20
|
},
|
|
21
21
|
"main": "./dist/cjs/index.cjs",
|
|
22
22
|
"module": "./dist/esm/index.mjs",
|