@nmshd/transport 2.0.0-beta.4 → 2.0.0-beta.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/CoreCrypto.d.ts +1 -0
- package/dist/core/CoreCrypto.js +14 -12
- package/dist/core/CoreCrypto.js.map +1 -1
- package/dist/core/CoreSerializable.js.map +1 -1
- package/dist/core/CoreSerializableAsync.js.map +1 -1
- package/dist/core/CoreSynchronizable.js.map +1 -1
- package/dist/core/CoreUtil.js +1 -2
- package/dist/core/CoreUtil.js.map +1 -1
- package/dist/core/Reference.js +2 -2
- package/dist/core/Reference.js.map +1 -1
- package/dist/core/Transport.js +4 -1
- package/dist/core/Transport.js.map +1 -1
- package/dist/core/TransportController.d.ts +2 -2
- package/dist/core/TransportController.js +4 -6
- package/dist/core/TransportController.js.map +1 -1
- package/dist/core/TransportErrors.d.ts +5 -73
- package/dist/core/TransportErrors.js +10 -153
- package/dist/core/TransportErrors.js.map +1 -1
- package/dist/core/TransportLoggerFactory.js +1 -2
- package/dist/core/TransportLoggerFactory.js.map +1 -1
- package/dist/core/backbone/RESTClient.d.ts +4 -1
- package/dist/core/backbone/RESTClient.js +26 -31
- package/dist/core/backbone/RESTClient.js.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.d.ts +2 -1
- package/dist/core/backbone/RESTClientAuthenticate.js.map +1 -1
- package/dist/core/types/CoreAddress.d.ts +1 -1
- package/dist/core/types/CoreAddress.js.map +1 -1
- package/dist/core/types/CoreDate.js +3 -4
- package/dist/core/types/CoreDate.js.map +1 -1
- package/dist/core/types/CoreHash.js.map +1 -1
- package/dist/core/types/CoreId.d.ts +1 -1
- package/dist/core/types/CoreId.js +1 -2
- package/dist/core/types/CoreId.js.map +1 -1
- package/dist/modules/accounts/AccountController.d.ts +2 -0
- package/dist/modules/accounts/AccountController.js +30 -8
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityController.d.ts +1 -1
- package/dist/modules/accounts/IdentityController.js +24 -4
- package/dist/modules/accounts/IdentityController.js.map +1 -1
- package/dist/modules/accounts/IdentityUtil.d.ts +1 -1
- package/dist/modules/accounts/IdentityUtil.js +3 -4
- package/dist/modules/accounts/IdentityUtil.js.map +1 -1
- package/dist/modules/accounts/data/Identity.js.map +1 -1
- package/dist/modules/accounts/data/IdentitySecretCredentials.js.map +1 -1
- package/dist/modules/certificates/data/Certificate.js.map +1 -1
- package/dist/modules/certificates/data/CertificateConstraint.js.map +1 -1
- package/dist/modules/certificates/data/CertificateContent.js.map +1 -1
- package/dist/modules/certificates/data/CertificateItem.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.js.map +1 -1
- package/dist/modules/challenges/ChallengeController.js +26 -3
- package/dist/modules/challenges/ChallengeController.js.map +1 -1
- package/dist/modules/challenges/data/Challenge.js.map +1 -1
- package/dist/modules/challenges/data/ChallengeSigned.js.map +1 -1
- package/dist/modules/devices/DeviceController.d.ts +1 -1
- package/dist/modules/devices/DeviceController.js +41 -12
- package/dist/modules/devices/DeviceController.js.map +1 -1
- package/dist/modules/devices/DeviceSecretController.js +43 -13
- package/dist/modules/devices/DeviceSecretController.js.map +1 -1
- package/dist/modules/devices/DevicesController.js +1 -1
- package/dist/modules/devices/DevicesController.js.map +1 -1
- package/dist/modules/devices/local/Device.js.map +1 -1
- package/dist/modules/devices/local/DeviceSecretCredentials.js.map +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.js.map +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.js.map +1 -1
- package/dist/modules/files/FileController.js +43 -9
- package/dist/modules/files/FileController.js.map +1 -1
- package/dist/modules/files/backbone/FileClient.d.ts +2 -1
- package/dist/modules/files/backbone/FileClient.js.map +1 -1
- package/dist/modules/files/local/CachedFile.js.map +1 -1
- package/dist/modules/files/local/File.js.map +1 -1
- package/dist/modules/files/local/SendFileParameters.js.map +1 -1
- package/dist/modules/files/transmission/FileMetadata.js.map +1 -1
- package/dist/modules/files/transmission/FileReference.js.map +1 -1
- package/dist/modules/messages/MessageController.js +67 -13
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/CachedMessage.js.map +1 -1
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/messages/local/SendMessageParameters.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelope.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js.map +1 -1
- package/dist/modules/messages/transmission/MessagePlain.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSignature.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSigned.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +32 -4
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContent.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateReference.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js +88 -17
- package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
- package/dist/modules/relationships/RelationshipsController.d.ts +3 -3
- package/dist/modules/relationships/RelationshipsController.js +113 -60
- package/dist/modules/relationships/RelationshipsController.js.map +1 -1
- package/dist/modules/relationships/local/CachedRelationship.js.map +1 -1
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/relationships/local/SendRelationshipParameters.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChange.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeRequest.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContent.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.js.map +1 -1
- package/dist/modules/secrets/SecretController.js +18 -4
- package/dist/modules/secrets/SecretController.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerCipher.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerPlain.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +1 -0
- package/dist/modules/sync/DatawalletModificationsProcessor.js +20 -3
- package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
- package/dist/modules/sync/SyncController.d.ts +1 -0
- package/dist/modules/sync/SyncController.js +54 -25
- package/dist/modules/sync/SyncController.js.map +1 -1
- package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
- package/dist/modules/tokens/TokenController.js +32 -4
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/local/CachedToken.js.map +1 -1
- package/dist/modules/tokens/local/SendTokenParameters.js.map +1 -1
- package/dist/modules/tokens/local/Token.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentFile.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenReference.js.map +1 -1
- package/dist/util/PasswordGenerator.js +1 -2
- package/dist/util/PasswordGenerator.js.map +1 -1
- package/dist/util/Random.js +7 -8
- package/dist/util/Random.js.map +1 -1
- package/lib-web/nmshd.transport.js +3083 -9133
- 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 +22 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/transport",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"description": "The transport library handles backbone communication and content encryption.",
|
|
5
5
|
"homepage": "https://enmeshed.eu",
|
|
6
6
|
"repository": "github:nmshd/cns-transport",
|
|
@@ -54,57 +54,57 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@js-soft/docdb-access-abstractions": "1.0.1",
|
|
56
56
|
"@js-soft/logging-abstractions": "1.0.0",
|
|
57
|
-
"@js-soft/simple-logger": "1.0.
|
|
58
|
-
"@js-soft/ts-utils": "2.0
|
|
57
|
+
"@js-soft/simple-logger": "1.0.2",
|
|
58
|
+
"@js-soft/ts-utils": "2.3.0",
|
|
59
59
|
"axios": "^0.27.2",
|
|
60
60
|
"deep-equal": "^2.0.5",
|
|
61
61
|
"fast-json-patch": "^3.1.1",
|
|
62
62
|
"form-data": "^4.0.0",
|
|
63
63
|
"json-stringify-safe": "^5.0.1",
|
|
64
64
|
"lodash": "^4.17.21",
|
|
65
|
-
"luxon": "^3.0.
|
|
65
|
+
"luxon": "^3.0.4",
|
|
66
66
|
"qs": "^6.11.0",
|
|
67
67
|
"reflect-metadata": "^0.1.13",
|
|
68
68
|
"ts-simple-nameof": "^1.3.1",
|
|
69
|
-
"uuid": "^
|
|
69
|
+
"uuid": "^9.0.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@js-soft/docdb-access-loki": "1.0.3",
|
|
73
|
-
"@js-soft/docdb-access-mongo": "1.1.
|
|
74
|
-
"@js-soft/eslint-config-ts": "1.6.
|
|
75
|
-
"@js-soft/license-check": "1.0.
|
|
76
|
-
"@js-soft/node-logger": "1.0.
|
|
77
|
-
"@js-soft/ts-serval": "2.0.
|
|
78
|
-
"@js-soft/web-logger": "1.0.
|
|
73
|
+
"@js-soft/docdb-access-mongo": "1.1.2",
|
|
74
|
+
"@js-soft/eslint-config-ts": "1.6.1",
|
|
75
|
+
"@js-soft/license-check": "1.0.5",
|
|
76
|
+
"@js-soft/node-logger": "1.0.2",
|
|
77
|
+
"@js-soft/ts-serval": "2.0.5",
|
|
78
|
+
"@js-soft/web-logger": "1.0.2",
|
|
79
79
|
"@nmshd/crypto": "2.0.1",
|
|
80
|
-
"@types/chai": "^4.3.
|
|
80
|
+
"@types/chai": "^4.3.3",
|
|
81
81
|
"@types/chai-as-promised": "^7.1.5",
|
|
82
82
|
"@types/deep-equal": "^1.0.1",
|
|
83
|
-
"@types/glob": "^
|
|
83
|
+
"@types/glob": "^8.0.0",
|
|
84
84
|
"@types/json-stringify-safe": "^5.0.0",
|
|
85
|
-
"@types/lodash": "^4.14.
|
|
86
|
-
"@types/luxon": "^3.0.
|
|
85
|
+
"@types/lodash": "^4.14.185",
|
|
86
|
+
"@types/luxon": "^3.0.1",
|
|
87
87
|
"@types/mocha": "^9.1.1",
|
|
88
|
-
"@types/node": "^18.
|
|
88
|
+
"@types/node": "^18.7.23",
|
|
89
89
|
"@types/qs": "^6.9.7",
|
|
90
90
|
"@types/uuid": "^8.3.4",
|
|
91
|
-
"bt-runner": "
|
|
91
|
+
"bt-runner": "3.1.0",
|
|
92
92
|
"chai": "^4.3.6",
|
|
93
93
|
"chai-as-promised": "^7.1.1",
|
|
94
94
|
"chai-exclude": "^2.1.0",
|
|
95
95
|
"chai-quantifiers": "^1.0.17",
|
|
96
96
|
"copy-webpack-plugin": "^11.0.0",
|
|
97
|
-
"eslint": "8.
|
|
97
|
+
"eslint": "8.24.0",
|
|
98
98
|
"madge": "^5.0.1",
|
|
99
99
|
"mocha": "^10.0.0",
|
|
100
100
|
"mocha-param": "^2.0.1",
|
|
101
101
|
"prettier": "^2.7.1",
|
|
102
|
-
"terser-webpack-plugin": "5.3.
|
|
102
|
+
"terser-webpack-plugin": "5.3.6",
|
|
103
103
|
"ts-mockito": "^2.6.1",
|
|
104
104
|
"ts-node": "^10.9.1",
|
|
105
|
-
"tsconfig-paths": "^4.
|
|
106
|
-
"typescript": "^4.
|
|
107
|
-
"webpack": "^5.
|
|
105
|
+
"tsconfig-paths": "^4.1.0",
|
|
106
|
+
"typescript": "^4.8.3",
|
|
107
|
+
"webpack": "^5.74.0",
|
|
108
108
|
"webpack-cli": "^4.10.0"
|
|
109
109
|
},
|
|
110
110
|
"publishConfig": {
|