@youversion/platform-react-hooks 1.0.1 → 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.0.1 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,34 @@
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
+
18
+ ## 1.1.0
19
+
20
+ ### Minor Changes
21
+
22
+ - efb1030: feat(core): make data objects that should be immutable readonly
23
+ - changed data types that come from api responses and should not
24
+ be mutated to be readonly.
25
+ - See the documentation on these types, https://developers.youversion.com/sdks/react#referenced-types
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [efb1030]
30
+ - @youversion/platform-core@1.1.0
31
+
3
32
  ## 1.0.1
4
33
 
5
34
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-react-hooks",
3
- "version": "1.0.1",
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.0.1"
25
+ "@youversion/platform-core": "1.2.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.1.0 <20.0.0"
@@ -37,8 +37,8 @@
37
37
  "jsdom": "27.0.1",
38
38
  "typescript": "5.9.3",
39
39
  "vitest": "4.0.4",
40
- "@internal/tsconfig": "0.0.0",
41
- "@internal/eslint-config": "0.0.0"
40
+ "@internal/eslint-config": "0.0.0",
41
+ "@internal/tsconfig": "0.0.0"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "tsc --watch",