@twin.org/engine-types 0.0.1-next.69 → 0.0.1-next.72
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 +13 -113
- package/dist/esm/index.mjs +13 -113
- package/dist/types/models/config/dltConfig.d.ts +0 -6
- package/dist/types/models/config/faucetConnectorConfig.d.ts +0 -4
- package/dist/types/models/config/identityConnectorConfig.d.ts +0 -4
- package/dist/types/models/config/identityResolverConnectorConfig.d.ts +0 -4
- package/dist/types/models/config/nftConnectorConfig.d.ts +0 -4
- package/dist/types/models/config/verifiableStorageConnectorConfig.d.ts +0 -4
- package/dist/types/models/config/walletConnectorConfig.d.ts +0 -4
- package/dist/types/models/types/dltConfigType.d.ts +0 -4
- package/dist/types/models/types/faucetConnectorType.d.ts +0 -4
- package/dist/types/models/types/identityConnectorType.d.ts +0 -4
- package/dist/types/models/types/identityResolverConnectorType.d.ts +0 -4
- package/dist/types/models/types/nftConnectorType.d.ts +0 -4
- package/dist/types/models/types/verifiableStorageConnectorType.d.ts +0 -4
- package/dist/types/models/types/walletConnectorType.d.ts +0 -4
- package/docs/changelog.md +46 -0
- package/docs/reference/type-aliases/DltConfig.md +17 -1
- package/docs/reference/type-aliases/FaucetConnectorConfig.md +1 -1
- package/docs/reference/type-aliases/IdentityConnectorConfig.md +1 -1
- package/docs/reference/type-aliases/IdentityResolverConnectorConfig.md +1 -1
- package/docs/reference/type-aliases/NftConnectorConfig.md +1 -1
- package/docs/reference/type-aliases/VerifiableStorageConnectorConfig.md +1 -1
- package/docs/reference/type-aliases/WalletConnectorConfig.md +1 -1
- package/docs/reference/variables/DltConfigType.md +0 -6
- package/docs/reference/variables/FaucetConnectorType.md +0 -6
- package/docs/reference/variables/IdentityConnectorType.md +0 -6
- package/docs/reference/variables/IdentityResolverConnectorType.md +0 -6
- package/docs/reference/variables/NftConnectorType.md +0 -6
- package/docs/reference/variables/VerifiableStorageConnectorType.md +0 -6
- package/docs/reference/variables/WalletConnectorType.md +0 -6
- package/package.json +2 -6
package/dist/cjs/index.cjs
CHANGED
|
@@ -38,18 +38,15 @@ var eventBusModels = require('@twin.org/event-bus-models');
|
|
|
38
38
|
var eventBusService = require('@twin.org/event-bus-service');
|
|
39
39
|
var walletConnectorEntityStorage = require('@twin.org/wallet-connector-entity-storage');
|
|
40
40
|
var walletConnectorIota = require('@twin.org/wallet-connector-iota');
|
|
41
|
-
var walletConnectorIotaStardust = require('@twin.org/wallet-connector-iota-stardust');
|
|
42
41
|
var walletModels = require('@twin.org/wallet-models');
|
|
43
42
|
var identityConnectorEntityStorage = require('@twin.org/identity-connector-entity-storage');
|
|
44
43
|
var identityConnectorIota = require('@twin.org/identity-connector-iota');
|
|
45
|
-
var identityConnectorIotaStardust = require('@twin.org/identity-connector-iota-stardust');
|
|
46
44
|
var identityModels = require('@twin.org/identity-models');
|
|
47
45
|
var identityService = require('@twin.org/identity-service');
|
|
48
46
|
var identityConnectorUniversal = require('@twin.org/identity-connector-universal');
|
|
49
47
|
var immutableProofService = require('@twin.org/immutable-proof-service');
|
|
50
48
|
var verifiableStorageConnectorEntityStorage = require('@twin.org/verifiable-storage-connector-entity-storage');
|
|
51
49
|
var verifiableStorageConnectorIota = require('@twin.org/verifiable-storage-connector-iota');
|
|
52
|
-
var verifiableStorageConnectorIotaStardust = require('@twin.org/verifiable-storage-connector-iota-stardust');
|
|
53
50
|
var verifiableStorageModels = require('@twin.org/verifiable-storage-models');
|
|
54
51
|
var verifiableStorageService = require('@twin.org/verifiable-storage-service');
|
|
55
52
|
var loggingConnectorConsole = require('@twin.org/logging-connector-console');
|
|
@@ -62,7 +59,6 @@ var messagingModels = require('@twin.org/messaging-models');
|
|
|
62
59
|
var messagingService = require('@twin.org/messaging-service');
|
|
63
60
|
var nftConnectorEntityStorage = require('@twin.org/nft-connector-entity-storage');
|
|
64
61
|
var nftConnectorIota = require('@twin.org/nft-connector-iota');
|
|
65
|
-
var nftConnectorIotaStardust = require('@twin.org/nft-connector-iota-stardust');
|
|
66
62
|
var nftModels = require('@twin.org/nft-models');
|
|
67
63
|
var nftService = require('@twin.org/nft-service');
|
|
68
64
|
var telemetryConnectorEntityStorage = require('@twin.org/telemetry-connector-entity-storage');
|
|
@@ -156,7 +152,6 @@ function initialiseAttestationComponent(engineCore, context, instanceConfig, ove
|
|
|
156
152
|
let instanceType;
|
|
157
153
|
if (type === AttestationComponentType.Service) {
|
|
158
154
|
component = new attestationService.AttestationService({
|
|
159
|
-
walletConnectorType: context.defaultTypes.walletConnector,
|
|
160
155
|
...instanceConfig.options
|
|
161
156
|
});
|
|
162
157
|
instanceType = attestationService.AttestationService.NAMESPACE;
|
|
@@ -941,6 +936,7 @@ function initialiseDocumentManagementComponent(engineCore, context, instanceConf
|
|
|
941
936
|
auditableItemGraphComponentType: context.defaultTypes.auditableItemGraphComponent,
|
|
942
937
|
blobStorageComponentType: context.defaultTypes.blobStorageComponent,
|
|
943
938
|
attestationComponentType: context.defaultTypes.attestationComponent,
|
|
939
|
+
dataProcessingComponentType: context.defaultTypes.dataProcessingComponent,
|
|
944
940
|
...instanceConfig.options
|
|
945
941
|
});
|
|
946
942
|
instanceType = documentManagementService.DocumentManagementService.NAMESPACE;
|
|
@@ -1071,11 +1067,7 @@ const FaucetConnectorType = {
|
|
|
1071
1067
|
/**
|
|
1072
1068
|
* IOTA.
|
|
1073
1069
|
*/
|
|
1074
|
-
Iota: "iota"
|
|
1075
|
-
/**
|
|
1076
|
-
* IOTA Stardust.
|
|
1077
|
-
*/
|
|
1078
|
-
IotaStardust: "iota-stardust"
|
|
1070
|
+
Iota: "iota"
|
|
1079
1071
|
};
|
|
1080
1072
|
|
|
1081
1073
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1096,18 +1088,7 @@ function initialiseFaucetConnector(engineCore, context, instanceConfig, override
|
|
|
1096
1088
|
const type = instanceConfig.type;
|
|
1097
1089
|
let connector;
|
|
1098
1090
|
let instanceType;
|
|
1099
|
-
if (type === FaucetConnectorType.
|
|
1100
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1101
|
-
connector = new walletConnectorIotaStardust.IotaStardustFaucetConnector({
|
|
1102
|
-
...instanceConfig.options,
|
|
1103
|
-
config: {
|
|
1104
|
-
...dltConfig?.options?.config,
|
|
1105
|
-
...instanceConfig.options.config
|
|
1106
|
-
}
|
|
1107
|
-
});
|
|
1108
|
-
instanceType = walletConnectorIotaStardust.IotaStardustFaucetConnector.NAMESPACE;
|
|
1109
|
-
}
|
|
1110
|
-
else if (type === FaucetConnectorType.Iota) {
|
|
1091
|
+
if (type === FaucetConnectorType.Iota) {
|
|
1111
1092
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1112
1093
|
connector = new walletConnectorIota.IotaFaucetConnector({
|
|
1113
1094
|
...instanceConfig.options,
|
|
@@ -1164,11 +1145,7 @@ const IdentityConnectorType = {
|
|
|
1164
1145
|
/**
|
|
1165
1146
|
* IOTA.
|
|
1166
1147
|
*/
|
|
1167
|
-
Iota: "iota"
|
|
1168
|
-
/**
|
|
1169
|
-
* IOTA Stardust.
|
|
1170
|
-
*/
|
|
1171
|
-
IotaStardust: "iota-stardust"
|
|
1148
|
+
Iota: "iota"
|
|
1172
1149
|
};
|
|
1173
1150
|
|
|
1174
1151
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1189,19 +1166,7 @@ function initialiseIdentityConnector(engineCore, context, instanceConfig, overri
|
|
|
1189
1166
|
const type = instanceConfig.type;
|
|
1190
1167
|
let connector;
|
|
1191
1168
|
let instanceType;
|
|
1192
|
-
if (type === IdentityConnectorType.
|
|
1193
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1194
|
-
connector = new identityConnectorIotaStardust.IotaStardustIdentityConnector({
|
|
1195
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1196
|
-
...instanceConfig.options,
|
|
1197
|
-
config: {
|
|
1198
|
-
...dltConfig?.options?.config,
|
|
1199
|
-
...instanceConfig.options.config
|
|
1200
|
-
}
|
|
1201
|
-
});
|
|
1202
|
-
instanceType = identityConnectorIotaStardust.IotaStardustIdentityConnector.NAMESPACE;
|
|
1203
|
-
}
|
|
1204
|
-
else if (type === IdentityConnectorType.Iota) {
|
|
1169
|
+
if (type === IdentityConnectorType.Iota) {
|
|
1205
1170
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1206
1171
|
connector = new identityConnectorIota.IotaIdentityConnector({
|
|
1207
1172
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -1398,11 +1363,7 @@ const IdentityResolverConnectorType = {
|
|
|
1398
1363
|
/**
|
|
1399
1364
|
* Universal.
|
|
1400
1365
|
*/
|
|
1401
|
-
Universal: "universal"
|
|
1402
|
-
/**
|
|
1403
|
-
* IOTA Stardust.
|
|
1404
|
-
*/
|
|
1405
|
-
IotaStardust: "iota-stardust"
|
|
1366
|
+
Universal: "universal"
|
|
1406
1367
|
};
|
|
1407
1368
|
|
|
1408
1369
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1423,18 +1384,7 @@ function initialiseIdentityResolverConnector(engineCore, context, instanceConfig
|
|
|
1423
1384
|
const type = instanceConfig.type;
|
|
1424
1385
|
let connector;
|
|
1425
1386
|
let instanceType;
|
|
1426
|
-
if (type === IdentityResolverConnectorType.
|
|
1427
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1428
|
-
connector = new identityConnectorIotaStardust.IotaStardustIdentityResolverConnector({
|
|
1429
|
-
...instanceConfig.options,
|
|
1430
|
-
config: {
|
|
1431
|
-
...dltConfig?.options?.config,
|
|
1432
|
-
...instanceConfig.options.config
|
|
1433
|
-
}
|
|
1434
|
-
});
|
|
1435
|
-
instanceType = identityConnectorIotaStardust.IotaStardustIdentityResolverConnector.NAMESPACE;
|
|
1436
|
-
}
|
|
1437
|
-
else if (type === IdentityResolverConnectorType.Iota) {
|
|
1387
|
+
if (type === IdentityResolverConnectorType.Iota) {
|
|
1438
1388
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1439
1389
|
connector = new identityConnectorIota.IotaIdentityResolverConnector({
|
|
1440
1390
|
...instanceConfig.options,
|
|
@@ -1593,11 +1543,7 @@ const VerifiableStorageConnectorType = {
|
|
|
1593
1543
|
/**
|
|
1594
1544
|
* IOTA.
|
|
1595
1545
|
*/
|
|
1596
|
-
Iota: "iota"
|
|
1597
|
-
/**
|
|
1598
|
-
* IOTA Stardust.
|
|
1599
|
-
*/
|
|
1600
|
-
IotaStardust: "iota-stardust"
|
|
1546
|
+
Iota: "iota"
|
|
1601
1547
|
};
|
|
1602
1548
|
|
|
1603
1549
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1618,19 +1564,7 @@ function initialiseVerifiableStorageConnector(engineCore, context, instanceConfi
|
|
|
1618
1564
|
const type = instanceConfig.type;
|
|
1619
1565
|
let connector;
|
|
1620
1566
|
let instanceType;
|
|
1621
|
-
if (type === VerifiableStorageConnectorType.
|
|
1622
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1623
|
-
connector = new verifiableStorageConnectorIotaStardust.IotaStardustVerifiableStorageConnector({
|
|
1624
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1625
|
-
...instanceConfig.options,
|
|
1626
|
-
config: {
|
|
1627
|
-
...dltConfig?.options?.config,
|
|
1628
|
-
...instanceConfig.options.config
|
|
1629
|
-
}
|
|
1630
|
-
});
|
|
1631
|
-
instanceType = verifiableStorageConnectorIotaStardust.IotaStardustVerifiableStorageConnector.NAMESPACE;
|
|
1632
|
-
}
|
|
1633
|
-
else if (type === VerifiableStorageConnectorType.Iota) {
|
|
1567
|
+
if (type === VerifiableStorageConnectorType.Iota) {
|
|
1634
1568
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1635
1569
|
connector = new verifiableStorageConnectorIota.IotaVerifiableStorageConnector({
|
|
1636
1570
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2073,11 +2007,7 @@ const NftConnectorType = {
|
|
|
2073
2007
|
/**
|
|
2074
2008
|
* IOTA.
|
|
2075
2009
|
*/
|
|
2076
|
-
Iota: "iota"
|
|
2077
|
-
/**
|
|
2078
|
-
* IOTA Stardust.
|
|
2079
|
-
*/
|
|
2080
|
-
IotaStardust: "iota-stardust"
|
|
2010
|
+
Iota: "iota"
|
|
2081
2011
|
};
|
|
2082
2012
|
|
|
2083
2013
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2104,14 +2034,6 @@ function initialiseNftConnector(engineCore, context, instanceConfig, overrideIns
|
|
|
2104
2034
|
connector = new nftConnectorEntityStorage.EntityStorageNftConnector(instanceConfig.options);
|
|
2105
2035
|
instanceType = nftConnectorEntityStorage.EntityStorageNftConnector.NAMESPACE;
|
|
2106
2036
|
}
|
|
2107
|
-
else if (type === NftConnectorType.IotaStardust) {
|
|
2108
|
-
connector = new nftConnectorIotaStardust.IotaStardustNftConnector({
|
|
2109
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2110
|
-
walletConnectorType: context.defaultTypes.walletConnector,
|
|
2111
|
-
...instanceConfig.options
|
|
2112
|
-
});
|
|
2113
|
-
instanceType = nftConnectorIotaStardust.IotaStardustNftConnector.NAMESPACE;
|
|
2114
|
-
}
|
|
2115
2037
|
else if (type === NftConnectorType.Iota) {
|
|
2116
2038
|
connector = new nftConnectorIota.IotaNftConnector({
|
|
2117
2039
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2341,11 +2263,7 @@ const WalletConnectorType = {
|
|
|
2341
2263
|
/**
|
|
2342
2264
|
* IOTA.
|
|
2343
2265
|
*/
|
|
2344
|
-
Iota: "iota"
|
|
2345
|
-
/**
|
|
2346
|
-
* IOTA Stardust.
|
|
2347
|
-
*/
|
|
2348
|
-
IotaStardust: "iota-stardust"
|
|
2266
|
+
Iota: "iota"
|
|
2349
2267
|
};
|
|
2350
2268
|
|
|
2351
2269
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2366,20 +2284,7 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2366
2284
|
const type = instanceConfig.type;
|
|
2367
2285
|
let connector;
|
|
2368
2286
|
let instanceType;
|
|
2369
|
-
if (type === WalletConnectorType.
|
|
2370
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2371
|
-
connector = new walletConnectorIotaStardust.IotaStardustWalletConnector({
|
|
2372
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2373
|
-
faucetConnectorType: context.defaultTypes.faucetConnector,
|
|
2374
|
-
...instanceConfig.options,
|
|
2375
|
-
config: {
|
|
2376
|
-
...dltConfig?.options?.config,
|
|
2377
|
-
...instanceConfig.options.config
|
|
2378
|
-
}
|
|
2379
|
-
});
|
|
2380
|
-
instanceType = walletConnectorIotaStardust.IotaStardustWalletConnector.NAMESPACE;
|
|
2381
|
-
}
|
|
2382
|
-
else if (type === WalletConnectorType.Iota) {
|
|
2287
|
+
if (type === WalletConnectorType.Iota) {
|
|
2383
2288
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2384
2289
|
connector = new walletConnectorIota.IotaWalletConnector({
|
|
2385
2290
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2426,7 +2331,6 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2426
2331
|
function initialiseWalletStorage(engineCore, context, instanceConfig, overrideInstanceType) {
|
|
2427
2332
|
const type = instanceConfig.type;
|
|
2428
2333
|
if (type === WalletConnectorType.Iota) ;
|
|
2429
|
-
else if (type === WalletConnectorType.IotaStardust) ;
|
|
2430
2334
|
else if (type === WalletConnectorType.EntityStorage) {
|
|
2431
2335
|
walletConnectorEntityStorage.initSchema();
|
|
2432
2336
|
initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.walletAddressEntityStorageType, "WalletAddress");
|
|
@@ -2450,11 +2354,7 @@ const DltConfigType = {
|
|
|
2450
2354
|
/**
|
|
2451
2355
|
* IOTA.
|
|
2452
2356
|
*/
|
|
2453
|
-
Iota: "iota"
|
|
2454
|
-
/**
|
|
2455
|
-
* IOTA Stardust.
|
|
2456
|
-
*/
|
|
2457
|
-
IotaStardust: "iota-stardust"
|
|
2357
|
+
Iota: "iota"
|
|
2458
2358
|
};
|
|
2459
2359
|
|
|
2460
2360
|
exports.AttestationComponentType = AttestationComponentType;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -36,18 +36,15 @@ import { EventBusConnectorFactory } from '@twin.org/event-bus-models';
|
|
|
36
36
|
import { EventBusService } from '@twin.org/event-bus-service';
|
|
37
37
|
import { EntityStorageFaucetConnector, EntityStorageWalletConnector, initSchema as initSchema$e } from '@twin.org/wallet-connector-entity-storage';
|
|
38
38
|
import { IotaFaucetConnector, IotaWalletConnector } from '@twin.org/wallet-connector-iota';
|
|
39
|
-
import { IotaStardustFaucetConnector, IotaStardustWalletConnector } from '@twin.org/wallet-connector-iota-stardust';
|
|
40
39
|
import { FaucetConnectorFactory, WalletConnectorFactory } from '@twin.org/wallet-models';
|
|
41
40
|
import { initSchema as initSchema$5, EntityStorageIdentityConnector, EntityStorageIdentityProfileConnector, EntityStorageIdentityResolverConnector } from '@twin.org/identity-connector-entity-storage';
|
|
42
41
|
import { IotaIdentityConnector, IotaIdentityResolverConnector } from '@twin.org/identity-connector-iota';
|
|
43
|
-
import { IotaStardustIdentityConnector, IotaStardustIdentityResolverConnector } from '@twin.org/identity-connector-iota-stardust';
|
|
44
42
|
import { IdentityConnectorFactory, IdentityProfileConnectorFactory, IdentityResolverConnectorFactory } from '@twin.org/identity-models';
|
|
45
43
|
import { IdentityService, IdentityProfileService, IdentityResolverService } from '@twin.org/identity-service';
|
|
46
44
|
import { UniversalResolverConnector } from '@twin.org/identity-connector-universal';
|
|
47
45
|
import { initSchema as initSchema$6, ImmutableProofService } from '@twin.org/immutable-proof-service';
|
|
48
46
|
import { initSchema as initSchema$7, EntityStorageVerifiableStorageConnector } from '@twin.org/verifiable-storage-connector-entity-storage';
|
|
49
47
|
import { IotaVerifiableStorageConnector } from '@twin.org/verifiable-storage-connector-iota';
|
|
50
|
-
import { IotaStardustVerifiableStorageConnector } from '@twin.org/verifiable-storage-connector-iota-stardust';
|
|
51
48
|
import { VerifiableStorageConnectorFactory } from '@twin.org/verifiable-storage-models';
|
|
52
49
|
import { VerifiableStorageService } from '@twin.org/verifiable-storage-service';
|
|
53
50
|
import { ConsoleLoggingConnector } from '@twin.org/logging-connector-console';
|
|
@@ -60,7 +57,6 @@ import { MessagingEmailConnectorFactory, MessagingSmsConnectorFactory, Messaging
|
|
|
60
57
|
import { initSchema as initSchema$a, MessagingService } from '@twin.org/messaging-service';
|
|
61
58
|
import { initSchema as initSchema$b, EntityStorageNftConnector } from '@twin.org/nft-connector-entity-storage';
|
|
62
59
|
import { IotaNftConnector } from '@twin.org/nft-connector-iota';
|
|
63
|
-
import { IotaStardustNftConnector } from '@twin.org/nft-connector-iota-stardust';
|
|
64
60
|
import { NftConnectorFactory } from '@twin.org/nft-models';
|
|
65
61
|
import { NftService } from '@twin.org/nft-service';
|
|
66
62
|
import { initSchema as initSchema$c, EntityStorageTelemetryConnector } from '@twin.org/telemetry-connector-entity-storage';
|
|
@@ -154,7 +150,6 @@ function initialiseAttestationComponent(engineCore, context, instanceConfig, ove
|
|
|
154
150
|
let instanceType;
|
|
155
151
|
if (type === AttestationComponentType.Service) {
|
|
156
152
|
component = new AttestationService({
|
|
157
|
-
walletConnectorType: context.defaultTypes.walletConnector,
|
|
158
153
|
...instanceConfig.options
|
|
159
154
|
});
|
|
160
155
|
instanceType = AttestationService.NAMESPACE;
|
|
@@ -939,6 +934,7 @@ function initialiseDocumentManagementComponent(engineCore, context, instanceConf
|
|
|
939
934
|
auditableItemGraphComponentType: context.defaultTypes.auditableItemGraphComponent,
|
|
940
935
|
blobStorageComponentType: context.defaultTypes.blobStorageComponent,
|
|
941
936
|
attestationComponentType: context.defaultTypes.attestationComponent,
|
|
937
|
+
dataProcessingComponentType: context.defaultTypes.dataProcessingComponent,
|
|
942
938
|
...instanceConfig.options
|
|
943
939
|
});
|
|
944
940
|
instanceType = DocumentManagementService.NAMESPACE;
|
|
@@ -1069,11 +1065,7 @@ const FaucetConnectorType = {
|
|
|
1069
1065
|
/**
|
|
1070
1066
|
* IOTA.
|
|
1071
1067
|
*/
|
|
1072
|
-
Iota: "iota"
|
|
1073
|
-
/**
|
|
1074
|
-
* IOTA Stardust.
|
|
1075
|
-
*/
|
|
1076
|
-
IotaStardust: "iota-stardust"
|
|
1068
|
+
Iota: "iota"
|
|
1077
1069
|
};
|
|
1078
1070
|
|
|
1079
1071
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1094,18 +1086,7 @@ function initialiseFaucetConnector(engineCore, context, instanceConfig, override
|
|
|
1094
1086
|
const type = instanceConfig.type;
|
|
1095
1087
|
let connector;
|
|
1096
1088
|
let instanceType;
|
|
1097
|
-
if (type === FaucetConnectorType.
|
|
1098
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1099
|
-
connector = new IotaStardustFaucetConnector({
|
|
1100
|
-
...instanceConfig.options,
|
|
1101
|
-
config: {
|
|
1102
|
-
...dltConfig?.options?.config,
|
|
1103
|
-
...instanceConfig.options.config
|
|
1104
|
-
}
|
|
1105
|
-
});
|
|
1106
|
-
instanceType = IotaStardustFaucetConnector.NAMESPACE;
|
|
1107
|
-
}
|
|
1108
|
-
else if (type === FaucetConnectorType.Iota) {
|
|
1089
|
+
if (type === FaucetConnectorType.Iota) {
|
|
1109
1090
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1110
1091
|
connector = new IotaFaucetConnector({
|
|
1111
1092
|
...instanceConfig.options,
|
|
@@ -1162,11 +1143,7 @@ const IdentityConnectorType = {
|
|
|
1162
1143
|
/**
|
|
1163
1144
|
* IOTA.
|
|
1164
1145
|
*/
|
|
1165
|
-
Iota: "iota"
|
|
1166
|
-
/**
|
|
1167
|
-
* IOTA Stardust.
|
|
1168
|
-
*/
|
|
1169
|
-
IotaStardust: "iota-stardust"
|
|
1146
|
+
Iota: "iota"
|
|
1170
1147
|
};
|
|
1171
1148
|
|
|
1172
1149
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1187,19 +1164,7 @@ function initialiseIdentityConnector(engineCore, context, instanceConfig, overri
|
|
|
1187
1164
|
const type = instanceConfig.type;
|
|
1188
1165
|
let connector;
|
|
1189
1166
|
let instanceType;
|
|
1190
|
-
if (type === IdentityConnectorType.
|
|
1191
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1192
|
-
connector = new IotaStardustIdentityConnector({
|
|
1193
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1194
|
-
...instanceConfig.options,
|
|
1195
|
-
config: {
|
|
1196
|
-
...dltConfig?.options?.config,
|
|
1197
|
-
...instanceConfig.options.config
|
|
1198
|
-
}
|
|
1199
|
-
});
|
|
1200
|
-
instanceType = IotaStardustIdentityConnector.NAMESPACE;
|
|
1201
|
-
}
|
|
1202
|
-
else if (type === IdentityConnectorType.Iota) {
|
|
1167
|
+
if (type === IdentityConnectorType.Iota) {
|
|
1203
1168
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1204
1169
|
connector = new IotaIdentityConnector({
|
|
1205
1170
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -1396,11 +1361,7 @@ const IdentityResolverConnectorType = {
|
|
|
1396
1361
|
/**
|
|
1397
1362
|
* Universal.
|
|
1398
1363
|
*/
|
|
1399
|
-
Universal: "universal"
|
|
1400
|
-
/**
|
|
1401
|
-
* IOTA Stardust.
|
|
1402
|
-
*/
|
|
1403
|
-
IotaStardust: "iota-stardust"
|
|
1364
|
+
Universal: "universal"
|
|
1404
1365
|
};
|
|
1405
1366
|
|
|
1406
1367
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1421,18 +1382,7 @@ function initialiseIdentityResolverConnector(engineCore, context, instanceConfig
|
|
|
1421
1382
|
const type = instanceConfig.type;
|
|
1422
1383
|
let connector;
|
|
1423
1384
|
let instanceType;
|
|
1424
|
-
if (type === IdentityResolverConnectorType.
|
|
1425
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1426
|
-
connector = new IotaStardustIdentityResolverConnector({
|
|
1427
|
-
...instanceConfig.options,
|
|
1428
|
-
config: {
|
|
1429
|
-
...dltConfig?.options?.config,
|
|
1430
|
-
...instanceConfig.options.config
|
|
1431
|
-
}
|
|
1432
|
-
});
|
|
1433
|
-
instanceType = IotaStardustIdentityResolverConnector.NAMESPACE;
|
|
1434
|
-
}
|
|
1435
|
-
else if (type === IdentityResolverConnectorType.Iota) {
|
|
1385
|
+
if (type === IdentityResolverConnectorType.Iota) {
|
|
1436
1386
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1437
1387
|
connector = new IotaIdentityResolverConnector({
|
|
1438
1388
|
...instanceConfig.options,
|
|
@@ -1591,11 +1541,7 @@ const VerifiableStorageConnectorType = {
|
|
|
1591
1541
|
/**
|
|
1592
1542
|
* IOTA.
|
|
1593
1543
|
*/
|
|
1594
|
-
Iota: "iota"
|
|
1595
|
-
/**
|
|
1596
|
-
* IOTA Stardust.
|
|
1597
|
-
*/
|
|
1598
|
-
IotaStardust: "iota-stardust"
|
|
1544
|
+
Iota: "iota"
|
|
1599
1545
|
};
|
|
1600
1546
|
|
|
1601
1547
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1616,19 +1562,7 @@ function initialiseVerifiableStorageConnector(engineCore, context, instanceConfi
|
|
|
1616
1562
|
const type = instanceConfig.type;
|
|
1617
1563
|
let connector;
|
|
1618
1564
|
let instanceType;
|
|
1619
|
-
if (type === VerifiableStorageConnectorType.
|
|
1620
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1621
|
-
connector = new IotaStardustVerifiableStorageConnector({
|
|
1622
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1623
|
-
...instanceConfig.options,
|
|
1624
|
-
config: {
|
|
1625
|
-
...dltConfig?.options?.config,
|
|
1626
|
-
...instanceConfig.options.config
|
|
1627
|
-
}
|
|
1628
|
-
});
|
|
1629
|
-
instanceType = IotaStardustVerifiableStorageConnector.NAMESPACE;
|
|
1630
|
-
}
|
|
1631
|
-
else if (type === VerifiableStorageConnectorType.Iota) {
|
|
1565
|
+
if (type === VerifiableStorageConnectorType.Iota) {
|
|
1632
1566
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1633
1567
|
connector = new IotaVerifiableStorageConnector({
|
|
1634
1568
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2071,11 +2005,7 @@ const NftConnectorType = {
|
|
|
2071
2005
|
/**
|
|
2072
2006
|
* IOTA.
|
|
2073
2007
|
*/
|
|
2074
|
-
Iota: "iota"
|
|
2075
|
-
/**
|
|
2076
|
-
* IOTA Stardust.
|
|
2077
|
-
*/
|
|
2078
|
-
IotaStardust: "iota-stardust"
|
|
2008
|
+
Iota: "iota"
|
|
2079
2009
|
};
|
|
2080
2010
|
|
|
2081
2011
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2102,14 +2032,6 @@ function initialiseNftConnector(engineCore, context, instanceConfig, overrideIns
|
|
|
2102
2032
|
connector = new EntityStorageNftConnector(instanceConfig.options);
|
|
2103
2033
|
instanceType = EntityStorageNftConnector.NAMESPACE;
|
|
2104
2034
|
}
|
|
2105
|
-
else if (type === NftConnectorType.IotaStardust) {
|
|
2106
|
-
connector = new IotaStardustNftConnector({
|
|
2107
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2108
|
-
walletConnectorType: context.defaultTypes.walletConnector,
|
|
2109
|
-
...instanceConfig.options
|
|
2110
|
-
});
|
|
2111
|
-
instanceType = IotaStardustNftConnector.NAMESPACE;
|
|
2112
|
-
}
|
|
2113
2035
|
else if (type === NftConnectorType.Iota) {
|
|
2114
2036
|
connector = new IotaNftConnector({
|
|
2115
2037
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2339,11 +2261,7 @@ const WalletConnectorType = {
|
|
|
2339
2261
|
/**
|
|
2340
2262
|
* IOTA.
|
|
2341
2263
|
*/
|
|
2342
|
-
Iota: "iota"
|
|
2343
|
-
/**
|
|
2344
|
-
* IOTA Stardust.
|
|
2345
|
-
*/
|
|
2346
|
-
IotaStardust: "iota-stardust"
|
|
2264
|
+
Iota: "iota"
|
|
2347
2265
|
};
|
|
2348
2266
|
|
|
2349
2267
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2364,20 +2282,7 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2364
2282
|
const type = instanceConfig.type;
|
|
2365
2283
|
let connector;
|
|
2366
2284
|
let instanceType;
|
|
2367
|
-
if (type === WalletConnectorType.
|
|
2368
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2369
|
-
connector = new IotaStardustWalletConnector({
|
|
2370
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2371
|
-
faucetConnectorType: context.defaultTypes.faucetConnector,
|
|
2372
|
-
...instanceConfig.options,
|
|
2373
|
-
config: {
|
|
2374
|
-
...dltConfig?.options?.config,
|
|
2375
|
-
...instanceConfig.options.config
|
|
2376
|
-
}
|
|
2377
|
-
});
|
|
2378
|
-
instanceType = IotaStardustWalletConnector.NAMESPACE;
|
|
2379
|
-
}
|
|
2380
|
-
else if (type === WalletConnectorType.Iota) {
|
|
2285
|
+
if (type === WalletConnectorType.Iota) {
|
|
2381
2286
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2382
2287
|
connector = new IotaWalletConnector({
|
|
2383
2288
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2424,7 +2329,6 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2424
2329
|
function initialiseWalletStorage(engineCore, context, instanceConfig, overrideInstanceType) {
|
|
2425
2330
|
const type = instanceConfig.type;
|
|
2426
2331
|
if (type === WalletConnectorType.Iota) ;
|
|
2427
|
-
else if (type === WalletConnectorType.IotaStardust) ;
|
|
2428
2332
|
else if (type === WalletConnectorType.EntityStorage) {
|
|
2429
2333
|
initSchema$e();
|
|
2430
2334
|
initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.walletAddressEntityStorageType, "WalletAddress");
|
|
@@ -2448,11 +2352,7 @@ const DltConfigType = {
|
|
|
2448
2352
|
/**
|
|
2449
2353
|
* IOTA.
|
|
2450
2354
|
*/
|
|
2451
|
-
Iota: "iota"
|
|
2452
|
-
/**
|
|
2453
|
-
* IOTA Stardust.
|
|
2454
|
-
*/
|
|
2455
|
-
IotaStardust: "iota-stardust"
|
|
2355
|
+
Iota: "iota"
|
|
2456
2356
|
};
|
|
2457
2357
|
|
|
2458
2358
|
export { AttestationComponentType, AttestationConnectorType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, BackgroundTaskConnectorType, BlobStorageComponentType, BlobStorageConnectorType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType, DltConfigType, DocumentManagementComponentType, EntityStorageComponentType, EntityStorageConnectorType, EventBusComponentType, EventBusConnectorType, FaucetConnectorType, IdentityComponentType, IdentityConnectorType, IdentityProfileComponentType, IdentityProfileConnectorType, IdentityResolverComponentType, IdentityResolverConnectorType, ImmutableProofComponentType, LoggingComponentType, LoggingConnectorType, MessagingComponentType, MessagingEmailConnectorType, MessagingPushNotificationConnectorType, MessagingSmsConnectorType, NftComponentType, NftConnectorType, TelemetryComponentType, TelemetryConnectorType, VaultConnectorType, VerifiableStorageComponentType, VerifiableStorageConnectorType, WalletConnectorType, initialiseAttestationComponent, initialiseAttestationConnector, initialiseAuditableItemGraphComponent, initialiseAuditableItemStreamComponent, initialiseBackgroundTaskConnector, initialiseBlobStorageComponent, initialiseBlobStorageConnector, initialiseDataConverterConnector, initialiseDataExtractorConnector, initialiseDataProcessingComponent, initialiseDocumentManagementComponent, initialiseEntityStorageComponent, initialiseEntityStorageConnector, initialiseEventBusComponent, initialiseEventBusConnector, initialiseFaucetConnector, initialiseIdentityComponent, initialiseIdentityConnector, initialiseIdentityProfileComponent, initialiseIdentityProfileConnector, initialiseIdentityResolverComponent, initialiseIdentityResolverConnector, initialiseImmutableProofComponent, initialiseLoggingComponent, initialiseLoggingConnector, initialiseMessagingComponent, initialiseMessagingEmailConnector, initialiseMessagingPushNotificationConnector, initialiseMessagingSmsConnector, initialiseNftComponent, initialiseNftConnector, initialiseTelemetryComponent, initialiseTelemetryConnector, initialiseVaultConnector, initialiseVerifiableStorageComponent, initialiseVerifiableStorageConnector, initialiseWalletConnector, initialiseWalletStorage };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { IIotaConfig } from "@twin.org/dlt-iota";
|
|
2
|
-
import type { IIotaStardustConfig } from "@twin.org/dlt-iota-stardust";
|
|
3
2
|
import type { DltConfigType } from "../types/dltConfigType";
|
|
4
3
|
/**
|
|
5
4
|
* DLT config types.
|
|
@@ -9,9 +8,4 @@ export type DltConfig = {
|
|
|
9
8
|
options?: {
|
|
10
9
|
config?: IIotaConfig;
|
|
11
10
|
};
|
|
12
|
-
} | {
|
|
13
|
-
type: typeof DltConfigType.IotaStardust;
|
|
14
|
-
options?: {
|
|
15
|
-
config?: IIotaStardustConfig;
|
|
16
|
-
};
|
|
17
11
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IEntityStorageFaucetConnectorConstructorOptions } from "@twin.org/wallet-connector-entity-storage";
|
|
2
2
|
import type { IIotaFaucetConnectorConstructorOptions } from "@twin.org/wallet-connector-iota";
|
|
3
|
-
import type { IIotaStardustFaucetConnectorConstructorOptions } from "@twin.org/wallet-connector-iota-stardust";
|
|
4
3
|
import type { FaucetConnectorType } from "../types/faucetConnectorType";
|
|
5
4
|
/**
|
|
6
5
|
* Faucet config types.
|
|
@@ -11,7 +10,4 @@ export type FaucetConnectorConfig = {
|
|
|
11
10
|
} | {
|
|
12
11
|
type: typeof FaucetConnectorType.Iota;
|
|
13
12
|
options: IIotaFaucetConnectorConstructorOptions;
|
|
14
|
-
} | {
|
|
15
|
-
type: typeof FaucetConnectorType.IotaStardust;
|
|
16
|
-
options: IIotaStardustFaucetConnectorConstructorOptions;
|
|
17
13
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IEntityStorageIdentityConnectorConstructorOptions } from "@twin.org/identity-connector-entity-storage";
|
|
2
2
|
import type { IIotaIdentityConnectorConstructorOptions } from "@twin.org/identity-connector-iota";
|
|
3
|
-
import type { IIotaStardustIdentityConnectorConstructorOptions } from "@twin.org/identity-connector-iota-stardust";
|
|
4
3
|
import type { IdentityConnectorType } from "../types/identityConnectorType";
|
|
5
4
|
/**
|
|
6
5
|
* Identity config connector types.
|
|
@@ -11,7 +10,4 @@ export type IdentityConnectorConfig = {
|
|
|
11
10
|
} | {
|
|
12
11
|
type: typeof IdentityConnectorType.Iota;
|
|
13
12
|
options: IIotaIdentityConnectorConstructorOptions;
|
|
14
|
-
} | {
|
|
15
|
-
type: typeof IdentityConnectorType.IotaStardust;
|
|
16
|
-
options: IIotaStardustIdentityConnectorConstructorOptions;
|
|
17
13
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IEntityStorageIdentityResolverConnectorConstructorOptions } from "@twin.org/identity-connector-entity-storage";
|
|
2
2
|
import type { IIotaIdentityResolverConnectorConstructorOptions } from "@twin.org/identity-connector-iota";
|
|
3
|
-
import type { IIotaStardustIdentityResolverConnectorConstructorOptions } from "@twin.org/identity-connector-iota-stardust";
|
|
4
3
|
import type { IUniversalResolverConnectorConstructorOptions } from "@twin.org/identity-connector-universal";
|
|
5
4
|
import type { IdentityResolverConnectorType } from "../types/identityResolverConnectorType";
|
|
6
5
|
/**
|
|
@@ -12,9 +11,6 @@ export type IdentityResolverConnectorConfig = {
|
|
|
12
11
|
} | {
|
|
13
12
|
type: typeof IdentityResolverConnectorType.Iota;
|
|
14
13
|
options: IIotaIdentityResolverConnectorConstructorOptions;
|
|
15
|
-
} | {
|
|
16
|
-
type: typeof IdentityResolverConnectorType.IotaStardust;
|
|
17
|
-
options: IIotaStardustIdentityResolverConnectorConstructorOptions;
|
|
18
14
|
} | {
|
|
19
15
|
type: typeof IdentityResolverConnectorType.Universal;
|
|
20
16
|
options: IUniversalResolverConnectorConstructorOptions;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IEntityStorageNftConnectorConstructorOptions } from "@twin.org/nft-connector-entity-storage";
|
|
2
2
|
import type { IIotaNftConnectorConstructorOptions } from "@twin.org/nft-connector-iota";
|
|
3
|
-
import type { IIotaStardustNftConnectorConstructorOptions } from "@twin.org/nft-connector-iota-stardust";
|
|
4
3
|
import type { NftConnectorType } from "../types/nftConnectorType";
|
|
5
4
|
/**
|
|
6
5
|
* NFT connector config types.
|
|
@@ -11,7 +10,4 @@ export type NftConnectorConfig = {
|
|
|
11
10
|
} | {
|
|
12
11
|
type: typeof NftConnectorType.Iota;
|
|
13
12
|
options: IIotaNftConnectorConstructorOptions;
|
|
14
|
-
} | {
|
|
15
|
-
type: typeof NftConnectorType.IotaStardust;
|
|
16
|
-
options: IIotaStardustNftConnectorConstructorOptions;
|
|
17
13
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IEntityStorageVerifiableStorageConnectorConstructorOptions } from "@twin.org/verifiable-storage-connector-entity-storage";
|
|
2
2
|
import type { IIotaVerifiableStorageConnectorConstructorOptions } from "@twin.org/verifiable-storage-connector-iota";
|
|
3
|
-
import type { IIotaStardustVerifiableStorageConnectorConstructorOptions } from "@twin.org/verifiable-storage-connector-iota-stardust";
|
|
4
3
|
import type { VerifiableStorageConnectorType } from "../types/verifiableStorageConnectorType";
|
|
5
4
|
/**
|
|
6
5
|
* Verifiable storage connector config types.
|
|
@@ -11,7 +10,4 @@ export type VerifiableStorageConnectorConfig = {
|
|
|
11
10
|
} | {
|
|
12
11
|
type: typeof VerifiableStorageConnectorType.Iota;
|
|
13
12
|
options: IIotaVerifiableStorageConnectorConstructorOptions;
|
|
14
|
-
} | {
|
|
15
|
-
type: typeof VerifiableStorageConnectorType.IotaStardust;
|
|
16
|
-
options: IIotaStardustVerifiableStorageConnectorConstructorOptions;
|
|
17
13
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IEntityStorageWalletConnectorConstructorOptions } from "@twin.org/wallet-connector-entity-storage";
|
|
2
2
|
import type { IIotaWalletConnectorConstructorOptions } from "@twin.org/wallet-connector-iota";
|
|
3
|
-
import type { IIotaStardustWalletConnectorConstructorOptions } from "@twin.org/wallet-connector-iota-stardust";
|
|
4
3
|
import type { WalletConnectorType } from "../types/walletConnectorType";
|
|
5
4
|
/**
|
|
6
5
|
* Wallet connector config types.
|
|
@@ -11,7 +10,4 @@ export type WalletConnectorConfig = {
|
|
|
11
10
|
} | {
|
|
12
11
|
type: typeof WalletConnectorType.Iota;
|
|
13
12
|
options: IIotaWalletConnectorConstructorOptions;
|
|
14
|
-
} | {
|
|
15
|
-
type: typeof WalletConnectorType.IotaStardust;
|
|
16
|
-
options: IIotaStardustWalletConnectorConstructorOptions;
|
|
17
13
|
};
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @twin.org/engine-types - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.72](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.71...engine-types-v0.0.1-next.72) (2025-05-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add data processing component to doc management component ([2e4920f](https://github.com/twinfoundation/engine/commit/2e4920fb0626060dd6c570bc2bc7357fa8605ff0))
|
|
9
|
+
* add mimeTypeProcessors and disableNodeIdentity ([bb7e81e](https://github.com/twinfoundation/engine/commit/bb7e81e2036fe042068a5645ec59b22e20d33aad))
|
|
10
|
+
* attestation no longer requires wallet connector ([772caa8](https://github.com/twinfoundation/engine/commit/772caa87c09691a746550f490291cdcf284b0e0e))
|
|
11
|
+
* iota rebased release ([474d92b](https://github.com/twinfoundation/engine/commit/474d92b352f4ccc431a4f138afee2ee89824664d))
|
|
12
|
+
* use shared store mechanism ([#2](https://github.com/twinfoundation/engine/issues/2)) ([9eed8d7](https://github.com/twinfoundation/engine/commit/9eed8d7766388479b42f03e2542fe761f2156408))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* The following workspace dependencies were updated
|
|
18
|
+
* dependencies
|
|
19
|
+
* @twin.org/engine-models bumped from 0.0.1-next.71 to 0.0.1-next.72
|
|
20
|
+
|
|
21
|
+
## [0.0.1-next.71](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.70...engine-types-v0.0.1-next.71) (2025-05-06)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* iota rebased release ([474d92b](https://github.com/twinfoundation/engine/commit/474d92b352f4ccc431a4f138afee2ee89824664d))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/engine-models bumped from 0.0.1-next.70 to 0.0.1-next.71
|
|
34
|
+
|
|
35
|
+
## [0.0.1-next.70](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.69...engine-types-v0.0.1-next.70) (2025-04-28)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* add data processing component to doc management component ([2e4920f](https://github.com/twinfoundation/engine/commit/2e4920fb0626060dd6c570bc2bc7357fa8605ff0))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Dependencies
|
|
44
|
+
|
|
45
|
+
* The following workspace dependencies were updated
|
|
46
|
+
* dependencies
|
|
47
|
+
* @twin.org/engine-models bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
48
|
+
|
|
3
49
|
## [0.0.1-next.69](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.68...engine-types-v0.0.1-next.69) (2025-04-25)
|
|
4
50
|
|
|
5
51
|
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Type Alias: DltConfig
|
|
2
2
|
|
|
3
|
-
> **DltConfig** =
|
|
3
|
+
> **DltConfig** = `object`
|
|
4
4
|
|
|
5
5
|
DLT config types.
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### type
|
|
10
|
+
|
|
11
|
+
> **type**: *typeof* [`Iota`](../variables/DltConfigType.md#iota)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### options?
|
|
16
|
+
|
|
17
|
+
> `optional` **options**: `object`
|
|
18
|
+
|
|
19
|
+
#### config?
|
|
20
|
+
|
|
21
|
+
> `optional` **config**: `IIotaConfig`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: FaucetConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **FaucetConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/FaucetConnectorType.md#entitystorage); `options`: `IEntityStorageFaucetConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/FaucetConnectorType.md#iota); `options`: `IIotaFaucetConnectorConstructorOptions`; \}
|
|
3
|
+
> **FaucetConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/FaucetConnectorType.md#entitystorage); `options`: `IEntityStorageFaucetConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/FaucetConnectorType.md#iota); `options`: `IIotaFaucetConnectorConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
Faucet config types.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: IdentityConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **IdentityConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/IdentityConnectorType.md#entitystorage); `options`: `IEntityStorageIdentityConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/IdentityConnectorType.md#iota); `options`: `IIotaIdentityConnectorConstructorOptions`; \}
|
|
3
|
+
> **IdentityConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/IdentityConnectorType.md#entitystorage); `options`: `IEntityStorageIdentityConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/IdentityConnectorType.md#iota); `options`: `IIotaIdentityConnectorConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
Identity config connector types.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: IdentityResolverConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **IdentityResolverConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/IdentityResolverConnectorType.md#entitystorage); `options`: `IEntityStorageIdentityResolverConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/IdentityResolverConnectorType.md#iota); `options`: `IIotaIdentityResolverConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`
|
|
3
|
+
> **IdentityResolverConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/IdentityResolverConnectorType.md#entitystorage); `options`: `IEntityStorageIdentityResolverConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/IdentityResolverConnectorType.md#iota); `options`: `IIotaIdentityResolverConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Universal`](../variables/IdentityResolverConnectorType.md#universal); `options`: `IUniversalResolverConnectorConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
Identity resolver config connector types.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: NftConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **NftConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/NftConnectorType.md#entitystorage); `options`: `IEntityStorageNftConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/NftConnectorType.md#iota); `options`: `IIotaNftConnectorConstructorOptions`; \}
|
|
3
|
+
> **NftConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/NftConnectorType.md#entitystorage); `options`: `IEntityStorageNftConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/NftConnectorType.md#iota); `options`: `IIotaNftConnectorConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
NFT connector config types.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: VerifiableStorageConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **VerifiableStorageConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/VerifiableStorageConnectorType.md#entitystorage); `options`: `IEntityStorageVerifiableStorageConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/VerifiableStorageConnectorType.md#iota); `options`: `IIotaVerifiableStorageConnectorConstructorOptions`; \}
|
|
3
|
+
> **VerifiableStorageConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/VerifiableStorageConnectorType.md#entitystorage); `options`: `IEntityStorageVerifiableStorageConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/VerifiableStorageConnectorType.md#iota); `options`: `IIotaVerifiableStorageConnectorConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
Verifiable storage connector config types.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: WalletConnectorConfig
|
|
2
2
|
|
|
3
|
-
> **WalletConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/WalletConnectorType.md#entitystorage); `options`: `IEntityStorageWalletConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/WalletConnectorType.md#iota); `options`: `IIotaWalletConnectorConstructorOptions`; \}
|
|
3
|
+
> **WalletConnectorConfig** = \{ `type`: *typeof* [`EntityStorage`](../variables/WalletConnectorType.md#entitystorage); `options`: `IEntityStorageWalletConnectorConstructorOptions`; \} \| \{ `type`: *typeof* [`Iota`](../variables/WalletConnectorType.md#iota); `options`: `IIotaWalletConnectorConstructorOptions`; \}
|
|
4
4
|
|
|
5
5
|
Wallet connector config types.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-types",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.72",
|
|
4
4
|
"description": "Types to use in an engine.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/crypto": "next",
|
|
19
19
|
"@twin.org/data-core": "next",
|
|
20
|
-
"@twin.org/engine-models": "0.0.1-next.
|
|
20
|
+
"@twin.org/engine-models": "0.0.1-next.72",
|
|
21
21
|
"@twin.org/entity": "next",
|
|
22
22
|
"@twin.org/modules": "next",
|
|
23
23
|
"@twin.org/nameof": "next"
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
"@twin.org/event-bus-service": "next",
|
|
63
63
|
"@twin.org/identity-connector-entity-storage": "next",
|
|
64
64
|
"@twin.org/identity-connector-iota": "next",
|
|
65
|
-
"@twin.org/identity-connector-iota-stardust": "next",
|
|
66
65
|
"@twin.org/identity-connector-universal": "next",
|
|
67
66
|
"@twin.org/identity-models": "next",
|
|
68
67
|
"@twin.org/identity-service": "next",
|
|
@@ -78,7 +77,6 @@
|
|
|
78
77
|
"@twin.org/messaging-service": "next",
|
|
79
78
|
"@twin.org/nft-connector-entity-storage": "next",
|
|
80
79
|
"@twin.org/nft-connector-iota": "next",
|
|
81
|
-
"@twin.org/nft-connector-iota-stardust": "next",
|
|
82
80
|
"@twin.org/nft-models": "next",
|
|
83
81
|
"@twin.org/nft-service": "next",
|
|
84
82
|
"@twin.org/telemetry-connector-entity-storage": "next",
|
|
@@ -89,12 +87,10 @@
|
|
|
89
87
|
"@twin.org/vault-models": "next",
|
|
90
88
|
"@twin.org/verifiable-storage-connector-entity-storage": "next",
|
|
91
89
|
"@twin.org/verifiable-storage-connector-iota": "next",
|
|
92
|
-
"@twin.org/verifiable-storage-connector-iota-stardust": "next",
|
|
93
90
|
"@twin.org/verifiable-storage-models": "next",
|
|
94
91
|
"@twin.org/verifiable-storage-service": "next",
|
|
95
92
|
"@twin.org/wallet-connector-entity-storage": "next",
|
|
96
93
|
"@twin.org/wallet-connector-iota": "next",
|
|
97
|
-
"@twin.org/wallet-connector-iota-stardust": "next",
|
|
98
94
|
"@twin.org/wallet-models": "next"
|
|
99
95
|
},
|
|
100
96
|
"main": "./dist/cjs/index.cjs",
|