@sphereon/ssi-sdk.data-store 0.23.5-unstable.9 → 0.24.0
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/contact/ContactStore.js +10 -10
- package/dist/contact/ContactStore.js.map +1 -1
- package/dist/entities/contact/ConnectionEntity.d.ts +2 -2
- package/dist/entities/contact/ConnectionEntity.d.ts.map +1 -1
- package/dist/entities/contact/ConnectionEntity.js +1 -1
- package/dist/entities/contact/ConnectionEntity.js.map +1 -1
- package/dist/entities/contact/CorrelationIdentifierEntity.d.ts +2 -2
- package/dist/entities/contact/CorrelationIdentifierEntity.js +1 -1
- package/dist/entities/contact/IdentityEntity.d.ts +2 -2
- package/dist/entities/contact/IdentityEntity.d.ts.map +1 -1
- package/dist/entities/contact/IdentityEntity.js.map +1 -1
- package/dist/entities/contact/PartyTypeEntity.d.ts +2 -2
- package/dist/entities/contact/PartyTypeEntity.js +2 -2
- package/dist/migrations/postgres/1690925872592-CreateContacts.d.ts.map +1 -1
- package/dist/migrations/postgres/1690925872592-CreateContacts.js +4 -3
- package/dist/migrations/postgres/1690925872592-CreateContacts.js.map +1 -1
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js +7 -7
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js.map +1 -1
- package/dist/migrations/sqlite/1690925872693-CreateContacts.d.ts.map +1 -1
- package/dist/migrations/sqlite/1690925872693-CreateContacts.js +3 -2
- package/dist/migrations/sqlite/1690925872693-CreateContacts.js.map +1 -1
- package/dist/types/contact/IAbstractContactStore.d.ts +2 -2
- package/dist/types/contact/contact.d.ts +14 -14
- package/dist/types/contact/contact.d.ts.map +1 -1
- package/dist/types/contact/contact.js +25 -25
- package/dist/types/contact/contact.js.map +1 -1
- package/package.json +4 -4
- package/src/__tests__/contact.entities.test.ts +141 -141
- package/src/__tests__/contact.store.test.ts +198 -198
- package/src/contact/ContactStore.ts +15 -15
- package/src/entities/contact/ConnectionEntity.ts +3 -3
- package/src/entities/contact/CorrelationIdentifierEntity.ts +3 -3
- package/src/entities/contact/IdentityEntity.ts +2 -2
- package/src/entities/contact/PartyTypeEntity.ts +4 -4
- package/src/migrations/postgres/1690925872592-CreateContacts.ts +6 -3
- package/src/migrations/postgres/1701634812183-CreateAuditEvents.ts +10 -10
- package/src/migrations/sqlite/1690925872693-CreateContacts.ts +5 -2
- package/src/types/contact/IAbstractContactStore.ts +2 -2
- package/src/types/contact/contact.ts +15 -15
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PartyOrigin = exports.PartyTypeType = exports.CorrelationIdentifierType = exports.ConnectionType = exports.IdentityRole = void 0;
|
|
4
|
+
var IdentityRole;
|
|
5
|
+
(function (IdentityRole) {
|
|
6
|
+
IdentityRole["ISSUER"] = "issuer";
|
|
7
|
+
IdentityRole["VERIFIER"] = "verifier";
|
|
8
|
+
IdentityRole["HOLDER"] = "holder";
|
|
9
|
+
})(IdentityRole || (exports.IdentityRole = IdentityRole = {}));
|
|
10
|
+
var ConnectionType;
|
|
11
|
+
(function (ConnectionType) {
|
|
12
|
+
ConnectionType["OPENID_CONNECT"] = "OIDC";
|
|
13
|
+
ConnectionType["SIOPv2"] = "SIOPv2";
|
|
14
|
+
ConnectionType["SIOPv2_OpenID4VP"] = "SIOPv2+OpenID4VP";
|
|
15
|
+
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
16
|
+
var CorrelationIdentifierType;
|
|
17
|
+
(function (CorrelationIdentifierType) {
|
|
18
|
+
CorrelationIdentifierType["DID"] = "did";
|
|
19
|
+
CorrelationIdentifierType["URL"] = "url";
|
|
20
|
+
})(CorrelationIdentifierType || (exports.CorrelationIdentifierType = CorrelationIdentifierType = {}));
|
|
21
|
+
var PartyTypeType;
|
|
22
|
+
(function (PartyTypeType) {
|
|
23
|
+
PartyTypeType["NATURAL_PERSON"] = "naturalPerson";
|
|
24
|
+
PartyTypeType["ORGANIZATION"] = "organization";
|
|
25
|
+
})(PartyTypeType || (exports.PartyTypeType = PartyTypeType = {}));
|
|
4
26
|
var PartyOrigin;
|
|
5
27
|
(function (PartyOrigin) {
|
|
6
|
-
PartyOrigin["
|
|
7
|
-
PartyOrigin["
|
|
28
|
+
PartyOrigin["INTERNAL"] = "INTERNAL";
|
|
29
|
+
PartyOrigin["EXTERNAL"] = "EXTERNAL";
|
|
8
30
|
})(PartyOrigin || (exports.PartyOrigin = PartyOrigin = {}));
|
|
9
|
-
var IdentityRoleEnum;
|
|
10
|
-
(function (IdentityRoleEnum) {
|
|
11
|
-
IdentityRoleEnum["ISSUER"] = "issuer";
|
|
12
|
-
IdentityRoleEnum["VERIFIER"] = "verifier";
|
|
13
|
-
IdentityRoleEnum["HOLDER"] = "holder";
|
|
14
|
-
})(IdentityRoleEnum || (exports.IdentityRoleEnum = IdentityRoleEnum = {}));
|
|
15
|
-
var ConnectionTypeEnum;
|
|
16
|
-
(function (ConnectionTypeEnum) {
|
|
17
|
-
ConnectionTypeEnum["OPENID_CONNECT"] = "OIDC";
|
|
18
|
-
ConnectionTypeEnum["SIOPv2"] = "SIOPv2";
|
|
19
|
-
ConnectionTypeEnum["SIOPv2_OpenID4VP"] = "SIOPv2+OpenID4VP";
|
|
20
|
-
})(ConnectionTypeEnum || (exports.ConnectionTypeEnum = ConnectionTypeEnum = {}));
|
|
21
|
-
var CorrelationIdentifierEnum;
|
|
22
|
-
(function (CorrelationIdentifierEnum) {
|
|
23
|
-
CorrelationIdentifierEnum["DID"] = "did";
|
|
24
|
-
CorrelationIdentifierEnum["URL"] = "url";
|
|
25
|
-
})(CorrelationIdentifierEnum || (exports.CorrelationIdentifierEnum = CorrelationIdentifierEnum = {}));
|
|
26
|
-
var PartyTypeEnum;
|
|
27
|
-
(function (PartyTypeEnum) {
|
|
28
|
-
PartyTypeEnum["NATURAL_PERSON"] = "naturalPerson";
|
|
29
|
-
PartyTypeEnum["ORGANIZATION"] = "organization";
|
|
30
|
-
})(PartyTypeEnum || (exports.PartyTypeEnum = PartyTypeEnum = {}));
|
|
31
31
|
//# sourceMappingURL=contact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../../src/types/contact/contact.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../../src/types/contact/contact.ts"],"names":[],"mappings":";;;AAmNA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;AACnB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;IACjB,uDAAqC,CAAA;AACvC,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wCAAW,CAAA;IACX,wCAAW,CAAA;AACb,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iDAAgC,CAAA;IAChC,8CAA6B,CAAA;AAC/B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;AACvB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.data-store",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"typeorm-postgres:migration:run": "pnpm run typeorm -- migration:run -c migration-postgres"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@sphereon/ssi-sdk.core": "0.
|
|
17
|
-
"@sphereon/ssi-types": "0.
|
|
16
|
+
"@sphereon/ssi-sdk.core": "0.24.0",
|
|
17
|
+
"@sphereon/ssi-types": "0.24.0",
|
|
18
18
|
"@veramo/core": "4.2.0",
|
|
19
19
|
"@veramo/utils": "4.2.0",
|
|
20
20
|
"class-validator": "^0.14.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"PostgreSQL",
|
|
45
45
|
"Contact Store"
|
|
46
46
|
],
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "fd8e1082588463c2bd5c8d81d711974971812ef7"
|
|
48
48
|
}
|