@youversion/platform-react-hooks 1.0.0 → 1.0.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.
@@ -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.0.1 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,17 @@
1
1
  # @youversion/platform-react-hooks
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0ae8237: fix: update version apis
8
+ - change copyright_short -> copyright in version apis
9
+ - change copyright_long -> promotional_content in version apis
10
+ - add stories that hit real apis for local testing api changes
11
+
12
+ - Updated dependencies [0ae8237]
13
+ - @youversion/platform-core@1.0.1
14
+
3
15
  ## 1.0.0
4
16
 
5
17
  ### 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.0.1",
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.0.1"
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/eslint-config": "0.0.0",
41
- "@internal/tsconfig": "0.0.0"
40
+ "@internal/tsconfig": "0.0.0",
41
+ "@internal/eslint-config": "0.0.0"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "tsc --watch",
@@ -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',