@learncard/network-plugin 2.13.7 → 2.13.8
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
|
@@ -15754,6 +15754,7 @@ var BoostValidator = external_exports.object({
|
|
|
15754
15754
|
name: external_exports.string().optional(),
|
|
15755
15755
|
type: external_exports.string().optional(),
|
|
15756
15756
|
category: external_exports.string().optional(),
|
|
15757
|
+
created: external_exports.string().optional(),
|
|
15757
15758
|
status: LCNBoostStatus.optional(),
|
|
15758
15759
|
autoConnectRecipients: external_exports.boolean().optional(),
|
|
15759
15760
|
meta: external_exports.record(external_exports.string(), external_exports.any()).optional(),
|
|
@@ -17548,9 +17549,11 @@ async function getLearnCardNetworkPlugin(learnCard, url2, apiTokenOrOptions, opt
|
|
|
17548
17549
|
await initialQuery;
|
|
17549
17550
|
} catch {
|
|
17550
17551
|
}
|
|
17551
|
-
if (!userData
|
|
17552
|
+
if (!userData) {
|
|
17552
17553
|
try {
|
|
17553
|
-
learnCard?.debug?.("LCN ensureUser: retrying getProfile
|
|
17554
|
+
learnCard?.debug?.("LCN ensureUser: retrying getProfile", {
|
|
17555
|
+
hasApiToken: !!apiToken
|
|
17556
|
+
});
|
|
17554
17557
|
const res = await client.profile.getProfile.query();
|
|
17555
17558
|
userData = res;
|
|
17556
17559
|
if (userData?.did) did = userData.did;
|