@nmshd/transport 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/buildInformation.js +5 -5
- package/dist/core/CoreIdHelper.js.map +1 -1
- 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/events/TransportDataEvent.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/ChangedItems.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +6 -6
- package/dist/modules/sync/DatawalletModificationsProcessor.js +4 -4
- 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 +1 -1
- 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 +501 -425
- 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
|
@@ -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.6",
|
|
19
|
+
build: "58",
|
|
20
|
+
date: "2023-08-16T10:31:10+00:00",
|
|
21
|
+
commit: "c4efb752148e149fd2793008702d9b719c09b0d1",
|
|
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.2","fast-json-patch":"^3.1.1","form-data":"^4.0.0","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.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
|
/***/ }),
|
|
@@ -10219,11 +10163,11 @@ const core_1 = __webpack_require__(/*! ../../core */ "./dist/core/index.js");
|
|
|
10219
10163
|
const DbCollectionName_1 = __webpack_require__(/*! ../../core/DbCollectionName */ "./dist/core/DbCollectionName.js");
|
|
10220
10164
|
const File_1 = __webpack_require__(/*! ../files/local/File */ "./dist/modules/files/local/File.js");
|
|
10221
10165
|
const Message_1 = __webpack_require__(/*! ../messages/local/Message */ "./dist/modules/messages/local/Message.js");
|
|
10222
|
-
const Relationship_1 = __webpack_require__(/*! ../relationships/local/Relationship */ "./dist/modules/relationships/local/Relationship.js");
|
|
10223
10166
|
const RelationshipTemplate_1 = __webpack_require__(/*! ../relationshipTemplates/local/RelationshipTemplate */ "./dist/modules/relationshipTemplates/local/RelationshipTemplate.js");
|
|
10167
|
+
const Relationship_1 = __webpack_require__(/*! ../relationships/local/Relationship */ "./dist/modules/relationships/local/Relationship.js");
|
|
10224
10168
|
const Token_1 = __webpack_require__(/*! ../tokens/local/Token */ "./dist/modules/tokens/local/Token.js");
|
|
10225
|
-
const DatawalletModification_1 = __webpack_require__(/*! ./local/DatawalletModification */ "./dist/modules/sync/local/DatawalletModification.js");
|
|
10226
10169
|
const SyncCallback_1 = __webpack_require__(/*! ./SyncCallback */ "./dist/modules/sync/SyncCallback.js");
|
|
10170
|
+
const DatawalletModification_1 = __webpack_require__(/*! ./local/DatawalletModification */ "./dist/modules/sync/local/DatawalletModification.js");
|
|
10227
10171
|
class DatawalletModificationsProcessor {
|
|
10228
10172
|
get log() {
|
|
10229
10173
|
return this.logger;
|
|
@@ -10376,18 +10320,18 @@ class DatawalletModificationsProcessor {
|
|
|
10376
10320
|
}
|
|
10377
10321
|
for (const deleteModification of this.deletes) {
|
|
10378
10322
|
const targetCollection = await this.collectionProvider.getCollection(deleteModification.collection);
|
|
10379
|
-
await targetCollection.delete({ id: deleteModification.objectIdentifier });
|
|
10323
|
+
await targetCollection.delete({ id: deleteModification.objectIdentifier.toString() });
|
|
10380
10324
|
this.syncStep.progress();
|
|
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
|
/***/ }),
|
|
@@ -10938,6 +10882,7 @@ class SyncController extends core_1.TransportController {
|
|
|
10938
10882
|
return new core_1.TransportError(`There is no migration available for the datawallet version '${version}'.`);
|
|
10939
10883
|
}
|
|
10940
10884
|
}
|
|
10885
|
+
exports.SyncController = SyncController;
|
|
10941
10886
|
__decorate([
|
|
10942
10887
|
(0, ts_utils_1.log)(),
|
|
10943
10888
|
__metadata("design:type", Function),
|
|
@@ -10968,7 +10913,6 @@ __decorate([
|
|
|
10968
10913
|
__metadata("design:paramtypes", [Number, Number]),
|
|
10969
10914
|
__metadata("design:returntype", Promise)
|
|
10970
10915
|
], SyncController.prototype, "upgradeDeviceDatawalletVersion", null);
|
|
10971
|
-
exports.SyncController = SyncController;
|
|
10972
10916
|
function descending(modification1, modification2) {
|
|
10973
10917
|
return modification2.index - modification1.index;
|
|
10974
10918
|
}
|
|
@@ -11253,12 +11197,12 @@ var SyncRunType;
|
|
|
11253
11197
|
(function (SyncRunType) {
|
|
11254
11198
|
SyncRunType["ExternalEventSync"] = "ExternalEventSync";
|
|
11255
11199
|
SyncRunType["DatawalletVersionUpgrade"] = "DatawalletVersionUpgrade";
|
|
11256
|
-
})(SyncRunType
|
|
11200
|
+
})(SyncRunType || (exports.SyncRunType = SyncRunType = {}));
|
|
11257
11201
|
var StartSyncRunStatus;
|
|
11258
11202
|
(function (StartSyncRunStatus) {
|
|
11259
11203
|
StartSyncRunStatus["Created"] = "Created";
|
|
11260
11204
|
StartSyncRunStatus["NoNewEvents"] = "NoNewEvents";
|
|
11261
|
-
})(StartSyncRunStatus
|
|
11205
|
+
})(StartSyncRunStatus || (exports.StartSyncRunStatus = StartSyncRunStatus = {}));
|
|
11262
11206
|
//# sourceMappingURL=StartSyncRun.js.map
|
|
11263
11207
|
|
|
11264
11208
|
/***/ }),
|
|
@@ -11336,14 +11280,14 @@ var DatawalletModificationType;
|
|
|
11336
11280
|
DatawalletModificationType["Update"] = "Update";
|
|
11337
11281
|
DatawalletModificationType["Delete"] = "Delete";
|
|
11338
11282
|
DatawalletModificationType["CacheChanged"] = "CacheChanged";
|
|
11339
|
-
})(DatawalletModificationType
|
|
11283
|
+
})(DatawalletModificationType || (exports.DatawalletModificationType = DatawalletModificationType = {}));
|
|
11340
11284
|
var DatawalletModificationCategory;
|
|
11341
11285
|
(function (DatawalletModificationCategory) {
|
|
11342
11286
|
DatawalletModificationCategory["TechnicalData"] = "TechnicalData";
|
|
11343
11287
|
DatawalletModificationCategory["Userdata"] = "Userdata";
|
|
11344
11288
|
DatawalletModificationCategory["Metadata"] = "Metadata";
|
|
11345
|
-
})(DatawalletModificationCategory
|
|
11346
|
-
let DatawalletModification = class DatawalletModification extends core_1.CoreSerializable {
|
|
11289
|
+
})(DatawalletModificationCategory || (exports.DatawalletModificationCategory = DatawalletModificationCategory = {}));
|
|
11290
|
+
let DatawalletModification = exports.DatawalletModification = class DatawalletModification extends core_1.CoreSerializable {
|
|
11347
11291
|
static from(value) {
|
|
11348
11292
|
return this.fromAny(value);
|
|
11349
11293
|
}
|
|
@@ -11383,10 +11327,9 @@ __decorate([
|
|
|
11383
11327
|
(0, ts_serval_1.serialize)(),
|
|
11384
11328
|
__metadata("design:type", Number)
|
|
11385
11329
|
], DatawalletModification.prototype, "datawalletVersion", void 0);
|
|
11386
|
-
DatawalletModification = __decorate([
|
|
11330
|
+
exports.DatawalletModification = DatawalletModification = __decorate([
|
|
11387
11331
|
(0, ts_serval_1.type)("DatawalletModification")
|
|
11388
11332
|
], DatawalletModification);
|
|
11389
|
-
exports.DatawalletModification = DatawalletModification;
|
|
11390
11333
|
//# sourceMappingURL=DatawalletModification.js.map
|
|
11391
11334
|
|
|
11392
11335
|
/***/ }),
|
|
@@ -11687,6 +11630,7 @@ class TokenController extends TransportController_1.TransportController {
|
|
|
11687
11630
|
return token;
|
|
11688
11631
|
}
|
|
11689
11632
|
}
|
|
11633
|
+
exports.TokenController = TokenController;
|
|
11690
11634
|
__decorate([
|
|
11691
11635
|
(0, ts_utils_1.log)(),
|
|
11692
11636
|
__metadata("design:type", Function),
|
|
@@ -11705,7 +11649,6 @@ __decorate([
|
|
|
11705
11649
|
__metadata("design:paramtypes", [Object, crypto_1.CryptoSecretKey]),
|
|
11706
11650
|
__metadata("design:returntype", Promise)
|
|
11707
11651
|
], TokenController.prototype, "decryptToken", null);
|
|
11708
|
-
exports.TokenController = TokenController;
|
|
11709
11652
|
//# sourceMappingURL=TokenController.js.map
|
|
11710
11653
|
|
|
11711
11654
|
/***/ }),
|
|
@@ -11808,7 +11751,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
11808
11751
|
exports.CachedToken = void 0;
|
|
11809
11752
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
11810
11753
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
11811
|
-
let CachedToken = class CachedToken extends core_1.CoreSerializable {
|
|
11754
|
+
let CachedToken = exports.CachedToken = class CachedToken extends core_1.CoreSerializable {
|
|
11812
11755
|
static from(value) {
|
|
11813
11756
|
return this.fromAny(value);
|
|
11814
11757
|
}
|
|
@@ -11838,10 +11781,9 @@ __decorate([
|
|
|
11838
11781
|
(0, ts_serval_1.serialize)(),
|
|
11839
11782
|
__metadata("design:type", core_1.CoreId)
|
|
11840
11783
|
], CachedToken.prototype, "createdByDevice", void 0);
|
|
11841
|
-
CachedToken = __decorate([
|
|
11784
|
+
exports.CachedToken = CachedToken = __decorate([
|
|
11842
11785
|
(0, ts_serval_1.type)("CachedToken")
|
|
11843
11786
|
], CachedToken);
|
|
11844
|
-
exports.CachedToken = CachedToken;
|
|
11845
11787
|
//# sourceMappingURL=CachedToken.js.map
|
|
11846
11788
|
|
|
11847
11789
|
/***/ }),
|
|
@@ -11867,7 +11809,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
11867
11809
|
exports.SendTokenParameters = void 0;
|
|
11868
11810
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
11869
11811
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
11870
|
-
let SendTokenParameters = class SendTokenParameters extends core_1.CoreSerializable {
|
|
11812
|
+
let SendTokenParameters = exports.SendTokenParameters = class SendTokenParameters extends core_1.CoreSerializable {
|
|
11871
11813
|
static from(value) {
|
|
11872
11814
|
return this.fromAny(value);
|
|
11873
11815
|
}
|
|
@@ -11887,10 +11829,9 @@ __decorate([
|
|
|
11887
11829
|
(0, ts_serval_1.serialize)(),
|
|
11888
11830
|
__metadata("design:type", Boolean)
|
|
11889
11831
|
], SendTokenParameters.prototype, "ephemeral", void 0);
|
|
11890
|
-
SendTokenParameters = __decorate([
|
|
11832
|
+
exports.SendTokenParameters = SendTokenParameters = __decorate([
|
|
11891
11833
|
(0, ts_serval_1.type)("SendTokenParameters")
|
|
11892
11834
|
], SendTokenParameters);
|
|
11893
|
-
exports.SendTokenParameters = SendTokenParameters;
|
|
11894
11835
|
//# sourceMappingURL=SendTokenParameters.js.map
|
|
11895
11836
|
|
|
11896
11837
|
/***/ }),
|
|
@@ -11920,7 +11861,7 @@ const ts_simple_nameof_1 = __webpack_require__(/*! ts-simple-nameof */ "./node_m
|
|
|
11920
11861
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
11921
11862
|
const TokenReference_1 = __webpack_require__(/*! ../transmission/TokenReference */ "./dist/modules/tokens/transmission/TokenReference.js");
|
|
11922
11863
|
const CachedToken_1 = __webpack_require__(/*! ./CachedToken */ "./dist/modules/tokens/local/CachedToken.js");
|
|
11923
|
-
let Token = class Token extends core_1.CoreSynchronizable {
|
|
11864
|
+
let Token = exports.Token = class Token extends core_1.CoreSynchronizable {
|
|
11924
11865
|
constructor() {
|
|
11925
11866
|
super(...arguments);
|
|
11926
11867
|
this.technicalProperties = [
|
|
@@ -11984,10 +11925,9 @@ __decorate([
|
|
|
11984
11925
|
(0, ts_serval_1.serialize)(),
|
|
11985
11926
|
__metadata("design:type", core_1.CoreDate)
|
|
11986
11927
|
], Token.prototype, "metadataModifiedAt", void 0);
|
|
11987
|
-
Token = __decorate([
|
|
11928
|
+
exports.Token = Token = __decorate([
|
|
11988
11929
|
(0, ts_serval_1.type)("Token")
|
|
11989
11930
|
], Token);
|
|
11990
|
-
exports.Token = Token;
|
|
11991
11931
|
//# sourceMappingURL=Token.js.map
|
|
11992
11932
|
|
|
11993
11933
|
/***/ }),
|
|
@@ -12014,7 +11954,7 @@ exports.TokenContentDeviceSharedSecret = void 0;
|
|
|
12014
11954
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12015
11955
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12016
11956
|
const DeviceSharedSecret_1 = __webpack_require__(/*! ../../devices/transmission/DeviceSharedSecret */ "./dist/modules/devices/transmission/DeviceSharedSecret.js");
|
|
12017
|
-
let TokenContentDeviceSharedSecret = class TokenContentDeviceSharedSecret extends core_1.CoreSerializable {
|
|
11957
|
+
let TokenContentDeviceSharedSecret = exports.TokenContentDeviceSharedSecret = class TokenContentDeviceSharedSecret extends core_1.CoreSerializable {
|
|
12018
11958
|
static from(value) {
|
|
12019
11959
|
return this.fromAny(value);
|
|
12020
11960
|
}
|
|
@@ -12024,10 +11964,9 @@ __decorate([
|
|
|
12024
11964
|
(0, ts_serval_1.serialize)(),
|
|
12025
11965
|
__metadata("design:type", DeviceSharedSecret_1.DeviceSharedSecret)
|
|
12026
11966
|
], TokenContentDeviceSharedSecret.prototype, "sharedSecret", void 0);
|
|
12027
|
-
TokenContentDeviceSharedSecret = __decorate([
|
|
11967
|
+
exports.TokenContentDeviceSharedSecret = TokenContentDeviceSharedSecret = __decorate([
|
|
12028
11968
|
(0, ts_serval_1.type)("TokenContentDeviceSharedSecret")
|
|
12029
11969
|
], TokenContentDeviceSharedSecret);
|
|
12030
|
-
exports.TokenContentDeviceSharedSecret = TokenContentDeviceSharedSecret;
|
|
12031
11970
|
//# sourceMappingURL=TokenContentDeviceSharedSecret.js.map
|
|
12032
11971
|
|
|
12033
11972
|
/***/ }),
|
|
@@ -12054,7 +11993,7 @@ exports.TokenContentFile = void 0;
|
|
|
12054
11993
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12055
11994
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
12056
11995
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12057
|
-
let TokenContentFile = class TokenContentFile extends core_1.CoreSerializable {
|
|
11996
|
+
let TokenContentFile = exports.TokenContentFile = class TokenContentFile extends core_1.CoreSerializable {
|
|
12058
11997
|
static from(value) {
|
|
12059
11998
|
return this.fromAny(value);
|
|
12060
11999
|
}
|
|
@@ -12069,10 +12008,9 @@ __decorate([
|
|
|
12069
12008
|
(0, ts_serval_1.serialize)(),
|
|
12070
12009
|
__metadata("design:type", crypto_1.CryptoSecretKey)
|
|
12071
12010
|
], TokenContentFile.prototype, "secretKey", void 0);
|
|
12072
|
-
TokenContentFile = __decorate([
|
|
12011
|
+
exports.TokenContentFile = TokenContentFile = __decorate([
|
|
12073
12012
|
(0, ts_serval_1.type)("TokenContentFile")
|
|
12074
12013
|
], TokenContentFile);
|
|
12075
|
-
exports.TokenContentFile = TokenContentFile;
|
|
12076
12014
|
//# sourceMappingURL=TokenContentFile.js.map
|
|
12077
12015
|
|
|
12078
12016
|
/***/ }),
|
|
@@ -12099,7 +12037,7 @@ exports.TokenContentRelationshipTemplate = void 0;
|
|
|
12099
12037
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12100
12038
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
12101
12039
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12102
|
-
let TokenContentRelationshipTemplate = class TokenContentRelationshipTemplate extends core_1.CoreSerializable {
|
|
12040
|
+
let TokenContentRelationshipTemplate = exports.TokenContentRelationshipTemplate = class TokenContentRelationshipTemplate extends core_1.CoreSerializable {
|
|
12103
12041
|
static from(value) {
|
|
12104
12042
|
return this.fromAny(value);
|
|
12105
12043
|
}
|
|
@@ -12114,10 +12052,9 @@ __decorate([
|
|
|
12114
12052
|
(0, ts_serval_1.serialize)(),
|
|
12115
12053
|
__metadata("design:type", crypto_1.CryptoSecretKey)
|
|
12116
12054
|
], TokenContentRelationshipTemplate.prototype, "secretKey", void 0);
|
|
12117
|
-
TokenContentRelationshipTemplate = __decorate([
|
|
12055
|
+
exports.TokenContentRelationshipTemplate = TokenContentRelationshipTemplate = __decorate([
|
|
12118
12056
|
(0, ts_serval_1.type)("TokenContentRelationshipTemplate")
|
|
12119
12057
|
], TokenContentRelationshipTemplate);
|
|
12120
|
-
exports.TokenContentRelationshipTemplate = TokenContentRelationshipTemplate;
|
|
12121
12058
|
//# sourceMappingURL=TokenContentRelationshipTemplate.js.map
|
|
12122
12059
|
|
|
12123
12060
|
/***/ }),
|
|
@@ -12140,7 +12077,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
12140
12077
|
exports.TokenReference = void 0;
|
|
12141
12078
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
12142
12079
|
const core_1 = __webpack_require__(/*! ../../../core */ "./dist/core/index.js");
|
|
12143
|
-
let TokenReference = class TokenReference extends core_1.Reference {
|
|
12080
|
+
let TokenReference = exports.TokenReference = class TokenReference extends core_1.Reference {
|
|
12144
12081
|
static preFrom(value) {
|
|
12145
12082
|
super.validateId(value, core_1.BackboneIds.token);
|
|
12146
12083
|
return value;
|
|
@@ -12149,10 +12086,9 @@ let TokenReference = class TokenReference extends core_1.Reference {
|
|
|
12149
12086
|
return super.from(value);
|
|
12150
12087
|
}
|
|
12151
12088
|
};
|
|
12152
|
-
TokenReference = __decorate([
|
|
12089
|
+
exports.TokenReference = TokenReference = __decorate([
|
|
12153
12090
|
(0, ts_serval_1.type)("TokenReference")
|
|
12154
12091
|
], TokenReference);
|
|
12155
|
-
exports.TokenReference = TokenReference;
|
|
12156
12092
|
//# sourceMappingURL=TokenReference.js.map
|
|
12157
12093
|
|
|
12158
12094
|
/***/ }),
|
|
@@ -12375,7 +12311,7 @@ var RandomCharacterRange;
|
|
|
12375
12311
|
RandomCharacterRange["AlphanumericUpperCaseEase"] = "ABCDEFGHJKLMNPQRSTUVWXYZ0123456789";
|
|
12376
12312
|
RandomCharacterRange["GermanUmlaut"] = "\u00C4\u00D6\u00DC\u00E4\u00F6\u00FC";
|
|
12377
12313
|
RandomCharacterRange["SpecialCharacters"] = "!?-_.:,;#+";
|
|
12378
|
-
})(RandomCharacterRange
|
|
12314
|
+
})(RandomCharacterRange || (exports.RandomCharacterRange = RandomCharacterRange = {}));
|
|
12379
12315
|
class Random {
|
|
12380
12316
|
static async bytes(length) {
|
|
12381
12317
|
return await crypto_1.CryptoRandom.bytes(length);
|
|
@@ -15048,18 +14984,23 @@ var ThrowTypeError = $gOPD
|
|
|
15048
14984
|
: throwTypeError;
|
|
15049
14985
|
|
|
15050
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")();
|
|
15051
14988
|
|
|
15052
|
-
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
|
+
);
|
|
15053
14994
|
|
|
15054
14995
|
var needsEval = {};
|
|
15055
14996
|
|
|
15056
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
14997
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
15057
14998
|
|
|
15058
14999
|
var INTRINSICS = {
|
|
15059
15000
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
15060
15001
|
'%Array%': Array,
|
|
15061
15002
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
15062
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
15003
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
15063
15004
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
15064
15005
|
'%AsyncFunction%': needsEval,
|
|
15065
15006
|
'%AsyncGenerator%': needsEval,
|
|
@@ -15067,6 +15008,8 @@ var INTRINSICS = {
|
|
|
15067
15008
|
'%AsyncIteratorPrototype%': needsEval,
|
|
15068
15009
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
15069
15010
|
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
15011
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
15012
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
15070
15013
|
'%Boolean%': Boolean,
|
|
15071
15014
|
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
15072
15015
|
'%Date%': Date,
|
|
@@ -15087,10 +15030,10 @@ var INTRINSICS = {
|
|
|
15087
15030
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
15088
15031
|
'%isFinite%': isFinite,
|
|
15089
15032
|
'%isNaN%': isNaN,
|
|
15090
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
15033
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
15091
15034
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
15092
15035
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
15093
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
15036
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
15094
15037
|
'%Math%': Math,
|
|
15095
15038
|
'%Number%': Number,
|
|
15096
15039
|
'%Object%': Object,
|
|
@@ -15103,10 +15046,10 @@ var INTRINSICS = {
|
|
|
15103
15046
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
15104
15047
|
'%RegExp%': RegExp,
|
|
15105
15048
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
15106
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
15049
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
15107
15050
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
15108
15051
|
'%String%': String,
|
|
15109
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
15052
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
15110
15053
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
15111
15054
|
'%SyntaxError%': $SyntaxError,
|
|
15112
15055
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -15122,6 +15065,16 @@ var INTRINSICS = {
|
|
|
15122
15065
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
15123
15066
|
};
|
|
15124
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
|
+
|
|
15125
15078
|
var doEval = function doEval(name) {
|
|
15126
15079
|
var value;
|
|
15127
15080
|
if (name === '%AsyncFunction%') {
|
|
@@ -15137,7 +15090,7 @@ var doEval = function doEval(name) {
|
|
|
15137
15090
|
}
|
|
15138
15091
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
15139
15092
|
var gen = doEval('%AsyncGenerator%');
|
|
15140
|
-
if (gen) {
|
|
15093
|
+
if (gen && getProto) {
|
|
15141
15094
|
value = getProto(gen.prototype);
|
|
15142
15095
|
}
|
|
15143
15096
|
}
|
|
@@ -15339,6 +15292,28 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
15339
15292
|
};
|
|
15340
15293
|
|
|
15341
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
|
+
|
|
15342
15317
|
/***/ }),
|
|
15343
15318
|
|
|
15344
15319
|
/***/ "./node_modules/has-symbols/index.js":
|
|
@@ -33355,7 +33330,7 @@ function intlConfigString(localeStr, numberingSystem, outputCalendar) {
|
|
|
33355
33330
|
function mapMonths(f) {
|
|
33356
33331
|
const ms = [];
|
|
33357
33332
|
for (let i = 1; i <= 12; i++) {
|
|
33358
|
-
const dt = DateTime.utc(
|
|
33333
|
+
const dt = DateTime.utc(2009, i, 1);
|
|
33359
33334
|
ms.push(f(dt));
|
|
33360
33335
|
}
|
|
33361
33336
|
return ms;
|
|
@@ -33368,8 +33343,8 @@ function mapWeekdays(f) {
|
|
|
33368
33343
|
}
|
|
33369
33344
|
return ms;
|
|
33370
33345
|
}
|
|
33371
|
-
function listStuff(loc, length,
|
|
33372
|
-
const mode = loc.listingMode(
|
|
33346
|
+
function listStuff(loc, length, englishFn, intlFn) {
|
|
33347
|
+
const mode = loc.listingMode();
|
|
33373
33348
|
if (mode === "error") {
|
|
33374
33349
|
return null;
|
|
33375
33350
|
} else if (mode === "en") {
|
|
@@ -33615,8 +33590,8 @@ class Locale {
|
|
|
33615
33590
|
defaultToEN: false
|
|
33616
33591
|
});
|
|
33617
33592
|
}
|
|
33618
|
-
months(length, format = false
|
|
33619
|
-
return listStuff(this, length,
|
|
33593
|
+
months(length, format = false) {
|
|
33594
|
+
return listStuff(this, length, months, () => {
|
|
33620
33595
|
const intl = format ? {
|
|
33621
33596
|
month: length,
|
|
33622
33597
|
day: "numeric"
|
|
@@ -33630,8 +33605,8 @@ class Locale {
|
|
|
33630
33605
|
return this.monthsCache[formatStr][length];
|
|
33631
33606
|
});
|
|
33632
33607
|
}
|
|
33633
|
-
weekdays(length, format = false
|
|
33634
|
-
return listStuff(this, length,
|
|
33608
|
+
weekdays(length, format = false) {
|
|
33609
|
+
return listStuff(this, length, weekdays, () => {
|
|
33635
33610
|
const intl = format ? {
|
|
33636
33611
|
weekday: length,
|
|
33637
33612
|
year: "numeric",
|
|
@@ -33647,8 +33622,8 @@ class Locale {
|
|
|
33647
33622
|
return this.weekdaysCache[formatStr][length];
|
|
33648
33623
|
});
|
|
33649
33624
|
}
|
|
33650
|
-
meridiems(
|
|
33651
|
-
return listStuff(this, undefined,
|
|
33625
|
+
meridiems() {
|
|
33626
|
+
return listStuff(this, undefined, () => meridiems, () => {
|
|
33652
33627
|
// In theory there could be aribitrary day periods. We're gonna assume there are exactly two
|
|
33653
33628
|
// for AM and PM. This is probably wrong, but it's makes parsing way easier.
|
|
33654
33629
|
if (!this.meridiemCache) {
|
|
@@ -33661,8 +33636,8 @@ class Locale {
|
|
|
33661
33636
|
return this.meridiemCache;
|
|
33662
33637
|
});
|
|
33663
33638
|
}
|
|
33664
|
-
eras(length
|
|
33665
|
-
return listStuff(this, length,
|
|
33639
|
+
eras(length) {
|
|
33640
|
+
return listStuff(this, length, eras, () => {
|
|
33666
33641
|
const intl = {
|
|
33667
33642
|
era: length
|
|
33668
33643
|
};
|
|
@@ -33866,7 +33841,7 @@ function normalizeZone(input, defaultZone) {
|
|
|
33866
33841
|
if (lowered === "default") return defaultZone;else if (lowered === "local" || lowered === "system") return SystemZone.instance;else if (lowered === "utc" || lowered === "gmt") return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(lowered) || IANAZone.create(input);
|
|
33867
33842
|
} else if (isNumber(input)) {
|
|
33868
33843
|
return FixedOffsetZone.instance(input);
|
|
33869
|
-
} else if (typeof input === "object" &&
|
|
33844
|
+
} else if (typeof input === "object" && "offset" in input && typeof input.offset === "function") {
|
|
33870
33845
|
// This is dumb, but the instanceof check above doesn't seem to really work
|
|
33871
33846
|
// so we're duck checking it
|
|
33872
33847
|
return input;
|
|
@@ -33983,10 +33958,10 @@ class Settings {
|
|
|
33983
33958
|
/**
|
|
33984
33959
|
* Set the cutoff year after which a string encoding a year as two digits is interpreted to occur in the current century.
|
|
33985
33960
|
* @type {number}
|
|
33986
|
-
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are
|
|
33961
|
+
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are interpreted as current century
|
|
33987
33962
|
* @example Settings.twoDigitCutoffYear = 50 // '49' -> 1949; '50' -> 2050
|
|
33988
|
-
* @example Settings.twoDigitCutoffYear = 1950 //
|
|
33989
|
-
* @example Settings.twoDigitCutoffYear = 2050 // ALSO
|
|
33963
|
+
* @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
|
|
33964
|
+
* @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
|
|
33990
33965
|
*/
|
|
33991
33966
|
static set twoDigitCutoffYear(cutoffYear) {
|
|
33992
33967
|
twoDigitCutoffYear = cutoffYear % 100;
|
|
@@ -34153,7 +34128,7 @@ function daysInMonth(year, month) {
|
|
|
34153
34128
|
}
|
|
34154
34129
|
}
|
|
34155
34130
|
|
|
34156
|
-
//
|
|
34131
|
+
// convert a calendar object to a local timestamp (epoch, but with the offset baked in)
|
|
34157
34132
|
function objToLocalTS(obj) {
|
|
34158
34133
|
let d = Date.UTC(obj.year, obj.month - 1, obj.day, obj.hour, obj.minute, obj.second, obj.millisecond);
|
|
34159
34134
|
|
|
@@ -34455,33 +34430,24 @@ class Formatter {
|
|
|
34455
34430
|
});
|
|
34456
34431
|
return df.format();
|
|
34457
34432
|
}
|
|
34458
|
-
|
|
34459
|
-
|
|
34433
|
+
dtFormatter(dt, opts = {}) {
|
|
34434
|
+
return this.loc.dtFormatter(dt, {
|
|
34460
34435
|
...this.opts,
|
|
34461
34436
|
...opts
|
|
34462
34437
|
});
|
|
34463
|
-
return df.format();
|
|
34464
34438
|
}
|
|
34465
|
-
|
|
34466
|
-
|
|
34467
|
-
...this.opts,
|
|
34468
|
-
...opts
|
|
34469
|
-
});
|
|
34470
|
-
return df.formatToParts();
|
|
34439
|
+
formatDateTime(dt, opts) {
|
|
34440
|
+
return this.dtFormatter(dt, opts).format();
|
|
34471
34441
|
}
|
|
34472
|
-
|
|
34473
|
-
|
|
34474
|
-
|
|
34475
|
-
|
|
34476
|
-
|
|
34442
|
+
formatDateTimeParts(dt, opts) {
|
|
34443
|
+
return this.dtFormatter(dt, opts).formatToParts();
|
|
34444
|
+
}
|
|
34445
|
+
formatInterval(interval, opts) {
|
|
34446
|
+
const df = this.dtFormatter(interval.start, opts);
|
|
34477
34447
|
return df.dtf.formatRange(interval.start.toJSDate(), interval.end.toJSDate());
|
|
34478
34448
|
}
|
|
34479
|
-
resolvedOptions(dt, opts
|
|
34480
|
-
|
|
34481
|
-
...this.opts,
|
|
34482
|
-
...opts
|
|
34483
|
-
});
|
|
34484
|
-
return df.resolvedOptions();
|
|
34449
|
+
resolvedOptions(dt, opts) {
|
|
34450
|
+
return this.dtFormatter(dt, opts).resolvedOptions();
|
|
34485
34451
|
}
|
|
34486
34452
|
num(n, p = 0) {
|
|
34487
34453
|
// we get some perf out of doing this here, annoyingly
|
|
@@ -34535,7 +34501,7 @@ class Formatter {
|
|
|
34535
34501
|
era: length
|
|
34536
34502
|
}, "era"),
|
|
34537
34503
|
tokenToString = token => {
|
|
34538
|
-
// Where possible:
|
|
34504
|
+
// Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
|
|
34539
34505
|
switch (token) {
|
|
34540
34506
|
// ms
|
|
34541
34507
|
case "S":
|
|
@@ -35124,19 +35090,19 @@ function clone$1(dur, alts, clear = false) {
|
|
|
35124
35090
|
};
|
|
35125
35091
|
return new Duration(conf);
|
|
35126
35092
|
}
|
|
35127
|
-
|
|
35128
|
-
|
|
35093
|
+
|
|
35094
|
+
// this is needed since in some test cases it would return 0.9999999999999999 instead of 1
|
|
35095
|
+
function removePrecisionIssue(a) {
|
|
35096
|
+
return Math.trunc(a * 1e3) / 1e3;
|
|
35129
35097
|
}
|
|
35130
35098
|
|
|
35131
35099
|
// NB: mutates parameters
|
|
35132
35100
|
function convert(matrix, fromMap, fromUnit, toMap, toUnit) {
|
|
35133
35101
|
const conv = matrix[toUnit][fromUnit],
|
|
35134
35102
|
raw = fromMap[fromUnit] / conv,
|
|
35135
|
-
|
|
35136
|
-
|
|
35137
|
-
|
|
35138
|
-
toMap[toUnit] += added;
|
|
35139
|
-
fromMap[fromUnit] -= added * conv;
|
|
35103
|
+
added = Math.floor(raw);
|
|
35104
|
+
toMap[toUnit] = removePrecisionIssue(toMap[toUnit] + added);
|
|
35105
|
+
fromMap[fromUnit] = removePrecisionIssue(fromMap[fromUnit] - added * conv);
|
|
35140
35106
|
}
|
|
35141
35107
|
|
|
35142
35108
|
// NB: mutates parameters
|
|
@@ -35535,21 +35501,13 @@ class Duration {
|
|
|
35535
35501
|
suppressSeconds: false,
|
|
35536
35502
|
includePrefix: false,
|
|
35537
35503
|
format: "extended",
|
|
35538
|
-
...opts
|
|
35504
|
+
...opts,
|
|
35505
|
+
includeOffset: false
|
|
35539
35506
|
};
|
|
35540
|
-
const
|
|
35541
|
-
|
|
35542
|
-
|
|
35543
|
-
|
|
35544
|
-
if (!opts.suppressMilliseconds || value.milliseconds !== 0) {
|
|
35545
|
-
fmt += ".SSS";
|
|
35546
|
-
}
|
|
35547
|
-
}
|
|
35548
|
-
let str = value.toFormat(fmt);
|
|
35549
|
-
if (opts.includePrefix) {
|
|
35550
|
-
str = "T" + str;
|
|
35551
|
-
}
|
|
35552
|
-
return str;
|
|
35507
|
+
const dateTime = DateTime.fromMillis(millis, {
|
|
35508
|
+
zone: "UTC"
|
|
35509
|
+
});
|
|
35510
|
+
return dateTime.toISOTime(opts);
|
|
35553
35511
|
}
|
|
35554
35512
|
|
|
35555
35513
|
/**
|
|
@@ -35573,7 +35531,15 @@ class Duration {
|
|
|
35573
35531
|
* @return {number}
|
|
35574
35532
|
*/
|
|
35575
35533
|
toMillis() {
|
|
35576
|
-
|
|
35534
|
+
var _this$values$millisec;
|
|
35535
|
+
let sum = (_this$values$millisec = this.values.milliseconds) != null ? _this$values$millisec : 0;
|
|
35536
|
+
for (let unit of reverseUnits.slice(1)) {
|
|
35537
|
+
var _this$values;
|
|
35538
|
+
if ((_this$values = this.values) != null && _this$values[unit]) {
|
|
35539
|
+
sum += this.values[unit] * this.matrix[unit]["milliseconds"];
|
|
35540
|
+
}
|
|
35541
|
+
}
|
|
35542
|
+
return sum;
|
|
35577
35543
|
}
|
|
35578
35544
|
|
|
35579
35545
|
/**
|
|
@@ -35706,10 +35672,13 @@ class Duration {
|
|
|
35706
35672
|
normalize() {
|
|
35707
35673
|
if (!this.isValid) return this;
|
|
35708
35674
|
const vals = this.toObject();
|
|
35709
|
-
|
|
35710
|
-
|
|
35711
|
-
|
|
35712
|
-
|
|
35675
|
+
if (this.valueOf() >= 0) {
|
|
35676
|
+
normalizeValues(this.matrix, vals);
|
|
35677
|
+
return clone$1(this, {
|
|
35678
|
+
values: vals
|
|
35679
|
+
}, true);
|
|
35680
|
+
}
|
|
35681
|
+
return this.negate().normalize().negate();
|
|
35713
35682
|
}
|
|
35714
35683
|
|
|
35715
35684
|
/**
|
|
@@ -36738,14 +36707,35 @@ function highOrderDiffs(cursor, later, units) {
|
|
|
36738
36707
|
const results = {};
|
|
36739
36708
|
const earlier = cursor;
|
|
36740
36709
|
let lowestOrder, highWater;
|
|
36710
|
+
|
|
36711
|
+
/* This loop tries to diff using larger units first.
|
|
36712
|
+
If we overshoot, we backtrack and try the next smaller unit.
|
|
36713
|
+
"cursor" starts out at the earlier timestamp and moves closer and closer to "later"
|
|
36714
|
+
as we use smaller and smaller units.
|
|
36715
|
+
highWater keeps track of where we would be if we added one more of the smallest unit,
|
|
36716
|
+
this is used later to potentially convert any difference smaller than the smallest higher order unit
|
|
36717
|
+
into a fraction of that smallest higher order unit
|
|
36718
|
+
*/
|
|
36741
36719
|
for (const [unit, differ] of differs) {
|
|
36742
36720
|
if (units.indexOf(unit) >= 0) {
|
|
36743
36721
|
lowestOrder = unit;
|
|
36744
36722
|
results[unit] = differ(cursor, later);
|
|
36745
36723
|
highWater = earlier.plus(results);
|
|
36746
36724
|
if (highWater > later) {
|
|
36725
|
+
// we overshot the end point, backtrack cursor by 1
|
|
36747
36726
|
results[unit]--;
|
|
36748
36727
|
cursor = earlier.plus(results);
|
|
36728
|
+
|
|
36729
|
+
// if we are still overshooting now, we need to backtrack again
|
|
36730
|
+
// this happens in certain situations when diffing times in different zones,
|
|
36731
|
+
// because this calculation ignores time zones
|
|
36732
|
+
if (cursor > later) {
|
|
36733
|
+
// keep the "overshot by 1" around as highWater
|
|
36734
|
+
highWater = cursor;
|
|
36735
|
+
// backtrack cursor by 1
|
|
36736
|
+
results[unit]--;
|
|
36737
|
+
cursor = earlier.plus(results);
|
|
36738
|
+
}
|
|
36749
36739
|
} else {
|
|
36750
36740
|
cursor = highWater;
|
|
36751
36741
|
}
|
|
@@ -36894,6 +36884,11 @@ function simple(regex) {
|
|
|
36894
36884
|
function escapeToken(value) {
|
|
36895
36885
|
return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
36896
36886
|
}
|
|
36887
|
+
|
|
36888
|
+
/**
|
|
36889
|
+
* @param token
|
|
36890
|
+
* @param {Locale} loc
|
|
36891
|
+
*/
|
|
36897
36892
|
function unitForToken(token, loc) {
|
|
36898
36893
|
const one = digitRegex(loc),
|
|
36899
36894
|
two = digitRegex(loc, "{2}"),
|
|
@@ -36918,9 +36913,9 @@ function unitForToken(token, loc) {
|
|
|
36918
36913
|
switch (t.val) {
|
|
36919
36914
|
// era
|
|
36920
36915
|
case "G":
|
|
36921
|
-
return oneOf(loc.eras("short"
|
|
36916
|
+
return oneOf(loc.eras("short"), 0);
|
|
36922
36917
|
case "GG":
|
|
36923
|
-
return oneOf(loc.eras("long"
|
|
36918
|
+
return oneOf(loc.eras("long"), 0);
|
|
36924
36919
|
// years
|
|
36925
36920
|
case "y":
|
|
36926
36921
|
return intUnit(oneToSix);
|
|
@@ -36938,17 +36933,17 @@ function unitForToken(token, loc) {
|
|
|
36938
36933
|
case "MM":
|
|
36939
36934
|
return intUnit(two);
|
|
36940
36935
|
case "MMM":
|
|
36941
|
-
return oneOf(loc.months("short", true
|
|
36936
|
+
return oneOf(loc.months("short", true), 1);
|
|
36942
36937
|
case "MMMM":
|
|
36943
|
-
return oneOf(loc.months("long", true
|
|
36938
|
+
return oneOf(loc.months("long", true), 1);
|
|
36944
36939
|
case "L":
|
|
36945
36940
|
return intUnit(oneOrTwo);
|
|
36946
36941
|
case "LL":
|
|
36947
36942
|
return intUnit(two);
|
|
36948
36943
|
case "LLL":
|
|
36949
|
-
return oneOf(loc.months("short", false
|
|
36944
|
+
return oneOf(loc.months("short", false), 1);
|
|
36950
36945
|
case "LLLL":
|
|
36951
|
-
return oneOf(loc.months("long", false
|
|
36946
|
+
return oneOf(loc.months("long", false), 1);
|
|
36952
36947
|
// dates
|
|
36953
36948
|
case "d":
|
|
36954
36949
|
return intUnit(oneOrTwo);
|
|
@@ -37008,13 +37003,13 @@ function unitForToken(token, loc) {
|
|
|
37008
37003
|
case "c":
|
|
37009
37004
|
return intUnit(one);
|
|
37010
37005
|
case "EEE":
|
|
37011
|
-
return oneOf(loc.weekdays("short", false
|
|
37006
|
+
return oneOf(loc.weekdays("short", false), 1);
|
|
37012
37007
|
case "EEEE":
|
|
37013
|
-
return oneOf(loc.weekdays("long", false
|
|
37008
|
+
return oneOf(loc.weekdays("long", false), 1);
|
|
37014
37009
|
case "ccc":
|
|
37015
|
-
return oneOf(loc.weekdays("short", true
|
|
37010
|
+
return oneOf(loc.weekdays("short", true), 1);
|
|
37016
37011
|
case "cccc":
|
|
37017
|
-
return oneOf(loc.weekdays("long", true
|
|
37012
|
+
return oneOf(loc.weekdays("long", true), 1);
|
|
37018
37013
|
// offset/zone
|
|
37019
37014
|
case "Z":
|
|
37020
37015
|
case "ZZ":
|
|
@@ -37060,10 +37055,14 @@ const partTypeStyleToTokenVal = {
|
|
|
37060
37055
|
},
|
|
37061
37056
|
dayperiod: "a",
|
|
37062
37057
|
dayPeriod: "a",
|
|
37063
|
-
|
|
37058
|
+
hour12: {
|
|
37064
37059
|
numeric: "h",
|
|
37065
37060
|
"2-digit": "hh"
|
|
37066
37061
|
},
|
|
37062
|
+
hour24: {
|
|
37063
|
+
numeric: "H",
|
|
37064
|
+
"2-digit": "HH"
|
|
37065
|
+
},
|
|
37067
37066
|
minute: {
|
|
37068
37067
|
numeric: "m",
|
|
37069
37068
|
"2-digit": "mm"
|
|
@@ -37077,7 +37076,7 @@ const partTypeStyleToTokenVal = {
|
|
|
37077
37076
|
short: "ZZZ"
|
|
37078
37077
|
}
|
|
37079
37078
|
};
|
|
37080
|
-
function tokenForPart(part, formatOpts) {
|
|
37079
|
+
function tokenForPart(part, formatOpts, resolvedOpts) {
|
|
37081
37080
|
const {
|
|
37082
37081
|
type,
|
|
37083
37082
|
value
|
|
@@ -37090,7 +37089,27 @@ function tokenForPart(part, formatOpts) {
|
|
|
37090
37089
|
};
|
|
37091
37090
|
}
|
|
37092
37091
|
const style = formatOpts[type];
|
|
37093
|
-
|
|
37092
|
+
|
|
37093
|
+
// The user might have explicitly specified hour12 or hourCycle
|
|
37094
|
+
// if so, respect their decision
|
|
37095
|
+
// if not, refer back to the resolvedOpts, which are based on the locale
|
|
37096
|
+
let actualType = type;
|
|
37097
|
+
if (type === "hour") {
|
|
37098
|
+
if (formatOpts.hour12 != null) {
|
|
37099
|
+
actualType = formatOpts.hour12 ? "hour12" : "hour24";
|
|
37100
|
+
} else if (formatOpts.hourCycle != null) {
|
|
37101
|
+
if (formatOpts.hourCycle === "h11" || formatOpts.hourCycle === "h12") {
|
|
37102
|
+
actualType = "hour12";
|
|
37103
|
+
} else {
|
|
37104
|
+
actualType = "hour24";
|
|
37105
|
+
}
|
|
37106
|
+
} else {
|
|
37107
|
+
// tokens only differentiate between 24 hours or not,
|
|
37108
|
+
// so we do not need to check hourCycle here, which is less supported anyways
|
|
37109
|
+
actualType = resolvedOpts.hour12 ? "hour12" : "hour24";
|
|
37110
|
+
}
|
|
37111
|
+
}
|
|
37112
|
+
let val = partTypeStyleToTokenVal[actualType];
|
|
37094
37113
|
if (typeof val === "object") {
|
|
37095
37114
|
val = val[style];
|
|
37096
37115
|
}
|
|
@@ -37266,8 +37285,10 @@ function formatOptsToTokens(formatOpts, locale) {
|
|
|
37266
37285
|
return null;
|
|
37267
37286
|
}
|
|
37268
37287
|
const formatter = Formatter.create(locale, formatOpts);
|
|
37269
|
-
const
|
|
37270
|
-
|
|
37288
|
+
const df = formatter.dtFormatter(getDummyDateTime());
|
|
37289
|
+
const parts = df.formatToParts();
|
|
37290
|
+
const resolvedOpts = df.resolvedOptions();
|
|
37291
|
+
return parts.map(p => tokenForPart(p, formatOpts, resolvedOpts));
|
|
37271
37292
|
}
|
|
37272
37293
|
|
|
37273
37294
|
const nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
|
|
@@ -37603,13 +37624,13 @@ function toISOTime(o, extended, suppressSeconds, suppressMilliseconds, includeOf
|
|
|
37603
37624
|
if (extended) {
|
|
37604
37625
|
c += ":";
|
|
37605
37626
|
c += padStart(o.c.minute);
|
|
37606
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
37627
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
37607
37628
|
c += ":";
|
|
37608
37629
|
}
|
|
37609
37630
|
} else {
|
|
37610
37631
|
c += padStart(o.c.minute);
|
|
37611
37632
|
}
|
|
37612
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
37633
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
37613
37634
|
c += padStart(o.c.second);
|
|
37614
37635
|
if (o.c.millisecond !== 0 || !suppressMilliseconds) {
|
|
37615
37636
|
c += ".";
|
|
@@ -38243,7 +38264,7 @@ class DateTime {
|
|
|
38243
38264
|
|
|
38244
38265
|
/**
|
|
38245
38266
|
* Create an invalid DateTime.
|
|
38246
|
-
* @param {
|
|
38267
|
+
* @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
|
|
38247
38268
|
* @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
|
|
38248
38269
|
* @return {DateTime}
|
|
38249
38270
|
*/
|
|
@@ -38602,6 +38623,41 @@ class DateTime {
|
|
|
38602
38623
|
}
|
|
38603
38624
|
}
|
|
38604
38625
|
|
|
38626
|
+
/**
|
|
38627
|
+
* Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
|
|
38628
|
+
* in this DateTime's zone. During DST changes local time can be ambiguous, for example
|
|
38629
|
+
* `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
|
|
38630
|
+
* This method will return both possible DateTimes if this DateTime's local time is ambiguous.
|
|
38631
|
+
* @returns {DateTime[]}
|
|
38632
|
+
*/
|
|
38633
|
+
getPossibleOffsets() {
|
|
38634
|
+
if (!this.isValid || this.isOffsetFixed) {
|
|
38635
|
+
return [this];
|
|
38636
|
+
}
|
|
38637
|
+
const dayMs = 86400000;
|
|
38638
|
+
const minuteMs = 60000;
|
|
38639
|
+
const localTS = objToLocalTS(this.c);
|
|
38640
|
+
const oEarlier = this.zone.offset(localTS - dayMs);
|
|
38641
|
+
const oLater = this.zone.offset(localTS + dayMs);
|
|
38642
|
+
const o1 = this.zone.offset(localTS - oEarlier * minuteMs);
|
|
38643
|
+
const o2 = this.zone.offset(localTS - oLater * minuteMs);
|
|
38644
|
+
if (o1 === o2) {
|
|
38645
|
+
return [this];
|
|
38646
|
+
}
|
|
38647
|
+
const ts1 = localTS - o1 * minuteMs;
|
|
38648
|
+
const ts2 = localTS - o2 * minuteMs;
|
|
38649
|
+
const c1 = tsToObj(ts1, o1);
|
|
38650
|
+
const c2 = tsToObj(ts2, o2);
|
|
38651
|
+
if (c1.hour === c2.hour && c1.minute === c2.minute && c1.second === c2.second && c1.millisecond === c2.millisecond) {
|
|
38652
|
+
return [clone(this, {
|
|
38653
|
+
ts: ts1
|
|
38654
|
+
}), clone(this, {
|
|
38655
|
+
ts: ts2
|
|
38656
|
+
})];
|
|
38657
|
+
}
|
|
38658
|
+
return [this];
|
|
38659
|
+
}
|
|
38660
|
+
|
|
38605
38661
|
/**
|
|
38606
38662
|
* Returns true if this DateTime is in a leap year, false otherwise
|
|
38607
38663
|
* @example DateTime.local(2016).isInLeapYear //=> true
|
|
@@ -39608,7 +39664,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
39608
39664
|
}
|
|
39609
39665
|
}
|
|
39610
39666
|
|
|
39611
|
-
const VERSION = "3.
|
|
39667
|
+
const VERSION = "3.4.0";
|
|
39612
39668
|
|
|
39613
39669
|
exports.DateTime = DateTime;
|
|
39614
39670
|
exports.Duration = Duration;
|
|
@@ -40262,7 +40318,8 @@ var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')
|
|
|
40262
40318
|
var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
|
|
40263
40319
|
|
|
40264
40320
|
var parseValues = function parseQueryStringValues(str, options) {
|
|
40265
|
-
var obj = {};
|
|
40321
|
+
var obj = { __proto__: null };
|
|
40322
|
+
|
|
40266
40323
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
40267
40324
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
40268
40325
|
var parts = cleanStr.split(options.delimiter, limit);
|
|
@@ -42426,8 +42483,8 @@ exports.nameof = nameof;
|
|
|
42426
42483
|
"use strict";
|
|
42427
42484
|
__webpack_require__.r(__webpack_exports__);
|
|
42428
42485
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
42429
|
-
/* harmony export */
|
|
42430
|
-
/* harmony export */
|
|
42486
|
+
/* harmony export */ LOG4TS_LOG_CONTROL: () => (/* binding */ LOG4TS_LOG_CONTROL),
|
|
42487
|
+
/* harmony export */ Log4TSProvider: () => (/* binding */ Log4TSProvider)
|
|
42431
42488
|
/* harmony export */ });
|
|
42432
42489
|
/**
|
|
42433
42490
|
* Extends Map and adds a few convenient functions.
|
|
@@ -43452,14 +43509,14 @@ var Log4TSProvider;
|
|
|
43452
43509
|
"use strict";
|
|
43453
43510
|
__webpack_require__.r(__webpack_exports__);
|
|
43454
43511
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43455
|
-
/* harmony export */
|
|
43456
|
-
/* harmony export */
|
|
43457
|
-
/* harmony export */
|
|
43458
|
-
/* harmony export */
|
|
43459
|
-
/* harmony export */
|
|
43460
|
-
/* harmony export */
|
|
43461
|
-
/* harmony export */
|
|
43462
|
-
/* harmony export */
|
|
43512
|
+
/* harmony export */ $internal: () => (/* binding */ InternalLogger),
|
|
43513
|
+
/* harmony export */ $test: () => (/* binding */ TestClasses),
|
|
43514
|
+
/* harmony export */ DefaultChannels: () => (/* binding */ DefaultChannels),
|
|
43515
|
+
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
43516
|
+
/* harmony export */ createLogProvider: () => (/* binding */ createLogProvider),
|
|
43517
|
+
/* harmony export */ formatArgument: () => (/* binding */ formatArgument),
|
|
43518
|
+
/* harmony export */ formatDate: () => (/* binding */ formatDate),
|
|
43519
|
+
/* harmony export */ util: () => (/* binding */ index)
|
|
43463
43520
|
/* harmony export */ });
|
|
43464
43521
|
/**
|
|
43465
43522
|
* Extends Map and adds a few convenient functions.
|
|
@@ -45182,7 +45239,7 @@ module.exports = TSServal;
|
|
|
45182
45239
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
45183
45240
|
|
|
45184
45241
|
"use strict";
|
|
45185
|
-
// Axios v1.
|
|
45242
|
+
// Axios v1.4.0 Copyright (c) 2023 Matt Zabriskie and contributors
|
|
45186
45243
|
|
|
45187
45244
|
|
|
45188
45245
|
function bind(fn, thisArg) {
|
|
@@ -45377,12 +45434,16 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
45377
45434
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
45378
45435
|
*/
|
|
45379
45436
|
const isFormData = (thing) => {
|
|
45380
|
-
|
|
45437
|
+
let kind;
|
|
45381
45438
|
return thing && (
|
|
45382
|
-
(typeof FormData === 'function' && thing instanceof FormData) ||
|
|
45383
|
-
|
|
45384
|
-
|
|
45385
|
-
|
|
45439
|
+
(typeof FormData === 'function' && thing instanceof FormData) || (
|
|
45440
|
+
isFunction(thing.append) && (
|
|
45441
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
45442
|
+
// detect form-data instance
|
|
45443
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
45444
|
+
)
|
|
45445
|
+
)
|
|
45446
|
+
)
|
|
45386
45447
|
};
|
|
45387
45448
|
|
|
45388
45449
|
/**
|
|
@@ -45847,6 +45908,11 @@ const toJSONObject = (obj) => {
|
|
|
45847
45908
|
return visit(obj, 0);
|
|
45848
45909
|
};
|
|
45849
45910
|
|
|
45911
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
45912
|
+
|
|
45913
|
+
const isThenable = (thing) =>
|
|
45914
|
+
thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
45915
|
+
|
|
45850
45916
|
var utils = {
|
|
45851
45917
|
isArray,
|
|
45852
45918
|
isArrayBuffer,
|
|
@@ -45896,7 +45962,9 @@ var utils = {
|
|
|
45896
45962
|
ALPHABET,
|
|
45897
45963
|
generateString,
|
|
45898
45964
|
isSpecCompliantForm,
|
|
45899
|
-
toJSONObject
|
|
45965
|
+
toJSONObject,
|
|
45966
|
+
isAsyncFn,
|
|
45967
|
+
isThenable
|
|
45900
45968
|
};
|
|
45901
45969
|
|
|
45902
45970
|
/**
|
|
@@ -46796,9 +46864,7 @@ function parseTokens(str) {
|
|
|
46796
46864
|
return tokens;
|
|
46797
46865
|
}
|
|
46798
46866
|
|
|
46799
|
-
|
|
46800
|
-
return /^[-_a-zA-Z]+$/.test(str.trim());
|
|
46801
|
-
}
|
|
46867
|
+
const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
|
|
46802
46868
|
|
|
46803
46869
|
function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
46804
46870
|
if (utils.isFunction(filter)) {
|
|
@@ -47386,8 +47452,12 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
47386
47452
|
}
|
|
47387
47453
|
}
|
|
47388
47454
|
|
|
47389
|
-
if (utils.isFormData(requestData)
|
|
47390
|
-
|
|
47455
|
+
if (utils.isFormData(requestData)) {
|
|
47456
|
+
if (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv) {
|
|
47457
|
+
requestHeaders.setContentType(false); // Let the browser set it
|
|
47458
|
+
} else {
|
|
47459
|
+
requestHeaders.setContentType('multipart/form-data;', false); // mobile/desktop app frameworks
|
|
47460
|
+
}
|
|
47391
47461
|
}
|
|
47392
47462
|
|
|
47393
47463
|
let request = new XMLHttpRequest();
|
|
@@ -47793,7 +47863,7 @@ function mergeConfig(config1, config2) {
|
|
|
47793
47863
|
headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
|
|
47794
47864
|
};
|
|
47795
47865
|
|
|
47796
|
-
utils.forEach(Object.keys(
|
|
47866
|
+
utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
|
|
47797
47867
|
const merge = mergeMap[prop] || mergeDeepProperties;
|
|
47798
47868
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
47799
47869
|
(utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
@@ -47802,7 +47872,7 @@ function mergeConfig(config1, config2) {
|
|
|
47802
47872
|
return config;
|
|
47803
47873
|
}
|
|
47804
47874
|
|
|
47805
|
-
const VERSION = "1.
|
|
47875
|
+
const VERSION = "1.4.0";
|
|
47806
47876
|
|
|
47807
47877
|
const validators$1 = {};
|
|
47808
47878
|
|
|
@@ -47939,11 +48009,17 @@ class Axios {
|
|
|
47939
48009
|
}, false);
|
|
47940
48010
|
}
|
|
47941
48011
|
|
|
47942
|
-
if (paramsSerializer
|
|
47943
|
-
|
|
47944
|
-
|
|
47945
|
-
|
|
47946
|
-
|
|
48012
|
+
if (paramsSerializer != null) {
|
|
48013
|
+
if (utils.isFunction(paramsSerializer)) {
|
|
48014
|
+
config.paramsSerializer = {
|
|
48015
|
+
serialize: paramsSerializer
|
|
48016
|
+
};
|
|
48017
|
+
} else {
|
|
48018
|
+
validator.assertOptions(paramsSerializer, {
|
|
48019
|
+
encode: validators.function,
|
|
48020
|
+
serialize: validators.function
|
|
48021
|
+
}, true);
|
|
48022
|
+
}
|
|
47947
48023
|
}
|
|
47948
48024
|
|
|
47949
48025
|
// Set config.method
|
|
@@ -48386,22 +48462,22 @@ module.exports = axios;
|
|
|
48386
48462
|
"use strict";
|
|
48387
48463
|
__webpack_require__.r(__webpack_exports__);
|
|
48388
48464
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48389
|
-
/* harmony export */
|
|
48390
|
-
/* harmony export */
|
|
48391
|
-
/* harmony export */
|
|
48392
|
-
/* harmony export */
|
|
48393
|
-
/* harmony export */
|
|
48394
|
-
/* harmony export */
|
|
48395
|
-
/* harmony export */
|
|
48465
|
+
/* harmony export */ JsonPatchError: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__.PatchError),
|
|
48466
|
+
/* harmony export */ _areEquals: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__._areEquals),
|
|
48467
|
+
/* harmony export */ applyOperation: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.applyOperation),
|
|
48468
|
+
/* harmony export */ applyPatch: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.applyPatch),
|
|
48469
|
+
/* harmony export */ applyReducer: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.applyReducer),
|
|
48470
|
+
/* harmony export */ compare: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.compare),
|
|
48471
|
+
/* harmony export */ deepClone: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__._deepClone),
|
|
48396
48472
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
48397
|
-
/* harmony export */
|
|
48398
|
-
/* harmony export */
|
|
48399
|
-
/* harmony export */
|
|
48400
|
-
/* harmony export */
|
|
48401
|
-
/* harmony export */
|
|
48402
|
-
/* harmony export */
|
|
48403
|
-
/* harmony export */
|
|
48404
|
-
/* harmony export */
|
|
48473
|
+
/* harmony export */ escapePathComponent: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__.escapePathComponent),
|
|
48474
|
+
/* harmony export */ generate: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.generate),
|
|
48475
|
+
/* harmony export */ getValueByPointer: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.getValueByPointer),
|
|
48476
|
+
/* harmony export */ observe: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.observe),
|
|
48477
|
+
/* harmony export */ unescapePathComponent: () => (/* reexport safe */ _module_helpers_mjs__WEBPACK_IMPORTED_MODULE_2__.unescapePathComponent),
|
|
48478
|
+
/* harmony export */ unobserve: () => (/* reexport safe */ _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__.unobserve),
|
|
48479
|
+
/* harmony export */ validate: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.validate),
|
|
48480
|
+
/* harmony export */ validator: () => (/* reexport safe */ _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__.validator)
|
|
48405
48481
|
/* harmony export */ });
|
|
48406
48482
|
/* harmony import */ var _module_core_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./module/core.mjs */ "./node_modules/fast-json-patch/module/core.mjs");
|
|
48407
48483
|
/* harmony import */ var _module_duplex_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./module/duplex.mjs */ "./node_modules/fast-json-patch/module/duplex.mjs");
|
|
@@ -48437,15 +48513,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
48437
48513
|
"use strict";
|
|
48438
48514
|
__webpack_require__.r(__webpack_exports__);
|
|
48439
48515
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48440
|
-
/* harmony export */
|
|
48441
|
-
/* harmony export */
|
|
48442
|
-
/* harmony export */
|
|
48443
|
-
/* harmony export */
|
|
48444
|
-
/* harmony export */
|
|
48445
|
-
/* harmony export */
|
|
48446
|
-
/* harmony export */
|
|
48447
|
-
/* harmony export */
|
|
48448
|
-
/* harmony export */
|
|
48516
|
+
/* harmony export */ JsonPatchError: () => (/* binding */ JsonPatchError),
|
|
48517
|
+
/* harmony export */ _areEquals: () => (/* binding */ _areEquals),
|
|
48518
|
+
/* harmony export */ applyOperation: () => (/* binding */ applyOperation),
|
|
48519
|
+
/* harmony export */ applyPatch: () => (/* binding */ applyPatch),
|
|
48520
|
+
/* harmony export */ applyReducer: () => (/* binding */ applyReducer),
|
|
48521
|
+
/* harmony export */ deepClone: () => (/* binding */ deepClone),
|
|
48522
|
+
/* harmony export */ getValueByPointer: () => (/* binding */ getValueByPointer),
|
|
48523
|
+
/* harmony export */ validate: () => (/* binding */ validate),
|
|
48524
|
+
/* harmony export */ validator: () => (/* binding */ validator)
|
|
48449
48525
|
/* harmony export */ });
|
|
48450
48526
|
/* harmony import */ var _helpers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers.mjs */ "./node_modules/fast-json-patch/module/helpers.mjs");
|
|
48451
48527
|
|
|
@@ -48894,10 +48970,10 @@ function _areEquals(a, b) {
|
|
|
48894
48970
|
"use strict";
|
|
48895
48971
|
__webpack_require__.r(__webpack_exports__);
|
|
48896
48972
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48897
|
-
/* harmony export */
|
|
48898
|
-
/* harmony export */
|
|
48899
|
-
/* harmony export */
|
|
48900
|
-
/* harmony export */
|
|
48973
|
+
/* harmony export */ compare: () => (/* binding */ compare),
|
|
48974
|
+
/* harmony export */ generate: () => (/* binding */ generate),
|
|
48975
|
+
/* harmony export */ observe: () => (/* binding */ observe),
|
|
48976
|
+
/* harmony export */ unobserve: () => (/* binding */ unobserve)
|
|
48901
48977
|
/* harmony export */ });
|
|
48902
48978
|
/* harmony import */ var _helpers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers.mjs */ "./node_modules/fast-json-patch/module/helpers.mjs");
|
|
48903
48979
|
/* harmony import */ var _core_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core.mjs */ "./node_modules/fast-json-patch/module/core.mjs");
|
|
@@ -49090,16 +49166,16 @@ function compare(tree1, tree2, invertible) {
|
|
|
49090
49166
|
"use strict";
|
|
49091
49167
|
__webpack_require__.r(__webpack_exports__);
|
|
49092
49168
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
49093
|
-
/* harmony export */
|
|
49094
|
-
/* harmony export */
|
|
49095
|
-
/* harmony export */
|
|
49096
|
-
/* harmony export */
|
|
49097
|
-
/* harmony export */
|
|
49098
|
-
/* harmony export */
|
|
49099
|
-
/* harmony export */
|
|
49100
|
-
/* harmony export */
|
|
49101
|
-
/* harmony export */
|
|
49102
|
-
/* harmony export */
|
|
49169
|
+
/* harmony export */ PatchError: () => (/* binding */ PatchError),
|
|
49170
|
+
/* harmony export */ _deepClone: () => (/* binding */ _deepClone),
|
|
49171
|
+
/* harmony export */ _getPathRecursive: () => (/* binding */ _getPathRecursive),
|
|
49172
|
+
/* harmony export */ _objectKeys: () => (/* binding */ _objectKeys),
|
|
49173
|
+
/* harmony export */ escapePathComponent: () => (/* binding */ escapePathComponent),
|
|
49174
|
+
/* harmony export */ getPath: () => (/* binding */ getPath),
|
|
49175
|
+
/* harmony export */ hasOwnProperty: () => (/* binding */ hasOwnProperty),
|
|
49176
|
+
/* harmony export */ hasUndefined: () => (/* binding */ hasUndefined),
|
|
49177
|
+
/* harmony export */ isInteger: () => (/* binding */ isInteger),
|
|
49178
|
+
/* harmony export */ unescapePathComponent: () => (/* binding */ unescapePathComponent)
|
|
49103
49179
|
/* harmony export */ });
|
|
49104
49180
|
/*!
|
|
49105
49181
|
* https://github.com/Starcounter-Jack/JSON-Patch
|