@edifice.io/wiki 3.4.0-develop-pedago.2 → 3.4.0-develop-pedago.3

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.
@@ -1,4 +1,4 @@
1
- import { WikiAction } from '../components/WikiApp';
1
+ import { WikiAction } from '../WikiApp';
2
2
  export interface WikiAppContextProps {
3
3
  wikiId: string;
4
4
  header?: boolean;
@@ -1,4 +1,4 @@
1
- import { WikiAction } from '../components/WikiApp';
1
+ import { WikiAction } from '../WikiApp';
2
2
  export interface WikiAppProviderProps {
3
3
  wikiId: string;
4
4
  header?: boolean;
package/lib/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { default as WikiApp } from './components/WikiApp/components/WikiApp';
1
+ export { default as WikiApp } from './components/WikiApp/WikiApp';
package/lib/index2.js CHANGED
@@ -2355,7 +2355,8 @@ j0()((e, t) => ({
2355
2355
  selectedResources: s,
2356
2356
  resourceIds: n
2357
2357
  } = t();
2358
- if (s.length !== 1) throw new Error("Cannot open more than 1 resource");
2358
+ if (s.length !== 1)
2359
+ throw new Error("Cannot open more than 1 resource");
2359
2360
  const a = s.find((r) => r.id === n[0]);
2360
2361
  va({
2361
2362
  searchParams: i,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/wiki",
3
- "version": "3.4.0-develop-pedago.2",
3
+ "version": "3.4.0-develop-pedago.3",
4
4
  "description": "Wiki application",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "Edifice",
@@ -67,12 +67,6 @@
67
67
  "vite-tsconfig-paths": "5.1.4",
68
68
  "vitest": "2.1.9"
69
69
  },
70
- "exports": {
71
- "./lib": {
72
- "import": "./lib/index.js",
73
- "types": "./lib/index.d.ts"
74
- }
75
- },
76
70
  "files": [
77
71
  "lib"
78
72
  ],