@mdfriday/foundry 26.4.11 → 26.4.12
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/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/obsidian/mobile.js +4 -2
- package/package.json +1 -1
package/dist/obsidian/mobile.js
CHANGED
|
@@ -4958,14 +4958,16 @@ async function createObsidianIdentityService(workspacePath, httpClient, config)
|
|
|
4958
4958
|
);
|
|
4959
4959
|
}
|
|
4960
4960
|
const workspaceAppService = createObsidianWorkspaceAppService(config);
|
|
4961
|
-
const actualHttpClient = config.identityHttpClient;
|
|
4961
|
+
const actualHttpClient = config ? config.identityHttpClient : httpClient;
|
|
4962
4962
|
const workspace = await workspaceAppService.loadWorkspace(workspacePath);
|
|
4963
4963
|
const storageProvider = workspaceAppService.createIdentityStorage(workspace);
|
|
4964
4964
|
const userFactory = new UserFactory({
|
|
4965
4965
|
httpClient: actualHttpClient,
|
|
4966
4966
|
storageProvider
|
|
4967
4967
|
});
|
|
4968
|
-
|
|
4968
|
+
const identityService = new IdentityAppService({ userFactory });
|
|
4969
|
+
await identityService.initialize();
|
|
4970
|
+
return identityService;
|
|
4969
4971
|
}
|
|
4970
4972
|
|
|
4971
4973
|
// internal/interfaces/obsidian/workspace.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdfriday/foundry",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.12",
|
|
4
4
|
"description": "The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|