@youversion/platform-react-hooks 1.1.0 → 1.2.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @youversion/platform-react-hooks@1.1.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
2
+ > @youversion/platform-react-hooks@1.2.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
3
3
  > tsc -p tsconfig.build.json
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @youversion/platform-react-hooks
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a8a5dd7: feat: Add intro metadata to BibleBook
8
+ - Added optional `intro` field to BibleBook schema for retrieving book introduction metadata
9
+ - The intro field includes `id`, `passage_id`, and `title` properties when available
10
+ - Simplified type definitions by removing duplicate type files and using Zod schemas as single source of truth
11
+ - Updated Bible mocks and tests to cover the new intro field
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [a8a5dd7]
16
+ - @youversion/platform-core@1.2.0
17
+
3
18
  ## 1.1.0
4
19
 
5
20
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-react-hooks",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@youversion/platform-core": "1.1.0"
25
+ "@youversion/platform-core": "1.2.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.1.0 <20.0.0"