@primate/solid 0.11.0 → 0.12.1

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.
@@ -3,7 +3,8 @@ declare function Head(props: {
3
3
  children: Child[];
4
4
  }): null;
5
5
  declare namespace Head {
6
- var clear: (data_value?: string) => void;
6
+ var _a: (data_value?: string) => void;
7
+ export { _a as clear };
7
8
  }
8
9
  export default Head;
9
10
  //# sourceMappingURL=browser.d.ts.map
@@ -3,7 +3,8 @@ declare function Head(props: {
3
3
  children: Child[];
4
4
  }): null;
5
5
  declare namespace Head {
6
- var clear: (data_value?: string) => void;
6
+ var _a: (data_value?: string) => void;
7
+ export { _a as clear };
7
8
  }
8
9
  export default Head;
9
10
  //# sourceMappingURL=default.d.ts.map
@@ -13,7 +13,7 @@ export default class SolidApp {
13
13
  const mount = () => Root(root.toProps(data));
14
14
  let dispose = root[data.ssr ? "ssr" : "csr"](mount, body);
15
15
  if (data.csr) {
16
- const start = () => client.boot((_data, update) => {
16
+ const start = () => client.boot("solid", (_data, update) => {
17
17
  dispose();
18
18
  dispose = root.csr(() => Root(root.toProps(_data, update)), body);
19
19
  update?.();
@@ -1,3 +1,3 @@
1
- declare const _default: (length: number) => string;
2
1
  export default _default;
2
+ declare function _default(length: number): string;
3
3
  //# sourceMappingURL=create-root.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primate/solid",
3
- "version": "0.11.0",
3
+ "version": "0.12.1",
4
4
  "description": "SolidJS for Primate",
5
5
  "homepage": "https://primate.run/docs/frontend/solid",
6
6
  "bugs": "https://github.com/primate-run/primate/issues",
@@ -18,18 +18,18 @@
18
18
  ],
19
19
  "types": "lib/index.d.ts",
20
20
  "devDependencies": {
21
- "@rcompat/type": "^0.17.0",
21
+ "@rcompat/type": "^0.18.0",
22
22
  "@types/babel__core": "^7.20.5"
23
23
  },
24
24
  "dependencies": {
25
25
  "@babel/core": "^7.29.7",
26
- "@rcompat/runtime": "^0.16.0",
26
+ "@rcompat/runtime": "^0.17.0",
27
27
  "babel-preset-solid": "^1.9.12",
28
- "@primate/core": "^0.8.0"
28
+ "@primate/core": "^0.9.7"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "solid-js": "1",
32
- "primate": "^0.39.0"
32
+ "primate": "^0.40.0"
33
33
  },
34
34
  "imports": {
35
35
  "#*": {
@@ -60,7 +60,7 @@
60
60
  }
61
61
  },
62
62
  "scripts": {
63
- "build": "npm run clean && tsgo && cp src/types/{app,index}.d.ts lib",
63
+ "build": "npm run clean && tsc && cp src/types/{app,index}.d.ts lib",
64
64
  "clean": "rm -rf ./lib",
65
65
  "lint": "eslint ."
66
66
  }