@triveria/wallet 0.0.285 → 0.0.290
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/api.d.ts +109 -109
- package/api.js +138 -138
- package/auth.js +1 -1
- package/base.d.ts +1 -1
- package/base.js +1 -1
- package/common.d.ts +1 -1
- package/common.js +1 -1
- package/configuration.d.ts +1 -1
- package/configuration.js +3 -3
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/auth.js
CHANGED
|
@@ -16,7 +16,7 @@ exports.RequestToken = RequestToken;
|
|
|
16
16
|
const axios_1 = __importDefault(require("axios"));
|
|
17
17
|
function RequestToken(tokenUrl, audience, clientId, clientSecret) {
|
|
18
18
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
const body =
|
|
19
|
+
const body = new URLSearchParams({ client_id: clientId, client_secret: clientSecret, audience, grant_type: 'client_credentials' }), headers = { 'content-type': 'application/x-www-form-urlencoded' };
|
|
20
20
|
const { data: { access_token } } = yield axios_1.default.post(`${tokenUrl}`, body, {
|
|
21
21
|
headers,
|
|
22
22
|
});
|
package/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Triveria Wallet API
|
|
3
|
-
* Triveria Wallet API.
|
|
3
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
package/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Triveria Wallet API
|
|
6
|
-
* Triveria Wallet API.
|
|
6
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
package/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Triveria Wallet API
|
|
3
|
-
* Triveria Wallet API.
|
|
3
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
package/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Triveria Wallet API
|
|
6
|
-
* Triveria Wallet API.
|
|
6
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
package/configuration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Triveria Wallet API
|
|
3
|
-
* Triveria Wallet API.
|
|
3
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
package/configuration.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/**
|
|
4
4
|
* Triveria Wallet API
|
|
5
|
-
* Triveria Wallet API.
|
|
5
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
8
|
*
|
|
@@ -37,8 +37,8 @@ class Configuration {
|
|
|
37
37
|
* @return True if the given MIME is JSON, false otherwise.
|
|
38
38
|
*/
|
|
39
39
|
isJsonMime(mime) {
|
|
40
|
-
const jsonMime =
|
|
41
|
-
return mime !== null &&
|
|
40
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
41
|
+
return mime !== null && jsonMime.test(mime);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.Configuration = Configuration;
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Triveria Wallet API
|
|
3
|
-
* Triveria Wallet API.
|
|
3
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Triveria Wallet API
|
|
6
|
-
* Triveria Wallet API.
|
|
6
|
+
* Triveria Wallet is a cloud-based platform for managing digital credentials. The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems. **Key capabilities:** - Issue and manage Verifiable Credentials (W3C VC and SD-JWT-VC formats) - Credential signing using DIDs, X.509 certificates, and standard JWK keys - Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion - REST API and SDK access for seamless integration For access and support, contact info@triveria.com.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|