@sphereon/ssi-sdk.ebsi-support 0.34.1-next.3 → 0.34.1-next.40
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/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +24 -24
package/dist/index.js
CHANGED
|
@@ -2555,12 +2555,12 @@ var EBSI_DID_SPEC_INFOS = {
|
|
|
2555
2555
|
method: "did:key:"
|
|
2556
2556
|
}
|
|
2557
2557
|
};
|
|
2558
|
-
var EbsiPublicKeyPurpose = /* @__PURE__ */ function(EbsiPublicKeyPurpose2) {
|
|
2558
|
+
var EbsiPublicKeyPurpose = /* @__PURE__ */ (function(EbsiPublicKeyPurpose2) {
|
|
2559
2559
|
EbsiPublicKeyPurpose2["Authentication"] = "authentication";
|
|
2560
2560
|
EbsiPublicKeyPurpose2["AssertionMethod"] = "assertionMethod";
|
|
2561
2561
|
EbsiPublicKeyPurpose2["CapabilityInvocation"] = "capabilityInvocation";
|
|
2562
2562
|
return EbsiPublicKeyPurpose2;
|
|
2563
|
-
}({});
|
|
2563
|
+
})({});
|
|
2564
2564
|
var JSON_RPC_VERSION = "2.0";
|
|
2565
2565
|
var BASE_CONTEXT_DOC = JSON.stringify({
|
|
2566
2566
|
"@context": [
|
|
@@ -2568,7 +2568,7 @@ var BASE_CONTEXT_DOC = JSON.stringify({
|
|
|
2568
2568
|
"https://w3id.org/security/suites/jws-2020/v1"
|
|
2569
2569
|
]
|
|
2570
2570
|
});
|
|
2571
|
-
var EbsiRpcMethod = /* @__PURE__ */ function(EbsiRpcMethod2) {
|
|
2571
|
+
var EbsiRpcMethod = /* @__PURE__ */ (function(EbsiRpcMethod2) {
|
|
2572
2572
|
EbsiRpcMethod2["INSERT_DID_DOCUMENT"] = "insertDidDocument";
|
|
2573
2573
|
EbsiRpcMethod2["UPDATE_DID_DOCUMENT"] = "updateBaseDocument";
|
|
2574
2574
|
EbsiRpcMethod2["ADD_VERIFICATION_METHOD"] = "addVerificationMethod";
|
|
@@ -2576,7 +2576,7 @@ var EbsiRpcMethod = /* @__PURE__ */ function(EbsiRpcMethod2) {
|
|
|
2576
2576
|
EbsiRpcMethod2["ADD_SERVICE"] = "addService";
|
|
2577
2577
|
EbsiRpcMethod2["SEND_SIGNED_TRANSACTION"] = "sendSignedTransaction";
|
|
2578
2578
|
return EbsiRpcMethod2;
|
|
2579
|
-
}({});
|
|
2579
|
+
})({});
|
|
2580
2580
|
|
|
2581
2581
|
// src/did/services/EbsiRPCService.ts
|
|
2582
2582
|
var callRpcMethod = /* @__PURE__ */ __name(async (args) => {
|
|
@@ -3347,10 +3347,10 @@ ${JSON.stringify(accessTokenResponse)}`);
|
|
|
3347
3347
|
};
|
|
3348
3348
|
|
|
3349
3349
|
// src/types/IEbsiSupport.ts
|
|
3350
|
-
var TokenType = /* @__PURE__ */ function(TokenType2) {
|
|
3350
|
+
var TokenType = /* @__PURE__ */ (function(TokenType2) {
|
|
3351
3351
|
TokenType2["BEARER"] = "Bearer";
|
|
3352
3352
|
return TokenType2;
|
|
3353
|
-
}({});
|
|
3353
|
+
})({});
|
|
3354
3354
|
|
|
3355
3355
|
// src/did/EbsiDidProvider.ts
|
|
3356
3356
|
import { getControllerKey as getControllerKey2, getEthereumAddressFromKey as getEthereumAddressFromKey2 } from "@sphereon/ssi-sdk-ext.did-utils";
|