@byline/richtext-lexical 3.20.3 → 3.21.0

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/server.d.ts CHANGED
@@ -53,7 +53,7 @@ export interface LexicalServerOptions {
53
53
  * `getAdminBylineClient` in the webapp). Resolved lazily on every
54
54
  * call so registration order doesn't matter.
55
55
  */
56
- getClient: () => BylineClient;
56
+ getClient: () => BylineClient<any>;
57
57
  /**
58
58
  * Override the visitor list. Defaults to every visitor the package
59
59
  * ships — currently `[inlineImageVisitor, linkVisitor]`. Useful when a
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "3.20.3",
6
+ "version": "3.21.0",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -73,10 +73,10 @@
73
73
  "lexical": "0.46.0",
74
74
  "npm-run-all": "^4.1.5",
75
75
  "react-error-boundary": "^6.1.2",
76
- "@byline/core": "3.20.3",
77
- "@byline/admin": "3.20.3",
78
- "@byline/ui": "3.20.3",
79
- "@byline/client": "3.20.3"
76
+ "@byline/admin": "3.21.0",
77
+ "@byline/core": "3.21.0",
78
+ "@byline/client": "3.21.0",
79
+ "@byline/ui": "3.21.0"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "react": "^19.0.0",
@@ -56,7 +56,7 @@ function registerCollection(definition: Partial<CollectionDefinition> & { path:
56
56
  ...definition,
57
57
  } as CollectionDefinition,
58
58
  ],
59
- } as Parameters<typeof defineServerConfig>[0])
59
+ } as unknown as Parameters<typeof defineServerConfig>[0])
60
60
  }
61
61
 
62
62
  function clearConfig(): void {
package/src/server.ts CHANGED
@@ -88,7 +88,7 @@ export interface LexicalServerOptions {
88
88
  * `getAdminBylineClient` in the webapp). Resolved lazily on every
89
89
  * call so registration order doesn't matter.
90
90
  */
91
- getClient: () => BylineClient
91
+ getClient: () => BylineClient<any>
92
92
  /**
93
93
  * Override the visitor list. Defaults to every visitor the package
94
94
  * ships — currently `[inlineImageVisitor, linkVisitor]`. Useful when a