@sphereon/ssi-sdk.data-store 0.36.1-feature.vdx24.einvoice.inbox.142 → 0.36.1-feature.vdx24.einvoice.inbox.143
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
CHANGED
|
@@ -7113,8 +7113,9 @@ var import_debug7 = __toESM(require("debug"), 1);
|
|
|
7113
7113
|
var import_typeorm40 = require("typeorm");
|
|
7114
7114
|
|
|
7115
7115
|
// src/utils/presentationDefinition/MappingUtils.ts
|
|
7116
|
-
var
|
|
7116
|
+
var import_blakejs = __toESM(require("blakejs"), 1);
|
|
7117
7117
|
var import_dcql = require("dcql");
|
|
7118
|
+
var blake = import_blakejs.default.default ?? import_blakejs.default;
|
|
7118
7119
|
var dcqlQueryItemFrom = /* @__PURE__ */ __name((entity) => {
|
|
7119
7120
|
const result = {
|
|
7120
7121
|
id: entity.id,
|
|
@@ -7147,7 +7148,7 @@ var dcqlQueryEntityItemFrom = /* @__PURE__ */ __name((item) => {
|
|
|
7147
7148
|
return entity;
|
|
7148
7149
|
}, "dcqlQueryEntityItemFrom");
|
|
7149
7150
|
function hashPayload(payload) {
|
|
7150
|
-
return
|
|
7151
|
+
return blake.blake2bHex(JSON.stringify(payload));
|
|
7151
7152
|
}
|
|
7152
7153
|
__name(hashPayload, "hashPayload");
|
|
7153
7154
|
function isPresentationDefinitionEqual(base, compare) {
|