@quiltt/react-native 3.6.7 → 3.6.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @quiltt/react-native
2
2
 
3
+ ## 3.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#258](https://github.com/quiltt/quiltt-js/pull/258) [`dc97e95`](https://github.com/quiltt/quiltt-js/commit/dc97e95dfa73bc1ccf09add6af70e4f95a458fab) Thanks [@rubendinho](https://github.com/rubendinho)! - Add URLs to WebView allowList
8
+
9
+ - Updated dependencies [[`dc97e95`](https://github.com/quiltt/quiltt-js/commit/dc97e95dfa73bc1ccf09add6af70e4f95a458fab)]:
10
+ - @quiltt/core@3.6.8
11
+ - @quiltt/react@3.6.8
12
+
3
13
  ## 3.6.7
4
14
 
5
15
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -11,7 +11,7 @@ var reactNative = require('react-native');
11
11
  var util = require('@honeybadger-io/core/build/src/util');
12
12
 
13
13
  // Generated by genversion.
14
- const version = '3.6.7';
14
+ const version = '3.6.8';
15
15
 
16
16
  const AndroidSafeAreaView = ({ testId, children })=>/*#__PURE__*/ jsxRuntime.jsx(reactNative.SafeAreaView, {
17
17
  testID: testId,
@@ -320,14 +320,20 @@ const QuilttConnector = ({ testId, connectorId, connectionId, institution, oauth
320
320
  session?.token
321
321
  ]);
322
322
  // allowedListUrl & shouldRender ensure we are only rendering Quiltt, MX and Plaid content in Webview
323
- // For other urls, we assume those are bank urls, which needs to be handle in external browser.
323
+ // For other urls, we assume those are bank urls, which need to be handled in external browser.
324
324
  // TODO: Convert it to a list from Quiltt Server to prevent MX/ Plaid changes.
325
325
  const allowedListUrl = react$1.useMemo(()=>[
326
+ 'quiltt.io',
326
327
  'quiltt.app',
327
328
  'quiltt.dev',
328
329
  'moneydesktop.com',
329
- 'cdn.plaid.com',
330
- 'www.google.com'
330
+ 'plaid.com',
331
+ 'https://cdn.plaid.com/link',
332
+ 'https://www.google.com/recaptcha',
333
+ 'https://challenges.cloudflare.com',
334
+ 'https://api.stripe.com',
335
+ 'https://cdn.jsdelivr.net',
336
+ 'https://auth0.com'
331
337
  ], []);
332
338
  const isQuilttEvent = react$1.useCallback((url)=>url.protocol === 'quilttconnector:', []);
333
339
  const shouldRender = react$1.useCallback((url)=>{
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import { StyleSheet, Platform, StatusBar, SafeAreaView, View, Text, Pressable, A
10
10
  import { generateStackTrace, makeBacktrace, getCauses } from '@honeybadger-io/core/build/src/util';
11
11
 
12
12
  // Generated by genversion.
13
- const version = '3.6.7';
13
+ const version = '3.6.8';
14
14
 
15
15
  const AndroidSafeAreaView = ({ testId, children })=>/*#__PURE__*/ jsx(SafeAreaView, {
16
16
  testID: testId,
@@ -319,14 +319,20 @@ const QuilttConnector = ({ testId, connectorId, connectionId, institution, oauth
319
319
  session?.token
320
320
  ]);
321
321
  // allowedListUrl & shouldRender ensure we are only rendering Quiltt, MX and Plaid content in Webview
322
- // For other urls, we assume those are bank urls, which needs to be handle in external browser.
322
+ // For other urls, we assume those are bank urls, which need to be handled in external browser.
323
323
  // TODO: Convert it to a list from Quiltt Server to prevent MX/ Plaid changes.
324
324
  const allowedListUrl = useMemo(()=>[
325
+ 'quiltt.io',
325
326
  'quiltt.app',
326
327
  'quiltt.dev',
327
328
  'moneydesktop.com',
328
- 'cdn.plaid.com',
329
- 'www.google.com'
329
+ 'plaid.com',
330
+ 'https://cdn.plaid.com/link',
331
+ 'https://www.google.com/recaptcha',
332
+ 'https://challenges.cloudflare.com',
333
+ 'https://api.stripe.com',
334
+ 'https://cdn.jsdelivr.net',
335
+ 'https://auth0.com'
330
336
  ], []);
331
337
  const isQuilttEvent = useCallback((url)=>url.protocol === 'quilttconnector:', []);
332
338
  const shouldRender = useCallback((url)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quiltt/react-native",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
4
4
  "description": "React Native components for Quiltt Connector",
5
5
  "homepage": "https://github.com/quiltt/quiltt-js/tree/main/packages/react-native#readme",
6
6
  "repository": {
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@honeybadger-io/core": "6.6.0",
30
- "@quiltt/core": "3.6.7",
31
- "@quiltt/react": "3.6.7"
30
+ "@quiltt/core": "3.6.8",
31
+ "@quiltt/react": "3.6.8"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@apollo/client": "3.9.9",
@@ -87,10 +87,22 @@ const QuilttConnector = ({
87
87
  }, [connectionId, connectorId, institution, session?.token])
88
88
 
89
89
  // allowedListUrl & shouldRender ensure we are only rendering Quiltt, MX and Plaid content in Webview
90
- // For other urls, we assume those are bank urls, which needs to be handle in external browser.
90
+ // For other urls, we assume those are bank urls, which need to be handled in external browser.
91
91
  // TODO: Convert it to a list from Quiltt Server to prevent MX/ Plaid changes.
92
92
  const allowedListUrl = useMemo(
93
- () => ['quiltt.app', 'quiltt.dev', 'moneydesktop.com', 'cdn.plaid.com', 'www.google.com'],
93
+ () => [
94
+ 'quiltt.io',
95
+ 'quiltt.app',
96
+ 'quiltt.dev',
97
+ 'moneydesktop.com',
98
+ 'plaid.com',
99
+ 'https://cdn.plaid.com/link',
100
+ 'https://www.google.com/recaptcha',
101
+ 'https://challenges.cloudflare.com',
102
+ 'https://api.stripe.com',
103
+ 'https://cdn.jsdelivr.net',
104
+ 'https://auth0.com',
105
+ ],
94
106
  []
95
107
  )
96
108
 
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '3.6.7'
2
+ export const version = '3.6.8'