@youversion/platform-react-hooks 1.0.0 → 1.1.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.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
2
+ > @youversion/platform-react-hooks@1.1.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,31 @@
1
1
  # @youversion/platform-react-hooks
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - efb1030: feat(core): make data objects that should be immutable readonly
8
+ - changed data types that come from api responses and should not
9
+ be mutated to be readonly.
10
+ - See the documentation on these types, https://developers.youversion.com/sdks/react#referenced-types
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [efb1030]
15
+ - @youversion/platform-core@1.1.0
16
+
17
+ ## 1.0.1
18
+
19
+ ### Patch Changes
20
+
21
+ - 0ae8237: fix: update version apis
22
+ - change copyright_short -> copyright in version apis
23
+ - change copyright_long -> promotional_content in version apis
24
+ - add stories that hit real apis for local testing api changes
25
+
26
+ - Updated dependencies [0ae8237]
27
+ - @youversion/platform-core@1.0.1
28
+
3
29
  ## 1.0.0
4
30
 
5
31
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-react-hooks",
3
- "version": "1.0.0",
3
+ "version": "1.1.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.0"
25
+ "@youversion/platform-core": "1.1.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.1.0 <20.0.0"
@@ -8,8 +8,8 @@ const mockVersions: BibleVersion[] = [
8
8
  id: 1,
9
9
  title: 'King James Version',
10
10
  abbreviation: 'KJV',
11
- copyright_short: '',
12
- copyright_long: '',
11
+ copyright: '',
12
+ promotional_content: '',
13
13
  info: null,
14
14
  publisher_url: null,
15
15
  language_tag: 'en',
@@ -22,8 +22,8 @@ const mockVersions: BibleVersion[] = [
22
22
  id: 2,
23
23
  title: 'New International Version',
24
24
  abbreviation: 'NIV',
25
- copyright_short: '',
26
- copyright_long: '',
25
+ copyright: '',
26
+ promotional_content: '',
27
27
  info: null,
28
28
  publisher_url: null,
29
29
  language_tag: 'en',
@@ -36,8 +36,8 @@ const mockVersions: BibleVersion[] = [
36
36
  id: 3,
37
37
  title: 'Reina-Valera 1960',
38
38
  abbreviation: 'RVR1960',
39
- copyright_short: '',
40
- copyright_long: '',
39
+ copyright: '',
40
+ promotional_content: '',
41
41
  info: null,
42
42
  publisher_url: null,
43
43
  language_tag: 'es',
@@ -50,8 +50,8 @@ const mockVersions: BibleVersion[] = [
50
50
  id: 4,
51
51
  title: 'Nueva Versión Internacional',
52
52
  abbreviation: 'NVI',
53
- copyright_short: '',
54
- copyright_long: '',
53
+ copyright: '',
54
+ promotional_content: '',
55
55
  info: null,
56
56
  publisher_url: null,
57
57
  language_tag: 'es',
@@ -64,8 +64,8 @@ const mockVersions: BibleVersion[] = [
64
64
  id: 5,
65
65
  title: 'La Bible du Semeur',
66
66
  abbreviation: 'BDS',
67
- copyright_short: '',
68
- copyright_long: '',
67
+ copyright: '',
68
+ promotional_content: '',
69
69
  info: null,
70
70
  publisher_url: null,
71
71
  language_tag: 'fr',