@saykit/react 0.0.0-beta-20260309151609 → 0.0.0-beta-20260330081039

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/client.d.mts CHANGED
@@ -28,7 +28,7 @@ declare function SayProvider({
28
28
  * @returns The current {@link Say} instance
29
29
  * @throws If no provider is in the component tree
30
30
  */
31
- declare function useSay(): ReadonlySay;
31
+ declare function useSay(): any;
32
32
  //#endregion
33
33
  export { SayProvider, useSay };
34
34
  //# sourceMappingURL=client.d.mts.map
package/dist/server.d.mts CHANGED
@@ -10,7 +10,7 @@ import "server-only";
10
10
  *
11
11
  * @param say The current {@link Say} instance
12
12
  */
13
- declare function setSay(say: ReadonlySay | (() => ReadonlySay)): void;
13
+ declare function setSay(say: Say | ReadonlySay | (() => Say | ReadonlySay)): void;
14
14
  /**
15
15
  * Get the current {@link Say} **server** instance.
16
16
  * Must only be called after any {@link setSay} calls.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saykit/react",
3
- "version": "0.0.0-beta-20260309151609",
3
+ "version": "0.0.0-beta-20260330081039",
4
4
  "description": "React integration for saykit, i18n hooks and components",
5
5
  "keywords": [
6
6
  "i18n",
@@ -39,12 +39,8 @@
39
39
  }
40
40
  },
41
41
  "publishConfig": {
42
- "access": "public"
43
- },
44
- "scripts": {
45
- "check": "tsc --noEmit",
46
- "build": "tsdown",
47
- "prepack": "pnpm build"
42
+ "access": "public",
43
+ "provenance": true
48
44
  },
49
45
  "dependencies": {
50
46
  "server-only": "^0.0.1"
@@ -52,10 +48,14 @@
52
48
  "devDependencies": {
53
49
  "@types/react": "^19.2.13",
54
50
  "react": "^19.2.4",
55
- "saykit": "workspace:^"
51
+ "saykit": "^0.0.0-beta-20260330081039"
56
52
  },
57
53
  "peerDependencies": {
58
54
  "react": "*",
59
- "saykit": "*"
55
+ "saykit": "0.0.0-beta-20260330081039"
56
+ },
57
+ "scripts": {
58
+ "check": "tsc --noEmit",
59
+ "build": "tsdown"
60
60
  }
61
- }
61
+ }