@youversion/platform-react-hooks 0.8.0 → 0.8.2
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/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @youversion/platform-react-hooks@0.8.
|
|
2
|
+
> @youversion/platform-react-hooks@0.8.2 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,24 @@
|
|
|
1
1
|
# @youversion/platform-react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 93be9ef: Update types, zod schemas, and test mocks for the following updated endpoints:
|
|
8
|
+
- get bible books
|
|
9
|
+
- get bible chapters
|
|
10
|
+
- get bible verses
|
|
11
|
+
- Updated dependencies [93be9ef]
|
|
12
|
+
- @youversion/platform-core@0.8.2
|
|
13
|
+
|
|
14
|
+
## 0.8.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 6a7b8ba: Upgrade to React 19.1.2 to fix a security vulnerability in React.
|
|
19
|
+
- Updated dependencies [6a7b8ba]
|
|
20
|
+
- @youversion/platform-core@0.8.1
|
|
21
|
+
|
|
3
22
|
## 0.8.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -17,7 +17,7 @@ export function YouVersionProvider(props) {
|
|
|
17
17
|
if (includeAuth) {
|
|
18
18
|
const { authRedirectUrl } = props;
|
|
19
19
|
// Installation ID gets set automatically by YouVersionPlatformConfiguration
|
|
20
|
-
return (_jsx(YouVersionContext.Provider, { value: { appKey, apiHost, installationId: YouVersionPlatformConfiguration.installationId }, children: _jsx(Suspense, { children: _jsx(AuthProvider, { config: { appKey, apiHost, redirectUri: authRedirectUrl }, children: children }) }) }));
|
|
20
|
+
return (_jsx(YouVersionContext.Provider, { value: { appKey, apiHost, installationId: YouVersionPlatformConfiguration.installationId }, children: _jsx(Suspense, { children: _jsx(AuthProvider, { config: { appKey, apiHost, redirectUri: authRedirectUrl }, children: _jsx("div", { "data-yv-sdk": true, children: children }) }) }) }));
|
|
21
21
|
}
|
|
22
22
|
// Installation ID gets set automatically by YouVersionPlatformConfiguration
|
|
23
23
|
return (_jsx(YouVersionContext.Provider, { value: { appKey, apiHost, installationId: YouVersionPlatformConfiguration.installationId }, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YouVersionProvider.js","sourceRoot":"","sources":["../../src/context/YouVersionProvider.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAkB5E,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAEpE,MAAM,UAAU,kBAAkB,CAChC,KAA8F;IAE9F,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,oBAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEhF,gEAAgE;IAChE,4DAA4D;IAC5D,6DAA6D;IAC7D,wCAAwC;IACxC,SAAS,CAAC,GAAG,EAAE;QACb,+BAA+B,CAAC,MAAM,GAAG,MAAM,CAAC;QAChD,+BAA+B,CAAC,OAAO,GAAG,OAAO,CAAC;IACpD,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAEtB,IAAI,WAAW,EAAE,CAAC;QAChB,MAAM,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;QAElC,4EAA4E;QAC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AE1F,KAAC,QAAQ,cACP,KAAC,YAAY,IAAC,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YACrE,6CAAkB,QAAQ,GAAO,GACpB,GACN,GACgB,CAC9B,CAAC;IACJ,CAAC;IAED,4EAA4E;IAC5E,OAAO,CACL,KAAC,iBAAiB,CAAC,QAAQ,IACzB,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,+BAA+B,CAAC,cAAc,EAAE,YAEzF,QAAQ,GACkB,CAC9B,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youversion/platform-react-hooks",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
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": "0.8.
|
|
25
|
+
"@youversion/platform-core": "0.8.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=19.1.0 <20.0.0"
|
|
@@ -13,8 +13,8 @@ const mockVersions: BibleVersion[] = [
|
|
|
13
13
|
info: null,
|
|
14
14
|
publisher_url: null,
|
|
15
15
|
language_tag: 'en',
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
localized_abbreviation: 'KJV',
|
|
17
|
+
localized_title: 'King James Version',
|
|
18
18
|
books: [],
|
|
19
19
|
youversion_deep_link: 'https://www.bible.com/versions/1',
|
|
20
20
|
},
|
|
@@ -27,8 +27,8 @@ const mockVersions: BibleVersion[] = [
|
|
|
27
27
|
info: null,
|
|
28
28
|
publisher_url: null,
|
|
29
29
|
language_tag: 'en',
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
localized_abbreviation: 'NIV',
|
|
31
|
+
localized_title: 'New International Version',
|
|
32
32
|
books: [],
|
|
33
33
|
youversion_deep_link: 'https://www.bible.com/versions/2',
|
|
34
34
|
},
|
|
@@ -41,8 +41,8 @@ const mockVersions: BibleVersion[] = [
|
|
|
41
41
|
info: null,
|
|
42
42
|
publisher_url: null,
|
|
43
43
|
language_tag: 'es',
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
localized_abbreviation: 'RVR1960',
|
|
45
|
+
localized_title: 'Reina-Valera 1960',
|
|
46
46
|
books: [],
|
|
47
47
|
youversion_deep_link: 'https://www.bible.com/versions/3',
|
|
48
48
|
},
|
|
@@ -55,8 +55,8 @@ const mockVersions: BibleVersion[] = [
|
|
|
55
55
|
info: null,
|
|
56
56
|
publisher_url: null,
|
|
57
57
|
language_tag: 'es',
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
localized_abbreviation: 'NVI',
|
|
59
|
+
localized_title: 'Nueva Versión Internacional',
|
|
60
60
|
books: [],
|
|
61
61
|
youversion_deep_link: 'https://www.bible.com/versions/4',
|
|
62
62
|
},
|
|
@@ -69,8 +69,8 @@ const mockVersions: BibleVersion[] = [
|
|
|
69
69
|
info: null,
|
|
70
70
|
publisher_url: null,
|
|
71
71
|
language_tag: 'fr',
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
localized_abbreviation: 'BDS',
|
|
73
|
+
localized_title: 'La Bible du Semeur',
|
|
74
74
|
books: [],
|
|
75
75
|
youversion_deep_link: 'https://www.bible.com/versions/5',
|
|
76
76
|
},
|