@nmshd/transport 2.0.3 → 2.0.5
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/README.md +2 -0
- package/dist/buildInformation.js +5 -5
- package/dist/core/CoreSerializable.js +2 -3
- package/dist/core/CoreSerializable.js.map +1 -1
- package/dist/core/CoreSerializableAsync.js +2 -3
- package/dist/core/CoreSerializableAsync.js.map +1 -1
- package/dist/core/CoreSynchronizable.js +1 -1
- package/dist/core/CoreSynchronizable.js.map +1 -1
- package/dist/core/DbCollectionName.js +1 -1
- package/dist/core/DbCollectionName.js.map +1 -1
- package/dist/core/Reference.js +1 -1
- package/dist/core/Reference.js.map +1 -1
- package/dist/core/TransportContext.js +2 -2
- package/dist/core/TransportContext.js.map +1 -1
- package/dist/core/TransportController.js +1 -1
- package/dist/core/TransportController.js.map +1 -1
- package/dist/core/backbone/RESTClient.js +1 -1
- package/dist/core/backbone/RESTClient.js.map +1 -1
- package/dist/core/types/CoreAddress.js +2 -3
- package/dist/core/types/CoreAddress.js.map +1 -1
- package/dist/core/types/CoreDate.js +12 -3
- package/dist/core/types/CoreDate.js.map +1 -1
- package/dist/core/types/CoreHash.js +2 -3
- package/dist/core/types/CoreHash.js.map +1 -1
- package/dist/core/types/CoreId.js +2 -3
- package/dist/core/types/CoreId.js.map +1 -1
- package/dist/core/types/TransportVersion.js +1 -1
- package/dist/core/types/TransportVersion.js.map +1 -1
- package/dist/modules/accounts/AccountController.js +11 -16
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityController.js +1 -1
- package/dist/modules/accounts/IdentityController.js.map +1 -1
- package/dist/modules/accounts/data/Identity.js +3 -4
- package/dist/modules/accounts/data/Identity.js.map +1 -1
- package/dist/modules/accounts/data/IdentitySecretCredentials.js +2 -3
- package/dist/modules/accounts/data/IdentitySecretCredentials.js.map +1 -1
- package/dist/modules/certificates/data/Certificate.js +2 -3
- package/dist/modules/certificates/data/Certificate.js.map +1 -1
- package/dist/modules/certificates/data/CertificateConstraint.js +2 -3
- package/dist/modules/certificates/data/CertificateConstraint.js.map +1 -1
- package/dist/modules/certificates/data/CertificateContent.js +2 -3
- package/dist/modules/certificates/data/CertificateContent.js.map +1 -1
- package/dist/modules/certificates/data/CertificateItem.js +2 -3
- package/dist/modules/certificates/data/CertificateItem.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js +2 -3
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js +2 -3
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +2 -3
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js +2 -3
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js +2 -3
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js +3 -4
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +2 -3
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js +2 -3
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js +2 -3
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.js +2 -3
- package/dist/modules/certificates/data/items/CertificateRoleItem.js.map +1 -1
- package/dist/modules/challenges/ChallengeController.js +1 -1
- package/dist/modules/challenges/ChallengeController.js.map +1 -1
- package/dist/modules/challenges/data/Challenge.js +3 -4
- package/dist/modules/challenges/data/Challenge.js.map +1 -1
- package/dist/modules/challenges/data/ChallengeSigned.js +2 -3
- package/dist/modules/challenges/data/ChallengeSigned.js.map +1 -1
- package/dist/modules/devices/DeviceController.js +1 -1
- package/dist/modules/devices/DeviceController.js.map +1 -1
- package/dist/modules/devices/DeviceSecretController.js +2 -2
- package/dist/modules/devices/DeviceSecretController.js.map +1 -1
- package/dist/modules/devices/local/Device.js +3 -4
- package/dist/modules/devices/local/Device.js.map +1 -1
- package/dist/modules/devices/local/DeviceSecretCredentials.js +2 -3
- package/dist/modules/devices/local/DeviceSecretCredentials.js.map +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.js +2 -3
- package/dist/modules/devices/local/SendDeviceParameters.js.map +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.js +2 -3
- package/dist/modules/devices/transmission/DeviceSharedSecret.js.map +1 -1
- package/dist/modules/files/FileController.js +1 -1
- package/dist/modules/files/FileController.js.map +1 -1
- package/dist/modules/files/local/CachedFile.js +2 -3
- package/dist/modules/files/local/CachedFile.js.map +1 -1
- package/dist/modules/files/local/File.js +2 -3
- package/dist/modules/files/local/File.js.map +1 -1
- package/dist/modules/files/local/SendFileParameters.js +2 -3
- package/dist/modules/files/local/SendFileParameters.js.map +1 -1
- package/dist/modules/files/transmission/FileMetadata.js +2 -3
- package/dist/modules/files/transmission/FileMetadata.js.map +1 -1
- package/dist/modules/files/transmission/FileReference.js +2 -3
- package/dist/modules/files/transmission/FileReference.js.map +1 -1
- package/dist/modules/messages/MessageController.js +1 -1
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/CachedMessage.js +2 -3
- package/dist/modules/messages/local/CachedMessage.js.map +1 -1
- package/dist/modules/messages/local/Message.js +2 -3
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/messages/local/SendMessageParameters.js +2 -3
- package/dist/modules/messages/local/SendMessageParameters.js.map +1 -1
- package/dist/modules/messages/transmission/MessageContentWrapper.js +2 -3
- package/dist/modules/messages/transmission/MessageContentWrapper.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelope.js +2 -3
- package/dist/modules/messages/transmission/MessageEnvelope.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js +2 -3
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSignature.js +2 -3
- package/dist/modules/messages/transmission/MessageSignature.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSigned.js +2 -3
- package/dist/modules/messages/transmission/MessageSigned.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +2 -3
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +2 -3
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +2 -3
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.js +2 -3
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js +2 -3
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateReference.js +2 -3
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateReference.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js +2 -3
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js.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/CachedRelationship.js +2 -3
- package/dist/modules/relationships/local/CachedRelationship.js.map +1 -1
- package/dist/modules/relationships/local/Relationship.js +2 -3
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/relationships/local/SendRelationshipParameters.js +2 -3
- package/dist/modules/relationships/local/SendRelationshipParameters.js.map +1 -1
- package/dist/modules/relationships/transmission/RelationshipStatus.js +1 -1
- package/dist/modules/relationships/transmission/RelationshipStatus.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChange.js +2 -3
- package/dist/modules/relationships/transmission/changes/RelationshipChange.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeRequest.js +2 -3
- package/dist/modules/relationships/transmission/changes/RelationshipChangeRequest.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js +2 -3
- package/dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeStatus.js +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeStatus.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeType.js +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeType.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js +2 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContentWrapper.js +2 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContentWrapper.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js +2 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.js +2 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContentWrapper.js +2 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContentWrapper.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.js +2 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.js.map +1 -1
- package/dist/modules/secrets/SecretController.js +2 -2
- package/dist/modules/secrets/SecretController.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerCipher.js +2 -3
- package/dist/modules/secrets/data/SecretContainerCipher.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerPlain.js +2 -3
- package/dist/modules/secrets/data/SecretContainerPlain.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.js +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
- package/dist/modules/sync/SyncCallback.js +1 -1
- package/dist/modules/sync/SyncCallback.js.map +1 -1
- package/dist/modules/sync/SyncController.js +6 -3
- package/dist/modules/sync/SyncController.js.map +1 -1
- package/dist/modules/sync/backbone/StartSyncRun.js +2 -2
- package/dist/modules/sync/backbone/StartSyncRun.js.map +1 -1
- package/dist/modules/sync/local/DatawalletModification.js +4 -5
- package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
- package/dist/modules/tokens/TokenController.js +1 -1
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/local/CachedToken.js +2 -3
- package/dist/modules/tokens/local/CachedToken.js.map +1 -1
- package/dist/modules/tokens/local/SendTokenParameters.js +2 -3
- package/dist/modules/tokens/local/SendTokenParameters.js.map +1 -1
- package/dist/modules/tokens/local/Token.js +2 -3
- package/dist/modules/tokens/local/Token.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js +2 -3
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentFile.js +2 -3
- package/dist/modules/tokens/transmission/TokenContentFile.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js +2 -3
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenReference.js +2 -3
- package/dist/modules/tokens/transmission/TokenReference.js.map +1 -1
- package/dist/util/Random.js +1 -1
- package/dist/util/Random.js.map +1 -1
- package/lib-web/nmshd.transport.js +474 -405
- 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 +24 -24
- package/ui5.yaml +1 -1
|
@@ -15,11 +15,11 @@ exports.buildInformation = void 0;
|
|
|
15
15
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
16
16
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
17
17
|
exports.buildInformation = {
|
|
18
|
-
version: "2.0.
|
|
19
|
-
build: "
|
|
20
|
-
date: "2023-
|
|
21
|
-
commit: "
|
|
22
|
-
dependencies: {"@js-soft/docdb-access-abstractions":"1.0.1","@js-soft/logging-abstractions":"1.0.0","@js-soft/simple-logger":"1.0.2","@js-soft/ts-utils":"2.3.1","axios":"^1.
|
|
18
|
+
version: "2.0.5",
|
|
19
|
+
build: "56",
|
|
20
|
+
date: "2023-06-15T11:41:49+00:00",
|
|
21
|
+
commit: "9a09695acd23b2f92f62bb243586efca6c016967",
|
|
22
|
+
dependencies: {"@js-soft/docdb-access-abstractions":"1.0.1","@js-soft/logging-abstractions":"1.0.0","@js-soft/simple-logger":"1.0.2","@js-soft/ts-utils":"2.3.1","axios":"^1.4.0","deep-equal":"^2.2.1","fast-json-patch":"^3.1.1","form-data":"^4.0.0","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.3.0","qs":"^6.11.2","reflect-metadata":"^0.1.13","ts-simple-nameof":"^1.3.1","uuid":"^9.0.0"},
|
|
23
23
|
libraries: {
|
|
24
24
|
crypto: crypto_1.buildInformation,
|
|
25
25
|
serval: ts_serval_1.buildInformation
|
|
@@ -530,7 +530,7 @@ const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
|
530
530
|
* are called synchronous. Please be aware, that CoreSerializable classes should
|
|
531
531
|
* have no CoreSerializableAsync properties.
|
|
532
532
|
*/
|
|
533
|
-
let CoreSerializable = class CoreSerializable extends ts_serval_1.Serializable {
|
|
533
|
+
let CoreSerializable = exports.CoreSerializable = class CoreSerializable extends ts_serval_1.Serializable {
|
|
534
534
|
toBase64() {
|
|
535
535
|
return crypto_1.CoreBuffer.fromUtf8(this.serialize()).toBase64URL();
|
|
536
536
|
}
|
|
@@ -543,10 +543,9 @@ let CoreSerializable = class CoreSerializable extends ts_serval_1.Serializable {
|
|
|
543
543
|
return ts_serval_1.Serializable.deserializeUnknown(serialized);
|
|
544
544
|
}
|
|
545
545
|
};
|
|
546
|
-
CoreSerializable = __decorate([
|
|
546
|
+
exports.CoreSerializable = CoreSerializable = __decorate([
|
|
547
547
|
(0, ts_serval_1.type)("CoreSerializable")
|
|
548
548
|
], CoreSerializable);
|
|
549
|
-
exports.CoreSerializable = CoreSerializable;
|
|
550
549
|
//# sourceMappingURL=CoreSerializable.js.map
|
|
551
550
|
|
|
552
551
|
/***/ }),
|
|
@@ -577,7 +576,7 @@ const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
|
577
576
|
* are called asynchronous (returning a Promise). You should only use CoreSerializableAsync
|
|
578
577
|
* classes if properties with CoreSerializableAsync types are used.
|
|
579
578
|
*/
|
|
580
|
-
let CoreSerializableAsync = class CoreSerializableAsync extends ts_serval_1.SerializableAsync {
|
|
579
|
+
let CoreSerializableAsync = exports.CoreSerializableAsync = class CoreSerializableAsync extends ts_serval_1.SerializableAsync {
|
|
581
580
|
toBase64() {
|
|
582
581
|
return crypto_1.CoreBuffer.fromUtf8(this.serialize()).toBase64URL();
|
|
583
582
|
}
|
|
@@ -591,10 +590,9 @@ let CoreSerializableAsync = class CoreSerializableAsync extends ts_serval_1.Seri
|
|
|
591
590
|
return await ts_serval_1.SerializableAsync.deserializeUnknown(serialized);
|
|
592
591
|
}
|
|
593
592
|
};
|
|
594
|
-
CoreSerializableAsync = __decorate([
|
|
593
|
+
exports.CoreSerializableAsync = CoreSerializableAsync = __decorate([
|
|
595
594
|
(0, ts_serval_1.type)("CoreSerializableAsync")
|
|
596
595
|
], CoreSerializableAsync);
|
|
597
|
-
exports.CoreSerializableAsync = CoreSerializableAsync;
|
|
598
596
|
//# sourceMappingURL=CoreSerializableAsync.js.map
|
|
599
597
|
|
|
600
598
|
/***/ }),
|
|
@@ -629,12 +627,12 @@ class CoreSynchronizable extends CoreSerializable_1.CoreSerializable {
|
|
|
629
627
|
this.metadataProperties = [];
|
|
630
628
|
}
|
|
631
629
|
}
|
|
630
|
+
exports.CoreSynchronizable = CoreSynchronizable;
|
|
632
631
|
__decorate([
|
|
633
632
|
(0, ts_serval_1.validate)(),
|
|
634
633
|
(0, ts_serval_1.serialize)(),
|
|
635
634
|
__metadata("design:type", CoreId_1.CoreId)
|
|
636
635
|
], CoreSynchronizable.prototype, "id", void 0);
|
|
637
|
-
exports.CoreSynchronizable = CoreSynchronizable;
|
|
638
636
|
//# sourceMappingURL=CoreSynchronizable.js.map
|
|
639
637
|
|
|
640
638
|
/***/ }),
|
|
@@ -708,7 +706,7 @@ var DbCollectionName;
|
|
|
708
706
|
DbCollectionName["UnpushedDatawalletModifications"] = "UnpushedDatawalletModifications";
|
|
709
707
|
DbCollectionName["Devices"] = "Devices";
|
|
710
708
|
DbCollectionName["Secrets"] = "Secrets";
|
|
711
|
-
})(DbCollectionName
|
|
709
|
+
})(DbCollectionName || (exports.DbCollectionName = DbCollectionName = {}));
|
|
712
710
|
//# sourceMappingURL=DbCollectionName.js.map
|
|
713
711
|
|
|
714
712
|
/***/ }),
|
|
@@ -845,6 +843,7 @@ class Reference extends ts_serval_1.Serializable {
|
|
|
845
843
|
return this.fromAny(value);
|
|
846
844
|
}
|
|
847
845
|
}
|
|
846
|
+
exports.Reference = Reference;
|
|
848
847
|
__decorate([
|
|
849
848
|
(0, ts_serval_1.validate)(),
|
|
850
849
|
(0, ts_serval_1.serialize)(),
|
|
@@ -855,7 +854,6 @@ __decorate([
|
|
|
855
854
|
(0, ts_serval_1.serialize)(),
|
|
856
855
|
__metadata("design:type", crypto_1.CryptoSecretKey)
|
|
857
856
|
], Reference.prototype, "key", void 0);
|
|
858
|
-
exports.Reference = Reference;
|
|
859
857
|
//# sourceMappingURL=Reference.js.map
|
|
860
858
|
|
|
861
859
|
/***/ }),
|
|
@@ -968,7 +966,7 @@ var TransportContext;
|
|
|
968
966
|
TransportContext["Web"] = "Web";
|
|
969
967
|
TransportContext["Cordova"] = "Cordova";
|
|
970
968
|
TransportContext["Node"] = "Node";
|
|
971
|
-
})(TransportContext
|
|
969
|
+
})(TransportContext || (exports.TransportContext = TransportContext = {}));
|
|
972
970
|
(function (TransportContext) {
|
|
973
971
|
let _currentContext;
|
|
974
972
|
function _queryContext() {
|
|
@@ -987,7 +985,7 @@ var TransportContext;
|
|
|
987
985
|
return _currentContext;
|
|
988
986
|
}
|
|
989
987
|
TransportContext.currentContext = currentContext;
|
|
990
|
-
})(TransportContext
|
|
988
|
+
})(TransportContext || (exports.TransportContext = TransportContext = {}));
|
|
991
989
|
//# sourceMappingURL=TransportContext.js.map
|
|
992
990
|
|
|
993
991
|
/***/ }),
|
|
@@ -1028,7 +1026,7 @@ var ControllerName;
|
|
|
1028
1026
|
ControllerName["Secret"] = "Secret";
|
|
1029
1027
|
ControllerName["Sync"] = "Sync";
|
|
1030
1028
|
ControllerName["Token"] = "Token";
|
|
1031
|
-
})(ControllerName
|
|
1029
|
+
})(ControllerName || (exports.ControllerName = ControllerName = {}));
|
|
1032
1030
|
class TransportController {
|
|
1033
1031
|
get initialized() {
|
|
1034
1032
|
return this._initialized;
|
|
@@ -1499,7 +1497,7 @@ var RESTClientLogDirective;
|
|
|
1499
1497
|
RESTClientLogDirective[RESTClientLogDirective["LogRequest"] = 1] = "LogRequest";
|
|
1500
1498
|
RESTClientLogDirective[RESTClientLogDirective["LogResponse"] = 2] = "LogResponse";
|
|
1501
1499
|
RESTClientLogDirective[RESTClientLogDirective["LogAll"] = 3] = "LogAll";
|
|
1502
|
-
})(RESTClientLogDirective
|
|
1500
|
+
})(RESTClientLogDirective || (exports.RESTClientLogDirective = RESTClientLogDirective = {}));
|
|
1503
1501
|
class RESTClient {
|
|
1504
1502
|
logRequest() {
|
|
1505
1503
|
return (this._logDirective === RESTClientLogDirective.LogRequest ||
|
|
@@ -2171,7 +2169,7 @@ const CoreSerializable_1 = __webpack_require__(/*! ../CoreSerializable */ "./dis
|
|
|
2171
2169
|
/**
|
|
2172
2170
|
* A CoreAddress is the primariy technical identitier of an account.
|
|
2173
2171
|
*/
|
|
2174
|
-
let CoreAddress = class CoreAddress extends CoreSerializable_1.CoreSerializable {
|
|
2172
|
+
let CoreAddress = exports.CoreAddress = class CoreAddress extends CoreSerializable_1.CoreSerializable {
|
|
2175
2173
|
static preFrom(value) {
|
|
2176
2174
|
if (typeof value === "string") {
|
|
2177
2175
|
return { address: value };
|
|
@@ -2198,11 +2196,10 @@ __decorate([
|
|
|
2198
2196
|
(0, ts_serval_1.serialize)(),
|
|
2199
2197
|
__metadata("design:type", String)
|
|
2200
2198
|
], CoreAddress.prototype, "address", void 0);
|
|
2201
|
-
CoreAddress = __decorate([
|
|
2199
|
+
exports.CoreAddress = CoreAddress = __decorate([
|
|
2202
2200
|
(0, ts_serval_1.type)("CoreAddress"),
|
|
2203
2201
|
(0, ts_serval_1.serializeOnly)("address", "string")
|
|
2204
2202
|
], CoreAddress);
|
|
2205
|
-
exports.CoreAddress = CoreAddress;
|
|
2206
2203
|
//# sourceMappingURL=CoreAddress.js.map
|
|
2207
2204
|
|
|
2208
2205
|
/***/ }),
|
|
@@ -2231,11 +2228,13 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
2231
2228
|
const luxon_1 = __webpack_require__(/*! luxon */ "./node_modules/luxon/build/node/luxon.js");
|
|
2232
2229
|
const CoreSerializable_1 = __webpack_require__(/*! ../CoreSerializable */ "./dist/core/CoreSerializable.js");
|
|
2233
2230
|
const TransportError_1 = __webpack_require__(/*! ../TransportError */ "./dist/core/TransportError.js");
|
|
2234
|
-
let CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerializable {
|
|
2231
|
+
let CoreDate = exports.CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerializable {
|
|
2235
2232
|
get dateTime() {
|
|
2236
2233
|
return this._dateTime;
|
|
2237
2234
|
}
|
|
2238
2235
|
get date() {
|
|
2236
|
+
if (!this.dateTime.isValid)
|
|
2237
|
+
throw new TransportError_1.TransportError("The date is invalid.");
|
|
2239
2238
|
return this.dateTime.toISODate();
|
|
2240
2239
|
}
|
|
2241
2240
|
constructor(dateTime = luxon_1.DateTime.utc()) {
|
|
@@ -2327,18 +2326,26 @@ let CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerial
|
|
|
2327
2326
|
* Creates an ISO String.
|
|
2328
2327
|
*/
|
|
2329
2328
|
toString() {
|
|
2329
|
+
if (!this.dateTime.isValid)
|
|
2330
|
+
throw new TransportError_1.TransportError("The date is invalid.");
|
|
2330
2331
|
return this.dateTime.toISO();
|
|
2331
2332
|
}
|
|
2332
2333
|
toISOString() {
|
|
2334
|
+
if (!this.dateTime.isValid)
|
|
2335
|
+
throw new TransportError_1.TransportError("The date is invalid.");
|
|
2333
2336
|
return this.dateTime.toISO();
|
|
2334
2337
|
}
|
|
2335
2338
|
toLocaleString() {
|
|
2336
2339
|
return this.dateTime.toLocaleString();
|
|
2337
2340
|
}
|
|
2338
2341
|
toJSON() {
|
|
2342
|
+
if (!this.dateTime.isValid)
|
|
2343
|
+
throw new TransportError_1.TransportError("The date is invalid.");
|
|
2339
2344
|
return this.dateTime.toISO();
|
|
2340
2345
|
}
|
|
2341
2346
|
serialize() {
|
|
2347
|
+
if (!this.dateTime.isValid)
|
|
2348
|
+
throw new TransportError_1.TransportError("The date is invalid.");
|
|
2342
2349
|
return this.dateTime.toISO();
|
|
2343
2350
|
}
|
|
2344
2351
|
static preFrom(value) {
|
|
@@ -2367,11 +2374,10 @@ let CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerial
|
|
|
2367
2374
|
return this.fromAny(value);
|
|
2368
2375
|
}
|
|
2369
2376
|
};
|
|
2370
|
-
CoreDate = CoreDate_1 = __decorate([
|
|
2377
|
+
exports.CoreDate = CoreDate = CoreDate_1 = __decorate([
|
|
2371
2378
|
(0, ts_serval_1.type)("CoreDate"),
|
|
2372
2379
|
__metadata("design:paramtypes", [luxon_1.DateTime])
|
|
2373
2380
|
], CoreDate);
|
|
2374
|
-
exports.CoreDate = CoreDate;
|
|
2375
2381
|
//# sourceMappingURL=CoreDate.js.map
|
|
2376
2382
|
|
|
2377
2383
|
/***/ }),
|
|
@@ -2402,7 +2408,7 @@ const CoreSerializable_1 = __webpack_require__(/*! ../CoreSerializable */ "./dis
|
|
|
2402
2408
|
/**
|
|
2403
2409
|
* Hash wraps a hash
|
|
2404
2410
|
*/
|
|
2405
|
-
let CoreHash = CoreHash_1 = class CoreHash extends CoreSerializable_1.CoreSerializable {
|
|
2411
|
+
let CoreHash = exports.CoreHash = CoreHash_1 = class CoreHash extends CoreSerializable_1.CoreSerializable {
|
|
2406
2412
|
toString() {
|
|
2407
2413
|
return this.hash;
|
|
2408
2414
|
}
|
|
@@ -2453,10 +2459,9 @@ __decorate([
|
|
|
2453
2459
|
(0, ts_serval_1.serialize)(),
|
|
2454
2460
|
__metadata("design:type", String)
|
|
2455
2461
|
], CoreHash.prototype, "hash", void 0);
|
|
2456
|
-
CoreHash = CoreHash_1 = __decorate([
|
|
2462
|
+
exports.CoreHash = CoreHash = CoreHash_1 = __decorate([
|
|
2457
2463
|
(0, ts_serval_1.serializeOnly)("hash", "string")
|
|
2458
2464
|
], CoreHash);
|
|
2459
|
-
exports.CoreHash = CoreHash;
|
|
2460
2465
|
//# sourceMappingURL=CoreHash.js.map
|
|
2461
2466
|
|
|
2462
2467
|
/***/ }),
|
|
@@ -2487,7 +2492,7 @@ const TransportError_1 = __webpack_require__(/*! ../TransportError */ "./dist/co
|
|
|
2487
2492
|
/**
|
|
2488
2493
|
* A CoreId is any kind of identifier we have in the system.
|
|
2489
2494
|
*/
|
|
2490
|
-
let CoreId = class CoreId extends CoreSerializable_1.CoreSerializable {
|
|
2495
|
+
let CoreId = exports.CoreId = class CoreId extends CoreSerializable_1.CoreSerializable {
|
|
2491
2496
|
toString() {
|
|
2492
2497
|
return this.id;
|
|
2493
2498
|
}
|
|
@@ -2519,11 +2524,10 @@ __decorate([
|
|
|
2519
2524
|
(0, ts_serval_1.serialize)(),
|
|
2520
2525
|
__metadata("design:type", String)
|
|
2521
2526
|
], CoreId.prototype, "id", void 0);
|
|
2522
|
-
CoreId = __decorate([
|
|
2527
|
+
exports.CoreId = CoreId = __decorate([
|
|
2523
2528
|
(0, ts_serval_1.type)("CoreId"),
|
|
2524
2529
|
(0, ts_serval_1.serializeOnly)("id", "string")
|
|
2525
2530
|
], CoreId);
|
|
2526
|
-
exports.CoreId = CoreId;
|
|
2527
2531
|
//# sourceMappingURL=CoreId.js.map
|
|
2528
2532
|
|
|
2529
2533
|
/***/ }),
|
|
@@ -2542,7 +2546,7 @@ var TransportVersion;
|
|
|
2542
2546
|
(function (TransportVersion) {
|
|
2543
2547
|
TransportVersion["Latest"] = "1";
|
|
2544
2548
|
TransportVersion["V1"] = "1";
|
|
2545
|
-
})(TransportVersion
|
|
2549
|
+
})(TransportVersion || (exports.TransportVersion = TransportVersion = {}));
|
|
2546
2550
|
//# sourceMappingURL=TransportVersion.js.map
|
|
2547
2551
|
|
|
2548
2552
|
/***/ }),
|
|
@@ -2903,15 +2907,11 @@ class AccountController {
|
|
|
2903
2907
|
if (!availableBaseKeyDoc) {
|
|
2904
2908
|
throw core_1.CoreErrors.secrets.secretNotFound("BaseKey");
|
|
2905
2909
|
}
|
|
2906
|
-
const
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
await Promise.all([
|
|
2912
|
-
this.identity.init(availableIdentity),
|
|
2913
|
-
this.activeDevice.init(availableBaseKey, availableDevice)
|
|
2914
|
-
]);
|
|
2910
|
+
const availableIdentity = Identity_1.Identity.from(availableIdentityDoc);
|
|
2911
|
+
const availableDevice = Device_1.Device.from(availableDeviceDoc);
|
|
2912
|
+
const availableBaseKey = crypto_1.CryptoSecretKey.fromJSON(availableBaseKeyDoc);
|
|
2913
|
+
await this.identity.init(availableIdentity);
|
|
2914
|
+
await this.activeDevice.init(availableBaseKey, availableDevice);
|
|
2915
2915
|
this.deviceAuthClient = new DeviceAuthClient_1.DeviceAuthClient(this.config, this.authenticator);
|
|
2916
2916
|
}
|
|
2917
2917
|
else {
|
|
@@ -2981,7 +2981,7 @@ class AccountController {
|
|
|
2981
2981
|
// Generate identity keypair
|
|
2982
2982
|
CoreCrypto_1.CoreCrypto.generateSignatureKeypair(),
|
|
2983
2983
|
// Generate strong device password
|
|
2984
|
-
|
|
2984
|
+
util_1.PasswordGenerator.createStrongPassword(45, 50),
|
|
2985
2985
|
// Generate device keypair
|
|
2986
2986
|
CoreCrypto_1.CoreCrypto.generateSignatureKeypair(),
|
|
2987
2987
|
// Generate Shared Base Key
|
|
@@ -3041,7 +3041,8 @@ class AccountController {
|
|
|
3041
3041
|
datawalletVersion: this._config.supportedDatawalletVersion
|
|
3042
3042
|
});
|
|
3043
3043
|
// Initialize required controllers
|
|
3044
|
-
await
|
|
3044
|
+
await this.identity.init(identity);
|
|
3045
|
+
await this.activeDevice.init(privBaseDevice, device);
|
|
3045
3046
|
const deviceCredentials = DeviceSecretCredentials_1.DeviceSecretCredentials.from({
|
|
3046
3047
|
id: device.id,
|
|
3047
3048
|
username: deviceResponse.device.username,
|
|
@@ -3085,10 +3086,8 @@ class AccountController {
|
|
|
3085
3086
|
isAdmin: deviceSharedSecret.identityPrivateKey ? true : false
|
|
3086
3087
|
});
|
|
3087
3088
|
// Initialize required controllers
|
|
3088
|
-
await
|
|
3089
|
-
|
|
3090
|
-
this.activeDevice.init(privBaseDevice, device)
|
|
3091
|
-
]);
|
|
3089
|
+
await this.identity.init(deviceSharedSecret.identity);
|
|
3090
|
+
await this.activeDevice.init(privBaseDevice, device);
|
|
3092
3091
|
const deviceCredentials = DeviceSecretCredentials_1.DeviceSecretCredentials.from({
|
|
3093
3092
|
id: deviceSharedSecret.id,
|
|
3094
3093
|
username: deviceSharedSecret.username,
|
|
@@ -3128,6 +3127,7 @@ class AccountController {
|
|
|
3128
3127
|
return new SynchronizedCollection_1.SynchronizedCollection(collection, this.config.supportedDatawalletVersion, this.unpushedDatawalletModifications);
|
|
3129
3128
|
}
|
|
3130
3129
|
}
|
|
3130
|
+
exports.AccountController = AccountController;
|
|
3131
3131
|
__decorate([
|
|
3132
3132
|
(0, ts_utils_1.log)(),
|
|
3133
3133
|
__metadata("design:type", Function),
|
|
@@ -3140,7 +3140,6 @@ __decorate([
|
|
|
3140
3140
|
__metadata("design:paramtypes", []),
|
|
3141
3141
|
__metadata("design:returntype", Promise)
|
|
3142
3142
|
], AccountController.prototype, "createIdentityAndDevice", null);
|
|
3143
|
-
exports.AccountController = AccountController;
|
|
3144
3143
|
//# sourceMappingURL=AccountController.js.map
|
|
3145
3144
|
|
|
3146
3145
|
/***/ }),
|
|
@@ -3211,6 +3210,7 @@ class IdentityController extends core_1.TransportController {
|
|
|
3211
3210
|
return valid;
|
|
3212
3211
|
}
|
|
3213
3212
|
}
|
|
3213
|
+
exports.IdentityController = IdentityController;
|
|
3214
3214
|
__decorate([
|
|
3215
3215
|
(0, ts_utils_1.log)(),
|
|
3216
3216
|
__metadata("design:type", Function),
|
|
@@ -3223,7 +3223,6 @@ __decorate([
|
|
|
3223
3223
|
__metadata("design:paramtypes", [crypto_1.CoreBuffer]),
|
|
3224
3224
|
__metadata("design:returntype", Promise)
|
|
3225
3225
|
], IdentityController.prototype, "sign", null);
|
|
3226
|
-
exports.IdentityController = IdentityController;
|
|
3227
3226
|
//# sourceMappingURL=IdentityController.js.map
|
|
3228
3227
|
|
|
3229
3228
|
/***/ }),
|
|
@@ -3346,8 +3345,8 @@ var Realm;
|
|
|
3346
3345
|
Realm["Dev"] = "dev";
|
|
3347
3346
|
Realm["Stage"] = "id0";
|
|
3348
3347
|
Realm["Prod"] = "id1";
|
|
3349
|
-
})(Realm
|
|
3350
|
-
let Identity = class Identity extends CoreSerializable_1.CoreSerializable {
|
|
3348
|
+
})(Realm || (exports.Realm = Realm = {}));
|
|
3349
|
+
let Identity = exports.Identity = class Identity extends CoreSerializable_1.CoreSerializable {
|
|
3351
3350
|
static from(value) {
|
|
3352
3351
|
return this.fromAny(value);
|
|
3353
3352
|
}
|
|
@@ -3367,10 +3366,9 @@ __decorate([
|
|
|
3367
3366
|
(0, ts_serval_1.serialize)(),
|
|
3368
3367
|
__metadata("design:type", String)
|
|
3369
3368
|
], Identity.prototype, "realm", void 0);
|
|
3370
|
-
Identity = __decorate([
|
|
3369
|
+
exports.Identity = Identity = __decorate([
|
|
3371
3370
|
(0, ts_serval_1.type)("Identity")
|
|
3372
3371
|
], Identity);
|
|
3373
|
-
exports.Identity = Identity;
|
|
3374
3372
|
//# sourceMappingURL=Identity.js.map
|
|
3375
3373
|
|
|
3376
3374
|
/***/ }),
|
|
@@ -3520,7 +3518,7 @@ const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
|
3520
3518
|
*
|
|
3521
3519
|
*
|
|
3522
3520
|
*/
|
|
3523
|
-
let Certificate = class Certificate extends core_1.CoreSerializable {
|
|
3521
|
+
let Certificate = exports.Certificate = class Certificate extends core_1.CoreSerializable {
|
|
3524
3522
|
static from(value) {
|
|
3525
3523
|
return this.fromAny(value);
|
|
3526
3524
|
}
|
|
@@ -3550,10 +3548,9 @@ __decorate([
|
|
|
3550
3548
|
(0, ts_serval_1.serialize)(),
|
|
3551
3549
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
3552
3550
|
], Certificate.prototype, "signature", void 0);
|
|
3553
|
-
Certificate = __decorate([
|
|
3551
|
+
exports.Certificate = Certificate = __decorate([
|
|
3554
3552
|
(0, ts_serval_1.type)("Certificate")
|
|
3555
3553
|
], Certificate);
|
|
3556
|
-
exports.Certificate = Certificate;
|
|
3557
3554
|
//# sourceMappingURL=Certificate.js.map
|
|
3558
3555
|
|
|
3559
3556
|
/***/ }),
|
|
@@ -3579,15 +3576,14 @@ const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
|
3579
3576
|
/**
|
|
3580
3577
|
* A CertificateConstraint limits a Certificate to a specific time, region or identity.
|
|
3581
3578
|
*/
|
|
3582
|
-
let CertificateConstraint = class CertificateConstraint extends core_1.CoreSerializable {
|
|
3579
|
+
let CertificateConstraint = exports.CertificateConstraint = class CertificateConstraint extends core_1.CoreSerializable {
|
|
3583
3580
|
static from(value) {
|
|
3584
3581
|
return this.fromAny(value);
|
|
3585
3582
|
}
|
|
3586
3583
|
};
|
|
3587
|
-
CertificateConstraint = __decorate([
|
|
3584
|
+
exports.CertificateConstraint = CertificateConstraint = __decorate([
|
|
3588
3585
|
(0, ts_serval_1.type)("CertificateConstraint")
|
|
3589
3586
|
], CertificateConstraint);
|
|
3590
|
-
exports.CertificateConstraint = CertificateConstraint;
|
|
3591
3587
|
//# sourceMappingURL=CertificateConstraint.js.map
|
|
3592
3588
|
|
|
3593
3589
|
/***/ }),
|
|
@@ -3620,7 +3616,7 @@ const CertificateItem_1 = __webpack_require__(/*! ./CertificateItem */ "./dist/m
|
|
|
3620
3616
|
* A CertificateContent is the content which should be digitally signed. The digital signature
|
|
3621
3617
|
* is done on top of the serialized content of this data structure.
|
|
3622
3618
|
*/
|
|
3623
|
-
let CertificateContent = class CertificateContent extends core_1.CoreSerializable {
|
|
3619
|
+
let CertificateContent = exports.CertificateContent = class CertificateContent extends core_1.CoreSerializable {
|
|
3624
3620
|
static from(value) {
|
|
3625
3621
|
return this.fromAny(value);
|
|
3626
3622
|
}
|
|
@@ -3660,10 +3656,9 @@ __decorate([
|
|
|
3660
3656
|
(0, ts_serval_1.serialize)({ type: CertificateItem_1.CertificateItem }),
|
|
3661
3657
|
__metadata("design:type", Array)
|
|
3662
3658
|
], CertificateContent.prototype, "items", void 0);
|
|
3663
|
-
CertificateContent = __decorate([
|
|
3659
|
+
exports.CertificateContent = CertificateContent = __decorate([
|
|
3664
3660
|
(0, ts_serval_1.type)("CertificateContent")
|
|
3665
3661
|
], CertificateContent);
|
|
3666
|
-
exports.CertificateContent = CertificateContent;
|
|
3667
3662
|
//# sourceMappingURL=CertificateContent.js.map
|
|
3668
3663
|
|
|
3669
3664
|
/***/ }),
|
|
@@ -3690,15 +3685,14 @@ const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
|
3690
3685
|
* A CertificateItem is a digitally signed hash with information about the signature date,
|
|
3691
3686
|
* the signer, the signature algorithm and the version.
|
|
3692
3687
|
*/
|
|
3693
|
-
let CertificateItem = class CertificateItem extends core_1.CoreSerializable {
|
|
3688
|
+
let CertificateItem = exports.CertificateItem = class CertificateItem extends core_1.CoreSerializable {
|
|
3694
3689
|
static from(value) {
|
|
3695
3690
|
return this.fromAny(value);
|
|
3696
3691
|
}
|
|
3697
3692
|
};
|
|
3698
|
-
CertificateItem = __decorate([
|
|
3693
|
+
exports.CertificateItem = CertificateItem = __decorate([
|
|
3699
3694
|
(0, ts_serval_1.type)("CertificateItem")
|
|
3700
3695
|
], CertificateItem);
|
|
3701
|
-
exports.CertificateItem = CertificateItem;
|
|
3702
3696
|
//# sourceMappingURL=CertificateItem.js.map
|
|
3703
3697
|
|
|
3704
3698
|
/***/ }),
|
|
@@ -3741,7 +3735,7 @@ const CertificateConstraint_1 = __webpack_require__(/*! ../CertificateConstraint
|
|
|
3741
3735
|
* - Access rights to buildings of the UN
|
|
3742
3736
|
* - German driver license
|
|
3743
3737
|
*/
|
|
3744
|
-
let CertificateBorderConstraint = class CertificateBorderConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3738
|
+
let CertificateBorderConstraint = exports.CertificateBorderConstraint = class CertificateBorderConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3745
3739
|
static from(value) {
|
|
3746
3740
|
return this.fromAny(value);
|
|
3747
3741
|
}
|
|
@@ -3761,10 +3755,9 @@ __decorate([
|
|
|
3761
3755
|
(0, ts_serval_1.serialize)(),
|
|
3762
3756
|
__metadata("design:type", String)
|
|
3763
3757
|
], CertificateBorderConstraint.prototype, "state", void 0);
|
|
3764
|
-
CertificateBorderConstraint = __decorate([
|
|
3758
|
+
exports.CertificateBorderConstraint = CertificateBorderConstraint = __decorate([
|
|
3765
3759
|
(0, ts_serval_1.type)("CertificateBorderConstraint")
|
|
3766
3760
|
], CertificateBorderConstraint);
|
|
3767
|
-
exports.CertificateBorderConstraint = CertificateBorderConstraint;
|
|
3768
3761
|
//# sourceMappingURL=CertificateBorderConstraint.js.map
|
|
3769
3762
|
|
|
3770
3763
|
/***/ }),
|
|
@@ -3810,7 +3803,7 @@ const CertificateConstraint_1 = __webpack_require__(/*! ../CertificateConstraint
|
|
|
3810
3803
|
* - Public transport tickets
|
|
3811
3804
|
* - City-Inhabitant IDs
|
|
3812
3805
|
*/
|
|
3813
|
-
let CertificateCityConstraint = class CertificateCityConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3806
|
+
let CertificateCityConstraint = exports.CertificateCityConstraint = class CertificateCityConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3814
3807
|
static from(value) {
|
|
3815
3808
|
return this.fromAny(value);
|
|
3816
3809
|
}
|
|
@@ -3830,10 +3823,9 @@ __decorate([
|
|
|
3830
3823
|
(0, ts_serval_1.serialize)(),
|
|
3831
3824
|
__metadata("design:type", String)
|
|
3832
3825
|
], CertificateCityConstraint.prototype, "zipCode", void 0);
|
|
3833
|
-
CertificateCityConstraint = __decorate([
|
|
3826
|
+
exports.CertificateCityConstraint = CertificateCityConstraint = __decorate([
|
|
3834
3827
|
(0, ts_serval_1.type)("CertificateCityConstraint")
|
|
3835
3828
|
], CertificateCityConstraint);
|
|
3836
|
-
exports.CertificateCityConstraint = CertificateCityConstraint;
|
|
3837
3829
|
//# sourceMappingURL=CertificateCityConstraint.js.map
|
|
3838
3830
|
|
|
3839
3831
|
/***/ }),
|
|
@@ -3860,7 +3852,7 @@ exports.CertificateIdentityConstraint = void 0;
|
|
|
3860
3852
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
3861
3853
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
3862
3854
|
const CertificateConstraint_1 = __webpack_require__(/*! ../CertificateConstraint */ "./dist/modules/certificates/data/CertificateConstraint.js");
|
|
3863
|
-
let CertificateIdentityConstraint = class CertificateIdentityConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3855
|
+
let CertificateIdentityConstraint = exports.CertificateIdentityConstraint = class CertificateIdentityConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3864
3856
|
static from(value) {
|
|
3865
3857
|
return this.fromAny(value);
|
|
3866
3858
|
}
|
|
@@ -3870,10 +3862,9 @@ __decorate([
|
|
|
3870
3862
|
(0, ts_serval_1.serialize)(),
|
|
3871
3863
|
__metadata("design:type", core_1.CoreAddress)
|
|
3872
3864
|
], CertificateIdentityConstraint.prototype, "identity", void 0);
|
|
3873
|
-
CertificateIdentityConstraint = __decorate([
|
|
3865
|
+
exports.CertificateIdentityConstraint = CertificateIdentityConstraint = __decorate([
|
|
3874
3866
|
(0, ts_serval_1.type)("CertificateIdentityConstraint")
|
|
3875
3867
|
], CertificateIdentityConstraint);
|
|
3876
|
-
exports.CertificateIdentityConstraint = CertificateIdentityConstraint;
|
|
3877
3868
|
//# sourceMappingURL=CertificateIdentityConstraint.js.map
|
|
3878
3869
|
|
|
3879
3870
|
/***/ }),
|
|
@@ -3905,7 +3896,7 @@ const CertificateConstraint_1 = __webpack_require__(/*! ../CertificateConstraint
|
|
|
3905
3896
|
* dates. The certificate is not valid before the validFrom date, and not after the
|
|
3906
3897
|
* validTo date.
|
|
3907
3898
|
*/
|
|
3908
|
-
let CertificateTimeConstraint = class CertificateTimeConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3899
|
+
let CertificateTimeConstraint = exports.CertificateTimeConstraint = class CertificateTimeConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
3909
3900
|
static from(value) {
|
|
3910
3901
|
return this.fromAny(value);
|
|
3911
3902
|
}
|
|
@@ -3920,10 +3911,9 @@ __decorate([
|
|
|
3920
3911
|
(0, ts_serval_1.serialize)(),
|
|
3921
3912
|
__metadata("design:type", core_1.CoreDate)
|
|
3922
3913
|
], CertificateTimeConstraint.prototype, "validTo", void 0);
|
|
3923
|
-
CertificateTimeConstraint = __decorate([
|
|
3914
|
+
exports.CertificateTimeConstraint = CertificateTimeConstraint = __decorate([
|
|
3924
3915
|
(0, ts_serval_1.type)("CertificateTimeConstraint")
|
|
3925
3916
|
], CertificateTimeConstraint);
|
|
3926
|
-
exports.CertificateTimeConstraint = CertificateTimeConstraint;
|
|
3927
3917
|
//# sourceMappingURL=CertificateTimeConstraint.js.map
|
|
3928
3918
|
|
|
3929
3919
|
/***/ }),
|
|
@@ -3958,7 +3948,7 @@ const CertificateItem_1 = __webpack_require__(/*! ../CertificateItem */ "./dist/
|
|
|
3958
3948
|
* - Admin access to a computer
|
|
3959
3949
|
* - Facility access to a visitor
|
|
3960
3950
|
*/
|
|
3961
|
-
let CertificateAuthorizationItem = class CertificateAuthorizationItem extends CertificateItem_1.CertificateItem {
|
|
3951
|
+
let CertificateAuthorizationItem = exports.CertificateAuthorizationItem = class CertificateAuthorizationItem extends CertificateItem_1.CertificateItem {
|
|
3962
3952
|
static from(value) {
|
|
3963
3953
|
return this.fromAny(value);
|
|
3964
3954
|
}
|
|
@@ -3968,10 +3958,9 @@ __decorate([
|
|
|
3968
3958
|
(0, ts_serval_1.serialize)(),
|
|
3969
3959
|
__metadata("design:type", String)
|
|
3970
3960
|
], CertificateAuthorizationItem.prototype, "authorization", void 0);
|
|
3971
|
-
CertificateAuthorizationItem = __decorate([
|
|
3961
|
+
exports.CertificateAuthorizationItem = CertificateAuthorizationItem = __decorate([
|
|
3972
3962
|
(0, ts_serval_1.type)("CertificateAuthorizationItem")
|
|
3973
3963
|
], CertificateAuthorizationItem);
|
|
3974
|
-
exports.CertificateAuthorizationItem = CertificateAuthorizationItem;
|
|
3975
3964
|
//# sourceMappingURL=CertificateAuthorizationItem.js.map
|
|
3976
3965
|
|
|
3977
3966
|
/***/ }),
|
|
@@ -4004,11 +3993,11 @@ var CertificateDelegateType;
|
|
|
4004
3993
|
CertificateDelegateType["Sign"] = "sign";
|
|
4005
3994
|
CertificateDelegateType["Ppa"] = "ppa";
|
|
4006
3995
|
CertificateDelegateType["Communication"] = "communication";
|
|
4007
|
-
})(CertificateDelegateType
|
|
3996
|
+
})(CertificateDelegateType || (exports.CertificateDelegateType = CertificateDelegateType = {}));
|
|
4008
3997
|
/**
|
|
4009
3998
|
* A CertificateDelegateItem
|
|
4010
3999
|
*/
|
|
4011
|
-
let CertificateDelegateItem = class CertificateDelegateItem extends CertificateItem_1.CertificateItem {
|
|
4000
|
+
let CertificateDelegateItem = exports.CertificateDelegateItem = class CertificateDelegateItem extends CertificateItem_1.CertificateItem {
|
|
4012
4001
|
static from(value) {
|
|
4013
4002
|
return this.fromAny(value);
|
|
4014
4003
|
}
|
|
@@ -4023,10 +4012,9 @@ __decorate([
|
|
|
4023
4012
|
(0, ts_serval_1.serialize)(),
|
|
4024
4013
|
__metadata("design:type", String)
|
|
4025
4014
|
], CertificateDelegateItem.prototype, "content", void 0);
|
|
4026
|
-
CertificateDelegateItem = __decorate([
|
|
4015
|
+
exports.CertificateDelegateItem = CertificateDelegateItem = __decorate([
|
|
4027
4016
|
(0, ts_serval_1.type)("CertificateDelegateItem")
|
|
4028
4017
|
], CertificateDelegateItem);
|
|
4029
|
-
exports.CertificateDelegateItem = CertificateDelegateItem;
|
|
4030
4018
|
//# sourceMappingURL=CertificateDelegateItem.js.map
|
|
4031
4019
|
|
|
4032
4020
|
/***/ }),
|
|
@@ -4064,7 +4052,7 @@ const CertificateItem_1 = __webpack_require__(/*! ../CertificateItem */ "./dist/
|
|
|
4064
4052
|
* the additional data within the shared certificate is of no value to the third party, without
|
|
4065
4053
|
* the shared attributes (+ nonce).
|
|
4066
4054
|
*/
|
|
4067
|
-
let CertificatePrivateAttributeItem = class CertificatePrivateAttributeItem extends CertificateItem_1.CertificateItem {
|
|
4055
|
+
let CertificatePrivateAttributeItem = exports.CertificatePrivateAttributeItem = class CertificatePrivateAttributeItem extends CertificateItem_1.CertificateItem {
|
|
4068
4056
|
static from(value) {
|
|
4069
4057
|
return this.fromAny(value);
|
|
4070
4058
|
}
|
|
@@ -4074,10 +4062,9 @@ __decorate([
|
|
|
4074
4062
|
(0, ts_serval_1.serialize)(),
|
|
4075
4063
|
__metadata("design:type", types_1.CoreHash)
|
|
4076
4064
|
], CertificatePrivateAttributeItem.prototype, "hash", void 0);
|
|
4077
|
-
CertificatePrivateAttributeItem = __decorate([
|
|
4065
|
+
exports.CertificatePrivateAttributeItem = CertificatePrivateAttributeItem = __decorate([
|
|
4078
4066
|
(0, ts_serval_1.type)("CertificatePrivateAttributeItem")
|
|
4079
4067
|
], CertificatePrivateAttributeItem);
|
|
4080
|
-
exports.CertificatePrivateAttributeItem = CertificatePrivateAttributeItem;
|
|
4081
4068
|
//# sourceMappingURL=CertificatePrivateAttributeItem.js.map
|
|
4082
4069
|
|
|
4083
4070
|
/***/ }),
|
|
@@ -4115,7 +4102,7 @@ const CertificateItem_1 = __webpack_require__(/*! ../CertificateItem */ "./dist/
|
|
|
4115
4102
|
* the additional data within the shared certificate is of no value to the third party, without
|
|
4116
4103
|
* the shared attributes (+ nonce).
|
|
4117
4104
|
*/
|
|
4118
|
-
let CertificatePrivateAttributeItemSource = class CertificatePrivateAttributeItemSource extends CertificateItem_1.CertificateItem {
|
|
4105
|
+
let CertificatePrivateAttributeItemSource = exports.CertificatePrivateAttributeItemSource = class CertificatePrivateAttributeItemSource extends CertificateItem_1.CertificateItem {
|
|
4119
4106
|
async hash() {
|
|
4120
4107
|
return await types_1.CoreHash.hash(`${this.nonce}|${this.name}|${this.value}`);
|
|
4121
4108
|
}
|
|
@@ -4138,10 +4125,9 @@ __decorate([
|
|
|
4138
4125
|
(0, ts_serval_1.serialize)(),
|
|
4139
4126
|
__metadata("design:type", String)
|
|
4140
4127
|
], CertificatePrivateAttributeItemSource.prototype, "value", void 0);
|
|
4141
|
-
CertificatePrivateAttributeItemSource = __decorate([
|
|
4128
|
+
exports.CertificatePrivateAttributeItemSource = CertificatePrivateAttributeItemSource = __decorate([
|
|
4142
4129
|
(0, ts_serval_1.type)("CertificatePrivateAttributeItem")
|
|
4143
4130
|
], CertificatePrivateAttributeItemSource);
|
|
4144
|
-
exports.CertificatePrivateAttributeItemSource = CertificatePrivateAttributeItemSource;
|
|
4145
4131
|
//# sourceMappingURL=CertificatePrivateAttributeItemSource.js.map
|
|
4146
4132
|
|
|
4147
4133
|
/***/ }),
|
|
@@ -4171,7 +4157,7 @@ const CertificateItem_1 = __webpack_require__(/*! ../CertificateItem */ "./dist/
|
|
|
4171
4157
|
* A CertificatePublicAttributeItem is a representation of a single attribute,
|
|
4172
4158
|
* consisting of a name of the attribute and its value.
|
|
4173
4159
|
*/
|
|
4174
|
-
let CertificatePublicAttributeItem = class CertificatePublicAttributeItem extends CertificateItem_1.CertificateItem {
|
|
4160
|
+
let CertificatePublicAttributeItem = exports.CertificatePublicAttributeItem = class CertificatePublicAttributeItem extends CertificateItem_1.CertificateItem {
|
|
4175
4161
|
static from(value) {
|
|
4176
4162
|
return this.fromAny(value);
|
|
4177
4163
|
}
|
|
@@ -4186,10 +4172,9 @@ __decorate([
|
|
|
4186
4172
|
(0, ts_serval_1.serialize)(),
|
|
4187
4173
|
__metadata("design:type", String)
|
|
4188
4174
|
], CertificatePublicAttributeItem.prototype, "value", void 0);
|
|
4189
|
-
CertificatePublicAttributeItem = __decorate([
|
|
4175
|
+
exports.CertificatePublicAttributeItem = CertificatePublicAttributeItem = __decorate([
|
|
4190
4176
|
(0, ts_serval_1.type)("CertificatePublicAttributeItem")
|
|
4191
4177
|
], CertificatePublicAttributeItem);
|
|
4192
|
-
exports.CertificatePublicAttributeItem = CertificatePublicAttributeItem;
|
|
4193
4178
|
//# sourceMappingURL=CertificatePublicAttributeItem.js.map
|
|
4194
4179
|
|
|
4195
4180
|
/***/ }),
|
|
@@ -4223,7 +4208,7 @@ const CertificateItem_1 = __webpack_require__(/*! ../CertificateItem */ "./dist/
|
|
|
4223
4208
|
* - Employee
|
|
4224
4209
|
* - Administrator
|
|
4225
4210
|
*/
|
|
4226
|
-
let CertificateRoleItem = class CertificateRoleItem extends CertificateItem_1.CertificateItem {
|
|
4211
|
+
let CertificateRoleItem = exports.CertificateRoleItem = class CertificateRoleItem extends CertificateItem_1.CertificateItem {
|
|
4227
4212
|
static from(value) {
|
|
4228
4213
|
return this.fromAny(value);
|
|
4229
4214
|
}
|
|
@@ -4233,10 +4218,9 @@ __decorate([
|
|
|
4233
4218
|
(0, ts_serval_1.serialize)(),
|
|
4234
4219
|
__metadata("design:type", String)
|
|
4235
4220
|
], CertificateRoleItem.prototype, "role", void 0);
|
|
4236
|
-
CertificateRoleItem = __decorate([
|
|
4221
|
+
exports.CertificateRoleItem = CertificateRoleItem = __decorate([
|
|
4237
4222
|
(0, ts_serval_1.type)("CertificateRoleItem")
|
|
4238
4223
|
], CertificateRoleItem);
|
|
4239
|
-
exports.CertificateRoleItem = CertificateRoleItem;
|
|
4240
4224
|
//# sourceMappingURL=CertificateRoleItem.js.map
|
|
4241
4225
|
|
|
4242
4226
|
/***/ }),
|
|
@@ -4368,6 +4352,7 @@ class ChallengeController extends TransportController_1.TransportController {
|
|
|
4368
4352
|
return signedChallenge;
|
|
4369
4353
|
}
|
|
4370
4354
|
}
|
|
4355
|
+
exports.ChallengeController = ChallengeController;
|
|
4371
4356
|
__decorate([
|
|
4372
4357
|
(0, ts_utils_1.log)(),
|
|
4373
4358
|
__metadata("design:type", Function),
|
|
@@ -4381,7 +4366,6 @@ __decorate([
|
|
|
4381
4366
|
__metadata("design:paramtypes", [String, Relationship_1.Relationship]),
|
|
4382
4367
|
__metadata("design:returntype", Promise)
|
|
4383
4368
|
], ChallengeController.prototype, "createChallenge", null);
|
|
4384
|
-
exports.ChallengeController = ChallengeController;
|
|
4385
4369
|
//# sourceMappingURL=ChallengeController.js.map
|
|
4386
4370
|
|
|
4387
4371
|
/***/ }),
|
|
@@ -4457,8 +4441,8 @@ var ChallengeType;
|
|
|
4457
4441
|
ChallengeType["Identity"] = "Identity";
|
|
4458
4442
|
ChallengeType["Device"] = "Device";
|
|
4459
4443
|
ChallengeType["Relationship"] = "Relationship";
|
|
4460
|
-
})(ChallengeType
|
|
4461
|
-
let Challenge = class Challenge extends core_1.CoreSerializable {
|
|
4444
|
+
})(ChallengeType || (exports.ChallengeType = ChallengeType = {}));
|
|
4445
|
+
let Challenge = exports.Challenge = class Challenge extends core_1.CoreSerializable {
|
|
4462
4446
|
static from(value) {
|
|
4463
4447
|
return this.fromAny(value);
|
|
4464
4448
|
}
|
|
@@ -4488,10 +4472,9 @@ __decorate([
|
|
|
4488
4472
|
(0, ts_serval_1.serialize)(),
|
|
4489
4473
|
__metadata("design:type", String)
|
|
4490
4474
|
], Challenge.prototype, "type", void 0);
|
|
4491
|
-
Challenge = __decorate([
|
|
4475
|
+
exports.Challenge = Challenge = __decorate([
|
|
4492
4476
|
(0, ts_serval_1.type)("Challenge")
|
|
4493
4477
|
], Challenge);
|
|
4494
|
-
exports.Challenge = Challenge;
|
|
4495
4478
|
//# sourceMappingURL=Challenge.js.map
|
|
4496
4479
|
|
|
4497
4480
|
/***/ }),
|
|
@@ -4518,7 +4501,7 @@ exports.ChallengeSigned = void 0;
|
|
|
4518
4501
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
4519
4502
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
4520
4503
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
4521
|
-
let ChallengeSigned = class ChallengeSigned extends core_1.CoreSerializable {
|
|
4504
|
+
let ChallengeSigned = exports.ChallengeSigned = class ChallengeSigned extends core_1.CoreSerializable {
|
|
4522
4505
|
static from(value) {
|
|
4523
4506
|
return this.fromAny(value);
|
|
4524
4507
|
}
|
|
@@ -4547,10 +4530,9 @@ __decorate([
|
|
|
4547
4530
|
(0, ts_serval_1.serialize)({ enforceString: true }),
|
|
4548
4531
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
4549
4532
|
], ChallengeSigned.prototype, "signature", void 0);
|
|
4550
|
-
ChallengeSigned = __decorate([
|
|
4533
|
+
exports.ChallengeSigned = ChallengeSigned = __decorate([
|
|
4551
4534
|
(0, ts_serval_1.type)("ChallengeSigned")
|
|
4552
4535
|
], ChallengeSigned);
|
|
4553
|
-
exports.ChallengeSigned = ChallengeSigned;
|
|
4554
4536
|
//# sourceMappingURL=ChallengeSigned.js.map
|
|
4555
4537
|
|
|
4556
4538
|
/***/ }),
|
|
@@ -4689,6 +4671,7 @@ class DeviceController extends core_1.TransportController {
|
|
|
4689
4671
|
};
|
|
4690
4672
|
}
|
|
4691
4673
|
}
|
|
4674
|
+
exports.DeviceController = DeviceController;
|
|
4692
4675
|
__decorate([
|
|
4693
4676
|
(0, ts_utils_1.log)(),
|
|
4694
4677
|
__metadata("design:type", Function),
|
|
@@ -4713,7 +4696,6 @@ __decorate([
|
|
|
4713
4696
|
__metadata("design:paramtypes", []),
|
|
4714
4697
|
__metadata("design:returntype", Promise)
|
|
4715
4698
|
], DeviceController.prototype, "getCredentials", null);
|
|
4716
|
-
exports.DeviceController = DeviceController;
|
|
4717
4699
|
//# sourceMappingURL=DeviceController.js.map
|
|
4718
4700
|
|
|
4719
4701
|
/***/ }),
|
|
@@ -4756,7 +4738,7 @@ var DeviceSecretType;
|
|
|
4756
4738
|
DeviceSecretType["DeviceSecretBaseKey"] = "secret_basekey";
|
|
4757
4739
|
DeviceSecretType["DeviceSignature"] = "device_signature";
|
|
4758
4740
|
DeviceSecretType["DeviceCredentials"] = "device_credentials";
|
|
4759
|
-
})(DeviceSecretType
|
|
4741
|
+
})(DeviceSecretType || (exports.DeviceSecretType = DeviceSecretType = {}));
|
|
4760
4742
|
/**
|
|
4761
4743
|
* The SecretController which acts as a single touchpoint to access any secret within the runtime.
|
|
4762
4744
|
* Each access can be audited.
|
|
@@ -4890,6 +4872,7 @@ class DeviceSecretController extends TransportController_1.TransportController {
|
|
|
4890
4872
|
return this.baseKey;
|
|
4891
4873
|
}
|
|
4892
4874
|
}
|
|
4875
|
+
exports.DeviceSecretController = DeviceSecretController;
|
|
4893
4876
|
DeviceSecretController.secretContext = "DEVICE01";
|
|
4894
4877
|
__decorate([
|
|
4895
4878
|
(0, ts_utils_1.log)(),
|
|
@@ -4915,7 +4898,6 @@ __decorate([
|
|
|
4915
4898
|
__metadata("design:paramtypes", []),
|
|
4916
4899
|
__metadata("design:returntype", crypto_1.CryptoSecretKey)
|
|
4917
4900
|
], DeviceSecretController.prototype, "getBaseKey", null);
|
|
4918
|
-
exports.DeviceSecretController = DeviceSecretController;
|
|
4919
4901
|
//# sourceMappingURL=DeviceSecretController.js.map
|
|
4920
4902
|
|
|
4921
4903
|
/***/ }),
|
|
@@ -5127,8 +5109,8 @@ var DeviceType;
|
|
|
5127
5109
|
DeviceType[DeviceType["Tablet"] = 2] = "Tablet";
|
|
5128
5110
|
DeviceType[DeviceType["Desktop"] = 3] = "Desktop";
|
|
5129
5111
|
DeviceType[DeviceType["Connector"] = 4] = "Connector";
|
|
5130
|
-
})(DeviceType
|
|
5131
|
-
let Device = class Device extends core_1.CoreSynchronizable {
|
|
5112
|
+
})(DeviceType || (exports.DeviceType = DeviceType = {}));
|
|
5113
|
+
let Device = exports.Device = class Device extends core_1.CoreSynchronizable {
|
|
5132
5114
|
constructor() {
|
|
5133
5115
|
super(...arguments);
|
|
5134
5116
|
this.technicalProperties = [
|
|
@@ -5217,10 +5199,9 @@ __decorate([
|
|
|
5217
5199
|
(0, ts_serval_1.serialize)(),
|
|
5218
5200
|
__metadata("design:type", Number)
|
|
5219
5201
|
], Device.prototype, "datawalletVersion", void 0);
|
|
5220
|
-
Device = __decorate([
|
|
5202
|
+
exports.Device = Device = __decorate([
|
|
5221
5203
|
(0, ts_serval_1.type)("Device")
|
|
5222
5204
|
], Device);
|
|
5223
|
-
exports.Device = Device;
|
|
5224
5205
|
//# sourceMappingURL=Device.js.map
|
|
5225
5206
|
|
|
5226
5207
|
/***/ }),
|
|
@@ -5246,7 +5227,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
5246
5227
|
exports.DeviceSecretCredentials = void 0;
|
|
5247
5228
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5248
5229
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
5249
|
-
let DeviceSecretCredentials = class DeviceSecretCredentials extends core_1.CoreSerializable {
|
|
5230
|
+
let DeviceSecretCredentials = exports.DeviceSecretCredentials = class DeviceSecretCredentials extends core_1.CoreSerializable {
|
|
5250
5231
|
static from(value) {
|
|
5251
5232
|
return this.fromAny(value);
|
|
5252
5233
|
}
|
|
@@ -5266,10 +5247,9 @@ __decorate([
|
|
|
5266
5247
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5267
5248
|
__metadata("design:type", String)
|
|
5268
5249
|
], DeviceSecretCredentials.prototype, "username", void 0);
|
|
5269
|
-
DeviceSecretCredentials = __decorate([
|
|
5250
|
+
exports.DeviceSecretCredentials = DeviceSecretCredentials = __decorate([
|
|
5270
5251
|
(0, ts_serval_1.type)("DeviceSecretCredentials")
|
|
5271
5252
|
], DeviceSecretCredentials);
|
|
5272
|
-
exports.DeviceSecretCredentials = DeviceSecretCredentials;
|
|
5273
5253
|
//# sourceMappingURL=DeviceSecretCredentials.js.map
|
|
5274
5254
|
|
|
5275
5255
|
/***/ }),
|
|
@@ -5295,7 +5275,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
5295
5275
|
exports.SendDeviceParameters = void 0;
|
|
5296
5276
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5297
5277
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
5298
|
-
let SendDeviceParameters = class SendDeviceParameters extends core_1.CoreSerializable {
|
|
5278
|
+
let SendDeviceParameters = exports.SendDeviceParameters = class SendDeviceParameters extends core_1.CoreSerializable {
|
|
5299
5279
|
static from(value) {
|
|
5300
5280
|
return this.fromAny(value);
|
|
5301
5281
|
}
|
|
@@ -5315,10 +5295,9 @@ __decorate([
|
|
|
5315
5295
|
(0, ts_serval_1.serialize)(),
|
|
5316
5296
|
__metadata("design:type", Boolean)
|
|
5317
5297
|
], SendDeviceParameters.prototype, "isAdmin", void 0);
|
|
5318
|
-
SendDeviceParameters = __decorate([
|
|
5298
|
+
exports.SendDeviceParameters = SendDeviceParameters = __decorate([
|
|
5319
5299
|
(0, ts_serval_1.type)("SendDeviceParameters")
|
|
5320
5300
|
], SendDeviceParameters);
|
|
5321
|
-
exports.SendDeviceParameters = SendDeviceParameters;
|
|
5322
5301
|
//# sourceMappingURL=SendDeviceParameters.js.map
|
|
5323
5302
|
|
|
5324
5303
|
/***/ }),
|
|
@@ -5346,7 +5325,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
5346
5325
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
5347
5326
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
5348
5327
|
const Identity_1 = __webpack_require__(/*! ../../accounts/data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
5349
|
-
let DeviceSharedSecret = class DeviceSharedSecret extends core_1.CoreSerializable {
|
|
5328
|
+
let DeviceSharedSecret = exports.DeviceSharedSecret = class DeviceSharedSecret extends core_1.CoreSerializable {
|
|
5350
5329
|
static from(value) {
|
|
5351
5330
|
return this.fromAny(value);
|
|
5352
5331
|
}
|
|
@@ -5411,10 +5390,9 @@ __decorate([
|
|
|
5411
5390
|
(0, ts_serval_1.validate)(),
|
|
5412
5391
|
__metadata("design:type", String)
|
|
5413
5392
|
], DeviceSharedSecret.prototype, "password", void 0);
|
|
5414
|
-
DeviceSharedSecret = __decorate([
|
|
5393
|
+
exports.DeviceSharedSecret = DeviceSharedSecret = __decorate([
|
|
5415
5394
|
(0, ts_serval_1.type)("DeviceSharedSecret")
|
|
5416
5395
|
], DeviceSharedSecret);
|
|
5417
|
-
exports.DeviceSharedSecret = DeviceSharedSecret;
|
|
5418
5396
|
//# sourceMappingURL=DeviceSharedSecret.js.map
|
|
5419
5397
|
|
|
5420
5398
|
/***/ }),
|
|
@@ -5641,6 +5619,7 @@ class FileController extends TransportController_1.TransportController {
|
|
|
5641
5619
|
return decrypt;
|
|
5642
5620
|
}
|
|
5643
5621
|
}
|
|
5622
|
+
exports.FileController = FileController;
|
|
5644
5623
|
__decorate([
|
|
5645
5624
|
(0, ts_utils_1.log)(),
|
|
5646
5625
|
__metadata("design:type", Function),
|
|
@@ -5665,7 +5644,6 @@ __decorate([
|
|
|
5665
5644
|
__metadata("design:paramtypes", [Object]),
|
|
5666
5645
|
__metadata("design:returntype", Promise)
|
|
5667
5646
|
], FileController.prototype, "downloadFileContent", null);
|
|
5668
|
-
exports.FileController = FileController;
|
|
5669
5647
|
//# sourceMappingURL=FileController.js.map
|
|
5670
5648
|
|
|
5671
5649
|
/***/ }),
|
|
@@ -5752,7 +5730,7 @@ exports.CachedFile = void 0;
|
|
|
5752
5730
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5753
5731
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
5754
5732
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
5755
|
-
let CachedFile = CachedFile_1 = class CachedFile extends core_1.CoreSerializable {
|
|
5733
|
+
let CachedFile = exports.CachedFile = CachedFile_1 = class CachedFile extends core_1.CoreSerializable {
|
|
5756
5734
|
static from(value) {
|
|
5757
5735
|
return this.fromAny(value);
|
|
5758
5736
|
}
|
|
@@ -5871,10 +5849,9 @@ __decorate([
|
|
|
5871
5849
|
(0, ts_serval_1.serialize)(),
|
|
5872
5850
|
__metadata("design:type", core_1.CoreId)
|
|
5873
5851
|
], CachedFile.prototype, "deletedByDevice", void 0);
|
|
5874
|
-
CachedFile = CachedFile_1 = __decorate([
|
|
5852
|
+
exports.CachedFile = CachedFile = CachedFile_1 = __decorate([
|
|
5875
5853
|
(0, ts_serval_1.type)("CachedFile")
|
|
5876
5854
|
], CachedFile);
|
|
5877
|
-
exports.CachedFile = CachedFile;
|
|
5878
5855
|
//# sourceMappingURL=CachedFile.js.map
|
|
5879
5856
|
|
|
5880
5857
|
/***/ }),
|
|
@@ -5904,7 +5881,7 @@ const ts_simple_nameof_1 = __webpack_require__(/*! ts-simple-nameof */ "./node_m
|
|
|
5904
5881
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
5905
5882
|
const FileReference_1 = __webpack_require__(/*! ../transmission/FileReference */ "./dist/modules/files/transmission/FileReference.js");
|
|
5906
5883
|
const CachedFile_1 = __webpack_require__(/*! ./CachedFile */ "./dist/modules/files/local/CachedFile.js");
|
|
5907
|
-
let File = class File extends core_1.CoreSynchronizable {
|
|
5884
|
+
let File = exports.File = class File extends core_1.CoreSynchronizable {
|
|
5908
5885
|
constructor() {
|
|
5909
5886
|
super(...arguments);
|
|
5910
5887
|
this.technicalProperties = [
|
|
@@ -5969,10 +5946,9 @@ __decorate([
|
|
|
5969
5946
|
(0, ts_serval_1.serialize)(),
|
|
5970
5947
|
__metadata("design:type", core_1.CoreDate)
|
|
5971
5948
|
], File.prototype, "metadataModifiedAt", void 0);
|
|
5972
|
-
File = __decorate([
|
|
5949
|
+
exports.File = File = __decorate([
|
|
5973
5950
|
(0, ts_serval_1.type)("File")
|
|
5974
5951
|
], File);
|
|
5975
|
-
exports.File = File;
|
|
5976
5952
|
//# sourceMappingURL=File.js.map
|
|
5977
5953
|
|
|
5978
5954
|
/***/ }),
|
|
@@ -6000,7 +5976,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
6000
5976
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
6001
5977
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
6002
5978
|
const CoreDate_1 = __webpack_require__(/*! ../../../core/types/CoreDate */ "./dist/core/types/CoreDate.js");
|
|
6003
|
-
let SendFileParameters = class SendFileParameters extends core_1.CoreSerializable {
|
|
5979
|
+
let SendFileParameters = exports.SendFileParameters = class SendFileParameters extends core_1.CoreSerializable {
|
|
6004
5980
|
static from(value) {
|
|
6005
5981
|
return this.fromAny(value);
|
|
6006
5982
|
}
|
|
@@ -6040,10 +6016,9 @@ __decorate([
|
|
|
6040
6016
|
(0, ts_serval_1.serialize)(),
|
|
6041
6017
|
__metadata("design:type", crypto_1.CoreBuffer)
|
|
6042
6018
|
], SendFileParameters.prototype, "buffer", void 0);
|
|
6043
|
-
SendFileParameters = __decorate([
|
|
6019
|
+
exports.SendFileParameters = SendFileParameters = __decorate([
|
|
6044
6020
|
(0, ts_serval_1.type)("SendFileParameters")
|
|
6045
6021
|
], SendFileParameters);
|
|
6046
|
-
exports.SendFileParameters = SendFileParameters;
|
|
6047
6022
|
//# sourceMappingURL=SendFileParameters.js.map
|
|
6048
6023
|
|
|
6049
6024
|
/***/ }),
|
|
@@ -6070,7 +6045,7 @@ exports.FileMetadata = void 0;
|
|
|
6070
6045
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6071
6046
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
6072
6047
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
6073
|
-
let FileMetadata = class FileMetadata extends core_1.CoreSerializable {
|
|
6048
|
+
let FileMetadata = exports.FileMetadata = class FileMetadata extends core_1.CoreSerializable {
|
|
6074
6049
|
static from(value) {
|
|
6075
6050
|
return this.fromAny(value);
|
|
6076
6051
|
}
|
|
@@ -6115,10 +6090,9 @@ __decorate([
|
|
|
6115
6090
|
(0, ts_serval_1.serialize)(),
|
|
6116
6091
|
__metadata("design:type", String)
|
|
6117
6092
|
], FileMetadata.prototype, "mimetype", void 0);
|
|
6118
|
-
FileMetadata = __decorate([
|
|
6093
|
+
exports.FileMetadata = FileMetadata = __decorate([
|
|
6119
6094
|
(0, ts_serval_1.type)("FileMetadata")
|
|
6120
6095
|
], FileMetadata);
|
|
6121
|
-
exports.FileMetadata = FileMetadata;
|
|
6122
6096
|
//# sourceMappingURL=FileMetadata.js.map
|
|
6123
6097
|
|
|
6124
6098
|
/***/ }),
|
|
@@ -6141,7 +6115,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
6141
6115
|
exports.FileReference = void 0;
|
|
6142
6116
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6143
6117
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
6144
|
-
let FileReference = class FileReference extends core_1.Reference {
|
|
6118
|
+
let FileReference = exports.FileReference = class FileReference extends core_1.Reference {
|
|
6145
6119
|
static preFrom(value) {
|
|
6146
6120
|
super.validateId(value, core_1.BackboneIds.file);
|
|
6147
6121
|
return value;
|
|
@@ -6150,10 +6124,9 @@ let FileReference = class FileReference extends core_1.Reference {
|
|
|
6150
6124
|
return super.from(value);
|
|
6151
6125
|
}
|
|
6152
6126
|
};
|
|
6153
|
-
FileReference = __decorate([
|
|
6127
|
+
exports.FileReference = FileReference = __decorate([
|
|
6154
6128
|
(0, ts_serval_1.type)("FileReference")
|
|
6155
6129
|
], FileReference);
|
|
6156
|
-
exports.FileReference = FileReference;
|
|
6157
6130
|
//# sourceMappingURL=FileReference.js.map
|
|
6158
6131
|
|
|
6159
6132
|
/***/ }),
|
|
@@ -6656,6 +6629,7 @@ class MessageController extends TransportController_1.TransportController {
|
|
|
6656
6629
|
return [cachedMessage, messageKey, relationship];
|
|
6657
6630
|
}
|
|
6658
6631
|
}
|
|
6632
|
+
exports.MessageController = MessageController;
|
|
6659
6633
|
__decorate([
|
|
6660
6634
|
(0, ts_utils_1.log)(),
|
|
6661
6635
|
__metadata("design:type", Function),
|
|
@@ -6700,7 +6674,6 @@ __decorate([
|
|
|
6700
6674
|
crypto_1.CryptoSecretKey]),
|
|
6701
6675
|
__metadata("design:returntype", Promise)
|
|
6702
6676
|
], MessageController.prototype, "decryptMessage", null);
|
|
6703
|
-
exports.MessageController = MessageController;
|
|
6704
6677
|
//# sourceMappingURL=MessageController.js.map
|
|
6705
6678
|
|
|
6706
6679
|
/***/ }),
|
|
@@ -6788,7 +6761,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
6788
6761
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
6789
6762
|
const CoreDate_1 = __webpack_require__(/*! ../../../core/types/CoreDate */ "./dist/core/types/CoreDate.js");
|
|
6790
6763
|
const MessageEnvelopeRecipient_1 = __webpack_require__(/*! ../transmission/MessageEnvelopeRecipient */ "./dist/modules/messages/transmission/MessageEnvelopeRecipient.js");
|
|
6791
|
-
let CachedMessage = class CachedMessage extends core_1.CoreSerializable {
|
|
6764
|
+
let CachedMessage = exports.CachedMessage = class CachedMessage extends core_1.CoreSerializable {
|
|
6792
6765
|
constructor() {
|
|
6793
6766
|
super(...arguments);
|
|
6794
6767
|
this.receivedByEveryone = false;
|
|
@@ -6832,10 +6805,9 @@ __decorate([
|
|
|
6832
6805
|
(0, ts_serval_1.serialize)(),
|
|
6833
6806
|
__metadata("design:type", ts_serval_1.Serializable)
|
|
6834
6807
|
], CachedMessage.prototype, "content", void 0);
|
|
6835
|
-
CachedMessage = __decorate([
|
|
6808
|
+
exports.CachedMessage = CachedMessage = __decorate([
|
|
6836
6809
|
(0, ts_serval_1.type)("CachedMessage")
|
|
6837
6810
|
], CachedMessage);
|
|
6838
|
-
exports.CachedMessage = CachedMessage;
|
|
6839
6811
|
//# sourceMappingURL=CachedMessage.js.map
|
|
6840
6812
|
|
|
6841
6813
|
/***/ }),
|
|
@@ -6864,7 +6836,7 @@ const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
|
6864
6836
|
const ts_simple_nameof_1 = __webpack_require__(/*! ts-simple-nameof */ "./node_modules/ts-simple-nameof/index.js");
|
|
6865
6837
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
6866
6838
|
const CachedMessage_1 = __webpack_require__(/*! ./CachedMessage */ "./dist/modules/messages/local/CachedMessage.js");
|
|
6867
|
-
let Message = class Message extends core_1.CoreSynchronizable {
|
|
6839
|
+
let Message = exports.Message = class Message extends core_1.CoreSynchronizable {
|
|
6868
6840
|
constructor() {
|
|
6869
6841
|
super(...arguments);
|
|
6870
6842
|
this.technicalProperties = [
|
|
@@ -6928,10 +6900,9 @@ __decorate([
|
|
|
6928
6900
|
(0, ts_serval_1.serialize)({ type: core_1.CoreId }),
|
|
6929
6901
|
__metadata("design:type", Array)
|
|
6930
6902
|
], Message.prototype, "relationshipIds", void 0);
|
|
6931
|
-
Message = __decorate([
|
|
6903
|
+
exports.Message = Message = __decorate([
|
|
6932
6904
|
(0, ts_serval_1.type)("Message")
|
|
6933
6905
|
], Message);
|
|
6934
|
-
exports.Message = Message;
|
|
6935
6906
|
//# sourceMappingURL=Message.js.map
|
|
6936
6907
|
|
|
6937
6908
|
/***/ }),
|
|
@@ -6958,7 +6929,7 @@ exports.SendMessageParameters = void 0;
|
|
|
6958
6929
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
6959
6930
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
6960
6931
|
const File_1 = __webpack_require__(/*! ../../files/local/File */ "./dist/modules/files/local/File.js");
|
|
6961
|
-
let SendMessageParameters = class SendMessageParameters extends core_1.CoreSerializable {
|
|
6932
|
+
let SendMessageParameters = exports.SendMessageParameters = class SendMessageParameters extends core_1.CoreSerializable {
|
|
6962
6933
|
static from(value) {
|
|
6963
6934
|
return this.fromAny(value);
|
|
6964
6935
|
}
|
|
@@ -6978,10 +6949,9 @@ __decorate([
|
|
|
6978
6949
|
(0, ts_serval_1.serialize)({ type: File_1.File }),
|
|
6979
6950
|
__metadata("design:type", Array)
|
|
6980
6951
|
], SendMessageParameters.prototype, "attachments", void 0);
|
|
6981
|
-
SendMessageParameters = __decorate([
|
|
6952
|
+
exports.SendMessageParameters = SendMessageParameters = __decorate([
|
|
6982
6953
|
(0, ts_serval_1.type)("SendMessageParameters")
|
|
6983
6954
|
], SendMessageParameters);
|
|
6984
|
-
exports.SendMessageParameters = SendMessageParameters;
|
|
6985
6955
|
//# sourceMappingURL=SendMessageParameters.js.map
|
|
6986
6956
|
|
|
6987
6957
|
/***/ }),
|
|
@@ -7020,7 +6990,7 @@ const FileReference_1 = __webpack_require__(/*! ../../files/transmission/FileRef
|
|
|
7020
6990
|
* the sender. If a recipient is not in the signed list of recipients, the message needs to be
|
|
7021
6991
|
* ignored (as the whole message could have been forwarded by bad party to a wrong recipient).
|
|
7022
6992
|
*/
|
|
7023
|
-
let MessageContentWrapper = class MessageContentWrapper extends core_1.CoreSerializable {
|
|
6993
|
+
let MessageContentWrapper = exports.MessageContentWrapper = class MessageContentWrapper extends core_1.CoreSerializable {
|
|
7024
6994
|
constructor() {
|
|
7025
6995
|
super(...arguments);
|
|
7026
6996
|
this.attachments = [];
|
|
@@ -7055,10 +7025,9 @@ __decorate([
|
|
|
7055
7025
|
(0, ts_serval_1.serialize)({ type: CoreAddress_1.CoreAddress }),
|
|
7056
7026
|
__metadata("design:type", Array)
|
|
7057
7027
|
], MessageContentWrapper.prototype, "recipients", void 0);
|
|
7058
|
-
MessageContentWrapper = __decorate([
|
|
7028
|
+
exports.MessageContentWrapper = MessageContentWrapper = __decorate([
|
|
7059
7029
|
(0, ts_serval_1.type)("MessageContentWrapper")
|
|
7060
7030
|
], MessageContentWrapper);
|
|
7061
|
-
exports.MessageContentWrapper = MessageContentWrapper;
|
|
7062
7031
|
//# sourceMappingURL=MessageContentWrapper.js.map
|
|
7063
7032
|
|
|
7064
7033
|
/***/ }),
|
|
@@ -7086,7 +7055,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
7086
7055
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7087
7056
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7088
7057
|
const MessageEnvelopeRecipient_1 = __webpack_require__(/*! ./MessageEnvelopeRecipient */ "./dist/modules/messages/transmission/MessageEnvelopeRecipient.js");
|
|
7089
|
-
let MessageEnvelope = class MessageEnvelope extends core_1.CoreSerializable {
|
|
7058
|
+
let MessageEnvelope = exports.MessageEnvelope = class MessageEnvelope extends core_1.CoreSerializable {
|
|
7090
7059
|
static from(value) {
|
|
7091
7060
|
return this.fromAny(value);
|
|
7092
7061
|
}
|
|
@@ -7145,10 +7114,9 @@ __decorate([
|
|
|
7145
7114
|
(0, ts_serval_1.serialize)({ type: core_1.CoreId }),
|
|
7146
7115
|
__metadata("design:type", Array)
|
|
7147
7116
|
], MessageEnvelope.prototype, "attachments", void 0);
|
|
7148
|
-
MessageEnvelope = __decorate([
|
|
7117
|
+
exports.MessageEnvelope = MessageEnvelope = __decorate([
|
|
7149
7118
|
(0, ts_serval_1.type)("MessageEnvelope")
|
|
7150
7119
|
], MessageEnvelope);
|
|
7151
|
-
exports.MessageEnvelope = MessageEnvelope;
|
|
7152
7120
|
//# sourceMappingURL=MessageEnvelope.js.map
|
|
7153
7121
|
|
|
7154
7122
|
/***/ }),
|
|
@@ -7176,7 +7144,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
7176
7144
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7177
7145
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7178
7146
|
const CoreAddress_1 = __webpack_require__(/*! ../../../core/types/CoreAddress */ "./dist/core/types/CoreAddress.js");
|
|
7179
|
-
let MessageEnvelopeRecipient = class MessageEnvelopeRecipient extends core_1.CoreSerializable {
|
|
7147
|
+
let MessageEnvelopeRecipient = exports.MessageEnvelopeRecipient = class MessageEnvelopeRecipient extends core_1.CoreSerializable {
|
|
7180
7148
|
static from(value) {
|
|
7181
7149
|
return this.fromAny(value);
|
|
7182
7150
|
}
|
|
@@ -7201,10 +7169,9 @@ __decorate([
|
|
|
7201
7169
|
(0, ts_serval_1.serialize)(),
|
|
7202
7170
|
__metadata("design:type", core_1.CoreId)
|
|
7203
7171
|
], MessageEnvelopeRecipient.prototype, "receivedByDevice", void 0);
|
|
7204
|
-
MessageEnvelopeRecipient = __decorate([
|
|
7172
|
+
exports.MessageEnvelopeRecipient = MessageEnvelopeRecipient = __decorate([
|
|
7205
7173
|
(0, ts_serval_1.type)("MessageEnvelopeRecipient")
|
|
7206
7174
|
], MessageEnvelopeRecipient);
|
|
7207
|
-
exports.MessageEnvelopeRecipient = MessageEnvelopeRecipient;
|
|
7208
7175
|
//# sourceMappingURL=MessageEnvelopeRecipient.js.map
|
|
7209
7176
|
|
|
7210
7177
|
/***/ }),
|
|
@@ -7231,7 +7198,7 @@ exports.MessageSignature = void 0;
|
|
|
7231
7198
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7232
7199
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7233
7200
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7234
|
-
let MessageSignature = class MessageSignature extends core_1.CoreSerializable {
|
|
7201
|
+
let MessageSignature = exports.MessageSignature = class MessageSignature extends core_1.CoreSerializable {
|
|
7235
7202
|
static from(value) {
|
|
7236
7203
|
return this.fromAny(value);
|
|
7237
7204
|
}
|
|
@@ -7246,10 +7213,9 @@ __decorate([
|
|
|
7246
7213
|
(0, ts_serval_1.serialize)({ enforceString: true }),
|
|
7247
7214
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
7248
7215
|
], MessageSignature.prototype, "signature", void 0);
|
|
7249
|
-
MessageSignature = __decorate([
|
|
7216
|
+
exports.MessageSignature = MessageSignature = __decorate([
|
|
7250
7217
|
(0, ts_serval_1.type)("MessageSignature")
|
|
7251
7218
|
], MessageSignature);
|
|
7252
|
-
exports.MessageSignature = MessageSignature;
|
|
7253
7219
|
//# sourceMappingURL=MessageSignature.js.map
|
|
7254
7220
|
|
|
7255
7221
|
/***/ }),
|
|
@@ -7279,7 +7245,7 @@ const MessageSignature_1 = __webpack_require__(/*! ./MessageSignature */ "./dist
|
|
|
7279
7245
|
/**
|
|
7280
7246
|
* MessageSigned encapsulates the actual message with the senders digital signature.
|
|
7281
7247
|
*/
|
|
7282
|
-
let MessageSigned = class MessageSigned extends core_1.CoreSerializable {
|
|
7248
|
+
let MessageSigned = exports.MessageSigned = class MessageSigned extends core_1.CoreSerializable {
|
|
7283
7249
|
static from(value) {
|
|
7284
7250
|
return this.fromAny(value);
|
|
7285
7251
|
}
|
|
@@ -7294,10 +7260,9 @@ __decorate([
|
|
|
7294
7260
|
(0, ts_serval_1.serialize)(),
|
|
7295
7261
|
__metadata("design:type", String)
|
|
7296
7262
|
], MessageSigned.prototype, "message", void 0);
|
|
7297
|
-
MessageSigned = __decorate([
|
|
7263
|
+
exports.MessageSigned = MessageSigned = __decorate([
|
|
7298
7264
|
(0, ts_serval_1.type)("MessageSigned")
|
|
7299
7265
|
], MessageSigned);
|
|
7300
|
-
exports.MessageSigned = MessageSigned;
|
|
7301
7266
|
//# sourceMappingURL=MessageSigned.js.map
|
|
7302
7267
|
|
|
7303
7268
|
/***/ }),
|
|
@@ -7502,6 +7467,7 @@ class RelationshipTemplateController extends TransportController_1.TransportCont
|
|
|
7502
7467
|
return relationshipTemplate;
|
|
7503
7468
|
}
|
|
7504
7469
|
}
|
|
7470
|
+
exports.RelationshipTemplateController = RelationshipTemplateController;
|
|
7505
7471
|
__decorate([
|
|
7506
7472
|
(0, ts_utils_1.log)(),
|
|
7507
7473
|
__metadata("design:type", Function),
|
|
@@ -7520,7 +7486,6 @@ __decorate([
|
|
|
7520
7486
|
__metadata("design:paramtypes", [Object, Object]),
|
|
7521
7487
|
__metadata("design:returntype", Promise)
|
|
7522
7488
|
], RelationshipTemplateController.prototype, "setRelationshipTemplateMetadata", null);
|
|
7523
|
-
exports.RelationshipTemplateController = RelationshipTemplateController;
|
|
7524
7489
|
//# sourceMappingURL=RelationshipTemplateController.js.map
|
|
7525
7490
|
|
|
7526
7491
|
/***/ }),
|
|
@@ -7605,7 +7570,7 @@ const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
|
7605
7570
|
const CoreId_1 = __webpack_require__(/*! ../../../core/types/CoreId */ "./dist/core/types/CoreId.js");
|
|
7606
7571
|
const Identity_1 = __webpack_require__(/*! ../../accounts/data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
7607
7572
|
const RelationshipTemplatePublicKey_1 = __webpack_require__(/*! ../transmission/RelationshipTemplatePublicKey */ "./dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js");
|
|
7608
|
-
let CachedRelationshipTemplate = class CachedRelationshipTemplate extends core_1.CoreSerializable {
|
|
7573
|
+
let CachedRelationshipTemplate = exports.CachedRelationshipTemplate = class CachedRelationshipTemplate extends core_1.CoreSerializable {
|
|
7609
7574
|
static from(value) {
|
|
7610
7575
|
return this.fromAny(value);
|
|
7611
7576
|
}
|
|
@@ -7650,10 +7615,9 @@ __decorate([
|
|
|
7650
7615
|
(0, ts_serval_1.serialize)(),
|
|
7651
7616
|
__metadata("design:type", Number)
|
|
7652
7617
|
], CachedRelationshipTemplate.prototype, "maxNumberOfAllocations", void 0);
|
|
7653
|
-
CachedRelationshipTemplate = __decorate([
|
|
7618
|
+
exports.CachedRelationshipTemplate = CachedRelationshipTemplate = __decorate([
|
|
7654
7619
|
(0, ts_serval_1.type)("CachedRelationshipTemplate")
|
|
7655
7620
|
], CachedRelationshipTemplate);
|
|
7656
|
-
exports.CachedRelationshipTemplate = CachedRelationshipTemplate;
|
|
7657
7621
|
function validateMaxNumberOfAllocations(value) {
|
|
7658
7622
|
if (value === undefined)
|
|
7659
7623
|
return;
|
|
@@ -7693,7 +7657,7 @@ const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
|
7693
7657
|
const CoreDate_1 = __webpack_require__(/*! ../../../core/types/CoreDate */ "./dist/core/types/CoreDate.js");
|
|
7694
7658
|
const RelationshipTemplateReference_1 = __webpack_require__(/*! ../transmission/RelationshipTemplateReference */ "./dist/modules/relationshipTemplates/transmission/RelationshipTemplateReference.js");
|
|
7695
7659
|
const CachedRelationshipTemplate_1 = __webpack_require__(/*! ./CachedRelationshipTemplate */ "./dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js");
|
|
7696
|
-
let RelationshipTemplate = class RelationshipTemplate extends core_1.CoreSynchronizable {
|
|
7660
|
+
let RelationshipTemplate = exports.RelationshipTemplate = class RelationshipTemplate extends core_1.CoreSynchronizable {
|
|
7697
7661
|
constructor() {
|
|
7698
7662
|
super(...arguments);
|
|
7699
7663
|
this.technicalProperties = [
|
|
@@ -7758,10 +7722,9 @@ __decorate([
|
|
|
7758
7722
|
(0, ts_serval_1.serialize)(),
|
|
7759
7723
|
__metadata("design:type", CoreDate_1.CoreDate)
|
|
7760
7724
|
], RelationshipTemplate.prototype, "metadataModifiedAt", void 0);
|
|
7761
|
-
RelationshipTemplate = __decorate([
|
|
7725
|
+
exports.RelationshipTemplate = RelationshipTemplate = __decorate([
|
|
7762
7726
|
(0, ts_serval_1.type)("RelationshipTemplate")
|
|
7763
7727
|
], RelationshipTemplate);
|
|
7764
|
-
exports.RelationshipTemplate = RelationshipTemplate;
|
|
7765
7728
|
//# sourceMappingURL=RelationshipTemplate.js.map
|
|
7766
7729
|
|
|
7767
7730
|
/***/ }),
|
|
@@ -7788,7 +7751,7 @@ exports.SendRelationshipTemplateParameters = void 0;
|
|
|
7788
7751
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7789
7752
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7790
7753
|
const CachedRelationshipTemplate_1 = __webpack_require__(/*! ./CachedRelationshipTemplate */ "./dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js");
|
|
7791
|
-
let SendRelationshipTemplateParameters = class SendRelationshipTemplateParameters extends core_1.CoreSerializable {
|
|
7754
|
+
let SendRelationshipTemplateParameters = exports.SendRelationshipTemplateParameters = class SendRelationshipTemplateParameters extends core_1.CoreSerializable {
|
|
7792
7755
|
static from(value) {
|
|
7793
7756
|
return this.fromAny(value);
|
|
7794
7757
|
}
|
|
@@ -7808,10 +7771,9 @@ __decorate([
|
|
|
7808
7771
|
(0, ts_serval_1.serialize)(),
|
|
7809
7772
|
__metadata("design:type", Number)
|
|
7810
7773
|
], SendRelationshipTemplateParameters.prototype, "maxNumberOfAllocations", void 0);
|
|
7811
|
-
SendRelationshipTemplateParameters = __decorate([
|
|
7774
|
+
exports.SendRelationshipTemplateParameters = SendRelationshipTemplateParameters = __decorate([
|
|
7812
7775
|
(0, ts_serval_1.type)("SendRelationshipTemplateParameters")
|
|
7813
7776
|
], SendRelationshipTemplateParameters);
|
|
7814
|
-
exports.SendRelationshipTemplateParameters = SendRelationshipTemplateParameters;
|
|
7815
7777
|
//# sourceMappingURL=SendRelationshipTemplateParameters.js.map
|
|
7816
7778
|
|
|
7817
7779
|
/***/ }),
|
|
@@ -7839,7 +7801,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
7839
7801
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7840
7802
|
const Identity_1 = __webpack_require__(/*! ../../accounts/data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
7841
7803
|
const RelationshipTemplatePublicKey_1 = __webpack_require__(/*! ./RelationshipTemplatePublicKey */ "./dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js");
|
|
7842
|
-
let RelationshipTemplateContentWrapper = class RelationshipTemplateContentWrapper extends core_1.CoreSerializable {
|
|
7804
|
+
let RelationshipTemplateContentWrapper = exports.RelationshipTemplateContentWrapper = class RelationshipTemplateContentWrapper extends core_1.CoreSerializable {
|
|
7843
7805
|
static from(value) {
|
|
7844
7806
|
return this.fromAny(value);
|
|
7845
7807
|
}
|
|
@@ -7859,10 +7821,9 @@ __decorate([
|
|
|
7859
7821
|
(0, ts_serval_1.serialize)(),
|
|
7860
7822
|
__metadata("design:type", ts_serval_1.Serializable)
|
|
7861
7823
|
], RelationshipTemplateContentWrapper.prototype, "content", void 0);
|
|
7862
|
-
RelationshipTemplateContentWrapper = __decorate([
|
|
7824
|
+
exports.RelationshipTemplateContentWrapper = RelationshipTemplateContentWrapper = __decorate([
|
|
7863
7825
|
(0, ts_serval_1.type)("RelationshipTemplateContentWrapper")
|
|
7864
7826
|
], RelationshipTemplateContentWrapper);
|
|
7865
|
-
exports.RelationshipTemplateContentWrapper = RelationshipTemplateContentWrapper;
|
|
7866
7827
|
//# sourceMappingURL=RelationshipTemplateContentWrapper.js.map
|
|
7867
7828
|
|
|
7868
7829
|
/***/ }),
|
|
@@ -7889,7 +7850,7 @@ exports.RelationshipTemplatePublicKey = void 0;
|
|
|
7889
7850
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7890
7851
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7891
7852
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7892
|
-
let RelationshipTemplatePublicKey = class RelationshipTemplatePublicKey extends crypto_1.CryptoExchangePublicKey {
|
|
7853
|
+
let RelationshipTemplatePublicKey = exports.RelationshipTemplatePublicKey = class RelationshipTemplatePublicKey extends crypto_1.CryptoExchangePublicKey {
|
|
7893
7854
|
toJSON(verbose = true) {
|
|
7894
7855
|
return {
|
|
7895
7856
|
id: this.id.toString(),
|
|
@@ -7921,10 +7882,9 @@ __decorate([
|
|
|
7921
7882
|
(0, ts_serval_1.validate)(),
|
|
7922
7883
|
__metadata("design:type", core_1.CoreId)
|
|
7923
7884
|
], RelationshipTemplatePublicKey.prototype, "id", void 0);
|
|
7924
|
-
RelationshipTemplatePublicKey = __decorate([
|
|
7885
|
+
exports.RelationshipTemplatePublicKey = RelationshipTemplatePublicKey = __decorate([
|
|
7925
7886
|
(0, ts_serval_1.type)("RelationshipTemplatePublicKey")
|
|
7926
7887
|
], RelationshipTemplatePublicKey);
|
|
7927
|
-
exports.RelationshipTemplatePublicKey = RelationshipTemplatePublicKey;
|
|
7928
7888
|
//# sourceMappingURL=RelationshipTemplatePublicKey.js.map
|
|
7929
7889
|
|
|
7930
7890
|
/***/ }),
|
|
@@ -7947,7 +7907,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
7947
7907
|
exports.RelationshipTemplateReference = void 0;
|
|
7948
7908
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7949
7909
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7950
|
-
let RelationshipTemplateReference = class RelationshipTemplateReference extends core_1.Reference {
|
|
7910
|
+
let RelationshipTemplateReference = exports.RelationshipTemplateReference = class RelationshipTemplateReference extends core_1.Reference {
|
|
7951
7911
|
static preFrom(value) {
|
|
7952
7912
|
super.validateId(value, core_1.BackboneIds.relationshipTemplate);
|
|
7953
7913
|
return value;
|
|
@@ -7956,10 +7916,9 @@ let RelationshipTemplateReference = class RelationshipTemplateReference extends
|
|
|
7956
7916
|
return super.from(value);
|
|
7957
7917
|
}
|
|
7958
7918
|
};
|
|
7959
|
-
RelationshipTemplateReference = __decorate([
|
|
7919
|
+
exports.RelationshipTemplateReference = RelationshipTemplateReference = __decorate([
|
|
7960
7920
|
(0, ts_serval_1.type)("RelationshipTemplateReference")
|
|
7961
7921
|
], RelationshipTemplateReference);
|
|
7962
|
-
exports.RelationshipTemplateReference = RelationshipTemplateReference;
|
|
7963
7922
|
//# sourceMappingURL=RelationshipTemplateReference.js.map
|
|
7964
7923
|
|
|
7965
7924
|
/***/ }),
|
|
@@ -7986,7 +7945,7 @@ exports.RelationshipTemplateSigned = void 0;
|
|
|
7986
7945
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7987
7946
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7988
7947
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
7989
|
-
let RelationshipTemplateSigned = class RelationshipTemplateSigned extends core_1.CoreSerializable {
|
|
7948
|
+
let RelationshipTemplateSigned = exports.RelationshipTemplateSigned = class RelationshipTemplateSigned extends core_1.CoreSerializable {
|
|
7990
7949
|
static from(value) {
|
|
7991
7950
|
return this.fromAny(value);
|
|
7992
7951
|
}
|
|
@@ -8001,10 +7960,9 @@ __decorate([
|
|
|
8001
7960
|
(0, ts_serval_1.serialize)(),
|
|
8002
7961
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
8003
7962
|
], RelationshipTemplateSigned.prototype, "deviceSignature", void 0);
|
|
8004
|
-
RelationshipTemplateSigned = __decorate([
|
|
7963
|
+
exports.RelationshipTemplateSigned = RelationshipTemplateSigned = __decorate([
|
|
8005
7964
|
(0, ts_serval_1.type)("RelationshipTemplateSigned")
|
|
8006
7965
|
], RelationshipTemplateSigned);
|
|
8007
|
-
exports.RelationshipTemplateSigned = RelationshipTemplateSigned;
|
|
8008
7966
|
//# sourceMappingURL=RelationshipTemplateSigned.js.map
|
|
8009
7967
|
|
|
8010
7968
|
/***/ }),
|
|
@@ -8186,6 +8144,7 @@ class RelationshipSecretController extends SecretController_1.SecretController {
|
|
|
8186
8144
|
return valid;
|
|
8187
8145
|
}
|
|
8188
8146
|
}
|
|
8147
|
+
exports.RelationshipSecretController = RelationshipSecretController;
|
|
8189
8148
|
__decorate([
|
|
8190
8149
|
(0, ts_utils_1.log)(),
|
|
8191
8150
|
__metadata("design:type", Function),
|
|
@@ -8250,7 +8209,6 @@ __decorate([
|
|
|
8250
8209
|
__metadata("design:paramtypes", [core_1.CoreId, Object, crypto_1.CryptoSignature]),
|
|
8251
8210
|
__metadata("design:returntype", Promise)
|
|
8252
8211
|
], RelationshipSecretController.prototype, "verifyPeer", null);
|
|
8253
|
-
exports.RelationshipSecretController = RelationshipSecretController;
|
|
8254
8212
|
//# sourceMappingURL=RelationshipSecretController.js.map
|
|
8255
8213
|
|
|
8256
8214
|
/***/ }),
|
|
@@ -8752,6 +8710,7 @@ class RelationshipsController extends core_1.TransportController {
|
|
|
8752
8710
|
return new core_1.TransportError(`The content property of the relationship change ${change === null || change === void 0 ? void 0 : change.id} is missing or invalid`);
|
|
8753
8711
|
}
|
|
8754
8712
|
}
|
|
8713
|
+
exports.RelationshipsController = RelationshipsController;
|
|
8755
8714
|
__decorate([
|
|
8756
8715
|
(0, ts_utils_1.log)(),
|
|
8757
8716
|
__metadata("design:type", Function),
|
|
@@ -8808,7 +8767,6 @@ __decorate([
|
|
|
8808
8767
|
__metadata("design:paramtypes", [String, RelationshipChange_1.RelationshipChange, Object]),
|
|
8809
8768
|
__metadata("design:returntype", Promise)
|
|
8810
8769
|
], RelationshipsController.prototype, "completeChange", null);
|
|
8811
|
-
exports.RelationshipsController = RelationshipsController;
|
|
8812
8770
|
//# sourceMappingURL=RelationshipsController.js.map
|
|
8813
8771
|
|
|
8814
8772
|
/***/ }),
|
|
@@ -8927,7 +8885,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
8927
8885
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
8928
8886
|
const RelationshipTemplate_1 = __webpack_require__(/*! ../../relationshipTemplates/local/RelationshipTemplate */ "./dist/modules/relationshipTemplates/local/RelationshipTemplate.js");
|
|
8929
8887
|
const RelationshipChange_1 = __webpack_require__(/*! ../transmission/changes/RelationshipChange */ "./dist/modules/relationships/transmission/changes/RelationshipChange.js");
|
|
8930
|
-
let CachedRelationship = class CachedRelationship extends core_1.CoreSerializable {
|
|
8888
|
+
let CachedRelationship = exports.CachedRelationship = class CachedRelationship extends core_1.CoreSerializable {
|
|
8931
8889
|
get creationChange() {
|
|
8932
8890
|
return this.changes[0];
|
|
8933
8891
|
}
|
|
@@ -8955,10 +8913,9 @@ __decorate([
|
|
|
8955
8913
|
(0, ts_serval_1.serialize)(),
|
|
8956
8914
|
__metadata("design:type", core_1.CoreDate)
|
|
8957
8915
|
], CachedRelationship.prototype, "lastMessageReceivedAt", void 0);
|
|
8958
|
-
CachedRelationship = __decorate([
|
|
8916
|
+
exports.CachedRelationship = CachedRelationship = __decorate([
|
|
8959
8917
|
(0, ts_serval_1.type)("CachedRelationship")
|
|
8960
8918
|
], CachedRelationship);
|
|
8961
|
-
exports.CachedRelationship = CachedRelationship;
|
|
8962
8919
|
//# sourceMappingURL=CachedRelationship.js.map
|
|
8963
8920
|
|
|
8964
8921
|
/***/ }),
|
|
@@ -8989,7 +8946,7 @@ const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
|
8989
8946
|
const Identity_1 = __webpack_require__(/*! ../../accounts/data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
8990
8947
|
const RelationshipStatus_1 = __webpack_require__(/*! ../transmission/RelationshipStatus */ "./dist/modules/relationships/transmission/RelationshipStatus.js");
|
|
8991
8948
|
const CachedRelationship_1 = __webpack_require__(/*! ./CachedRelationship */ "./dist/modules/relationships/local/CachedRelationship.js");
|
|
8992
|
-
let Relationship = Relationship_1 = class Relationship extends core_1.CoreSynchronizable {
|
|
8949
|
+
let Relationship = exports.Relationship = Relationship_1 = class Relationship extends core_1.CoreSynchronizable {
|
|
8993
8950
|
constructor() {
|
|
8994
8951
|
super(...arguments);
|
|
8995
8952
|
this.technicalProperties = [
|
|
@@ -9102,10 +9059,9 @@ __decorate([
|
|
|
9102
9059
|
(0, ts_serval_1.serialize)(),
|
|
9103
9060
|
__metadata("design:type", core_1.CoreDate)
|
|
9104
9061
|
], Relationship.prototype, "metadataModifiedAt", void 0);
|
|
9105
|
-
Relationship = Relationship_1 = __decorate([
|
|
9062
|
+
exports.Relationship = Relationship = Relationship_1 = __decorate([
|
|
9106
9063
|
(0, ts_serval_1.type)("Relationship")
|
|
9107
9064
|
], Relationship);
|
|
9108
|
-
exports.Relationship = Relationship;
|
|
9109
9065
|
//# sourceMappingURL=Relationship.js.map
|
|
9110
9066
|
|
|
9111
9067
|
/***/ }),
|
|
@@ -9132,7 +9088,7 @@ exports.SendRelationshipParameters = void 0;
|
|
|
9132
9088
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9133
9089
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
9134
9090
|
const RelationshipTemplate_1 = __webpack_require__(/*! ../../relationshipTemplates/local/RelationshipTemplate */ "./dist/modules/relationshipTemplates/local/RelationshipTemplate.js");
|
|
9135
|
-
let SendRelationshipParameters = class SendRelationshipParameters extends core_1.CoreSerializable {
|
|
9091
|
+
let SendRelationshipParameters = exports.SendRelationshipParameters = class SendRelationshipParameters extends core_1.CoreSerializable {
|
|
9136
9092
|
static from(value) {
|
|
9137
9093
|
return this.fromAny(value);
|
|
9138
9094
|
}
|
|
@@ -9147,10 +9103,9 @@ __decorate([
|
|
|
9147
9103
|
(0, ts_serval_1.serialize)(),
|
|
9148
9104
|
__metadata("design:type", RelationshipTemplate_1.RelationshipTemplate)
|
|
9149
9105
|
], SendRelationshipParameters.prototype, "template", void 0);
|
|
9150
|
-
SendRelationshipParameters = __decorate([
|
|
9106
|
+
exports.SendRelationshipParameters = SendRelationshipParameters = __decorate([
|
|
9151
9107
|
(0, ts_serval_1.type)("SendRelationshipParameters")
|
|
9152
9108
|
], SendRelationshipParameters);
|
|
9153
|
-
exports.SendRelationshipParameters = SendRelationshipParameters;
|
|
9154
9109
|
//# sourceMappingURL=SendRelationshipParameters.js.map
|
|
9155
9110
|
|
|
9156
9111
|
/***/ }),
|
|
@@ -9173,7 +9128,7 @@ var RelationshipStatus;
|
|
|
9173
9128
|
RelationshipStatus["Revoked"] = "Revoked";
|
|
9174
9129
|
RelationshipStatus["Terminating"] = "Terminating";
|
|
9175
9130
|
RelationshipStatus["Terminated"] = "Terminated";
|
|
9176
|
-
})(RelationshipStatus
|
|
9131
|
+
})(RelationshipStatus || (exports.RelationshipStatus = RelationshipStatus = {}));
|
|
9177
9132
|
//# sourceMappingURL=RelationshipStatus.js.map
|
|
9178
9133
|
|
|
9179
9134
|
/***/ }),
|
|
@@ -9204,7 +9159,7 @@ const RelationshipChangeRequest_1 = __webpack_require__(/*! ./RelationshipChange
|
|
|
9204
9159
|
const RelationshipChangeResponse_1 = __webpack_require__(/*! ./RelationshipChangeResponse */ "./dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js");
|
|
9205
9160
|
const RelationshipChangeStatus_1 = __webpack_require__(/*! ./RelationshipChangeStatus */ "./dist/modules/relationships/transmission/changes/RelationshipChangeStatus.js");
|
|
9206
9161
|
const RelationshipChangeType_1 = __webpack_require__(/*! ./RelationshipChangeType */ "./dist/modules/relationships/transmission/changes/RelationshipChangeType.js");
|
|
9207
|
-
let RelationshipChange = class RelationshipChange extends core_1.CoreSerializable {
|
|
9162
|
+
let RelationshipChange = exports.RelationshipChange = class RelationshipChange extends core_1.CoreSerializable {
|
|
9208
9163
|
static fromBackbone(backboneChange, requestContent, responseContent) {
|
|
9209
9164
|
const relationshipChange = this.from({
|
|
9210
9165
|
id: CoreId_1.CoreId.from(backboneChange.id),
|
|
@@ -9252,10 +9207,9 @@ __decorate([
|
|
|
9252
9207
|
(0, ts_serval_1.serialize)(),
|
|
9253
9208
|
__metadata("design:type", String)
|
|
9254
9209
|
], RelationshipChange.prototype, "type", void 0);
|
|
9255
|
-
RelationshipChange = __decorate([
|
|
9210
|
+
exports.RelationshipChange = RelationshipChange = __decorate([
|
|
9256
9211
|
(0, ts_serval_1.type)("RelationshipChange")
|
|
9257
9212
|
], RelationshipChange);
|
|
9258
|
-
exports.RelationshipChange = RelationshipChange;
|
|
9259
9213
|
//# sourceMappingURL=RelationshipChange.js.map
|
|
9260
9214
|
|
|
9261
9215
|
/***/ }),
|
|
@@ -9282,7 +9236,7 @@ exports.RelationshipChangeRequest = void 0;
|
|
|
9282
9236
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9283
9237
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9284
9238
|
const CoreId_1 = __webpack_require__(/*! ../../../../core/types/CoreId */ "./dist/core/types/CoreId.js");
|
|
9285
|
-
let RelationshipChangeRequest = class RelationshipChangeRequest extends core_1.CoreSerializable {
|
|
9239
|
+
let RelationshipChangeRequest = exports.RelationshipChangeRequest = class RelationshipChangeRequest extends core_1.CoreSerializable {
|
|
9286
9240
|
static fromBackbone(backboneChange, content) {
|
|
9287
9241
|
return this.from({
|
|
9288
9242
|
createdBy: core_1.CoreAddress.from(backboneChange.createdBy),
|
|
@@ -9315,10 +9269,9 @@ __decorate([
|
|
|
9315
9269
|
(0, ts_serval_1.serialize)(),
|
|
9316
9270
|
__metadata("design:type", ts_serval_1.Serializable)
|
|
9317
9271
|
], RelationshipChangeRequest.prototype, "content", void 0);
|
|
9318
|
-
RelationshipChangeRequest = __decorate([
|
|
9272
|
+
exports.RelationshipChangeRequest = RelationshipChangeRequest = __decorate([
|
|
9319
9273
|
(0, ts_serval_1.type)("RelationshipChangeRequest")
|
|
9320
9274
|
], RelationshipChangeRequest);
|
|
9321
|
-
exports.RelationshipChangeRequest = RelationshipChangeRequest;
|
|
9322
9275
|
//# sourceMappingURL=RelationshipChangeRequest.js.map
|
|
9323
9276
|
|
|
9324
9277
|
/***/ }),
|
|
@@ -9345,7 +9298,7 @@ exports.RelationshipChangeResponse = void 0;
|
|
|
9345
9298
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9346
9299
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9347
9300
|
const CoreId_1 = __webpack_require__(/*! ../../../../core/types/CoreId */ "./dist/core/types/CoreId.js");
|
|
9348
|
-
let RelationshipChangeResponse = class RelationshipChangeResponse extends core_1.CoreSerializable {
|
|
9301
|
+
let RelationshipChangeResponse = exports.RelationshipChangeResponse = class RelationshipChangeResponse extends core_1.CoreSerializable {
|
|
9349
9302
|
static fromBackbone(backboneChange, content) {
|
|
9350
9303
|
return this.from({
|
|
9351
9304
|
createdBy: core_1.CoreAddress.from(backboneChange.createdBy),
|
|
@@ -9378,10 +9331,9 @@ __decorate([
|
|
|
9378
9331
|
(0, ts_serval_1.serialize)(),
|
|
9379
9332
|
__metadata("design:type", ts_serval_1.Serializable)
|
|
9380
9333
|
], RelationshipChangeResponse.prototype, "content", void 0);
|
|
9381
|
-
RelationshipChangeResponse = __decorate([
|
|
9334
|
+
exports.RelationshipChangeResponse = RelationshipChangeResponse = __decorate([
|
|
9382
9335
|
(0, ts_serval_1.type)("RelationshipChangeResponse")
|
|
9383
9336
|
], RelationshipChangeResponse);
|
|
9384
|
-
exports.RelationshipChangeResponse = RelationshipChangeResponse;
|
|
9385
9337
|
//# sourceMappingURL=RelationshipChangeResponse.js.map
|
|
9386
9338
|
|
|
9387
9339
|
/***/ }),
|
|
@@ -9402,7 +9354,7 @@ var RelationshipChangeStatus;
|
|
|
9402
9354
|
RelationshipChangeStatus["Rejected"] = "Rejected";
|
|
9403
9355
|
RelationshipChangeStatus["Revoked"] = "Revoked";
|
|
9404
9356
|
RelationshipChangeStatus["Accepted"] = "Accepted";
|
|
9405
|
-
})(RelationshipChangeStatus
|
|
9357
|
+
})(RelationshipChangeStatus || (exports.RelationshipChangeStatus = RelationshipChangeStatus = {}));
|
|
9406
9358
|
//# sourceMappingURL=RelationshipChangeStatus.js.map
|
|
9407
9359
|
|
|
9408
9360
|
/***/ }),
|
|
@@ -9422,7 +9374,7 @@ var RelationshipChangeType;
|
|
|
9422
9374
|
RelationshipChangeType["Creation"] = "Creation";
|
|
9423
9375
|
RelationshipChangeType["Termination"] = "Termination";
|
|
9424
9376
|
RelationshipChangeType["TerminationCancellation"] = "TerminationCancellation";
|
|
9425
|
-
})(RelationshipChangeType
|
|
9377
|
+
})(RelationshipChangeType || (exports.RelationshipChangeType = RelationshipChangeType = {}));
|
|
9426
9378
|
//# sourceMappingURL=RelationshipChangeType.js.map
|
|
9427
9379
|
|
|
9428
9380
|
/***/ }),
|
|
@@ -9449,7 +9401,7 @@ exports.RelationshipCreationChangeRequestCipher = void 0;
|
|
|
9449
9401
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9450
9402
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
9451
9403
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9452
|
-
let RelationshipCreationChangeRequestCipher = class RelationshipCreationChangeRequestCipher extends core_1.CoreSerializable {
|
|
9404
|
+
let RelationshipCreationChangeRequestCipher = exports.RelationshipCreationChangeRequestCipher = class RelationshipCreationChangeRequestCipher extends core_1.CoreSerializable {
|
|
9453
9405
|
static from(value) {
|
|
9454
9406
|
return this.fromAny(value);
|
|
9455
9407
|
}
|
|
@@ -9467,10 +9419,9 @@ __decorate([
|
|
|
9467
9419
|
(0, ts_serval_1.serialize)(),
|
|
9468
9420
|
__metadata("design:type", crypto_1.CryptoRelationshipPublicRequest)
|
|
9469
9421
|
], RelationshipCreationChangeRequestCipher.prototype, "publicRequestCrypto", void 0);
|
|
9470
|
-
RelationshipCreationChangeRequestCipher = __decorate([
|
|
9422
|
+
exports.RelationshipCreationChangeRequestCipher = RelationshipCreationChangeRequestCipher = __decorate([
|
|
9471
9423
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestCipher")
|
|
9472
9424
|
], RelationshipCreationChangeRequestCipher);
|
|
9473
|
-
exports.RelationshipCreationChangeRequestCipher = RelationshipCreationChangeRequestCipher;
|
|
9474
9425
|
//# sourceMappingURL=RelationshipCreationChangeRequestCipher.js.map
|
|
9475
9426
|
|
|
9476
9427
|
/***/ }),
|
|
@@ -9497,7 +9448,7 @@ exports.RelationshipCreationChangeRequestContentWrapper = void 0;
|
|
|
9497
9448
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9498
9449
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9499
9450
|
const Identity_1 = __webpack_require__(/*! ../../../accounts/data/Identity */ "./dist/modules/accounts/data/Identity.js");
|
|
9500
|
-
let RelationshipCreationChangeRequestContentWrapper = class RelationshipCreationChangeRequestContentWrapper extends core_1.CoreSerializable {
|
|
9451
|
+
let RelationshipCreationChangeRequestContentWrapper = exports.RelationshipCreationChangeRequestContentWrapper = class RelationshipCreationChangeRequestContentWrapper extends core_1.CoreSerializable {
|
|
9501
9452
|
static from(value) {
|
|
9502
9453
|
return this.fromAny(value);
|
|
9503
9454
|
}
|
|
@@ -9517,10 +9468,9 @@ __decorate([
|
|
|
9517
9468
|
(0, ts_serval_1.serialize)(),
|
|
9518
9469
|
__metadata("design:type", core_1.CoreId)
|
|
9519
9470
|
], RelationshipCreationChangeRequestContentWrapper.prototype, "templateId", void 0);
|
|
9520
|
-
RelationshipCreationChangeRequestContentWrapper = __decorate([
|
|
9471
|
+
exports.RelationshipCreationChangeRequestContentWrapper = RelationshipCreationChangeRequestContentWrapper = __decorate([
|
|
9521
9472
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestContentWrapper")
|
|
9522
9473
|
], RelationshipCreationChangeRequestContentWrapper);
|
|
9523
|
-
exports.RelationshipCreationChangeRequestContentWrapper = RelationshipCreationChangeRequestContentWrapper;
|
|
9524
9474
|
//# sourceMappingURL=RelationshipCreationChangeRequestContentWrapper.js.map
|
|
9525
9475
|
|
|
9526
9476
|
/***/ }),
|
|
@@ -9547,7 +9497,7 @@ exports.RelationshipCreationChangeRequestSigned = void 0;
|
|
|
9547
9497
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9548
9498
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
9549
9499
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9550
|
-
let RelationshipCreationChangeRequestSigned = class RelationshipCreationChangeRequestSigned extends core_1.CoreSerializable {
|
|
9500
|
+
let RelationshipCreationChangeRequestSigned = exports.RelationshipCreationChangeRequestSigned = class RelationshipCreationChangeRequestSigned extends core_1.CoreSerializable {
|
|
9551
9501
|
static from(value) {
|
|
9552
9502
|
return this.fromAny(value);
|
|
9553
9503
|
}
|
|
@@ -9567,10 +9517,9 @@ __decorate([
|
|
|
9567
9517
|
(0, ts_serval_1.serialize)(),
|
|
9568
9518
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
9569
9519
|
], RelationshipCreationChangeRequestSigned.prototype, "relationshipSignature", void 0);
|
|
9570
|
-
RelationshipCreationChangeRequestSigned = __decorate([
|
|
9520
|
+
exports.RelationshipCreationChangeRequestSigned = RelationshipCreationChangeRequestSigned = __decorate([
|
|
9571
9521
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestSigned")
|
|
9572
9522
|
], RelationshipCreationChangeRequestSigned);
|
|
9573
|
-
exports.RelationshipCreationChangeRequestSigned = RelationshipCreationChangeRequestSigned;
|
|
9574
9523
|
//# sourceMappingURL=RelationshipCreationChangeRequestSigned.js.map
|
|
9575
9524
|
|
|
9576
9525
|
/***/ }),
|
|
@@ -9597,7 +9546,7 @@ exports.RelationshipCreationChangeResponseCipher = void 0;
|
|
|
9597
9546
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9598
9547
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
9599
9548
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9600
|
-
let RelationshipCreationChangeResponseCipher = class RelationshipCreationChangeResponseCipher extends core_1.CoreSerializable {
|
|
9549
|
+
let RelationshipCreationChangeResponseCipher = exports.RelationshipCreationChangeResponseCipher = class RelationshipCreationChangeResponseCipher extends core_1.CoreSerializable {
|
|
9601
9550
|
static from(value) {
|
|
9602
9551
|
return this.fromAny(value);
|
|
9603
9552
|
}
|
|
@@ -9615,10 +9564,9 @@ __decorate([
|
|
|
9615
9564
|
(0, ts_serval_1.serialize)(),
|
|
9616
9565
|
__metadata("design:type", crypto_1.CryptoRelationshipPublicResponse)
|
|
9617
9566
|
], RelationshipCreationChangeResponseCipher.prototype, "publicResponseCrypto", void 0);
|
|
9618
|
-
RelationshipCreationChangeResponseCipher = __decorate([
|
|
9567
|
+
exports.RelationshipCreationChangeResponseCipher = RelationshipCreationChangeResponseCipher = __decorate([
|
|
9619
9568
|
(0, ts_serval_1.type)("RelationshipCreationChangeResponseCipher")
|
|
9620
9569
|
], RelationshipCreationChangeResponseCipher);
|
|
9621
|
-
exports.RelationshipCreationChangeResponseCipher = RelationshipCreationChangeResponseCipher;
|
|
9622
9570
|
//# sourceMappingURL=RelationshipCreationChangeResponseCipher.js.map
|
|
9623
9571
|
|
|
9624
9572
|
/***/ }),
|
|
@@ -9644,7 +9592,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
9644
9592
|
exports.RelationshipCreationChangeResponseContentWrapper = void 0;
|
|
9645
9593
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9646
9594
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9647
|
-
let RelationshipCreationChangeResponseContentWrapper = class RelationshipCreationChangeResponseContentWrapper extends core_1.CoreSerializable {
|
|
9595
|
+
let RelationshipCreationChangeResponseContentWrapper = exports.RelationshipCreationChangeResponseContentWrapper = class RelationshipCreationChangeResponseContentWrapper extends core_1.CoreSerializable {
|
|
9648
9596
|
static from(value) {
|
|
9649
9597
|
return this.fromAny(value);
|
|
9650
9598
|
}
|
|
@@ -9659,10 +9607,9 @@ __decorate([
|
|
|
9659
9607
|
(0, ts_serval_1.serialize)(),
|
|
9660
9608
|
__metadata("design:type", core_1.CoreId)
|
|
9661
9609
|
], RelationshipCreationChangeResponseContentWrapper.prototype, "relationshipId", void 0);
|
|
9662
|
-
RelationshipCreationChangeResponseContentWrapper = __decorate([
|
|
9610
|
+
exports.RelationshipCreationChangeResponseContentWrapper = RelationshipCreationChangeResponseContentWrapper = __decorate([
|
|
9663
9611
|
(0, ts_serval_1.type)("RelationshipCreationChangeResponseContentWrapper")
|
|
9664
9612
|
], RelationshipCreationChangeResponseContentWrapper);
|
|
9665
|
-
exports.RelationshipCreationChangeResponseContentWrapper = RelationshipCreationChangeResponseContentWrapper;
|
|
9666
9613
|
//# sourceMappingURL=RelationshipCreationChangeResponseContentWrapper.js.map
|
|
9667
9614
|
|
|
9668
9615
|
/***/ }),
|
|
@@ -9689,7 +9636,7 @@ exports.RelationshipCreationChangeResponseSigned = void 0;
|
|
|
9689
9636
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
9690
9637
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
9691
9638
|
const core_1 = __webpack_require__(/*! ../../../../core */ "./dist/core/index.js");
|
|
9692
|
-
let RelationshipCreationChangeResponseSigned = class RelationshipCreationChangeResponseSigned extends core_1.CoreSerializable {
|
|
9639
|
+
let RelationshipCreationChangeResponseSigned = exports.RelationshipCreationChangeResponseSigned = class RelationshipCreationChangeResponseSigned extends core_1.CoreSerializable {
|
|
9693
9640
|
static from(value) {
|
|
9694
9641
|
return this.fromAny(value);
|
|
9695
9642
|
}
|
|
@@ -9709,10 +9656,9 @@ __decorate([
|
|
|
9709
9656
|
(0, ts_serval_1.serialize)(),
|
|
9710
9657
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
9711
9658
|
], RelationshipCreationChangeResponseSigned.prototype, "relationshipSignature", void 0);
|
|
9712
|
-
RelationshipCreationChangeResponseSigned = __decorate([
|
|
9659
|
+
exports.RelationshipCreationChangeResponseSigned = RelationshipCreationChangeResponseSigned = __decorate([
|
|
9713
9660
|
(0, ts_serval_1.type)("RelationshipCreationChangeResponseSigned")
|
|
9714
9661
|
], RelationshipCreationChangeResponseSigned);
|
|
9715
|
-
exports.RelationshipCreationChangeResponseSigned = RelationshipCreationChangeResponseSigned;
|
|
9716
9662
|
//# sourceMappingURL=RelationshipCreationChangeResponseSigned.js.map
|
|
9717
9663
|
|
|
9718
9664
|
/***/ }),
|
|
@@ -9750,7 +9696,7 @@ var SecretBaseKeyType;
|
|
|
9750
9696
|
SecretBaseKeyType["Random"] = "random";
|
|
9751
9697
|
SecretBaseKeyType["Password"] = "password";
|
|
9752
9698
|
SecretBaseKeyType["External"] = "external";
|
|
9753
|
-
})(SecretBaseKeyType
|
|
9699
|
+
})(SecretBaseKeyType || (exports.SecretBaseKeyType = SecretBaseKeyType = {}));
|
|
9754
9700
|
/**
|
|
9755
9701
|
* The SecretController which acts as a single touchpoint to access any secret within the runtime.
|
|
9756
9702
|
* Each access can be audited.
|
|
@@ -9891,6 +9837,7 @@ class SecretController extends TransportController_1.TransportController {
|
|
|
9891
9837
|
return nextNonce;
|
|
9892
9838
|
}
|
|
9893
9839
|
}
|
|
9840
|
+
exports.SecretController = SecretController;
|
|
9894
9841
|
/**
|
|
9895
9842
|
* Context of the secret derivation function. Doesn't have to be secret.
|
|
9896
9843
|
* Must be 8 characters long.
|
|
@@ -9903,7 +9850,6 @@ __decorate([
|
|
|
9903
9850
|
__metadata("design:paramtypes", []),
|
|
9904
9851
|
__metadata("design:returntype", Promise)
|
|
9905
9852
|
], SecretController.prototype, "getBaseKey", null);
|
|
9906
|
-
exports.SecretController = SecretController;
|
|
9907
9853
|
//# sourceMappingURL=SecretController.js.map
|
|
9908
9854
|
|
|
9909
9855
|
/***/ }),
|
|
@@ -9932,7 +9878,7 @@ const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
|
9932
9878
|
const ts_simple_nameof_1 = __webpack_require__(/*! ts-simple-nameof */ "./node_modules/ts-simple-nameof/index.js");
|
|
9933
9879
|
const CoreSynchronizable_1 = __webpack_require__(/*! ../../../core/CoreSynchronizable */ "./dist/core/CoreSynchronizable.js");
|
|
9934
9880
|
const CoreDate_1 = __webpack_require__(/*! ../../../core/types/CoreDate */ "./dist/core/types/CoreDate.js");
|
|
9935
|
-
let SecretContainerCipher = class SecretContainerCipher extends CoreSynchronizable_1.CoreSynchronizable {
|
|
9881
|
+
let SecretContainerCipher = exports.SecretContainerCipher = class SecretContainerCipher extends CoreSynchronizable_1.CoreSynchronizable {
|
|
9936
9882
|
constructor() {
|
|
9937
9883
|
super(...arguments);
|
|
9938
9884
|
this.technicalProperties = [
|
|
@@ -9996,10 +9942,9 @@ __decorate([
|
|
|
9996
9942
|
(0, ts_serval_1.validate)(),
|
|
9997
9943
|
__metadata("design:type", crypto_1.CryptoCipher)
|
|
9998
9944
|
], SecretContainerCipher.prototype, "cipher", void 0);
|
|
9999
|
-
SecretContainerCipher = __decorate([
|
|
9945
|
+
exports.SecretContainerCipher = SecretContainerCipher = __decorate([
|
|
10000
9946
|
(0, ts_serval_1.type)("SecretContainerCipher")
|
|
10001
9947
|
], SecretContainerCipher);
|
|
10002
|
-
exports.SecretContainerCipher = SecretContainerCipher;
|
|
10003
9948
|
//# sourceMappingURL=SecretContainerCipher.js.map
|
|
10004
9949
|
|
|
10005
9950
|
/***/ }),
|
|
@@ -10026,7 +9971,7 @@ exports.SecretContainerPlain = void 0;
|
|
|
10026
9971
|
/* eslint-disable @typescript-eslint/no-inferrable-types */
|
|
10027
9972
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
10028
9973
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
10029
|
-
let SecretContainerPlain = class SecretContainerPlain extends core_1.CoreSerializable {
|
|
9974
|
+
let SecretContainerPlain = exports.SecretContainerPlain = class SecretContainerPlain extends core_1.CoreSerializable {
|
|
10030
9975
|
constructor() {
|
|
10031
9976
|
super(...arguments);
|
|
10032
9977
|
this.name = "";
|
|
@@ -10081,10 +10026,9 @@ __decorate([
|
|
|
10081
10026
|
(0, ts_serval_1.validate)(),
|
|
10082
10027
|
__metadata("design:type", ts_serval_1.Serializable)
|
|
10083
10028
|
], SecretContainerPlain.prototype, "secret", void 0);
|
|
10084
|
-
SecretContainerPlain = __decorate([
|
|
10029
|
+
exports.SecretContainerPlain = SecretContainerPlain = __decorate([
|
|
10085
10030
|
(0, ts_serval_1.type)("SecretContainerPlain")
|
|
10086
10031
|
], SecretContainerPlain);
|
|
10087
|
-
exports.SecretContainerPlain = SecretContainerPlain;
|
|
10088
10032
|
//# sourceMappingURL=SecretContainerPlain.js.map
|
|
10089
10033
|
|
|
10090
10034
|
/***/ }),
|
|
@@ -10381,13 +10325,13 @@ class DatawalletModificationsProcessor {
|
|
|
10381
10325
|
}
|
|
10382
10326
|
}
|
|
10383
10327
|
}
|
|
10328
|
+
exports.DatawalletModificationsProcessor = DatawalletModificationsProcessor;
|
|
10384
10329
|
__decorate([
|
|
10385
10330
|
(0, ts_utils_1.log)(),
|
|
10386
10331
|
__metadata("design:type", Function),
|
|
10387
10332
|
__metadata("design:paramtypes", []),
|
|
10388
10333
|
__metadata("design:returntype", void 0)
|
|
10389
10334
|
], DatawalletModificationsProcessor.prototype, "ensureAllItemsAreCacheable", null);
|
|
10390
|
-
exports.DatawalletModificationsProcessor = DatawalletModificationsProcessor;
|
|
10391
10335
|
class CacheFetcher {
|
|
10392
10336
|
constructor(fileController, messageController, relationshipTemplateController, relationshipController, tokenController) {
|
|
10393
10337
|
this.fileController = fileController;
|
|
@@ -10561,7 +10505,7 @@ var SyncStep;
|
|
|
10561
10505
|
SyncStep["ExternalEventsSync"] = "sync:externalEvents";
|
|
10562
10506
|
SyncStep["ExternalEventsSyncDownloading"] = "sync:externalEvents:downloading";
|
|
10563
10507
|
SyncStep["ExternalEventsProcessing"] = "sync:externalEvents:processing";
|
|
10564
|
-
})(SyncStep
|
|
10508
|
+
})(SyncStep || (exports.SyncStep = SyncStep = {}));
|
|
10565
10509
|
//# sourceMappingURL=SyncCallback.js.map
|
|
10566
10510
|
|
|
10567
10511
|
/***/ }),
|
|
@@ -10690,7 +10634,7 @@ class SyncController extends core_1.TransportController {
|
|
|
10690
10634
|
const identityDatawalletVersion = await this.getIdentityDatawalletVersion();
|
|
10691
10635
|
if (this.config.supportedDatawalletVersion < identityDatawalletVersion) {
|
|
10692
10636
|
// This means that the datawallet of the identity was upgraded by another device with a higher version.
|
|
10693
|
-
// It is
|
|
10637
|
+
// It is necessary to update the current device.
|
|
10694
10638
|
throw core_1.CoreErrors.datawallet.insufficientSupportedDatawalletVersion(this.config.supportedDatawalletVersion, identityDatawalletVersion);
|
|
10695
10639
|
}
|
|
10696
10640
|
this.log.trace("Synchronization of Datawallet events started...");
|
|
@@ -10893,10 +10837,13 @@ class SyncController extends core_1.TransportController {
|
|
|
10893
10837
|
throw new core_1.TransportError("There is no active sync run to finalize");
|
|
10894
10838
|
}
|
|
10895
10839
|
const { backboneModifications, localModificationIds } = await this.prepareLocalDatawalletModificationsForPush();
|
|
10896
|
-
await this.client.finalizeDatawalletVersionUpgrade(this.currentSyncRun.id.toString(), {
|
|
10840
|
+
const response = await this.client.finalizeDatawalletVersionUpgrade(this.currentSyncRun.id.toString(), {
|
|
10897
10841
|
newDatawalletVersion,
|
|
10898
10842
|
datawalletModifications: backboneModifications
|
|
10899
10843
|
});
|
|
10844
|
+
if (response.isError) {
|
|
10845
|
+
throw response.error;
|
|
10846
|
+
}
|
|
10900
10847
|
await this.deleteUnpushedDatawalletModifications(localModificationIds);
|
|
10901
10848
|
const oldDatawalletModificationIndex = await this.getLocalDatawalletModificationIndex();
|
|
10902
10849
|
const newDatawalletModificationIndex = (oldDatawalletModificationIndex || -1) + backboneModifications.length;
|
|
@@ -10935,6 +10882,7 @@ class SyncController extends core_1.TransportController {
|
|
|
10935
10882
|
return new core_1.TransportError(`There is no migration available for the datawallet version '${version}'.`);
|
|
10936
10883
|
}
|
|
10937
10884
|
}
|
|
10885
|
+
exports.SyncController = SyncController;
|
|
10938
10886
|
__decorate([
|
|
10939
10887
|
(0, ts_utils_1.log)(),
|
|
10940
10888
|
__metadata("design:type", Function),
|
|
@@ -10965,7 +10913,6 @@ __decorate([
|
|
|
10965
10913
|
__metadata("design:paramtypes", [Number, Number]),
|
|
10966
10914
|
__metadata("design:returntype", Promise)
|
|
10967
10915
|
], SyncController.prototype, "upgradeDeviceDatawalletVersion", null);
|
|
10968
|
-
exports.SyncController = SyncController;
|
|
10969
10916
|
function descending(modification1, modification2) {
|
|
10970
10917
|
return modification2.index - modification1.index;
|
|
10971
10918
|
}
|
|
@@ -11250,12 +11197,12 @@ var SyncRunType;
|
|
|
11250
11197
|
(function (SyncRunType) {
|
|
11251
11198
|
SyncRunType["ExternalEventSync"] = "ExternalEventSync";
|
|
11252
11199
|
SyncRunType["DatawalletVersionUpgrade"] = "DatawalletVersionUpgrade";
|
|
11253
|
-
})(SyncRunType
|
|
11200
|
+
})(SyncRunType || (exports.SyncRunType = SyncRunType = {}));
|
|
11254
11201
|
var StartSyncRunStatus;
|
|
11255
11202
|
(function (StartSyncRunStatus) {
|
|
11256
11203
|
StartSyncRunStatus["Created"] = "Created";
|
|
11257
11204
|
StartSyncRunStatus["NoNewEvents"] = "NoNewEvents";
|
|
11258
|
-
})(StartSyncRunStatus
|
|
11205
|
+
})(StartSyncRunStatus || (exports.StartSyncRunStatus = StartSyncRunStatus = {}));
|
|
11259
11206
|
//# sourceMappingURL=StartSyncRun.js.map
|
|
11260
11207
|
|
|
11261
11208
|
/***/ }),
|
|
@@ -11333,14 +11280,14 @@ var DatawalletModificationType;
|
|
|
11333
11280
|
DatawalletModificationType["Update"] = "Update";
|
|
11334
11281
|
DatawalletModificationType["Delete"] = "Delete";
|
|
11335
11282
|
DatawalletModificationType["CacheChanged"] = "CacheChanged";
|
|
11336
|
-
})(DatawalletModificationType
|
|
11283
|
+
})(DatawalletModificationType || (exports.DatawalletModificationType = DatawalletModificationType = {}));
|
|
11337
11284
|
var DatawalletModificationCategory;
|
|
11338
11285
|
(function (DatawalletModificationCategory) {
|
|
11339
11286
|
DatawalletModificationCategory["TechnicalData"] = "TechnicalData";
|
|
11340
11287
|
DatawalletModificationCategory["Userdata"] = "Userdata";
|
|
11341
11288
|
DatawalletModificationCategory["Metadata"] = "Metadata";
|
|
11342
|
-
})(DatawalletModificationCategory
|
|
11343
|
-
let DatawalletModification = class DatawalletModification extends core_1.CoreSerializable {
|
|
11289
|
+
})(DatawalletModificationCategory || (exports.DatawalletModificationCategory = DatawalletModificationCategory = {}));
|
|
11290
|
+
let DatawalletModification = exports.DatawalletModification = class DatawalletModification extends core_1.CoreSerializable {
|
|
11344
11291
|
static from(value) {
|
|
11345
11292
|
return this.fromAny(value);
|
|
11346
11293
|
}
|
|
@@ -11380,10 +11327,9 @@ __decorate([
|
|
|
11380
11327
|
(0, ts_serval_1.serialize)(),
|
|
11381
11328
|
__metadata("design:type", Number)
|
|
11382
11329
|
], DatawalletModification.prototype, "datawalletVersion", void 0);
|
|
11383
|
-
DatawalletModification = __decorate([
|
|
11330
|
+
exports.DatawalletModification = DatawalletModification = __decorate([
|
|
11384
11331
|
(0, ts_serval_1.type)("DatawalletModification")
|
|
11385
11332
|
], DatawalletModification);
|
|
11386
|
-
exports.DatawalletModification = DatawalletModification;
|
|
11387
11333
|
//# sourceMappingURL=DatawalletModification.js.map
|
|
11388
11334
|
|
|
11389
11335
|
/***/ }),
|
|
@@ -11684,6 +11630,7 @@ class TokenController extends TransportController_1.TransportController {
|
|
|
11684
11630
|
return token;
|
|
11685
11631
|
}
|
|
11686
11632
|
}
|
|
11633
|
+
exports.TokenController = TokenController;
|
|
11687
11634
|
__decorate([
|
|
11688
11635
|
(0, ts_utils_1.log)(),
|
|
11689
11636
|
__metadata("design:type", Function),
|
|
@@ -11702,7 +11649,6 @@ __decorate([
|
|
|
11702
11649
|
__metadata("design:paramtypes", [Object, crypto_1.CryptoSecretKey]),
|
|
11703
11650
|
__metadata("design:returntype", Promise)
|
|
11704
11651
|
], TokenController.prototype, "decryptToken", null);
|
|
11705
|
-
exports.TokenController = TokenController;
|
|
11706
11652
|
//# sourceMappingURL=TokenController.js.map
|
|
11707
11653
|
|
|
11708
11654
|
/***/ }),
|
|
@@ -11805,7 +11751,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
11805
11751
|
exports.CachedToken = void 0;
|
|
11806
11752
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
11807
11753
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
11808
|
-
let CachedToken = class CachedToken extends core_1.CoreSerializable {
|
|
11754
|
+
let CachedToken = exports.CachedToken = class CachedToken extends core_1.CoreSerializable {
|
|
11809
11755
|
static from(value) {
|
|
11810
11756
|
return this.fromAny(value);
|
|
11811
11757
|
}
|
|
@@ -11835,10 +11781,9 @@ __decorate([
|
|
|
11835
11781
|
(0, ts_serval_1.serialize)(),
|
|
11836
11782
|
__metadata("design:type", core_1.CoreId)
|
|
11837
11783
|
], CachedToken.prototype, "createdByDevice", void 0);
|
|
11838
|
-
CachedToken = __decorate([
|
|
11784
|
+
exports.CachedToken = CachedToken = __decorate([
|
|
11839
11785
|
(0, ts_serval_1.type)("CachedToken")
|
|
11840
11786
|
], CachedToken);
|
|
11841
|
-
exports.CachedToken = CachedToken;
|
|
11842
11787
|
//# sourceMappingURL=CachedToken.js.map
|
|
11843
11788
|
|
|
11844
11789
|
/***/ }),
|
|
@@ -11864,7 +11809,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
11864
11809
|
exports.SendTokenParameters = void 0;
|
|
11865
11810
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
11866
11811
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
11867
|
-
let SendTokenParameters = class SendTokenParameters extends core_1.CoreSerializable {
|
|
11812
|
+
let SendTokenParameters = exports.SendTokenParameters = class SendTokenParameters extends core_1.CoreSerializable {
|
|
11868
11813
|
static from(value) {
|
|
11869
11814
|
return this.fromAny(value);
|
|
11870
11815
|
}
|
|
@@ -11884,10 +11829,9 @@ __decorate([
|
|
|
11884
11829
|
(0, ts_serval_1.serialize)(),
|
|
11885
11830
|
__metadata("design:type", Boolean)
|
|
11886
11831
|
], SendTokenParameters.prototype, "ephemeral", void 0);
|
|
11887
|
-
SendTokenParameters = __decorate([
|
|
11832
|
+
exports.SendTokenParameters = SendTokenParameters = __decorate([
|
|
11888
11833
|
(0, ts_serval_1.type)("SendTokenParameters")
|
|
11889
11834
|
], SendTokenParameters);
|
|
11890
|
-
exports.SendTokenParameters = SendTokenParameters;
|
|
11891
11835
|
//# sourceMappingURL=SendTokenParameters.js.map
|
|
11892
11836
|
|
|
11893
11837
|
/***/ }),
|
|
@@ -11917,7 +11861,7 @@ const ts_simple_nameof_1 = __webpack_require__(/*! ts-simple-nameof */ "./node_m
|
|
|
11917
11861
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
11918
11862
|
const TokenReference_1 = __webpack_require__(/*! ../transmission/TokenReference */ "./dist/modules/tokens/transmission/TokenReference.js");
|
|
11919
11863
|
const CachedToken_1 = __webpack_require__(/*! ./CachedToken */ "./dist/modules/tokens/local/CachedToken.js");
|
|
11920
|
-
let Token = class Token extends core_1.CoreSynchronizable {
|
|
11864
|
+
let Token = exports.Token = class Token extends core_1.CoreSynchronizable {
|
|
11921
11865
|
constructor() {
|
|
11922
11866
|
super(...arguments);
|
|
11923
11867
|
this.technicalProperties = [
|
|
@@ -11981,10 +11925,9 @@ __decorate([
|
|
|
11981
11925
|
(0, ts_serval_1.serialize)(),
|
|
11982
11926
|
__metadata("design:type", core_1.CoreDate)
|
|
11983
11927
|
], Token.prototype, "metadataModifiedAt", void 0);
|
|
11984
|
-
Token = __decorate([
|
|
11928
|
+
exports.Token = Token = __decorate([
|
|
11985
11929
|
(0, ts_serval_1.type)("Token")
|
|
11986
11930
|
], Token);
|
|
11987
|
-
exports.Token = Token;
|
|
11988
11931
|
//# sourceMappingURL=Token.js.map
|
|
11989
11932
|
|
|
11990
11933
|
/***/ }),
|
|
@@ -12011,7 +11954,7 @@ exports.TokenContentDeviceSharedSecret = void 0;
|
|
|
12011
11954
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12012
11955
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12013
11956
|
const DeviceSharedSecret_1 = __webpack_require__(/*! ../../devices/transmission/DeviceSharedSecret */ "./dist/modules/devices/transmission/DeviceSharedSecret.js");
|
|
12014
|
-
let TokenContentDeviceSharedSecret = class TokenContentDeviceSharedSecret extends core_1.CoreSerializable {
|
|
11957
|
+
let TokenContentDeviceSharedSecret = exports.TokenContentDeviceSharedSecret = class TokenContentDeviceSharedSecret extends core_1.CoreSerializable {
|
|
12015
11958
|
static from(value) {
|
|
12016
11959
|
return this.fromAny(value);
|
|
12017
11960
|
}
|
|
@@ -12021,10 +11964,9 @@ __decorate([
|
|
|
12021
11964
|
(0, ts_serval_1.serialize)(),
|
|
12022
11965
|
__metadata("design:type", DeviceSharedSecret_1.DeviceSharedSecret)
|
|
12023
11966
|
], TokenContentDeviceSharedSecret.prototype, "sharedSecret", void 0);
|
|
12024
|
-
TokenContentDeviceSharedSecret = __decorate([
|
|
11967
|
+
exports.TokenContentDeviceSharedSecret = TokenContentDeviceSharedSecret = __decorate([
|
|
12025
11968
|
(0, ts_serval_1.type)("TokenContentDeviceSharedSecret")
|
|
12026
11969
|
], TokenContentDeviceSharedSecret);
|
|
12027
|
-
exports.TokenContentDeviceSharedSecret = TokenContentDeviceSharedSecret;
|
|
12028
11970
|
//# sourceMappingURL=TokenContentDeviceSharedSecret.js.map
|
|
12029
11971
|
|
|
12030
11972
|
/***/ }),
|
|
@@ -12051,7 +11993,7 @@ exports.TokenContentFile = void 0;
|
|
|
12051
11993
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12052
11994
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
12053
11995
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12054
|
-
let TokenContentFile = class TokenContentFile extends core_1.CoreSerializable {
|
|
11996
|
+
let TokenContentFile = exports.TokenContentFile = class TokenContentFile extends core_1.CoreSerializable {
|
|
12055
11997
|
static from(value) {
|
|
12056
11998
|
return this.fromAny(value);
|
|
12057
11999
|
}
|
|
@@ -12066,10 +12008,9 @@ __decorate([
|
|
|
12066
12008
|
(0, ts_serval_1.serialize)(),
|
|
12067
12009
|
__metadata("design:type", crypto_1.CryptoSecretKey)
|
|
12068
12010
|
], TokenContentFile.prototype, "secretKey", void 0);
|
|
12069
|
-
TokenContentFile = __decorate([
|
|
12011
|
+
exports.TokenContentFile = TokenContentFile = __decorate([
|
|
12070
12012
|
(0, ts_serval_1.type)("TokenContentFile")
|
|
12071
12013
|
], TokenContentFile);
|
|
12072
|
-
exports.TokenContentFile = TokenContentFile;
|
|
12073
12014
|
//# sourceMappingURL=TokenContentFile.js.map
|
|
12074
12015
|
|
|
12075
12016
|
/***/ }),
|
|
@@ -12096,7 +12037,7 @@ exports.TokenContentRelationshipTemplate = void 0;
|
|
|
12096
12037
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12097
12038
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
12098
12039
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12099
|
-
let TokenContentRelationshipTemplate = class TokenContentRelationshipTemplate extends core_1.CoreSerializable {
|
|
12040
|
+
let TokenContentRelationshipTemplate = exports.TokenContentRelationshipTemplate = class TokenContentRelationshipTemplate extends core_1.CoreSerializable {
|
|
12100
12041
|
static from(value) {
|
|
12101
12042
|
return this.fromAny(value);
|
|
12102
12043
|
}
|
|
@@ -12111,10 +12052,9 @@ __decorate([
|
|
|
12111
12052
|
(0, ts_serval_1.serialize)(),
|
|
12112
12053
|
__metadata("design:type", crypto_1.CryptoSecretKey)
|
|
12113
12054
|
], TokenContentRelationshipTemplate.prototype, "secretKey", void 0);
|
|
12114
|
-
TokenContentRelationshipTemplate = __decorate([
|
|
12055
|
+
exports.TokenContentRelationshipTemplate = TokenContentRelationshipTemplate = __decorate([
|
|
12115
12056
|
(0, ts_serval_1.type)("TokenContentRelationshipTemplate")
|
|
12116
12057
|
], TokenContentRelationshipTemplate);
|
|
12117
|
-
exports.TokenContentRelationshipTemplate = TokenContentRelationshipTemplate;
|
|
12118
12058
|
//# sourceMappingURL=TokenContentRelationshipTemplate.js.map
|
|
12119
12059
|
|
|
12120
12060
|
/***/ }),
|
|
@@ -12137,7 +12077,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
12137
12077
|
exports.TokenReference = void 0;
|
|
12138
12078
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12139
12079
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12140
|
-
let TokenReference = class TokenReference extends core_1.Reference {
|
|
12080
|
+
let TokenReference = exports.TokenReference = class TokenReference extends core_1.Reference {
|
|
12141
12081
|
static preFrom(value) {
|
|
12142
12082
|
super.validateId(value, core_1.BackboneIds.token);
|
|
12143
12083
|
return value;
|
|
@@ -12146,10 +12086,9 @@ let TokenReference = class TokenReference extends core_1.Reference {
|
|
|
12146
12086
|
return super.from(value);
|
|
12147
12087
|
}
|
|
12148
12088
|
};
|
|
12149
|
-
TokenReference = __decorate([
|
|
12089
|
+
exports.TokenReference = TokenReference = __decorate([
|
|
12150
12090
|
(0, ts_serval_1.type)("TokenReference")
|
|
12151
12091
|
], TokenReference);
|
|
12152
|
-
exports.TokenReference = TokenReference;
|
|
12153
12092
|
//# sourceMappingURL=TokenReference.js.map
|
|
12154
12093
|
|
|
12155
12094
|
/***/ }),
|
|
@@ -12372,7 +12311,7 @@ var RandomCharacterRange;
|
|
|
12372
12311
|
RandomCharacterRange["AlphanumericUpperCaseEase"] = "ABCDEFGHJKLMNPQRSTUVWXYZ0123456789";
|
|
12373
12312
|
RandomCharacterRange["GermanUmlaut"] = "\u00C4\u00D6\u00DC\u00E4\u00F6\u00FC";
|
|
12374
12313
|
RandomCharacterRange["SpecialCharacters"] = "!?-_.:,;#+";
|
|
12375
|
-
})(RandomCharacterRange
|
|
12314
|
+
})(RandomCharacterRange || (exports.RandomCharacterRange = RandomCharacterRange = {}));
|
|
12376
12315
|
class Random {
|
|
12377
12316
|
static async bytes(length) {
|
|
12378
12317
|
return await crypto_1.CryptoRandom.bytes(length);
|
|
@@ -15045,18 +14984,23 @@ var ThrowTypeError = $gOPD
|
|
|
15045
14984
|
: throwTypeError;
|
|
15046
14985
|
|
|
15047
14986
|
var hasSymbols = __webpack_require__(/*! has-symbols */ "./node_modules/has-symbols/index.js")();
|
|
14987
|
+
var hasProto = __webpack_require__(/*! has-proto */ "./node_modules/has-proto/index.js")();
|
|
15048
14988
|
|
|
15049
|
-
var getProto = Object.getPrototypeOf ||
|
|
14989
|
+
var getProto = Object.getPrototypeOf || (
|
|
14990
|
+
hasProto
|
|
14991
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
14992
|
+
: null
|
|
14993
|
+
);
|
|
15050
14994
|
|
|
15051
14995
|
var needsEval = {};
|
|
15052
14996
|
|
|
15053
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
14997
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
15054
14998
|
|
|
15055
14999
|
var INTRINSICS = {
|
|
15056
15000
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
15057
15001
|
'%Array%': Array,
|
|
15058
15002
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
15059
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
15003
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
15060
15004
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
15061
15005
|
'%AsyncFunction%': needsEval,
|
|
15062
15006
|
'%AsyncGenerator%': needsEval,
|
|
@@ -15064,6 +15008,8 @@ var INTRINSICS = {
|
|
|
15064
15008
|
'%AsyncIteratorPrototype%': needsEval,
|
|
15065
15009
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
15066
15010
|
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
15011
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
15012
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
15067
15013
|
'%Boolean%': Boolean,
|
|
15068
15014
|
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
15069
15015
|
'%Date%': Date,
|
|
@@ -15084,10 +15030,10 @@ var INTRINSICS = {
|
|
|
15084
15030
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
15085
15031
|
'%isFinite%': isFinite,
|
|
15086
15032
|
'%isNaN%': isNaN,
|
|
15087
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
15033
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
15088
15034
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
15089
15035
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
15090
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
15036
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
15091
15037
|
'%Math%': Math,
|
|
15092
15038
|
'%Number%': Number,
|
|
15093
15039
|
'%Object%': Object,
|
|
@@ -15100,10 +15046,10 @@ var INTRINSICS = {
|
|
|
15100
15046
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
15101
15047
|
'%RegExp%': RegExp,
|
|
15102
15048
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
15103
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
15049
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
15104
15050
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
15105
15051
|
'%String%': String,
|
|
15106
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
15052
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
15107
15053
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
15108
15054
|
'%SyntaxError%': $SyntaxError,
|
|
15109
15055
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -15119,6 +15065,16 @@ var INTRINSICS = {
|
|
|
15119
15065
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
15120
15066
|
};
|
|
15121
15067
|
|
|
15068
|
+
if (getProto) {
|
|
15069
|
+
try {
|
|
15070
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
15071
|
+
} catch (e) {
|
|
15072
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
15073
|
+
var errorProto = getProto(getProto(e));
|
|
15074
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
15075
|
+
}
|
|
15076
|
+
}
|
|
15077
|
+
|
|
15122
15078
|
var doEval = function doEval(name) {
|
|
15123
15079
|
var value;
|
|
15124
15080
|
if (name === '%AsyncFunction%') {
|
|
@@ -15134,7 +15090,7 @@ var doEval = function doEval(name) {
|
|
|
15134
15090
|
}
|
|
15135
15091
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
15136
15092
|
var gen = doEval('%AsyncGenerator%');
|
|
15137
|
-
if (gen) {
|
|
15093
|
+
if (gen && getProto) {
|
|
15138
15094
|
value = getProto(gen.prototype);
|
|
15139
15095
|
}
|
|
15140
15096
|
}
|
|
@@ -15336,6 +15292,28 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
15336
15292
|
};
|
|
15337
15293
|
|
|
15338
15294
|
|
|
15295
|
+
/***/ }),
|
|
15296
|
+
|
|
15297
|
+
/***/ "./node_modules/has-proto/index.js":
|
|
15298
|
+
/*!*****************************************!*\
|
|
15299
|
+
!*** ./node_modules/has-proto/index.js ***!
|
|
15300
|
+
\*****************************************/
|
|
15301
|
+
/***/ ((module) => {
|
|
15302
|
+
|
|
15303
|
+
"use strict";
|
|
15304
|
+
|
|
15305
|
+
|
|
15306
|
+
var test = {
|
|
15307
|
+
foo: {}
|
|
15308
|
+
};
|
|
15309
|
+
|
|
15310
|
+
var $Object = Object;
|
|
15311
|
+
|
|
15312
|
+
module.exports = function hasProto() {
|
|
15313
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
15314
|
+
};
|
|
15315
|
+
|
|
15316
|
+
|
|
15339
15317
|
/***/ }),
|
|
15340
15318
|
|
|
15341
15319
|
/***/ "./node_modules/has-symbols/index.js":
|
|
@@ -33424,8 +33402,12 @@ class PolyNumberFormatter {
|
|
|
33424
33402
|
class PolyDateFormatter {
|
|
33425
33403
|
constructor(dt, intl, opts) {
|
|
33426
33404
|
this.opts = opts;
|
|
33405
|
+
this.originalZone = undefined;
|
|
33427
33406
|
let z = undefined;
|
|
33428
|
-
if (
|
|
33407
|
+
if (this.opts.timeZone) {
|
|
33408
|
+
// Don't apply any workarounds if a timeZone is explicitly provided in opts
|
|
33409
|
+
this.dt = dt;
|
|
33410
|
+
} else if (dt.zone.type === "fixed") {
|
|
33429
33411
|
// UTC-8 or Etc/UTC-8 are not part of tzdata, only Etc/GMT+8 and the like.
|
|
33430
33412
|
// That is why fixed-offset TZ is set to that unless it is:
|
|
33431
33413
|
// 1. Representing offset 0 when UTC is used to maintain previous behavior and does not become GMT.
|
|
@@ -33438,25 +33420,27 @@ class PolyDateFormatter {
|
|
|
33438
33420
|
z = offsetZ;
|
|
33439
33421
|
this.dt = dt;
|
|
33440
33422
|
} else {
|
|
33441
|
-
// Not all fixed-offset zones like Etc/+4:30 are present in tzdata
|
|
33442
|
-
//
|
|
33443
|
-
// 1. The format options tell us to show the zone. We can't do that, so the best
|
|
33444
|
-
// we can do is format the date in UTC.
|
|
33445
|
-
// 2. The format options don't tell us to show the zone. Then we can adjust them
|
|
33446
|
-
// the time and tell the formatter to show it to us in UTC, so that the time is right
|
|
33447
|
-
// and the bad zone doesn't show up.
|
|
33423
|
+
// Not all fixed-offset zones like Etc/+4:30 are present in tzdata so
|
|
33424
|
+
// we manually apply the offset and substitute the zone as needed.
|
|
33448
33425
|
z = "UTC";
|
|
33449
|
-
|
|
33450
|
-
|
|
33451
|
-
}
|
|
33452
|
-
|
|
33453
|
-
}
|
|
33426
|
+
this.dt = dt.offset === 0 ? dt : dt.setZone("UTC").plus({
|
|
33427
|
+
minutes: dt.offset
|
|
33428
|
+
});
|
|
33429
|
+
this.originalZone = dt.zone;
|
|
33454
33430
|
}
|
|
33455
33431
|
} else if (dt.zone.type === "system") {
|
|
33456
33432
|
this.dt = dt;
|
|
33457
|
-
} else {
|
|
33433
|
+
} else if (dt.zone.type === "iana") {
|
|
33458
33434
|
this.dt = dt;
|
|
33459
33435
|
z = dt.zone.name;
|
|
33436
|
+
} else {
|
|
33437
|
+
// Custom zones can have any offset / offsetName so we just manually
|
|
33438
|
+
// apply the offset and substitute the zone as needed.
|
|
33439
|
+
z = "UTC";
|
|
33440
|
+
this.dt = dt.setZone("UTC").plus({
|
|
33441
|
+
minutes: dt.offset
|
|
33442
|
+
});
|
|
33443
|
+
this.originalZone = dt.zone;
|
|
33460
33444
|
}
|
|
33461
33445
|
const intlOpts = {
|
|
33462
33446
|
...this.opts
|
|
@@ -33465,10 +33449,34 @@ class PolyDateFormatter {
|
|
|
33465
33449
|
this.dtf = getCachedDTF(intl, intlOpts);
|
|
33466
33450
|
}
|
|
33467
33451
|
format() {
|
|
33452
|
+
if (this.originalZone) {
|
|
33453
|
+
// If we have to substitute in the actual zone name, we have to use
|
|
33454
|
+
// formatToParts so that the timezone can be replaced.
|
|
33455
|
+
return this.formatToParts().map(({
|
|
33456
|
+
value
|
|
33457
|
+
}) => value).join("");
|
|
33458
|
+
}
|
|
33468
33459
|
return this.dtf.format(this.dt.toJSDate());
|
|
33469
33460
|
}
|
|
33470
33461
|
formatToParts() {
|
|
33471
|
-
|
|
33462
|
+
const parts = this.dtf.formatToParts(this.dt.toJSDate());
|
|
33463
|
+
if (this.originalZone) {
|
|
33464
|
+
return parts.map(part => {
|
|
33465
|
+
if (part.type === "timeZoneName") {
|
|
33466
|
+
const offsetName = this.originalZone.offsetName(this.dt.ts, {
|
|
33467
|
+
locale: this.dt.locale,
|
|
33468
|
+
format: this.opts.timeZoneName
|
|
33469
|
+
});
|
|
33470
|
+
return {
|
|
33471
|
+
...part,
|
|
33472
|
+
value: offsetName
|
|
33473
|
+
};
|
|
33474
|
+
} else {
|
|
33475
|
+
return part;
|
|
33476
|
+
}
|
|
33477
|
+
});
|
|
33478
|
+
}
|
|
33479
|
+
return parts;
|
|
33472
33480
|
}
|
|
33473
33481
|
resolvedOptions() {
|
|
33474
33482
|
return this.dtf.resolvedOptions();
|
|
@@ -34127,7 +34135,10 @@ function objToLocalTS(obj) {
|
|
|
34127
34135
|
// for legacy reasons, years between 0 and 99 are interpreted as 19XX; revert that
|
|
34128
34136
|
if (obj.year < 100 && obj.year >= 0) {
|
|
34129
34137
|
d = new Date(d);
|
|
34130
|
-
|
|
34138
|
+
// set the month and day again, this is necessary because year 2000 is a leap year, but year 100 is not
|
|
34139
|
+
// so if obj.year is in 99, but obj.day makes it roll over into year 100,
|
|
34140
|
+
// the calculations done by Date.UTC are using year 2000 - which is incorrect
|
|
34141
|
+
d.setUTCFullYear(obj.year, obj.month - 1, obj.day);
|
|
34131
34142
|
}
|
|
34132
34143
|
return +d;
|
|
34133
34144
|
}
|
|
@@ -34359,6 +34370,9 @@ class Formatter {
|
|
|
34359
34370
|
return new Formatter(locale, opts);
|
|
34360
34371
|
}
|
|
34361
34372
|
static parseFormat(fmt) {
|
|
34373
|
+
// white-space is always considered a literal in user-provided formats
|
|
34374
|
+
// the " " token has a special meaning (see unitForToken)
|
|
34375
|
+
|
|
34362
34376
|
let current = null,
|
|
34363
34377
|
currentFull = "",
|
|
34364
34378
|
bracketed = false;
|
|
@@ -34368,7 +34382,7 @@ class Formatter {
|
|
|
34368
34382
|
if (c === "'") {
|
|
34369
34383
|
if (currentFull.length > 0) {
|
|
34370
34384
|
splits.push({
|
|
34371
|
-
literal: bracketed,
|
|
34385
|
+
literal: bracketed || /^\s+$/.test(currentFull),
|
|
34372
34386
|
val: currentFull
|
|
34373
34387
|
});
|
|
34374
34388
|
}
|
|
@@ -34382,7 +34396,7 @@ class Formatter {
|
|
|
34382
34396
|
} else {
|
|
34383
34397
|
if (currentFull.length > 0) {
|
|
34384
34398
|
splits.push({
|
|
34385
|
-
literal:
|
|
34399
|
+
literal: /^\s+$/.test(currentFull),
|
|
34386
34400
|
val: currentFull
|
|
34387
34401
|
});
|
|
34388
34402
|
}
|
|
@@ -34392,7 +34406,7 @@ class Formatter {
|
|
|
34392
34406
|
}
|
|
34393
34407
|
if (currentFull.length > 0) {
|
|
34394
34408
|
splits.push({
|
|
34395
|
-
literal: bracketed,
|
|
34409
|
+
literal: bracketed || /^\s+$/.test(currentFull),
|
|
34396
34410
|
val: currentFull
|
|
34397
34411
|
});
|
|
34398
34412
|
}
|
|
@@ -36120,7 +36134,7 @@ class Interval {
|
|
|
36120
36134
|
if (!this.isValid) return NaN;
|
|
36121
36135
|
const start = this.start.startOf(unit),
|
|
36122
36136
|
end = this.end.startOf(unit);
|
|
36123
|
-
return Math.floor(end.diff(start, unit).get(unit)) +
|
|
36137
|
+
return Math.floor(end.diff(start, unit).get(unit)) + (end.valueOf() !== this.end.valueOf());
|
|
36124
36138
|
}
|
|
36125
36139
|
|
|
36126
36140
|
/**
|
|
@@ -36986,6 +37000,10 @@ function unitForToken(token, loc) {
|
|
|
36986
37000
|
// because we don't have any way to figure out what they are
|
|
36987
37001
|
case "z":
|
|
36988
37002
|
return simple(/[a-z_+-/]{1,256}?/i);
|
|
37003
|
+
// this special-case "token" represents a place where a macro-token expanded into a white-space literal
|
|
37004
|
+
// in this case we accept any non-newline white-space
|
|
37005
|
+
case " ":
|
|
37006
|
+
return simple(/[^\S\n\r]/);
|
|
36989
37007
|
default:
|
|
36990
37008
|
return literal(t);
|
|
36991
37009
|
}
|
|
@@ -37040,9 +37058,10 @@ function tokenForPart(part, formatOpts) {
|
|
|
37040
37058
|
value
|
|
37041
37059
|
} = part;
|
|
37042
37060
|
if (type === "literal") {
|
|
37061
|
+
const isSpace = /^\s+$/.test(value);
|
|
37043
37062
|
return {
|
|
37044
|
-
literal:
|
|
37045
|
-
val: value
|
|
37063
|
+
literal: !isSpace,
|
|
37064
|
+
val: isSpace ? " " : value
|
|
37046
37065
|
};
|
|
37047
37066
|
}
|
|
37048
37067
|
const style = formatOpts[type];
|
|
@@ -37517,7 +37536,7 @@ function parseDataToDateTime(parsed, parsedZone, opts, format, text, specificOff
|
|
|
37517
37536
|
setZone,
|
|
37518
37537
|
zone
|
|
37519
37538
|
} = opts;
|
|
37520
|
-
if (parsed && Object.keys(parsed).length !== 0) {
|
|
37539
|
+
if (parsed && Object.keys(parsed).length !== 0 || parsedZone) {
|
|
37521
37540
|
const interpretationZone = parsedZone || zone,
|
|
37522
37541
|
inst = DateTime.fromObject(parsed, {
|
|
37523
37542
|
...opts,
|
|
@@ -39564,7 +39583,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
39564
39583
|
}
|
|
39565
39584
|
}
|
|
39566
39585
|
|
|
39567
|
-
const VERSION = "3.
|
|
39586
|
+
const VERSION = "3.3.0";
|
|
39568
39587
|
|
|
39569
39588
|
exports.DateTime = DateTime;
|
|
39570
39589
|
exports.Duration = Duration;
|
|
@@ -40218,7 +40237,8 @@ var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')
|
|
|
40218
40237
|
var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
|
|
40219
40238
|
|
|
40220
40239
|
var parseValues = function parseQueryStringValues(str, options) {
|
|
40221
|
-
var obj = {};
|
|
40240
|
+
var obj = { __proto__: null };
|
|
40241
|
+
|
|
40222
40242
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
40223
40243
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
40224
40244
|
var parts = cleanStr.split(options.delimiter, limit);
|
|
@@ -40462,7 +40482,6 @@ var arrayPrefixGenerators = {
|
|
|
40462
40482
|
};
|
|
40463
40483
|
|
|
40464
40484
|
var isArray = Array.isArray;
|
|
40465
|
-
var split = String.prototype.split;
|
|
40466
40485
|
var push = Array.prototype.push;
|
|
40467
40486
|
var pushToArray = function (arr, valueOrArray) {
|
|
40468
40487
|
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
@@ -40564,14 +40583,6 @@ var stringify = function stringify(
|
|
|
40564
40583
|
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
40565
40584
|
if (encoder) {
|
|
40566
40585
|
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
|
|
40567
|
-
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
|
|
40568
|
-
var valuesArray = split.call(String(obj), ',');
|
|
40569
|
-
var valuesJoined = '';
|
|
40570
|
-
for (var i = 0; i < valuesArray.length; ++i) {
|
|
40571
|
-
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
|
|
40572
|
-
}
|
|
40573
|
-
return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];
|
|
40574
|
-
}
|
|
40575
40586
|
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
|
|
40576
40587
|
}
|
|
40577
40588
|
return [formatter(prefix) + '=' + formatter(String(obj))];
|
|
@@ -40586,6 +40597,9 @@ var stringify = function stringify(
|
|
|
40586
40597
|
var objKeys;
|
|
40587
40598
|
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
|
40588
40599
|
// we need to join elements in
|
|
40600
|
+
if (encodeValuesOnly && encoder) {
|
|
40601
|
+
obj = utils.maybeMap(obj, encoder);
|
|
40602
|
+
}
|
|
40589
40603
|
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
|
|
40590
40604
|
} else if (isArray(filter)) {
|
|
40591
40605
|
objKeys = filter;
|
|
@@ -40618,7 +40632,7 @@ var stringify = function stringify(
|
|
|
40618
40632
|
commaRoundTrip,
|
|
40619
40633
|
strictNullHandling,
|
|
40620
40634
|
skipNulls,
|
|
40621
|
-
encoder,
|
|
40635
|
+
generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
|
|
40622
40636
|
filter,
|
|
40623
40637
|
sort,
|
|
40624
40638
|
allowDots,
|
|
@@ -42388,8 +42402,8 @@ exports.nameof = nameof;
|
|
|
42388
42402
|
"use strict";
|
|
42389
42403
|
__webpack_require__.r(__webpack_exports__);
|
|
42390
42404
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
42391
|
-
/* harmony export */
|
|
42392
|
-
/* harmony export */
|
|
42405
|
+
/* harmony export */ LOG4TS_LOG_CONTROL: () => (/* binding */ LOG4TS_LOG_CONTROL),
|
|
42406
|
+
/* harmony export */ Log4TSProvider: () => (/* binding */ Log4TSProvider)
|
|
42393
42407
|
/* harmony export */ });
|
|
42394
42408
|
/**
|
|
42395
42409
|
* Extends Map and adds a few convenient functions.
|
|
@@ -43414,14 +43428,14 @@ var Log4TSProvider;
|
|
|
43414
43428
|
"use strict";
|
|
43415
43429
|
__webpack_require__.r(__webpack_exports__);
|
|
43416
43430
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43417
|
-
/* harmony export */
|
|
43418
|
-
/* harmony export */
|
|
43419
|
-
/* harmony export */
|
|
43420
|
-
/* harmony export */
|
|
43421
|
-
/* harmony export */
|
|
43422
|
-
/* harmony export */
|
|
43423
|
-
/* harmony export */
|
|
43424
|
-
/* harmony export */
|
|
43431
|
+
/* harmony export */ $internal: () => (/* binding */ InternalLogger),
|
|
43432
|
+
/* harmony export */ $test: () => (/* binding */ TestClasses),
|
|
43433
|
+
/* harmony export */ DefaultChannels: () => (/* binding */ DefaultChannels),
|
|
43434
|
+
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
43435
|
+
/* harmony export */ createLogProvider: () => (/* binding */ createLogProvider),
|
|
43436
|
+
/* harmony export */ formatArgument: () => (/* binding */ formatArgument),
|
|
43437
|
+
/* harmony export */ formatDate: () => (/* binding */ formatDate),
|
|
43438
|
+
/* harmony export */ util: () => (/* binding */ index)
|
|
43425
43439
|
/* harmony export */ });
|
|
43426
43440
|
/**
|
|
43427
43441
|
* Extends Map and adds a few convenient functions.
|
|
@@ -45144,7 +45158,7 @@ module.exports = TSServal;
|
|
|
45144
45158
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
45145
45159
|
|
|
45146
45160
|
"use strict";
|
|
45147
|
-
// Axios v1.
|
|
45161
|
+
// Axios v1.4.0 Copyright (c) 2023 Matt Zabriskie and contributors
|
|
45148
45162
|
|
|
45149
45163
|
|
|
45150
45164
|
function bind(fn, thisArg) {
|
|
@@ -45339,12 +45353,16 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
45339
45353
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
45340
45354
|
*/
|
|
45341
45355
|
const isFormData = (thing) => {
|
|
45342
|
-
|
|
45356
|
+
let kind;
|
|
45343
45357
|
return thing && (
|
|
45344
|
-
(typeof FormData === 'function' && thing instanceof FormData) ||
|
|
45345
|
-
|
|
45346
|
-
|
|
45347
|
-
|
|
45358
|
+
(typeof FormData === 'function' && thing instanceof FormData) || (
|
|
45359
|
+
isFunction(thing.append) && (
|
|
45360
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
45361
|
+
// detect form-data instance
|
|
45362
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
45363
|
+
)
|
|
45364
|
+
)
|
|
45365
|
+
)
|
|
45348
45366
|
};
|
|
45349
45367
|
|
|
45350
45368
|
/**
|
|
@@ -45663,7 +45681,7 @@ const matchAll = (regExp, str) => {
|
|
|
45663
45681
|
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
45664
45682
|
|
|
45665
45683
|
const toCamelCase = str => {
|
|
45666
|
-
return str.toLowerCase().replace(/[_
|
|
45684
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
|
|
45667
45685
|
function replacer(m, p1, p2) {
|
|
45668
45686
|
return p1.toUpperCase() + p2;
|
|
45669
45687
|
}
|
|
@@ -45747,6 +45765,37 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
45747
45765
|
return Number.isFinite(value) ? value : defaultValue;
|
|
45748
45766
|
};
|
|
45749
45767
|
|
|
45768
|
+
const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
45769
|
+
|
|
45770
|
+
const DIGIT = '0123456789';
|
|
45771
|
+
|
|
45772
|
+
const ALPHABET = {
|
|
45773
|
+
DIGIT,
|
|
45774
|
+
ALPHA,
|
|
45775
|
+
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
45776
|
+
};
|
|
45777
|
+
|
|
45778
|
+
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
45779
|
+
let str = '';
|
|
45780
|
+
const {length} = alphabet;
|
|
45781
|
+
while (size--) {
|
|
45782
|
+
str += alphabet[Math.random() * length|0];
|
|
45783
|
+
}
|
|
45784
|
+
|
|
45785
|
+
return str;
|
|
45786
|
+
};
|
|
45787
|
+
|
|
45788
|
+
/**
|
|
45789
|
+
* If the thing is a FormData object, return true, otherwise return false.
|
|
45790
|
+
*
|
|
45791
|
+
* @param {unknown} thing - The thing to check.
|
|
45792
|
+
*
|
|
45793
|
+
* @returns {boolean}
|
|
45794
|
+
*/
|
|
45795
|
+
function isSpecCompliantForm(thing) {
|
|
45796
|
+
return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);
|
|
45797
|
+
}
|
|
45798
|
+
|
|
45750
45799
|
const toJSONObject = (obj) => {
|
|
45751
45800
|
const stack = new Array(10);
|
|
45752
45801
|
|
|
@@ -45778,6 +45827,11 @@ const toJSONObject = (obj) => {
|
|
|
45778
45827
|
return visit(obj, 0);
|
|
45779
45828
|
};
|
|
45780
45829
|
|
|
45830
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
45831
|
+
|
|
45832
|
+
const isThenable = (thing) =>
|
|
45833
|
+
thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
45834
|
+
|
|
45781
45835
|
var utils = {
|
|
45782
45836
|
isArray,
|
|
45783
45837
|
isArrayBuffer,
|
|
@@ -45824,7 +45878,12 @@ var utils = {
|
|
|
45824
45878
|
findKey,
|
|
45825
45879
|
global: _global,
|
|
45826
45880
|
isContextDefined,
|
|
45827
|
-
|
|
45881
|
+
ALPHABET,
|
|
45882
|
+
generateString,
|
|
45883
|
+
isSpecCompliantForm,
|
|
45884
|
+
toJSONObject,
|
|
45885
|
+
isAsyncFn,
|
|
45886
|
+
isThenable
|
|
45828
45887
|
};
|
|
45829
45888
|
|
|
45830
45889
|
/**
|
|
@@ -45922,10 +45981,8 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
45922
45981
|
return axiosError;
|
|
45923
45982
|
};
|
|
45924
45983
|
|
|
45925
|
-
|
|
45926
|
-
var
|
|
45927
|
-
|
|
45928
|
-
var FormData$2 = browser;
|
|
45984
|
+
// eslint-disable-next-line strict
|
|
45985
|
+
var httpAdapter = null;
|
|
45929
45986
|
|
|
45930
45987
|
/**
|
|
45931
45988
|
* Determines if the given thing is a array or js object.
|
|
@@ -45982,17 +46039,6 @@ const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
|
|
|
45982
46039
|
return /^is[A-Z]/.test(prop);
|
|
45983
46040
|
});
|
|
45984
46041
|
|
|
45985
|
-
/**
|
|
45986
|
-
* If the thing is a FormData object, return true, otherwise return false.
|
|
45987
|
-
*
|
|
45988
|
-
* @param {unknown} thing - The thing to check.
|
|
45989
|
-
*
|
|
45990
|
-
* @returns {boolean}
|
|
45991
|
-
*/
|
|
45992
|
-
function isSpecCompliant(thing) {
|
|
45993
|
-
return thing && utils.isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator];
|
|
45994
|
-
}
|
|
45995
|
-
|
|
45996
46042
|
/**
|
|
45997
46043
|
* Convert a data object to FormData
|
|
45998
46044
|
*
|
|
@@ -46022,7 +46068,7 @@ function toFormData(obj, formData, options) {
|
|
|
46022
46068
|
}
|
|
46023
46069
|
|
|
46024
46070
|
// eslint-disable-next-line no-param-reassign
|
|
46025
|
-
formData = formData || new (FormData
|
|
46071
|
+
formData = formData || new (FormData)();
|
|
46026
46072
|
|
|
46027
46073
|
// eslint-disable-next-line no-param-reassign
|
|
46028
46074
|
options = utils.toFlatObject(options, {
|
|
@@ -46040,7 +46086,7 @@ function toFormData(obj, formData, options) {
|
|
|
46040
46086
|
const dots = options.dots;
|
|
46041
46087
|
const indexes = options.indexes;
|
|
46042
46088
|
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
46043
|
-
const useBlob = _Blob &&
|
|
46089
|
+
const useBlob = _Blob && utils.isSpecCompliantForm(formData);
|
|
46044
46090
|
|
|
46045
46091
|
if (!utils.isFunction(visitor)) {
|
|
46046
46092
|
throw new TypeError('visitor must be a function');
|
|
@@ -46085,7 +46131,7 @@ function toFormData(obj, formData, options) {
|
|
|
46085
46131
|
value = JSON.stringify(value);
|
|
46086
46132
|
} else if (
|
|
46087
46133
|
(utils.isArray(value) && isFlatArray(value)) ||
|
|
46088
|
-
(utils.isFileList(value) || utils.endsWith(key, '[]') && (arr = utils.toArray(value))
|
|
46134
|
+
((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
|
|
46089
46135
|
)) {
|
|
46090
46136
|
// eslint-disable-next-line no-param-reassign
|
|
46091
46137
|
key = removeBrackets(key);
|
|
@@ -46337,7 +46383,9 @@ var transitionalDefaults = {
|
|
|
46337
46383
|
|
|
46338
46384
|
var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
|
|
46339
46385
|
|
|
46340
|
-
var FormData$1 = FormData;
|
|
46386
|
+
var FormData$1 = typeof FormData !== 'undefined' ? FormData : null;
|
|
46387
|
+
|
|
46388
|
+
var Blob$1 = typeof Blob !== 'undefined' ? Blob : null;
|
|
46341
46389
|
|
|
46342
46390
|
/**
|
|
46343
46391
|
* Determine if we're running in a standard browser environment
|
|
@@ -46393,7 +46441,7 @@ var platform = {
|
|
|
46393
46441
|
classes: {
|
|
46394
46442
|
URLSearchParams: URLSearchParams$1,
|
|
46395
46443
|
FormData: FormData$1,
|
|
46396
|
-
Blob
|
|
46444
|
+
Blob: Blob$1
|
|
46397
46445
|
},
|
|
46398
46446
|
isStandardBrowserEnv,
|
|
46399
46447
|
isStandardBrowserWebWorkerEnv,
|
|
@@ -46735,15 +46783,17 @@ function parseTokens(str) {
|
|
|
46735
46783
|
return tokens;
|
|
46736
46784
|
}
|
|
46737
46785
|
|
|
46738
|
-
|
|
46739
|
-
return /^[-_a-zA-Z]+$/.test(str.trim());
|
|
46740
|
-
}
|
|
46786
|
+
const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
|
|
46741
46787
|
|
|
46742
|
-
function matchHeaderValue(context, value, header, filter) {
|
|
46788
|
+
function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
46743
46789
|
if (utils.isFunction(filter)) {
|
|
46744
46790
|
return filter.call(this, value, header);
|
|
46745
46791
|
}
|
|
46746
46792
|
|
|
46793
|
+
if (isHeaderNameFilter) {
|
|
46794
|
+
value = header;
|
|
46795
|
+
}
|
|
46796
|
+
|
|
46747
46797
|
if (!utils.isString(value)) return;
|
|
46748
46798
|
|
|
46749
46799
|
if (utils.isString(filter)) {
|
|
@@ -46847,7 +46897,7 @@ class AxiosHeaders {
|
|
|
46847
46897
|
if (header) {
|
|
46848
46898
|
const key = utils.findKey(this, header);
|
|
46849
46899
|
|
|
46850
|
-
return !!(key && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
|
|
46900
|
+
return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
|
|
46851
46901
|
}
|
|
46852
46902
|
|
|
46853
46903
|
return false;
|
|
@@ -46880,8 +46930,20 @@ class AxiosHeaders {
|
|
|
46880
46930
|
return deleted;
|
|
46881
46931
|
}
|
|
46882
46932
|
|
|
46883
|
-
clear() {
|
|
46884
|
-
|
|
46933
|
+
clear(matcher) {
|
|
46934
|
+
const keys = Object.keys(this);
|
|
46935
|
+
let i = keys.length;
|
|
46936
|
+
let deleted = false;
|
|
46937
|
+
|
|
46938
|
+
while (i--) {
|
|
46939
|
+
const key = keys[i];
|
|
46940
|
+
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
46941
|
+
delete this[key];
|
|
46942
|
+
deleted = true;
|
|
46943
|
+
}
|
|
46944
|
+
}
|
|
46945
|
+
|
|
46946
|
+
return deleted;
|
|
46885
46947
|
}
|
|
46886
46948
|
|
|
46887
46949
|
normalize(format) {
|
|
@@ -46972,7 +47034,7 @@ class AxiosHeaders {
|
|
|
46972
47034
|
}
|
|
46973
47035
|
}
|
|
46974
47036
|
|
|
46975
|
-
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent']);
|
|
47037
|
+
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
|
46976
47038
|
|
|
46977
47039
|
utils.freezeMethods(AxiosHeaders.prototype);
|
|
46978
47040
|
utils.freezeMethods(AxiosHeaders);
|
|
@@ -47025,9 +47087,6 @@ utils.inherits(CanceledError, AxiosError, {
|
|
|
47025
47087
|
__CANCEL__: true
|
|
47026
47088
|
});
|
|
47027
47089
|
|
|
47028
|
-
// eslint-disable-next-line strict
|
|
47029
|
-
var httpAdapter = null;
|
|
47030
|
-
|
|
47031
47090
|
/**
|
|
47032
47091
|
* Resolve or reject a Promise based on response status.
|
|
47033
47092
|
*
|
|
@@ -47312,8 +47371,12 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
47312
47371
|
}
|
|
47313
47372
|
}
|
|
47314
47373
|
|
|
47315
|
-
if (utils.isFormData(requestData)
|
|
47316
|
-
|
|
47374
|
+
if (utils.isFormData(requestData)) {
|
|
47375
|
+
if (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv) {
|
|
47376
|
+
requestHeaders.setContentType(false); // Let the browser set it
|
|
47377
|
+
} else {
|
|
47378
|
+
requestHeaders.setContentType('multipart/form-data;', false); // mobile/desktop app frameworks
|
|
47379
|
+
}
|
|
47317
47380
|
}
|
|
47318
47381
|
|
|
47319
47382
|
let request = new XMLHttpRequest();
|
|
@@ -47719,7 +47782,7 @@ function mergeConfig(config1, config2) {
|
|
|
47719
47782
|
headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
|
|
47720
47783
|
};
|
|
47721
47784
|
|
|
47722
|
-
utils.forEach(Object.keys(
|
|
47785
|
+
utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
|
|
47723
47786
|
const merge = mergeMap[prop] || mergeDeepProperties;
|
|
47724
47787
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
47725
47788
|
(utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
@@ -47728,7 +47791,7 @@ function mergeConfig(config1, config2) {
|
|
|
47728
47791
|
return config;
|
|
47729
47792
|
}
|
|
47730
47793
|
|
|
47731
|
-
const VERSION = "1.
|
|
47794
|
+
const VERSION = "1.4.0";
|
|
47732
47795
|
|
|
47733
47796
|
const validators$1 = {};
|
|
47734
47797
|
|
|
@@ -47865,11 +47928,17 @@ class Axios {
|
|
|
47865
47928
|
}, false);
|
|
47866
47929
|
}
|
|
47867
47930
|
|
|
47868
|
-
if (paramsSerializer
|
|
47869
|
-
|
|
47870
|
-
|
|
47871
|
-
|
|
47872
|
-
|
|
47931
|
+
if (paramsSerializer != null) {
|
|
47932
|
+
if (utils.isFunction(paramsSerializer)) {
|
|
47933
|
+
config.paramsSerializer = {
|
|
47934
|
+
serialize: paramsSerializer
|
|
47935
|
+
};
|
|
47936
|
+
} else {
|
|
47937
|
+
validator.assertOptions(paramsSerializer, {
|
|
47938
|
+
encode: validators.function,
|
|
47939
|
+
serialize: validators.function
|
|
47940
|
+
}, true);
|
|
47941
|
+
}
|
|
47873
47942
|
}
|
|
47874
47943
|
|
|
47875
47944
|
// Set config.method
|
|
@@ -48312,22 +48381,22 @@ module.exports = axios;
|
|
|
48312
48381
|
"use strict";
|
|
48313
48382
|
__webpack_require__.r(__webpack_exports__);
|
|
48314
48383
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48315
|
-
/* harmony export */
|
|
48316
|
-
/* harmony export */
|
|
48317
|
-
/* harmony export */
|
|
48318
|
-
/* harmony export */
|
|
48319
|
-
/* harmony export */
|
|
48320
|
-
/* harmony export */
|
|
48321
|
-
/* harmony export */
|
|
48384
|
+
/* harmony export */ JsonPatchError: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__.PatchError),
|
|
48385
|
+
/* harmony export */ _areEquals: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__._areEquals),
|
|
48386
|
+
/* harmony export */ applyOperation: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.applyOperation),
|
|
48387
|
+
/* harmony export */ applyPatch: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.applyPatch),
|
|
48388
|
+
/* harmony export */ applyReducer: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.applyReducer),
|
|
48389
|
+
/* harmony export */ compare: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.compare),
|
|
48390
|
+
/* harmony export */ deepClone: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__._deepClone),
|
|
48322
48391
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
48323
|
-
/* harmony export */
|
|
48324
|
-
/* harmony export */
|
|
48325
|
-
/* harmony export */
|
|
48326
|
-
/* harmony export */
|
|
48327
|
-
/* harmony export */
|
|
48328
|
-
/* harmony export */
|
|
48329
|
-
/* harmony export */
|
|
48330
|
-
/* harmony export */
|
|
48392
|
+
/* harmony export */ escapePathComponent: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__.escapePathComponent),
|
|
48393
|
+
/* harmony export */ generate: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.generate),
|
|
48394
|
+
/* harmony export */ getValueByPointer: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.getValueByPointer),
|
|
48395
|
+
/* harmony export */ observe: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.observe),
|
|
48396
|
+
/* harmony export */ unescapePathComponent: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__.unescapePathComponent),
|
|
48397
|
+
/* harmony export */ unobserve: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.unobserve),
|
|
48398
|
+
/* harmony export */ validate: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.validate),
|
|
48399
|
+
/* harmony export */ validator: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.validator)
|
|
48331
48400
|
/* harmony export */ });
|
|
48332
48401
|
/* harmony import */ var _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./module/core.mjs */ "./node_modules/fast-json-patch/module/core.mjs");
|
|
48333
48402
|
/* harmony import */ var _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./module/duplex.mjs */ "./node_modules/fast-json-patch/module/duplex.mjs");
|
|
@@ -48363,15 +48432,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
48363
48432
|
"use strict";
|
|
48364
48433
|
__webpack_require__.r(__webpack_exports__);
|
|
48365
48434
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48366
|
-
/* harmony export */
|
|
48367
|
-
/* harmony export */
|
|
48368
|
-
/* harmony export */
|
|
48369
|
-
/* harmony export */
|
|
48370
|
-
/* harmony export */
|
|
48371
|
-
/* harmony export */
|
|
48372
|
-
/* harmony export */
|
|
48373
|
-
/* harmony export */
|
|
48374
|
-
/* harmony export */
|
|
48435
|
+
/* harmony export */ JsonPatchError: () => (/* binding */ JsonPatchError),
|
|
48436
|
+
/* harmony export */ _areEquals: () => (/* binding */ _areEquals),
|
|
48437
|
+
/* harmony export */ applyOperation: () => (/* binding */ applyOperation),
|
|
48438
|
+
/* harmony export */ applyPatch: () => (/* binding */ applyPatch),
|
|
48439
|
+
/* harmony export */ applyReducer: () => (/* binding */ applyReducer),
|
|
48440
|
+
/* harmony export */ deepClone: () => (/* binding */ deepClone),
|
|
48441
|
+
/* harmony export */ getValueByPointer: () => (/* binding */ getValueByPointer),
|
|
48442
|
+
/* harmony export */ validate: () => (/* binding */ validate),
|
|
48443
|
+
/* harmony export */ validator: () => (/* binding */ validator)
|
|
48375
48444
|
/* harmony export */ });
|
|
48376
48445
|
/* harmony import */ var _helpers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers.mjs */ "./node_modules/fast-json-patch/module/helpers.mjs");
|
|
48377
48446
|
|
|
@@ -48820,10 +48889,10 @@ function _areEquals(a, b) {
|
|
|
48820
48889
|
"use strict";
|
|
48821
48890
|
__webpack_require__.r(__webpack_exports__);
|
|
48822
48891
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48823
|
-
/* harmony export */
|
|
48824
|
-
/* harmony export */
|
|
48825
|
-
/* harmony export */
|
|
48826
|
-
/* harmony export */
|
|
48892
|
+
/* harmony export */ compare: () => (/* binding */ compare),
|
|
48893
|
+
/* harmony export */ generate: () => (/* binding */ generate),
|
|
48894
|
+
/* harmony export */ observe: () => (/* binding */ observe),
|
|
48895
|
+
/* harmony export */ unobserve: () => (/* binding */ unobserve)
|
|
48827
48896
|
/* harmony export */ });
|
|
48828
48897
|
/* harmony import */ var _helpers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers.mjs */ "./node_modules/fast-json-patch/module/helpers.mjs");
|
|
48829
48898
|
/* harmony import */ var _core_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core.mjs */ "./node_modules/fast-json-patch/module/core.mjs");
|
|
@@ -49016,16 +49085,16 @@ function compare(tree1, tree2, invertible) {
|
|
|
49016
49085
|
"use strict";
|
|
49017
49086
|
__webpack_require__.r(__webpack_exports__);
|
|
49018
49087
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
49019
|
-
/* harmony export */
|
|
49020
|
-
/* harmony export */
|
|
49021
|
-
/* harmony export */
|
|
49022
|
-
/* harmony export */
|
|
49023
|
-
/* harmony export */
|
|
49024
|
-
/* harmony export */
|
|
49025
|
-
/* harmony export */
|
|
49026
|
-
/* harmony export */
|
|
49027
|
-
/* harmony export */
|
|
49028
|
-
/* harmony export */
|
|
49088
|
+
/* harmony export */ PatchError: () => (/* binding */ PatchError),
|
|
49089
|
+
/* harmony export */ _deepClone: () => (/* binding */ _deepClone),
|
|
49090
|
+
/* harmony export */ _getPathRecursive: () => (/* binding */ _getPathRecursive),
|
|
49091
|
+
/* harmony export */ _objectKeys: () => (/* binding */ _objectKeys),
|
|
49092
|
+
/* harmony export */ escapePathComponent: () => (/* binding */ escapePathComponent),
|
|
49093
|
+
/* harmony export */ getPath: () => (/* binding */ getPath),
|
|
49094
|
+
/* harmony export */ hasOwnProperty: () => (/* binding */ hasOwnProperty),
|
|
49095
|
+
/* harmony export */ hasUndefined: () => (/* binding */ hasUndefined),
|
|
49096
|
+
/* harmony export */ isInteger: () => (/* binding */ isInteger),
|
|
49097
|
+
/* harmony export */ unescapePathComponent: () => (/* binding */ unescapePathComponent)
|
|
49029
49098
|
/* harmony export */ });
|
|
49030
49099
|
/*!
|
|
49031
49100
|
* https://github.com/Starcounter-Jack/JSON-Patch
|