@nmshd/transport 2.2.2 → 2.3.1
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/buildInformation.js +4 -4
- package/dist/core/backbone/AuthClient.d.ts.map +1 -1
- package/dist/core/backbone/AuthClient.js +1 -1
- package/dist/core/backbone/AuthClient.js.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.d.ts.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.js +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.js.map +1 -1
- package/dist/events/MessageWasReadAtChangedEvent.d.ts +7 -0
- package/dist/events/MessageWasReadAtChangedEvent.d.ts.map +1 -0
- package/dist/events/MessageWasReadAtChangedEvent.js +12 -0
- package/dist/events/MessageWasReadAtChangedEvent.js.map +1 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +1 -0
- package/dist/events/index.js.map +1 -1
- package/dist/modules/accounts/AccountController.d.ts +5 -5
- package/dist/modules/accounts/AccountController.d.ts.map +1 -1
- package/dist/modules/accounts/AccountController.js +8 -8
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts.map +1 -1
- package/dist/modules/messages/MessageController.d.ts +2 -0
- package/dist/modules/messages/MessageController.d.ts.map +1 -1
- package/dist/modules/messages/MessageController.js +26 -0
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/Message.d.ts +3 -0
- package/dist/modules/messages/local/Message.d.ts.map +1 -1
- package/dist/modules/messages/local/Message.js +6 -0
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +1 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.d.ts +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
- package/dist/modules/relationships/RelationshipsController.d.ts +2 -2
- package/dist/modules/relationships/RelationshipsController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipsController.js +1 -1
- package/dist/modules/relationships/RelationshipsController.js.map +1 -1
- package/dist/modules/relationships/local/Relationship.d.ts +2 -2
- package/dist/modules/relationships/local/Relationship.d.ts.map +1 -1
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContentWrapper.d.ts +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContentWrapper.d.ts.map +1 -1
- package/dist/modules/sync/ExternalEventsProcessor.d.ts +2 -2
- package/dist/modules/sync/ExternalEventsProcessor.d.ts.map +1 -1
- package/dist/modules/sync/ExternalEventsProcessor.js.map +1 -1
- package/dist/modules/sync/SyncController.d.ts.map +1 -1
- package/dist/modules/sync/SyncController.js +3 -3
- package/dist/modules/sync/SyncController.js.map +1 -1
- package/lib-web/nmshd.transport.js +73 -18
- package/lib-web/nmshd.transport.js.map +1 -1
- package/lib-web/nmshd.transport.min.js +1 -1
- package/lib-web/nmshd.transport.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -33391,10 +33391,10 @@ exports.buildInformation = void 0;
|
|
|
33391
33391
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
33392
33392
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
33393
33393
|
exports.buildInformation = {
|
|
33394
|
-
version: "2.
|
|
33395
|
-
build: "
|
|
33396
|
-
date: "2024-02-
|
|
33397
|
-
commit: "
|
|
33394
|
+
version: "2.3.1",
|
|
33395
|
+
build: "23",
|
|
33396
|
+
date: "2024-02-15T09:23:28+00:00",
|
|
33397
|
+
commit: "e195157925f945216f3f697aa97b35e23977ae5f",
|
|
33398
33398
|
dependencies: {"@js-soft/docdb-access-abstractions":"1.0.3","@js-soft/logging-abstractions":"^1.0.1","@js-soft/simple-logger":"1.0.4","@js-soft/ts-utils":"^2.3.3","axios":"^1.6.7","fast-json-patch":"^3.1.1","form-data":"^4.0.0","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.4","qs":"^6.11.2","reflect-metadata":"^0.2.1","ts-simple-nameof":"^1.3.1","uuid":"^9.0.1"},
|
|
33399
33399
|
libraries: {
|
|
33400
33400
|
crypto: crypto_1.buildInformation,
|
|
@@ -34550,8 +34550,8 @@ exports.AuthClient = void 0;
|
|
|
34550
34550
|
const qs_1 = __importDefault(__webpack_require__(/*! qs */ "../../node_modules/qs/lib/index.js"));
|
|
34551
34551
|
const types_1 = __webpack_require__(/*! ../types */ "./dist/core/types/index.js");
|
|
34552
34552
|
const ClientResult_1 = __webpack_require__(/*! ./ClientResult */ "./dist/core/backbone/ClientResult.js");
|
|
34553
|
-
const RequestError_1 = __webpack_require__(/*! ./RequestError */ "./dist/core/backbone/RequestError.js");
|
|
34554
34553
|
const RESTClient_1 = __webpack_require__(/*! ./RESTClient */ "./dist/core/backbone/RESTClient.js");
|
|
34554
|
+
const RequestError_1 = __webpack_require__(/*! ./RequestError */ "./dist/core/backbone/RequestError.js");
|
|
34555
34555
|
class AuthClient extends RESTClient_1.RESTClient {
|
|
34556
34556
|
async authenticate(params) {
|
|
34557
34557
|
const path = "/connect/token";
|
|
@@ -35245,8 +35245,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
35245
35245
|
exports.RESTClientAuthenticate = void 0;
|
|
35246
35246
|
const lodash_1 = __importDefault(__webpack_require__(/*! lodash */ "../../node_modules/lodash/lodash.js"));
|
|
35247
35247
|
const ClientResult_1 = __webpack_require__(/*! ./ClientResult */ "./dist/core/backbone/ClientResult.js");
|
|
35248
|
-
const RequestError_1 = __webpack_require__(/*! ./RequestError */ "./dist/core/backbone/RequestError.js");
|
|
35249
35248
|
const RESTClient_1 = __webpack_require__(/*! ./RESTClient */ "./dist/core/backbone/RESTClient.js");
|
|
35249
|
+
const RequestError_1 = __webpack_require__(/*! ./RequestError */ "./dist/core/backbone/RequestError.js");
|
|
35250
35250
|
class RESTClientAuthenticate extends RESTClient_1.RESTClient {
|
|
35251
35251
|
constructor(config, authenticator, requestConfig = {}) {
|
|
35252
35252
|
super(config, requestConfig);
|
|
@@ -36009,6 +36009,28 @@ exports.MessageSentEvent = MessageSentEvent;
|
|
|
36009
36009
|
|
|
36010
36010
|
/***/ }),
|
|
36011
36011
|
|
|
36012
|
+
/***/ "./dist/events/MessageWasReadAtChangedEvent.js":
|
|
36013
|
+
/*!*****************************************************!*\
|
|
36014
|
+
!*** ./dist/events/MessageWasReadAtChangedEvent.js ***!
|
|
36015
|
+
\*****************************************************/
|
|
36016
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
36017
|
+
|
|
36018
|
+
"use strict";
|
|
36019
|
+
|
|
36020
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36021
|
+
exports.MessageWasReadAtChangedEvent = void 0;
|
|
36022
|
+
const TransportDataEvent_1 = __webpack_require__(/*! ./TransportDataEvent */ "./dist/events/TransportDataEvent.js");
|
|
36023
|
+
class MessageWasReadAtChangedEvent extends TransportDataEvent_1.TransportDataEvent {
|
|
36024
|
+
static { this.namespace = "transport.messageWasReadAtChanged"; }
|
|
36025
|
+
constructor(eventTargetAddress, data) {
|
|
36026
|
+
super(MessageWasReadAtChangedEvent.namespace, eventTargetAddress, data);
|
|
36027
|
+
}
|
|
36028
|
+
}
|
|
36029
|
+
exports.MessageWasReadAtChangedEvent = MessageWasReadAtChangedEvent;
|
|
36030
|
+
//# sourceMappingURL=MessageWasReadAtChangedEvent.js.map
|
|
36031
|
+
|
|
36032
|
+
/***/ }),
|
|
36033
|
+
|
|
36012
36034
|
/***/ "./dist/events/PeerRelationshipTemplateLoadedEvent.js":
|
|
36013
36035
|
/*!************************************************************!*\
|
|
36014
36036
|
!*** ./dist/events/PeerRelationshipTemplateLoadedEvent.js ***!
|
|
@@ -36101,6 +36123,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
36101
36123
|
__exportStar(__webpack_require__(/*! ./MessageDeliveredEvent */ "./dist/events/MessageDeliveredEvent.js"), exports);
|
|
36102
36124
|
__exportStar(__webpack_require__(/*! ./MessageReceivedEvent */ "./dist/events/MessageReceivedEvent.js"), exports);
|
|
36103
36125
|
__exportStar(__webpack_require__(/*! ./MessageSentEvent */ "./dist/events/MessageSentEvent.js"), exports);
|
|
36126
|
+
__exportStar(__webpack_require__(/*! ./MessageWasReadAtChangedEvent */ "./dist/events/MessageWasReadAtChangedEvent.js"), exports);
|
|
36104
36127
|
__exportStar(__webpack_require__(/*! ./PeerRelationshipTemplateLoadedEvent */ "./dist/events/PeerRelationshipTemplateLoadedEvent.js"), exports);
|
|
36105
36128
|
__exportStar(__webpack_require__(/*! ./RelationshipChangedEvent */ "./dist/events/RelationshipChangedEvent.js"), exports);
|
|
36106
36129
|
__exportStar(__webpack_require__(/*! ./TransportDataEvent */ "./dist/events/TransportDataEvent.js"), exports);
|
|
@@ -36162,37 +36185,37 @@ exports.AccountController = void 0;
|
|
|
36162
36185
|
const ts_utils_1 = __webpack_require__(/*! @js-soft/ts-utils */ "../../node_modules/@js-soft/ts-utils/dist/index.js");
|
|
36163
36186
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
36164
36187
|
const core_1 = __webpack_require__(/*! ../../core */ "./dist/core/index.js");
|
|
36165
|
-
const Authenticator_1 = __webpack_require__(/*! ../../core/backbone/Authenticator */ "./dist/core/backbone/Authenticator.js");
|
|
36166
36188
|
const CoreCrypto_1 = __webpack_require__(/*! ../../core/CoreCrypto */ "./dist/core/CoreCrypto.js");
|
|
36167
36189
|
const DbCollectionName_1 = __webpack_require__(/*! ../../core/DbCollectionName */ "./dist/core/DbCollectionName.js");
|
|
36168
36190
|
const TransportLoggerFactory_1 = __webpack_require__(/*! ../../core/TransportLoggerFactory */ "./dist/core/TransportLoggerFactory.js");
|
|
36191
|
+
const Authenticator_1 = __webpack_require__(/*! ../../core/backbone/Authenticator */ "./dist/core/backbone/Authenticator.js");
|
|
36169
36192
|
const util_1 = __webpack_require__(/*! ../../util */ "./dist/util/index.js");
|
|
36170
36193
|
const CertificateController_1 = __webpack_require__(/*! ../certificates/CertificateController */ "./dist/modules/certificates/CertificateController.js");
|
|
36171
36194
|
const CertificateIssuer_1 = __webpack_require__(/*! ../certificates/CertificateIssuer */ "./dist/modules/certificates/CertificateIssuer.js");
|
|
36172
36195
|
const CertificateValidator_1 = __webpack_require__(/*! ../certificates/CertificateValidator */ "./dist/modules/certificates/CertificateValidator.js");
|
|
36173
36196
|
const ChallengeController_1 = __webpack_require__(/*! ../challenges/ChallengeController */ "./dist/modules/challenges/ChallengeController.js");
|
|
36174
|
-
const DeviceAuthClient_1 = __webpack_require__(/*! ../devices/backbone/DeviceAuthClient */ "./dist/modules/devices/backbone/DeviceAuthClient.js");
|
|
36175
|
-
const DeviceClient_1 = __webpack_require__(/*! ../devices/backbone/DeviceClient */ "./dist/modules/devices/backbone/DeviceClient.js");
|
|
36176
36197
|
const DeviceController_1 = __webpack_require__(/*! ../devices/DeviceController */ "./dist/modules/devices/DeviceController.js");
|
|
36177
|
-
const DevicesController_1 = __webpack_require__(/*! ../devices/DevicesController */ "./dist/modules/devices/DevicesController.js");
|
|
36178
36198
|
const DeviceSecretController_1 = __webpack_require__(/*! ../devices/DeviceSecretController */ "./dist/modules/devices/DeviceSecretController.js");
|
|
36199
|
+
const DevicesController_1 = __webpack_require__(/*! ../devices/DevicesController */ "./dist/modules/devices/DevicesController.js");
|
|
36200
|
+
const DeviceAuthClient_1 = __webpack_require__(/*! ../devices/backbone/DeviceAuthClient */ "./dist/modules/devices/backbone/DeviceAuthClient.js");
|
|
36201
|
+
const DeviceClient_1 = __webpack_require__(/*! ../devices/backbone/DeviceClient */ "./dist/modules/devices/backbone/DeviceClient.js");
|
|
36179
36202
|
const Device_1 = __webpack_require__(/*! ../devices/local/Device */ "./dist/modules/devices/local/Device.js");
|
|
36180
36203
|
const DeviceSecretCredentials_1 = __webpack_require__(/*! ../devices/local/DeviceSecretCredentials */ "./dist/modules/devices/local/DeviceSecretCredentials.js");
|
|
36181
36204
|
const DeviceSharedSecret_1 = __webpack_require__(/*! ../devices/transmission/DeviceSharedSecret */ "./dist/modules/devices/transmission/DeviceSharedSecret.js");
|
|
36182
36205
|
const FileController_1 = __webpack_require__(/*! ../files/FileController */ "./dist/modules/files/FileController.js");
|
|
36183
36206
|
const MessageController_1 = __webpack_require__(/*! ../messages/MessageController */ "./dist/modules/messages/MessageController.js");
|
|
36184
|
-
const RelationshipsController_1 = __webpack_require__(/*! ../relationships/RelationshipsController */ "./dist/modules/relationships/RelationshipsController.js");
|
|
36185
|
-
const RelationshipSecretController_1 = __webpack_require__(/*! ../relationships/RelationshipSecretController */ "./dist/modules/relationships/RelationshipSecretController.js");
|
|
36186
36207
|
const RelationshipTemplateController_1 = __webpack_require__(/*! ../relationshipTemplates/RelationshipTemplateController */ "./dist/modules/relationshipTemplates/RelationshipTemplateController.js");
|
|
36208
|
+
const RelationshipSecretController_1 = __webpack_require__(/*! ../relationships/RelationshipSecretController */ "./dist/modules/relationships/RelationshipSecretController.js");
|
|
36209
|
+
const RelationshipsController_1 = __webpack_require__(/*! ../relationships/RelationshipsController */ "./dist/modules/relationships/RelationshipsController.js");
|
|
36187
36210
|
const SecretController_1 = __webpack_require__(/*! ../secrets/SecretController */ "./dist/modules/secrets/SecretController.js");
|
|
36188
36211
|
const SyncCallback_1 = __webpack_require__(/*! ../sync/SyncCallback */ "./dist/modules/sync/SyncCallback.js");
|
|
36189
36212
|
const SyncController_1 = __webpack_require__(/*! ../sync/SyncController */ "./dist/modules/sync/SyncController.js");
|
|
36190
36213
|
const SynchronizedCollection_1 = __webpack_require__(/*! ../sync/SynchronizedCollection */ "./dist/modules/sync/SynchronizedCollection.js");
|
|
36191
36214
|
const TokenController_1 = __webpack_require__(/*! ../tokens/TokenController */ "./dist/modules/tokens/TokenController.js");
|
|
36192
|
-
const IdentityClient_1 = __webpack_require__(/*! ./backbone/IdentityClient */ "./dist/modules/accounts/backbone/IdentityClient.js");
|
|
36193
|
-
const Identity_1 = __webpack_require__(/*! ./data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
36194
36215
|
const IdentityController_1 = __webpack_require__(/*! ./IdentityController */ "./dist/modules/accounts/IdentityController.js");
|
|
36195
36216
|
const IdentityUtil_1 = __webpack_require__(/*! ./IdentityUtil */ "./dist/modules/accounts/IdentityUtil.js");
|
|
36217
|
+
const IdentityClient_1 = __webpack_require__(/*! ./backbone/IdentityClient */ "./dist/modules/accounts/backbone/IdentityClient.js");
|
|
36218
|
+
const Identity_1 = __webpack_require__(/*! ./data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
36196
36219
|
class AccountController {
|
|
36197
36220
|
get authenticator() {
|
|
36198
36221
|
return this._authenticator;
|
|
@@ -39829,6 +39852,32 @@ class MessageController extends TransportController_1.TransportController {
|
|
|
39829
39852
|
await this.messages.update(messageDoc, message);
|
|
39830
39853
|
return message;
|
|
39831
39854
|
}
|
|
39855
|
+
async markMessageAsRead(id) {
|
|
39856
|
+
const messageDoc = await this.messages.read(id.toString());
|
|
39857
|
+
if (!messageDoc) {
|
|
39858
|
+
throw core_1.CoreErrors.general.recordNotFound(Message_1.Message, id.toString());
|
|
39859
|
+
}
|
|
39860
|
+
const message = Message_1.Message.from(messageDoc);
|
|
39861
|
+
if (typeof message.wasReadAt !== "undefined")
|
|
39862
|
+
return message;
|
|
39863
|
+
message.wasReadAt = core_1.CoreDate.utc();
|
|
39864
|
+
await this.messages.update(messageDoc, message);
|
|
39865
|
+
this.eventBus.publish(new events_1.MessageWasReadAtChangedEvent(this.parent.identity.address.toString(), message));
|
|
39866
|
+
return message;
|
|
39867
|
+
}
|
|
39868
|
+
async markMessageAsUnread(id) {
|
|
39869
|
+
const messageDoc = await this.messages.read(id.toString());
|
|
39870
|
+
if (!messageDoc) {
|
|
39871
|
+
throw core_1.CoreErrors.general.recordNotFound(Message_1.Message, id.toString());
|
|
39872
|
+
}
|
|
39873
|
+
const message = Message_1.Message.from(messageDoc);
|
|
39874
|
+
if (typeof message.wasReadAt === "undefined")
|
|
39875
|
+
return message;
|
|
39876
|
+
message.wasReadAt = undefined;
|
|
39877
|
+
await this.messages.update(messageDoc, message);
|
|
39878
|
+
this.eventBus.publish(new events_1.MessageWasReadAtChangedEvent(this.parent.identity.address.toString(), message));
|
|
39879
|
+
return message;
|
|
39880
|
+
}
|
|
39832
39881
|
async sendMessage(parameters) {
|
|
39833
39882
|
const parsedParams = SendMessageParameters_1.SendMessageParameters.from(parameters);
|
|
39834
39883
|
if (!parsedParams.attachments)
|
|
@@ -40222,6 +40271,7 @@ let Message = class Message extends core_1.CoreSynchronizable {
|
|
|
40222
40271
|
(0, ts_simple_nameof_1.nameof)((r) => r.relationshipIds)
|
|
40223
40272
|
];
|
|
40224
40273
|
this.metadataProperties = [(0, ts_simple_nameof_1.nameof)((r) => r.metadata), (0, ts_simple_nameof_1.nameof)((r) => r.metadataModifiedAt)];
|
|
40274
|
+
this.userdataProperties = [(0, ts_simple_nameof_1.nameof)((r) => r.wasReadAt)];
|
|
40225
40275
|
}
|
|
40226
40276
|
static from(value) {
|
|
40227
40277
|
return this.fromAny(value);
|
|
@@ -40273,6 +40323,11 @@ __decorate([
|
|
|
40273
40323
|
(0, ts_serval_1.serialize)({ type: core_1.CoreId }),
|
|
40274
40324
|
__metadata("design:type", Array)
|
|
40275
40325
|
], Message.prototype, "relationshipIds", void 0);
|
|
40326
|
+
__decorate([
|
|
40327
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40328
|
+
(0, ts_serval_1.serialize)(),
|
|
40329
|
+
__metadata("design:type", core_1.CoreDate)
|
|
40330
|
+
], Message.prototype, "wasReadAt", void 0);
|
|
40276
40331
|
exports.Message = Message = __decorate([
|
|
40277
40332
|
(0, ts_serval_1.type)("Message")
|
|
40278
40333
|
], Message);
|
|
@@ -41620,11 +41675,11 @@ const RelationshipClient_1 = __webpack_require__(/*! ./backbone/RelationshipClie
|
|
|
41620
41675
|
const CachedRelationship_1 = __webpack_require__(/*! ./local/CachedRelationship */ "./dist/modules/relationships/local/CachedRelationship.js");
|
|
41621
41676
|
const Relationship_1 = __webpack_require__(/*! ./local/Relationship */ "./dist/modules/relationships/local/Relationship.js");
|
|
41622
41677
|
const SendRelationshipParameters_1 = __webpack_require__(/*! ./local/SendRelationshipParameters */ "./dist/modules/relationships/local/SendRelationshipParameters.js");
|
|
41678
|
+
const RelationshipStatus_1 = __webpack_require__(/*! ./transmission/RelationshipStatus */ "./dist/modules/relationships/transmission/RelationshipStatus.js");
|
|
41623
41679
|
const RelationshipChange_1 = __webpack_require__(/*! ./transmission/changes/RelationshipChange */ "./dist/modules/relationships/transmission/changes/RelationshipChange.js");
|
|
41624
41680
|
const RelationshipChangeResponse_1 = __webpack_require__(/*! ./transmission/changes/RelationshipChangeResponse */ "./dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js");
|
|
41625
41681
|
const RelationshipChangeStatus_1 = __webpack_require__(/*! ./transmission/changes/RelationshipChangeStatus */ "./dist/modules/relationships/transmission/changes/RelationshipChangeStatus.js");
|
|
41626
41682
|
const RelationshipChangeType_1 = __webpack_require__(/*! ./transmission/changes/RelationshipChangeType */ "./dist/modules/relationships/transmission/changes/RelationshipChangeType.js");
|
|
41627
|
-
const RelationshipStatus_1 = __webpack_require__(/*! ./transmission/RelationshipStatus */ "./dist/modules/relationships/transmission/RelationshipStatus.js");
|
|
41628
41683
|
const RelationshipCreationChangeRequestCipher_1 = __webpack_require__(/*! ./transmission/requests/RelationshipCreationChangeRequestCipher */ "./dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js");
|
|
41629
41684
|
const RelationshipCreationChangeRequestContentWrapper_1 = __webpack_require__(/*! ./transmission/requests/RelationshipCreationChangeRequestContentWrapper */ "./dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContentWrapper.js");
|
|
41630
41685
|
const RelationshipCreationChangeRequestSigned_1 = __webpack_require__(/*! ./transmission/requests/RelationshipCreationChangeRequestSigned */ "./dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js");
|
|
@@ -43916,16 +43971,16 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
43916
43971
|
exports.SyncController = void 0;
|
|
43917
43972
|
const ts_utils_1 = __webpack_require__(/*! @js-soft/ts-utils */ "../../node_modules/@js-soft/ts-utils/dist/index.js");
|
|
43918
43973
|
const core_1 = __webpack_require__(/*! ../../core */ "./dist/core/index.js");
|
|
43919
|
-
const StartSyncRun_1 = __webpack_require__(/*! ./backbone/StartSyncRun */ "./dist/modules/sync/backbone/StartSyncRun.js");
|
|
43920
|
-
const SyncClient_1 = __webpack_require__(/*! ./backbone/SyncClient */ "./dist/modules/sync/backbone/SyncClient.js");
|
|
43921
43974
|
const ChangedItems_1 = __webpack_require__(/*! ./ChangedItems */ "./dist/modules/sync/ChangedItems.js");
|
|
43922
43975
|
const DatawalletModificationMapper_1 = __webpack_require__(/*! ./DatawalletModificationMapper */ "./dist/modules/sync/DatawalletModificationMapper.js");
|
|
43923
43976
|
const DatawalletModificationsProcessor_1 = __webpack_require__(/*! ./DatawalletModificationsProcessor */ "./dist/modules/sync/DatawalletModificationsProcessor.js");
|
|
43924
43977
|
const ExternalEventsProcessor_1 = __webpack_require__(/*! ./ExternalEventsProcessor */ "./dist/modules/sync/ExternalEventsProcessor.js");
|
|
43978
|
+
const SyncCallback_1 = __webpack_require__(/*! ./SyncCallback */ "./dist/modules/sync/SyncCallback.js");
|
|
43979
|
+
const StartSyncRun_1 = __webpack_require__(/*! ./backbone/StartSyncRun */ "./dist/modules/sync/backbone/StartSyncRun.js");
|
|
43980
|
+
const SyncClient_1 = __webpack_require__(/*! ./backbone/SyncClient */ "./dist/modules/sync/backbone/SyncClient.js");
|
|
43925
43981
|
const DatawalletModification_1 = __webpack_require__(/*! ./local/DatawalletModification */ "./dist/modules/sync/local/DatawalletModification.js");
|
|
43926
43982
|
const DeviceMigrations_1 = __webpack_require__(/*! ./migrations/DeviceMigrations */ "./dist/modules/sync/migrations/DeviceMigrations.js");
|
|
43927
43983
|
const IdentityMigrations_1 = __webpack_require__(/*! ./migrations/IdentityMigrations */ "./dist/modules/sync/migrations/IdentityMigrations.js");
|
|
43928
|
-
const SyncCallback_1 = __webpack_require__(/*! ./SyncCallback */ "./dist/modules/sync/SyncCallback.js");
|
|
43929
43984
|
class SyncController extends core_1.TransportController {
|
|
43930
43985
|
get cacheFetcher() {
|
|
43931
43986
|
if (!this._cacheFetcher) {
|