@quiltt/react-native 4.3.3 → 4.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @quiltt/react-native
2
2
 
3
+ ## 4.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#378](https://github.com/quiltt/quiltt-js/pull/378) [`0af4e66`](https://github.com/quiltt/quiltt-js/commit/0af4e6622d1542e0c0c02ac7e897e3e4f9219cbd) Thanks [@sirwolfgang](https://github.com/sirwolfgang)! - Add connector institution search and provider migration support.
8
+
9
+ ## New APIs
10
+
11
+ ### `useQuilttResolvable` Hook
12
+
13
+ Check if external provider institution IDs (e.g., Plaid) can be migrated to your connector.
14
+
15
+ ```typescript
16
+ import { useQuilttResolvable } from "@quiltt/react";
17
+ import { useEffect } from "react";
18
+
19
+ function ResolvableConnector({ plaidInstitutionId, children }) {
20
+ const { checkResolvable, isResolvable, isLoading } =
21
+ useQuilttResolvable("my-connector-id");
22
+
23
+ useEffect(() => {
24
+ checkResolvable({ plaid: plaidInstitutionId });
25
+ }, [plaidInstitutionId]);
26
+
27
+ if (isLoading) return <div>Checking...</div>;
28
+ if (!isResolvable) return null;
29
+
30
+ return <>{children}</>;
31
+ }
32
+
33
+ // Usage
34
+ <ResolvableConnector plaidInstitutionId="ins_3">
35
+ <QuilttButton connectorId="my-connector-id" />
36
+ </ResolvableConnector>;
37
+ ```
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [[`0af4e66`](https://github.com/quiltt/quiltt-js/commit/0af4e6622d1542e0c0c02ac7e897e3e4f9219cbd)]:
42
+ - @quiltt/react@4.4.0
43
+ - @quiltt/core@4.4.0
44
+
3
45
  ## 4.3.3
4
46
 
5
47
  ### Patch Changes
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { URL } from 'react-native-url-polyfill';
9
9
  import { WebView } from 'react-native-webview';
10
10
  import { generateStackTrace, makeBacktrace, getCauses } from '@honeybadger-io/core/build/src/util';
11
11
 
12
- var version = "4.3.3";
12
+ var version = "4.4.0";
13
13
 
14
14
  // Custom Error Reporter to avoid hooking into or colliding with a client's Honeybadger singleton
15
15
  const notifier = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quiltt/react-native",
3
- "version": "4.3.3",
3
+ "version": "4.4.0",
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": {
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@honeybadger-io/core": "6.6.0",
32
32
  "lodash.debounce": "4.0.8",
33
- "@quiltt/core": "4.3.3",
34
- "@quiltt/react": "4.3.3"
33
+ "@quiltt/core": "4.4.0",
34
+ "@quiltt/react": "4.4.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@biomejs/biome": "2.2.4",