@learncard/network-brain-client 2.3.9 → 2.3.11
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/CHANGELOG.md +14 -0
- package/dist/brain-client.cjs.development.js +8 -1
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +1 -1
- package/dist/brain-client.cjs.production.min.js.map +3 -3
- package/dist/brain-client.esm.js +8 -1
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @learncard/network-brain-client
|
|
2
2
|
|
|
3
|
+
## 2.3.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`3e4e7b70f5a357c098aa88c3a97d19ce879a8d6c`](https://github.com/learningeconomy/LearnCard/commit/3e4e7b70f5a357c098aa88c3a97d19ce879a8d6c)]:
|
|
8
|
+
- @learncard/network-brain-service@3.5.5
|
|
9
|
+
|
|
10
|
+
## 2.3.10
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @learncard/network-brain-service@3.5.4
|
|
16
|
+
|
|
3
17
|
## 2.3.9
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -5257,7 +5257,8 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
5257
5257
|
__export2(src_exports2, {
|
|
5258
5258
|
RegExpTransformer: () => RegExpTransformer2,
|
|
5259
5259
|
isEncrypted: () => isEncrypted,
|
|
5260
|
-
isHex: () => isHex
|
|
5260
|
+
isHex: () => isHex,
|
|
5261
|
+
isVC2Format: () => isVC2Format
|
|
5261
5262
|
});
|
|
5262
5263
|
module2.exports = __toCommonJS2(src_exports2);
|
|
5263
5264
|
var import_types = __toESM2(require_dist2());
|
|
@@ -5292,6 +5293,12 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
5292
5293
|
});
|
|
5293
5294
|
}
|
|
5294
5295
|
};
|
|
5296
|
+
var isVC2Format = /* @__PURE__ */ __name2((credential) => {
|
|
5297
|
+
if (!credential["@context"] || !Array.isArray(credential["@context"])) {
|
|
5298
|
+
return false;
|
|
5299
|
+
}
|
|
5300
|
+
return credential["@context"].includes("https://www.w3.org/ns/credentials/v2");
|
|
5301
|
+
}, "isVC2Format");
|
|
5295
5302
|
}
|
|
5296
5303
|
});
|
|
5297
5304
|
|