@learncard/network-plugin 2.13.7 → 2.13.9
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/lcn-plugin.cjs.development.cjs +5 -2
- package/dist/lcn-plugin.cjs.development.cjs.map +2 -2
- package/dist/lcn-plugin.cjs.production.min.cjs +2 -2
- package/dist/lcn-plugin.cjs.production.min.cjs.map +2 -2
- package/dist/lcn-plugin.esm.js +5 -2
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/plugin.ts +5 -3
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -15733,6 +15733,7 @@ var BoostValidator = external_exports.object({
|
|
|
15733
15733
|
name: external_exports.string().optional(),
|
|
15734
15734
|
type: external_exports.string().optional(),
|
|
15735
15735
|
category: external_exports.string().optional(),
|
|
15736
|
+
created: external_exports.string().optional(),
|
|
15736
15737
|
status: LCNBoostStatus.optional(),
|
|
15737
15738
|
autoConnectRecipients: external_exports.boolean().optional(),
|
|
15738
15739
|
meta: external_exports.record(external_exports.string(), external_exports.any()).optional(),
|
|
@@ -17531,9 +17532,11 @@ async function getLearnCardNetworkPlugin(learnCard, url2, apiTokenOrOptions, opt
|
|
|
17531
17532
|
await initialQuery;
|
|
17532
17533
|
} catch {
|
|
17533
17534
|
}
|
|
17534
|
-
if (!userData
|
|
17535
|
+
if (!userData) {
|
|
17535
17536
|
try {
|
|
17536
|
-
learnCard?.debug?.("LCN ensureUser: retrying getProfile
|
|
17537
|
+
learnCard?.debug?.("LCN ensureUser: retrying getProfile", {
|
|
17538
|
+
hasApiToken: !!apiToken
|
|
17539
|
+
});
|
|
17537
17540
|
const res = await client.profile.getProfile.query();
|
|
17538
17541
|
userData = res;
|
|
17539
17542
|
if (userData?.did) did = userData.did;
|