@sphereon/ssi-sdk.ebsi-support 0.27.0 → 0.27.1-next.10
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/agent/EbsiSupport.d.ts +1 -0
- package/dist/agent/EbsiSupport.d.ts.map +1 -1
- package/dist/agent/EbsiSupport.js +207 -186
- package/dist/agent/EbsiSupport.js.map +1 -1
- package/dist/did/EbsiDidProvider.d.ts.map +1 -1
- package/dist/did/EbsiDidProvider.js +173 -136
- package/dist/did/EbsiDidProvider.js.map +1 -1
- package/dist/did/EbsiDidResolver.js +19 -6
- package/dist/did/EbsiDidResolver.js.map +1 -1
- package/dist/did/functions.d.ts.map +1 -1
- package/dist/did/functions.js +158 -120
- package/dist/did/functions.js.map +1 -1
- package/dist/did/index.js +28 -5
- package/dist/did/index.js.map +1 -1
- package/dist/did/services/EbsiRPCService.js +36 -20
- package/dist/did/services/EbsiRPCService.js.map +1 -1
- package/dist/did/services/EbsiRestService.js +37 -19
- package/dist/did/services/EbsiRestService.js.map +1 -1
- package/dist/did/types.d.ts +2 -1
- package/dist/did/types.d.ts.map +1 -1
- package/dist/did/types.js +10 -7
- package/dist/did/types.js.map +1 -1
- package/dist/functions/Attestation.js +79 -69
- package/dist/functions/Attestation.js.map +1 -1
- package/dist/functions/AttestationHeadlessCallbacks.js +91 -72
- package/dist/functions/AttestationHeadlessCallbacks.js.map +1 -1
- package/dist/functions/index.js +32 -4
- package/dist/functions/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -6
- package/dist/index.js.map +1 -1
- package/dist/types/IEbsiSupport.js +5 -2
- package/dist/types/IEbsiSupport.js.map +1 -1
- package/package.json +13 -12
- package/plugin.schema.json +2030 -0
- package/src/agent/EbsiSupport.ts +10 -0
- package/src/did/EbsiDidProvider.ts +18 -1
- package/src/did/functions.ts +2 -1
- package/src/did/types.ts +2 -1
- package/src/index.ts +1 -1
package/dist/functions/index.js
CHANGED
|
@@ -1,8 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
20
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.wait = exports.getEbsiApiBaseUrl = void 0;
|
|
27
|
+
const getEbsiApiBaseUrl = ({ environment = 'pilot', version, system = 'pilot', }) => {
|
|
2
28
|
return `https://api-${environment}.ebsi.eu/${system}/${version}`;
|
|
3
29
|
};
|
|
4
|
-
|
|
30
|
+
exports.getEbsiApiBaseUrl = getEbsiApiBaseUrl;
|
|
31
|
+
const wait = (timeoutInMS) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5
32
|
return new Promise((resolve) => setTimeout(resolve, timeoutInMS));
|
|
6
|
-
};
|
|
7
|
-
|
|
33
|
+
});
|
|
34
|
+
exports.wait = wait;
|
|
35
|
+
__exportStar(require("./Attestation"), exports);
|
|
8
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/functions/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/functions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAM,iBAAiB,GAAG,CAAC,EAChC,WAAW,GAAG,OAAO,EACrB,OAAO,EACP,MAAM,GAAG,OAAO,GAC0E,EAAE,EAAE;IAC9F,OAAO,eAAe,WAAW,YAAY,MAAM,IAAI,OAAO,EAAE,CAAA;AAClE,CAAC,CAAA;AANY,QAAA,iBAAiB,qBAM7B;AAEM,MAAM,IAAI,GAAG,CAAO,WAAmB,EAAE,EAAE;IAChD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAA;AACnE,CAAC,CAAA,CAAA;AAFY,QAAA,IAAI,QAEhB;AAED,gDAA6B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const logger: import("@sphereon/ssi-types").ISimpleLogger<unknown>;
|
|
2
2
|
declare const schema: any;
|
|
3
3
|
export { schema };
|
|
4
|
-
export { EbsiSupport } from './agent/EbsiSupport';
|
|
4
|
+
export { EbsiSupport, ebsiSupportMethods } from './agent/EbsiSupport';
|
|
5
5
|
export * from './types/IEbsiSupport';
|
|
6
6
|
export { EbsiDidProvider } from './did';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,sDAA+C,CAAA;AAClE,QAAA,MAAM,MAAM,KAAmC,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,sDAA+C,CAAA;AAClE,QAAA,MAAM,MAAM,KAAmC,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AACrE,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.EbsiDidProvider = exports.ebsiSupportMethods = exports.EbsiSupport = exports.schema = exports.logger = void 0;
|
|
18
|
+
const ssi_types_1 = require("@sphereon/ssi-types");
|
|
19
|
+
exports.logger = ssi_types_1.Loggers.DEFAULT.get('sphereon:ebsi-support');
|
|
3
20
|
const schema = require('../plugin.schema.json');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
21
|
+
exports.schema = schema;
|
|
22
|
+
var EbsiSupport_1 = require("./agent/EbsiSupport");
|
|
23
|
+
Object.defineProperty(exports, "EbsiSupport", { enumerable: true, get: function () { return EbsiSupport_1.EbsiSupport; } });
|
|
24
|
+
Object.defineProperty(exports, "ebsiSupportMethods", { enumerable: true, get: function () { return EbsiSupport_1.ebsiSupportMethods; } });
|
|
25
|
+
__exportStar(require("./types/IEbsiSupport"), exports);
|
|
26
|
+
var did_1 = require("./did");
|
|
27
|
+
Object.defineProperty(exports, "EbsiDidProvider", { enumerable: true, get: function () { return did_1.EbsiDidProvider; } });
|
|
8
28
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mDAA6C;AAEhC,QAAA,MAAM,GAAG,mBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;AAClE,MAAM,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAA;AACtC,wBAAM;AACf,mDAAqE;AAA5D,0GAAA,WAAW,OAAA;AAAE,iHAAA,kBAAkB,OAAA;AACxC,uDAAoC;AACpC,6BAAuC;AAA9B,sGAAA,eAAe,OAAA"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TokenType = void 0;
|
|
4
|
+
var TokenType;
|
|
2
5
|
(function (TokenType) {
|
|
3
6
|
TokenType["BEARER"] = "Bearer";
|
|
4
|
-
})(TokenType || (TokenType = {}));
|
|
7
|
+
})(TokenType || (exports.TokenType = TokenType = {}));
|
|
5
8
|
//# sourceMappingURL=IEbsiSupport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEbsiSupport.js","sourceRoot":"","sources":["../../src/types/IEbsiSupport.ts"],"names":[],"mappings":"AA4BA,
|
|
1
|
+
{"version":3,"file":"IEbsiSupport.js","sourceRoot":"","sources":["../../src/types/IEbsiSupport.ts"],"names":[],"mappings":";;;AA4BA,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.ebsi-support",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1-next.10+7f692225",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"@sphereon/ssi-sdk-ext.did-resolver-ebsi": "0.22.0",
|
|
22
22
|
"@sphereon/ssi-sdk-ext.did-utils": "0.22.0",
|
|
23
23
|
"@sphereon/ssi-sdk-ext.key-utils": "0.22.0",
|
|
24
|
-
"@sphereon/ssi-sdk.contact-manager": "0.27.
|
|
25
|
-
"@sphereon/ssi-sdk.core": "0.27.
|
|
26
|
-
"@sphereon/ssi-sdk.oid4vci-holder": "0.27.
|
|
27
|
-
"@sphereon/ssi-sdk.presentation-exchange": "0.27.
|
|
28
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.27.
|
|
29
|
-
"@sphereon/ssi-types": "0.27.
|
|
24
|
+
"@sphereon/ssi-sdk.contact-manager": "0.27.1-next.10+7f692225",
|
|
25
|
+
"@sphereon/ssi-sdk.core": "0.27.1-next.10+7f692225",
|
|
26
|
+
"@sphereon/ssi-sdk.oid4vci-holder": "0.27.1-next.10+7f692225",
|
|
27
|
+
"@sphereon/ssi-sdk.presentation-exchange": "0.27.1-next.10+7f692225",
|
|
28
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.27.1-next.10+7f692225",
|
|
29
|
+
"@sphereon/ssi-types": "0.27.1-next.10+7f692225",
|
|
30
30
|
"@veramo/core": "4.2.0",
|
|
31
31
|
"@veramo/did-manager": "4.2.0",
|
|
32
32
|
"@veramo/utils": "4.2.0",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@sphereon/oid4vci-client": "0.14.0",
|
|
45
45
|
"@sphereon/oid4vci-common": "0.14.0",
|
|
46
|
-
"@sphereon/ssi-express-support": "0.27.
|
|
46
|
+
"@sphereon/ssi-express-support": "0.27.1-next.10+7f692225",
|
|
47
47
|
"@sphereon/ssi-sdk-ext.key-manager": "0.22.0",
|
|
48
48
|
"@sphereon/ssi-sdk-ext.kms-local": "0.22.0",
|
|
49
|
-
"@sphereon/ssi-sdk.agent-config": "0.27.
|
|
50
|
-
"@sphereon/ssi-sdk.data-store": "0.27.
|
|
51
|
-
"@sphereon/ssi-sdk.public-key-hosting": "0.27.
|
|
49
|
+
"@sphereon/ssi-sdk.agent-config": "0.27.1-next.10+7f692225",
|
|
50
|
+
"@sphereon/ssi-sdk.data-store": "0.27.1-next.10+7f692225",
|
|
51
|
+
"@sphereon/ssi-sdk.public-key-hosting": "0.27.1-next.10+7f692225",
|
|
52
52
|
"@transmute/json-web-signature": "0.7.0-unstable.81",
|
|
53
53
|
"@types/cors": "^2.8.17",
|
|
54
54
|
"@types/express": "^4.17.21",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"typeorm": "^0.3.20"
|
|
67
67
|
},
|
|
68
68
|
"files": [
|
|
69
|
+
"plugin.schema.json",
|
|
69
70
|
"dist/**/*",
|
|
70
71
|
"src/**/*",
|
|
71
72
|
"README.md",
|
|
@@ -82,5 +83,5 @@
|
|
|
82
83
|
"EBSI",
|
|
83
84
|
"EBSI Authorization Client"
|
|
84
85
|
],
|
|
85
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "7f692225e517f5e4f754ff667fb9f914c768f48e"
|
|
86
87
|
}
|