@twin.org/engine-types 0.0.1-next.70 → 0.0.1-next.73
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 +12 -113
- package/dist/esm/index.mjs +12 -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;
|
|
@@ -1072,11 +1067,7 @@ const FaucetConnectorType = {
|
|
|
1072
1067
|
/**
|
|
1073
1068
|
* IOTA.
|
|
1074
1069
|
*/
|
|
1075
|
-
Iota: "iota"
|
|
1076
|
-
/**
|
|
1077
|
-
* IOTA Stardust.
|
|
1078
|
-
*/
|
|
1079
|
-
IotaStardust: "iota-stardust"
|
|
1070
|
+
Iota: "iota"
|
|
1080
1071
|
};
|
|
1081
1072
|
|
|
1082
1073
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1097,18 +1088,7 @@ function initialiseFaucetConnector(engineCore, context, instanceConfig, override
|
|
|
1097
1088
|
const type = instanceConfig.type;
|
|
1098
1089
|
let connector;
|
|
1099
1090
|
let instanceType;
|
|
1100
|
-
if (type === FaucetConnectorType.
|
|
1101
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1102
|
-
connector = new walletConnectorIotaStardust.IotaStardustFaucetConnector({
|
|
1103
|
-
...instanceConfig.options,
|
|
1104
|
-
config: {
|
|
1105
|
-
...dltConfig?.options?.config,
|
|
1106
|
-
...instanceConfig.options.config
|
|
1107
|
-
}
|
|
1108
|
-
});
|
|
1109
|
-
instanceType = walletConnectorIotaStardust.IotaStardustFaucetConnector.NAMESPACE;
|
|
1110
|
-
}
|
|
1111
|
-
else if (type === FaucetConnectorType.Iota) {
|
|
1091
|
+
if (type === FaucetConnectorType.Iota) {
|
|
1112
1092
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1113
1093
|
connector = new walletConnectorIota.IotaFaucetConnector({
|
|
1114
1094
|
...instanceConfig.options,
|
|
@@ -1165,11 +1145,7 @@ const IdentityConnectorType = {
|
|
|
1165
1145
|
/**
|
|
1166
1146
|
* IOTA.
|
|
1167
1147
|
*/
|
|
1168
|
-
Iota: "iota"
|
|
1169
|
-
/**
|
|
1170
|
-
* IOTA Stardust.
|
|
1171
|
-
*/
|
|
1172
|
-
IotaStardust: "iota-stardust"
|
|
1148
|
+
Iota: "iota"
|
|
1173
1149
|
};
|
|
1174
1150
|
|
|
1175
1151
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1190,19 +1166,7 @@ function initialiseIdentityConnector(engineCore, context, instanceConfig, overri
|
|
|
1190
1166
|
const type = instanceConfig.type;
|
|
1191
1167
|
let connector;
|
|
1192
1168
|
let instanceType;
|
|
1193
|
-
if (type === IdentityConnectorType.
|
|
1194
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1195
|
-
connector = new identityConnectorIotaStardust.IotaStardustIdentityConnector({
|
|
1196
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1197
|
-
...instanceConfig.options,
|
|
1198
|
-
config: {
|
|
1199
|
-
...dltConfig?.options?.config,
|
|
1200
|
-
...instanceConfig.options.config
|
|
1201
|
-
}
|
|
1202
|
-
});
|
|
1203
|
-
instanceType = identityConnectorIotaStardust.IotaStardustIdentityConnector.NAMESPACE;
|
|
1204
|
-
}
|
|
1205
|
-
else if (type === IdentityConnectorType.Iota) {
|
|
1169
|
+
if (type === IdentityConnectorType.Iota) {
|
|
1206
1170
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1207
1171
|
connector = new identityConnectorIota.IotaIdentityConnector({
|
|
1208
1172
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -1399,11 +1363,7 @@ const IdentityResolverConnectorType = {
|
|
|
1399
1363
|
/**
|
|
1400
1364
|
* Universal.
|
|
1401
1365
|
*/
|
|
1402
|
-
Universal: "universal"
|
|
1403
|
-
/**
|
|
1404
|
-
* IOTA Stardust.
|
|
1405
|
-
*/
|
|
1406
|
-
IotaStardust: "iota-stardust"
|
|
1366
|
+
Universal: "universal"
|
|
1407
1367
|
};
|
|
1408
1368
|
|
|
1409
1369
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1424,18 +1384,7 @@ function initialiseIdentityResolverConnector(engineCore, context, instanceConfig
|
|
|
1424
1384
|
const type = instanceConfig.type;
|
|
1425
1385
|
let connector;
|
|
1426
1386
|
let instanceType;
|
|
1427
|
-
if (type === IdentityResolverConnectorType.
|
|
1428
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1429
|
-
connector = new identityConnectorIotaStardust.IotaStardustIdentityResolverConnector({
|
|
1430
|
-
...instanceConfig.options,
|
|
1431
|
-
config: {
|
|
1432
|
-
...dltConfig?.options?.config,
|
|
1433
|
-
...instanceConfig.options.config
|
|
1434
|
-
}
|
|
1435
|
-
});
|
|
1436
|
-
instanceType = identityConnectorIotaStardust.IotaStardustIdentityResolverConnector.NAMESPACE;
|
|
1437
|
-
}
|
|
1438
|
-
else if (type === IdentityResolverConnectorType.Iota) {
|
|
1387
|
+
if (type === IdentityResolverConnectorType.Iota) {
|
|
1439
1388
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1440
1389
|
connector = new identityConnectorIota.IotaIdentityResolverConnector({
|
|
1441
1390
|
...instanceConfig.options,
|
|
@@ -1594,11 +1543,7 @@ const VerifiableStorageConnectorType = {
|
|
|
1594
1543
|
/**
|
|
1595
1544
|
* IOTA.
|
|
1596
1545
|
*/
|
|
1597
|
-
Iota: "iota"
|
|
1598
|
-
/**
|
|
1599
|
-
* IOTA Stardust.
|
|
1600
|
-
*/
|
|
1601
|
-
IotaStardust: "iota-stardust"
|
|
1546
|
+
Iota: "iota"
|
|
1602
1547
|
};
|
|
1603
1548
|
|
|
1604
1549
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1619,19 +1564,7 @@ function initialiseVerifiableStorageConnector(engineCore, context, instanceConfi
|
|
|
1619
1564
|
const type = instanceConfig.type;
|
|
1620
1565
|
let connector;
|
|
1621
1566
|
let instanceType;
|
|
1622
|
-
if (type === VerifiableStorageConnectorType.
|
|
1623
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1624
|
-
connector = new verifiableStorageConnectorIotaStardust.IotaStardustVerifiableStorageConnector({
|
|
1625
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1626
|
-
...instanceConfig.options,
|
|
1627
|
-
config: {
|
|
1628
|
-
...dltConfig?.options?.config,
|
|
1629
|
-
...instanceConfig.options.config
|
|
1630
|
-
}
|
|
1631
|
-
});
|
|
1632
|
-
instanceType = verifiableStorageConnectorIotaStardust.IotaStardustVerifiableStorageConnector.NAMESPACE;
|
|
1633
|
-
}
|
|
1634
|
-
else if (type === VerifiableStorageConnectorType.Iota) {
|
|
1567
|
+
if (type === VerifiableStorageConnectorType.Iota) {
|
|
1635
1568
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1636
1569
|
connector = new verifiableStorageConnectorIota.IotaVerifiableStorageConnector({
|
|
1637
1570
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2074,11 +2007,7 @@ const NftConnectorType = {
|
|
|
2074
2007
|
/**
|
|
2075
2008
|
* IOTA.
|
|
2076
2009
|
*/
|
|
2077
|
-
Iota: "iota"
|
|
2078
|
-
/**
|
|
2079
|
-
* IOTA Stardust.
|
|
2080
|
-
*/
|
|
2081
|
-
IotaStardust: "iota-stardust"
|
|
2010
|
+
Iota: "iota"
|
|
2082
2011
|
};
|
|
2083
2012
|
|
|
2084
2013
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2105,14 +2034,6 @@ function initialiseNftConnector(engineCore, context, instanceConfig, overrideIns
|
|
|
2105
2034
|
connector = new nftConnectorEntityStorage.EntityStorageNftConnector(instanceConfig.options);
|
|
2106
2035
|
instanceType = nftConnectorEntityStorage.EntityStorageNftConnector.NAMESPACE;
|
|
2107
2036
|
}
|
|
2108
|
-
else if (type === NftConnectorType.IotaStardust) {
|
|
2109
|
-
connector = new nftConnectorIotaStardust.IotaStardustNftConnector({
|
|
2110
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2111
|
-
walletConnectorType: context.defaultTypes.walletConnector,
|
|
2112
|
-
...instanceConfig.options
|
|
2113
|
-
});
|
|
2114
|
-
instanceType = nftConnectorIotaStardust.IotaStardustNftConnector.NAMESPACE;
|
|
2115
|
-
}
|
|
2116
2037
|
else if (type === NftConnectorType.Iota) {
|
|
2117
2038
|
connector = new nftConnectorIota.IotaNftConnector({
|
|
2118
2039
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2342,11 +2263,7 @@ const WalletConnectorType = {
|
|
|
2342
2263
|
/**
|
|
2343
2264
|
* IOTA.
|
|
2344
2265
|
*/
|
|
2345
|
-
Iota: "iota"
|
|
2346
|
-
/**
|
|
2347
|
-
* IOTA Stardust.
|
|
2348
|
-
*/
|
|
2349
|
-
IotaStardust: "iota-stardust"
|
|
2266
|
+
Iota: "iota"
|
|
2350
2267
|
};
|
|
2351
2268
|
|
|
2352
2269
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2367,20 +2284,7 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2367
2284
|
const type = instanceConfig.type;
|
|
2368
2285
|
let connector;
|
|
2369
2286
|
let instanceType;
|
|
2370
|
-
if (type === WalletConnectorType.
|
|
2371
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2372
|
-
connector = new walletConnectorIotaStardust.IotaStardustWalletConnector({
|
|
2373
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2374
|
-
faucetConnectorType: context.defaultTypes.faucetConnector,
|
|
2375
|
-
...instanceConfig.options,
|
|
2376
|
-
config: {
|
|
2377
|
-
...dltConfig?.options?.config,
|
|
2378
|
-
...instanceConfig.options.config
|
|
2379
|
-
}
|
|
2380
|
-
});
|
|
2381
|
-
instanceType = walletConnectorIotaStardust.IotaStardustWalletConnector.NAMESPACE;
|
|
2382
|
-
}
|
|
2383
|
-
else if (type === WalletConnectorType.Iota) {
|
|
2287
|
+
if (type === WalletConnectorType.Iota) {
|
|
2384
2288
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2385
2289
|
connector = new walletConnectorIota.IotaWalletConnector({
|
|
2386
2290
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2427,7 +2331,6 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2427
2331
|
function initialiseWalletStorage(engineCore, context, instanceConfig, overrideInstanceType) {
|
|
2428
2332
|
const type = instanceConfig.type;
|
|
2429
2333
|
if (type === WalletConnectorType.Iota) ;
|
|
2430
|
-
else if (type === WalletConnectorType.IotaStardust) ;
|
|
2431
2334
|
else if (type === WalletConnectorType.EntityStorage) {
|
|
2432
2335
|
walletConnectorEntityStorage.initSchema();
|
|
2433
2336
|
initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.walletAddressEntityStorageType, "WalletAddress");
|
|
@@ -2451,11 +2354,7 @@ const DltConfigType = {
|
|
|
2451
2354
|
/**
|
|
2452
2355
|
* IOTA.
|
|
2453
2356
|
*/
|
|
2454
|
-
Iota: "iota"
|
|
2455
|
-
/**
|
|
2456
|
-
* IOTA Stardust.
|
|
2457
|
-
*/
|
|
2458
|
-
IotaStardust: "iota-stardust"
|
|
2357
|
+
Iota: "iota"
|
|
2459
2358
|
};
|
|
2460
2359
|
|
|
2461
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;
|
|
@@ -1070,11 +1065,7 @@ const FaucetConnectorType = {
|
|
|
1070
1065
|
/**
|
|
1071
1066
|
* IOTA.
|
|
1072
1067
|
*/
|
|
1073
|
-
Iota: "iota"
|
|
1074
|
-
/**
|
|
1075
|
-
* IOTA Stardust.
|
|
1076
|
-
*/
|
|
1077
|
-
IotaStardust: "iota-stardust"
|
|
1068
|
+
Iota: "iota"
|
|
1078
1069
|
};
|
|
1079
1070
|
|
|
1080
1071
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1095,18 +1086,7 @@ function initialiseFaucetConnector(engineCore, context, instanceConfig, override
|
|
|
1095
1086
|
const type = instanceConfig.type;
|
|
1096
1087
|
let connector;
|
|
1097
1088
|
let instanceType;
|
|
1098
|
-
if (type === FaucetConnectorType.
|
|
1099
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1100
|
-
connector = new IotaStardustFaucetConnector({
|
|
1101
|
-
...instanceConfig.options,
|
|
1102
|
-
config: {
|
|
1103
|
-
...dltConfig?.options?.config,
|
|
1104
|
-
...instanceConfig.options.config
|
|
1105
|
-
}
|
|
1106
|
-
});
|
|
1107
|
-
instanceType = IotaStardustFaucetConnector.NAMESPACE;
|
|
1108
|
-
}
|
|
1109
|
-
else if (type === FaucetConnectorType.Iota) {
|
|
1089
|
+
if (type === FaucetConnectorType.Iota) {
|
|
1110
1090
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1111
1091
|
connector = new IotaFaucetConnector({
|
|
1112
1092
|
...instanceConfig.options,
|
|
@@ -1163,11 +1143,7 @@ const IdentityConnectorType = {
|
|
|
1163
1143
|
/**
|
|
1164
1144
|
* IOTA.
|
|
1165
1145
|
*/
|
|
1166
|
-
Iota: "iota"
|
|
1167
|
-
/**
|
|
1168
|
-
* IOTA Stardust.
|
|
1169
|
-
*/
|
|
1170
|
-
IotaStardust: "iota-stardust"
|
|
1146
|
+
Iota: "iota"
|
|
1171
1147
|
};
|
|
1172
1148
|
|
|
1173
1149
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1188,19 +1164,7 @@ function initialiseIdentityConnector(engineCore, context, instanceConfig, overri
|
|
|
1188
1164
|
const type = instanceConfig.type;
|
|
1189
1165
|
let connector;
|
|
1190
1166
|
let instanceType;
|
|
1191
|
-
if (type === IdentityConnectorType.
|
|
1192
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1193
|
-
connector = new IotaStardustIdentityConnector({
|
|
1194
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1195
|
-
...instanceConfig.options,
|
|
1196
|
-
config: {
|
|
1197
|
-
...dltConfig?.options?.config,
|
|
1198
|
-
...instanceConfig.options.config
|
|
1199
|
-
}
|
|
1200
|
-
});
|
|
1201
|
-
instanceType = IotaStardustIdentityConnector.NAMESPACE;
|
|
1202
|
-
}
|
|
1203
|
-
else if (type === IdentityConnectorType.Iota) {
|
|
1167
|
+
if (type === IdentityConnectorType.Iota) {
|
|
1204
1168
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1205
1169
|
connector = new IotaIdentityConnector({
|
|
1206
1170
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -1397,11 +1361,7 @@ const IdentityResolverConnectorType = {
|
|
|
1397
1361
|
/**
|
|
1398
1362
|
* Universal.
|
|
1399
1363
|
*/
|
|
1400
|
-
Universal: "universal"
|
|
1401
|
-
/**
|
|
1402
|
-
* IOTA Stardust.
|
|
1403
|
-
*/
|
|
1404
|
-
IotaStardust: "iota-stardust"
|
|
1364
|
+
Universal: "universal"
|
|
1405
1365
|
};
|
|
1406
1366
|
|
|
1407
1367
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1422,18 +1382,7 @@ function initialiseIdentityResolverConnector(engineCore, context, instanceConfig
|
|
|
1422
1382
|
const type = instanceConfig.type;
|
|
1423
1383
|
let connector;
|
|
1424
1384
|
let instanceType;
|
|
1425
|
-
if (type === IdentityResolverConnectorType.
|
|
1426
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1427
|
-
connector = new IotaStardustIdentityResolverConnector({
|
|
1428
|
-
...instanceConfig.options,
|
|
1429
|
-
config: {
|
|
1430
|
-
...dltConfig?.options?.config,
|
|
1431
|
-
...instanceConfig.options.config
|
|
1432
|
-
}
|
|
1433
|
-
});
|
|
1434
|
-
instanceType = IotaStardustIdentityResolverConnector.NAMESPACE;
|
|
1435
|
-
}
|
|
1436
|
-
else if (type === IdentityResolverConnectorType.Iota) {
|
|
1385
|
+
if (type === IdentityResolverConnectorType.Iota) {
|
|
1437
1386
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1438
1387
|
connector = new IotaIdentityResolverConnector({
|
|
1439
1388
|
...instanceConfig.options,
|
|
@@ -1592,11 +1541,7 @@ const VerifiableStorageConnectorType = {
|
|
|
1592
1541
|
/**
|
|
1593
1542
|
* IOTA.
|
|
1594
1543
|
*/
|
|
1595
|
-
Iota: "iota"
|
|
1596
|
-
/**
|
|
1597
|
-
* IOTA Stardust.
|
|
1598
|
-
*/
|
|
1599
|
-
IotaStardust: "iota-stardust"
|
|
1544
|
+
Iota: "iota"
|
|
1600
1545
|
};
|
|
1601
1546
|
|
|
1602
1547
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -1617,19 +1562,7 @@ function initialiseVerifiableStorageConnector(engineCore, context, instanceConfi
|
|
|
1617
1562
|
const type = instanceConfig.type;
|
|
1618
1563
|
let connector;
|
|
1619
1564
|
let instanceType;
|
|
1620
|
-
if (type === VerifiableStorageConnectorType.
|
|
1621
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1622
|
-
connector = new IotaStardustVerifiableStorageConnector({
|
|
1623
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
1624
|
-
...instanceConfig.options,
|
|
1625
|
-
config: {
|
|
1626
|
-
...dltConfig?.options?.config,
|
|
1627
|
-
...instanceConfig.options.config
|
|
1628
|
-
}
|
|
1629
|
-
});
|
|
1630
|
-
instanceType = IotaStardustVerifiableStorageConnector.NAMESPACE;
|
|
1631
|
-
}
|
|
1632
|
-
else if (type === VerifiableStorageConnectorType.Iota) {
|
|
1565
|
+
if (type === VerifiableStorageConnectorType.Iota) {
|
|
1633
1566
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
1634
1567
|
connector = new IotaVerifiableStorageConnector({
|
|
1635
1568
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2072,11 +2005,7 @@ const NftConnectorType = {
|
|
|
2072
2005
|
/**
|
|
2073
2006
|
* IOTA.
|
|
2074
2007
|
*/
|
|
2075
|
-
Iota: "iota"
|
|
2076
|
-
/**
|
|
2077
|
-
* IOTA Stardust.
|
|
2078
|
-
*/
|
|
2079
|
-
IotaStardust: "iota-stardust"
|
|
2008
|
+
Iota: "iota"
|
|
2080
2009
|
};
|
|
2081
2010
|
|
|
2082
2011
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2103,14 +2032,6 @@ function initialiseNftConnector(engineCore, context, instanceConfig, overrideIns
|
|
|
2103
2032
|
connector = new EntityStorageNftConnector(instanceConfig.options);
|
|
2104
2033
|
instanceType = EntityStorageNftConnector.NAMESPACE;
|
|
2105
2034
|
}
|
|
2106
|
-
else if (type === NftConnectorType.IotaStardust) {
|
|
2107
|
-
connector = new IotaStardustNftConnector({
|
|
2108
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2109
|
-
walletConnectorType: context.defaultTypes.walletConnector,
|
|
2110
|
-
...instanceConfig.options
|
|
2111
|
-
});
|
|
2112
|
-
instanceType = IotaStardustNftConnector.NAMESPACE;
|
|
2113
|
-
}
|
|
2114
2035
|
else if (type === NftConnectorType.Iota) {
|
|
2115
2036
|
connector = new IotaNftConnector({
|
|
2116
2037
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2340,11 +2261,7 @@ const WalletConnectorType = {
|
|
|
2340
2261
|
/**
|
|
2341
2262
|
* IOTA.
|
|
2342
2263
|
*/
|
|
2343
|
-
Iota: "iota"
|
|
2344
|
-
/**
|
|
2345
|
-
* IOTA Stardust.
|
|
2346
|
-
*/
|
|
2347
|
-
IotaStardust: "iota-stardust"
|
|
2264
|
+
Iota: "iota"
|
|
2348
2265
|
};
|
|
2349
2266
|
|
|
2350
2267
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -2365,20 +2282,7 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2365
2282
|
const type = instanceConfig.type;
|
|
2366
2283
|
let connector;
|
|
2367
2284
|
let instanceType;
|
|
2368
|
-
if (type === WalletConnectorType.
|
|
2369
|
-
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2370
|
-
connector = new IotaStardustWalletConnector({
|
|
2371
|
-
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
2372
|
-
faucetConnectorType: context.defaultTypes.faucetConnector,
|
|
2373
|
-
...instanceConfig.options,
|
|
2374
|
-
config: {
|
|
2375
|
-
...dltConfig?.options?.config,
|
|
2376
|
-
...instanceConfig.options.config
|
|
2377
|
-
}
|
|
2378
|
-
});
|
|
2379
|
-
instanceType = IotaStardustWalletConnector.NAMESPACE;
|
|
2380
|
-
}
|
|
2381
|
-
else if (type === WalletConnectorType.Iota) {
|
|
2285
|
+
if (type === WalletConnectorType.Iota) {
|
|
2382
2286
|
const dltConfig = context.config.types.dltConfig?.find(dlt => dlt.type === context.defaultTypes.dltConfig);
|
|
2383
2287
|
connector = new IotaWalletConnector({
|
|
2384
2288
|
vaultConnectorType: context.defaultTypes.vaultConnector,
|
|
@@ -2425,7 +2329,6 @@ function initialiseWalletConnector(engineCore, context, instanceConfig, override
|
|
|
2425
2329
|
function initialiseWalletStorage(engineCore, context, instanceConfig, overrideInstanceType) {
|
|
2426
2330
|
const type = instanceConfig.type;
|
|
2427
2331
|
if (type === WalletConnectorType.Iota) ;
|
|
2428
|
-
else if (type === WalletConnectorType.IotaStardust) ;
|
|
2429
2332
|
else if (type === WalletConnectorType.EntityStorage) {
|
|
2430
2333
|
initSchema$e();
|
|
2431
2334
|
initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.walletAddressEntityStorageType, "WalletAddress");
|
|
@@ -2449,11 +2352,7 @@ const DltConfigType = {
|
|
|
2449
2352
|
/**
|
|
2450
2353
|
* IOTA.
|
|
2451
2354
|
*/
|
|
2452
|
-
Iota: "iota"
|
|
2453
|
-
/**
|
|
2454
|
-
* IOTA Stardust.
|
|
2455
|
-
*/
|
|
2456
|
-
IotaStardust: "iota-stardust"
|
|
2355
|
+
Iota: "iota"
|
|
2457
2356
|
};
|
|
2458
2357
|
|
|
2459
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.73](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.72...engine-types-v0.0.1-next.73) (2025-05-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **engine-types:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/engine-models bumped from 0.0.1-next.72 to 0.0.1-next.73
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add data processing component to doc management component ([2e4920f](https://github.com/twinfoundation/engine/commit/2e4920fb0626060dd6c570bc2bc7357fa8605ff0))
|
|
23
|
+
* add mimeTypeProcessors and disableNodeIdentity ([bb7e81e](https://github.com/twinfoundation/engine/commit/bb7e81e2036fe042068a5645ec59b22e20d33aad))
|
|
24
|
+
* attestation no longer requires wallet connector ([772caa8](https://github.com/twinfoundation/engine/commit/772caa87c09691a746550f490291cdcf284b0e0e))
|
|
25
|
+
* iota rebased release ([474d92b](https://github.com/twinfoundation/engine/commit/474d92b352f4ccc431a4f138afee2ee89824664d))
|
|
26
|
+
* use shared store mechanism ([#2](https://github.com/twinfoundation/engine/issues/2)) ([9eed8d7](https://github.com/twinfoundation/engine/commit/9eed8d7766388479b42f03e2542fe761f2156408))
|
|
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.71 to 0.0.1-next.72
|
|
34
|
+
|
|
35
|
+
## [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)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* iota rebased release ([474d92b](https://github.com/twinfoundation/engine/commit/474d92b352f4ccc431a4f138afee2ee89824664d))
|
|
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.70 to 0.0.1-next.71
|
|
48
|
+
|
|
3
49
|
## [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)
|
|
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.73",
|
|
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.73",
|
|
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",
|