@quiltt/react 3.6.4 → 3.6.6

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,23 @@
1
1
  # @quiltt/react
2
2
 
3
+ ## 3.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#251](https://github.com/quiltt/quiltt-js/pull/251) [`07a3eb1`](https://github.com/quiltt/quiltt-js/commit/07a3eb1b2b719ae1073287079d6a0e61e432cc96) Thanks [@zubairaziz](https://github.com/zubairaziz)! - Update @quiltt/react-native OAuthURL handling
8
+
9
+ - Updated dependencies [[`07a3eb1`](https://github.com/quiltt/quiltt-js/commit/07a3eb1b2b719ae1073287079d6a0e61e432cc96)]:
10
+ - @quiltt/core@3.6.6
11
+
12
+ ## 3.6.5
13
+
14
+ ### Patch Changes
15
+
16
+ - [#248](https://github.com/quiltt/quiltt-js/pull/248) [`d15297e`](https://github.com/quiltt/quiltt-js/commit/d15297e4dea40c90dab97d1f8e8797b5cfe8395c) Thanks [@sirwolfgang](https://github.com/sirwolfgang)! - Fix issue with loading Plaid's new Link
17
+
18
+ - Updated dependencies [[`d15297e`](https://github.com/quiltt/quiltt-js/commit/d15297e4dea40c90dab97d1f8e8797b5cfe8395c)]:
19
+ - @quiltt/core@3.6.5
20
+
3
21
  ## 3.6.4
4
22
 
5
23
  ### Patch Changes
@@ -5,7 +5,7 @@ import { JsonWebTokenParse, QuilttClient, InMemoryCache as InMemoryCache$1 } fro
5
5
  import './useSession-client-Cew1m26_.js';
6
6
  import './useQuilttSettings-client-DU_Qfc8X.js';
7
7
  import { jsx } from 'react/jsx-runtime';
8
- import { u as useQuilttSession } from './useQuilttSession-client-C2Wc0RQE.js';
8
+ import { u as useQuilttSession } from './useQuilttSession-client-Hh1rEsMx.js';
9
9
 
10
10
  function _mergeNamespaces(n, m) {
11
11
  m.forEach(function (e) {
@@ -782,7 +782,7 @@ const kindValues = new Set(Object.keys(QueryDocumentKeys));
782
782
  const hasTrailingQuote = value.endsWith('"') && !hasTrailingTripleQuotes;
783
783
  const hasTrailingSlash = value.endsWith('\\');
784
784
  const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;
785
- const printAsMultipleLines = !(options !== null && options !== void 0 && options.minimize) && // add leading and trailing new lines only if it improves readability
785
+ const printAsMultipleLines = // add leading and trailing new lines only if it improves readability
786
786
  (!isSingleLine || value.length > 70 || forceTrailingNewline || forceLeadingNewLine || hasTrailingTripleQuotes);
787
787
  let result = ''; // Format a multi-line block quote to account for leading space.
788
788
  const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));
@@ -3142,7 +3142,6 @@ const EntryMethods = {
3142
3142
  };
3143
3143
  function dep(options) {
3144
3144
  const depsByKey = new Map();
3145
- const subscribe = options && options.subscribe;
3146
3145
  function depend(key) {
3147
3146
  const parent = parentEntrySlot.getValue();
3148
3147
  if (parent) {
@@ -3151,10 +3150,6 @@ function dep(options) {
3151
3150
  depsByKey.set(key, dep = new Set);
3152
3151
  }
3153
3152
  parent.dependOn(dep);
3154
- if (typeof subscribe === "function") {
3155
- maybeUnsubscribe(dep);
3156
- dep.unsubscribe = subscribe(key);
3157
- }
3158
3153
  }
3159
3154
  }
3160
3155
  depend.dirty = function dirty(key, entryMethodName) {
@@ -3845,7 +3840,7 @@ var DeepMerger = /** @class */ function() {
3845
3840
  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
3846
3841
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
3847
3842
  if (it) return (it = it.call(o)).next.bind(it);
3848
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
3843
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike ) {
3849
3844
  if (it) o = it;
3850
3845
  var i = 0;
3851
3846
  return function() {
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  export * from '@quiltt/core';
2
2
  export { u as useEventListener } from './useEventListener-client-CTa_g_PX.js';
3
3
  export { u as useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect-client-DeTHOKz1.js';
4
- import { Q as QuilttAuthProvider } from './QuilttAuthProvider-client-DzZJ_7r3.js';
5
- export { c as useAuthenticateSession, b as useIdentifySession, a as useImportSession, d as useRevokeSession } from './QuilttAuthProvider-client-DzZJ_7r3.js';
6
- export { u as useQuilttClient } from './useQuilttClient-client-4g4cdtMX.js';
7
- import { u as useQuilttConnector } from './useQuilttConnector-client-DkNGPSTI.js';
8
- export { u as useQuilttSession } from './useQuilttSession-client-C2Wc0RQE.js';
4
+ import { Q as QuilttAuthProvider } from './QuilttAuthProvider-client-D9WOsdFJ.js';
5
+ export { c as useAuthenticateSession, b as useIdentifySession, a as useImportSession, d as useRevokeSession } from './QuilttAuthProvider-client-D9WOsdFJ.js';
6
+ export { u as useQuilttClient } from './useQuilttClient-client-BFyKsOQV.js';
7
+ import { u as useQuilttConnector } from './useQuilttConnector-client-DZJYlrF7.js';
8
+ export { u as useQuilttSession } from './useQuilttSession-client-Hh1rEsMx.js';
9
9
  export { Q as QuilttSettings, u as useQuilttSettings } from './useQuilttSettings-client-DU_Qfc8X.js';
10
10
  export { u as useSession } from './useSession-client-Cew1m26_.js';
11
11
  export { u as useStorage } from './useStorage-client-C91C8oXS.js';
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { u as useApolloClient } from './QuilttAuthProvider-client-DzZJ_7r3.js';
2
+ import { u as useApolloClient } from './QuilttAuthProvider-client-D9WOsdFJ.js';
3
3
 
4
4
  const useQuilttClient = useApolloClient;
5
5
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  import { useState, useEffect, useCallback } from 'react';
3
- import { u as useQuilttSession } from './useQuilttSession-client-C2Wc0RQE.js';
3
+ import { u as useQuilttSession } from './useQuilttSession-client-Hh1rEsMx.js';
4
4
  import { u as useScript } from './useScript-client-Cx5nb9RW.js';
5
5
  import { cdnBase } from '@quiltt/core';
6
6
 
7
7
  // Generated by genversion.
8
- const version = '3.6.4';
8
+ const version = '3.6.6';
9
9
 
10
10
  const useQuilttConnector = (connectorId, options)=>{
11
11
  const status = useScript(`${cdnBase}/v1/connector.js?agent=react-${version}`);
@@ -2,7 +2,7 @@
2
2
  import { useCallback } from 'react';
3
3
  import { u as useSession } from './useSession-client-Cew1m26_.js';
4
4
  import { AuthAPI } from '@quiltt/core';
5
- import { a as useImportSession, b as useIdentifySession, c as useAuthenticateSession, d as useRevokeSession } from './QuilttAuthProvider-client-DzZJ_7r3.js';
5
+ import { a as useImportSession, b as useIdentifySession, c as useAuthenticateSession, d as useRevokeSession } from './QuilttAuthProvider-client-D9WOsdFJ.js';
6
6
  import { u as useQuilttSettings } from './useQuilttSettings-client-DU_Qfc8X.js';
7
7
 
8
8
  const useQuilttSession = (environmentId)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quiltt/react",
3
- "version": "3.6.4",
3
+ "version": "3.6.6",
4
4
  "description": "React components and hooks for Quiltt Connector",
5
5
  "keywords": [
6
6
  "quiltt",
@@ -37,12 +37,12 @@
37
37
  "CHANGELOG.md"
38
38
  ],
39
39
  "dependencies": {
40
- "@quiltt/core": "3.6.4"
40
+ "@quiltt/core": "3.6.6"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@apollo/client": "3.9.9",
44
44
  "@trivago/prettier-plugin-sort-imports": "4.1.1",
45
- "@types/node": "20.12.7",
45
+ "@types/node": "20.12.10",
46
46
  "@types/react": "18.2.73",
47
47
  "@types/react-dom": "18.2.6",
48
48
  "@typescript-eslint/eslint-plugin": "5.60.1",
@@ -58,7 +58,7 @@
58
58
  "react": "18.2.0",
59
59
  "react-dom": "18.2.0",
60
60
  "rimraf": "5.0.5",
61
- "typescript": "5.4.3"
61
+ "typescript": "5.4.5"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '3.6.4'
2
+ export const version = '3.6.6'