Skip to content

Latest commit

 

History

History
1139 lines (689 loc) · 32.7 KB

CHANGELOG.md

File metadata and controls

1139 lines (689 loc) · 32.7 KB

@quiltt/react

3.9.2

Patch Changes

3.9.1

Patch Changes

3.9.0

Minor Changes

  • #307 d0033cd Thanks @rubendinho! - - Significantly reduce bundle size by migrating @apollo/client to "deep entrypoint import style"
    • Bump @apollo/client to v3.11.8

Patch Changes

3.8.2

Patch Changes

3.8.1

Patch Changes

3.8.0

Minor Changes

  • #298 134b294 Thanks @zubairaziz! - - Update dependencies
    • Update expo-react-native implementation
    • Reorganize test files
    • Fix security vulnerabilities

Patch Changes

3.7.4

Patch Changes

3.7.3

Patch Changes

3.7.2

Patch Changes

3.7.1

Patch Changes

3.7.0

Minor Changes

Patch Changes

3.6.14

Patch Changes

3.6.13

Patch Changes

3.6.12

Patch Changes

3.6.11

Patch Changes

3.6.10

Patch Changes

3.6.9

Patch Changes

3.6.8

Patch Changes

3.6.7

Patch Changes

3.6.5

Patch Changes

3.6.4

Patch Changes

3.6.3

Patch Changes

3.6.2

Patch Changes

3.6.1

Patch Changes

3.6.0

Minor Changes

Patch Changes

3.5.6

Patch Changes

3.5.5

Patch Changes

3.5.4

Patch Changes

3.5.3

Patch Changes

3.5.2

Patch Changes

3.5.1

Patch Changes

3.5.0

Minor Changes

Patch Changes

3.4.1

Patch Changes

3.4.0

Minor Changes

Patch Changes

3.3.10

Patch Changes

3.3.9

Patch Changes

3.3.8

Patch Changes

3.3.7

Patch Changes

  • 13bdf9f: Fix URL and atob polyfill
  • Updated dependencies [13bdf9f]

3.3.6

Patch Changes

  • bb47eb5: Retry GraphQL requests on Network Errors
  • Updated dependencies [bb47eb5]

3.3.5

Patch Changes

  • f633be3: [Internal] Rename Deployments to Clients in Auth
  • Updated dependencies [f633be3]

3.3.4

Patch Changes

  • b659537: Fix MX OAuth and move some lib into peer dependencies
  • Updated dependencies [b659537]

3.3.3

Patch Changes

  • 48a50d0: Fix handle plaid oauth link bug
  • Updated dependencies [48a50d0]

3.3.2

Patch Changes

  • 4a9118b: React Native sdk to support Plaid Oauth url
  • Updated dependencies [4a9118b]

3.3.1

Patch Changes

  • 9bfbc03: Match eventType with MessageType in react native sdk
  • Updated dependencies [9bfbc03]

3.3.0

Minor Changes

  • 2a6410f: Add profileId to ConnectorSDKCallbackMetadata

Patch Changes

3.2.2

Patch Changes

  • 9f3783a: Fix React Native package entry point
  • Updated dependencies [9f3783a]

3.2.1

Patch Changes

  • 31b7543: Drop react-native-url-polyfill
  • Updated dependencies [31b7543]

3.2.0

Minor Changes

  • 07bc9f3: Release React Native SDK

Patch Changes

3.1.3

Patch Changes

  • ab55ccb: Skip browser code when in expo app
  • Updated dependencies [ab55ccb]

3.1.2

Patch Changes

  • 5ca68bf: Update ConnectorSDKOnLoadCallback type
  • Updated dependencies [5ca68bf]

3.1.1

Patch Changes

3.1.0

Minor Changes

  • af052a7: Add 'Load' to ConnectorSDKEventType

Patch Changes

3.0.3

Patch Changes

  • 977a6a5: Bump graphql from 16.7.1 to 16.8.1
  • Updated dependencies [977a6a5]

3.0.2

Patch Changes

  • 315de22: Increase 429 handling for ci/cd
  • Updated dependencies [315de22]

3.0.1

Patch Changes

  • c8bfa0a: Export additional ConnectorSDK types
  • Updated dependencies [c8bfa0a]

3.0.0

Major Changes

  • e12a1ef: Rename Connector SDK Types for better namespacing

Patch Changes

2.4.1

Patch Changes

  • 44e9759: Fix bug with backoff timer, extend max delay before failure
  • Updated dependencies [44e9759]

2.4.0

Minor Changes

  • 48ae700: Add Reset to the SDK API

Patch Changes

2.3.2

Patch Changes

  • c4ac918: Add retries to auth api when dealing with network related errors
  • Updated dependencies [c4ac918]

2.3.1

Patch Changes

  • 108899b: Add ability for session import to validate environment
  • Updated dependencies [108899b]

2.3.0

Minor Changes

  • 264fb68: Add EID to Session JWT Type

Patch Changes

2.2.1

Patch Changes

  • b4dd03c: Add ApolloError to graphql exports
  • Updated dependencies [b4dd03c]

2.2.0

Minor Changes

  • 24f6df1: This introduces a new Javascript API that can be used instead of or with the DOM API, giving exposure to exit events. There are a few ways to use it:

    1. HTML5

    If you're using the HTML interface, and need to upgrade to using some Javascript code, you can; but all event registrations are on a global level. This means that if you have multiple buttons, you will look at the metadata of the response to see which one you're reacting to.

    <head>
      <script src="https://cdn.quiltt.io/v1/connector.js"></script>
      <script language="JavaScript">
        Quiltt.onExitSuccess((metadata) =>
          console.log("Global onExitSuccess", metadata.connectionId)
        );
      </script>
    </head>
    <body>
      <button quiltt-button="<CONNECTOR_ID">Click Here!</button>
    </body>

    2. Javascript

    Now if you want to do something more complex, and expect to be working with multiple buttons in different ways, then the Javascript SDK may be the way to go. With this, you can control everything in JS.

    <head>
      <script src="https://cdn.quiltt.io/v1/connector.js"></script>
      <script language="JavaScript">
        Quiltt.authenticate("<SESSION_TOKEN>");
    
        const connector = Quiltt.connect("<CONNECTOR_ID>", {
          onExitSuccess: (metadata) => {
            console.log("Connector onExitSuccess", metadata.connectionId),
          });
    
        connector.open();
      </script>
    </head>

    3. React

    With these new hooks, the React components now support callbacks.

    import { QuilttButton } from '@quiltt/react'
    
    export const App = () => {
      const [connectionId, setConnectionId] = useState<string>()
      const handleSuccess = (metadata) => setConnectionId(metadata?.connectionId)
    
      return (
        <QuilttButton connectorId="<CONNECTOR_ID>" onExitSuccess={handleSuccess}>
          Add
        </QuilttButton>
    
        <QuilttButton connectorId="<CONNECTOR_ID>" connectionId={connectionId}>
          Repair
        </QuilttButton>
      )
    }

Patch Changes

2.1.2

Patch Changes

  • 541c809: @quiltt/react: Add support for using a custom storage key in the useSession hook
  • Updated dependencies [541c809]

2.1.1

Patch Changes

  • 43131d5: - Add code examples to README
    • Auto-create Github Releases
    • Misc cleanups
  • Updated dependencies [43131d5]

2.1.0

Minor Changes

  • 7debd45: Add support for custom components 'as' props

Patch Changes

2.0.0

Major Changes

  • bc6fd8c: Create new React Connector SDK helper components supported by refactored hook

Patch Changes

1.3.0

Minor Changes

  • 6936687: - Fix transpilation issues caused by importing React components
    • Add CI via Github Action
    • Add test Next.js app
    • Misc cleanups

Patch Changes

1.2.8

Patch Changes

1.2.7

Patch Changes

  • 0321f3e: Filter packages to publish
  • Updated dependencies [0321f3e]

1.2.6

Patch Changes

  • 1594b4a: Pass NPM_TOKEN for publishing
  • Updated dependencies [1594b4a]

1.2.5

Patch Changes

  • ba18907: Publish to npm registry
  • Updated dependencies [ba18907]

1.2.4

Patch Changes

  • a05ccfc: Revert types/react and tsup
  • Updated dependencies [a05ccfc]

1.2.3

Patch Changes

  • 71ba4d9: Add react and react-dom as devDependency
  • Updated dependencies [71ba4d9]

1.2.2

Patch Changes

  • 89fca3b: Add useQuilttConnector hook
  • Updated dependencies [89fca3b]

1.2.1

Patch Changes

1.2.0

Minor Changes

  • 215662a: Update deps

Patch Changes

1.1.5

Patch Changes

  • 4e237ce: Expose useEventListener
  • Updated dependencies [4e237ce]

1.1.4

Patch Changes

  • c67e98d: Revert attempt to force reset through renders
  • Updated dependencies [c67e98d]

1.1.3

Patch Changes

  • d8fdcaa: Add option to set QuilttProvider to reset on session change
  • Updated dependencies [d8fdcaa]

1.1.2

Patch Changes

  • dcf2c5c: Improve session yanking after getting a 401
  • Updated dependencies [dcf2c5c]

1.1.1

Patch Changes

  • 0a78cd2: Move session revoking to be directly to storage
  • Updated dependencies [0a78cd2]

1.1.0

Minor Changes

  • 7a1e387: Attempt to reduce race conditions with session changes by pulling token changing logic directly into the respective apollo links

Patch Changes

1.0.37

Patch Changes

  • 9169fde: Reduce complexity of useSession by replacing useState with useMemo
  • Updated dependencies [9169fde]

1.0.36

Patch Changes

  • 9f34730: Remove redundant initializeState logic from useSession
  • Updated dependencies [9f34730]

1.0.35

Patch Changes

  • 14309ed: Update deps
  • 6b8d7a4: Reduce the risk of race conditions double subscribing to localstorage changes
  • Updated dependencies [14309ed]
  • Updated dependencies [6b8d7a4]

1.0.34

Patch Changes

  • 54a6574: Save localstorage before memorystorage to give localstorage more time to flush
  • Updated dependencies [54a6574]

1.0.33

Patch Changes

  • f0c60dd: Update useSession hook to memoize initialSession
  • Updated dependencies [f0c60dd]

1.0.32

Patch Changes

  • 97aa921: Revert adding loading state to graphql as it causes unexpected resets to subcomponents
  • Updated dependencies [97aa921]

1.0.31

Patch Changes

  • 18cb0a2: Add loading state to graphql provider to reduce unauthd requests
  • Updated dependencies [18cb0a2]

1.0.30

Patch Changes

  • 5d6027b: Fix issue with useSession setSession not being wrapped in useCallback, causing invalidations every render
  • Updated dependencies [5d6027b]

1.0.29

Patch Changes

  • 098710f: Fix useEffect and useState looping hell
  • Updated dependencies [098710f]

1.0.28

Patch Changes

  • 3877274: Fix issues with graphql client not being updated with new sessions
  • Updated dependencies [3877274]

1.0.27

Patch Changes

  • 1b073ea: - Fix potential bugs and memory leaks in Storage
    • Add helper hooks to compose other hooks
    • Update useStorage hook
  • Updated dependencies [1b073ea]

1.0.26

Patch Changes

  • 4a03bc8: Update types & fix linting
  • Updated dependencies [4a03bc8]

1.0.25

Patch Changes

  • 2ffea2f: Fix issue with this being undefined for ActionCableLink
  • Updated dependencies [2ffea2f]

1.0.24

Patch Changes

  • d9d234b: Switch to using globalThis for actioncable self
  • Updated dependencies [d9d234b]

1.0.23

Patch Changes

1.0.22

Patch Changes

  • 4a06719: Revert back to upstream packages
  • Updated dependencies [4a06719]

1.0.21

Patch Changes

  • 49f108a: Fix graphql subscriptions from not working due to channel name mismatch
  • Updated dependencies [49f108a]

1.0.20

Patch Changes

  • 7e0d314: Set cable to be a singleton to reduce the chance of having multiple trying to run
  • Updated dependencies [7e0d314]

1.0.19

Patch Changes

  • 866407c: Improve websocket subscriptions lifecycle handling
  • Updated dependencies [866407c]

1.0.18

Patch Changes

  • bf25cc4: Prevent websockets from attempting to connect without a token
  • Updated dependencies [bf25cc4]

1.0.17

Patch Changes

  • 190df4d: Fix issue with ActionCableLink calling the wrong #perform
  • Updated dependencies [190df4d]

1.0.16

Patch Changes

  • c284002: Add some types to actioncable and connect logging to config
  • Updated dependencies [c284002]

1.0.15

Patch Changes

  • 2f6f903: Fix issue with importing sessions and cache resetting causing request cancelations during race conditions
  • Updated dependencies [2f6f903]

1.0.14

Patch Changes

  • a97e9c8: Pin Dependencies & Update Linting
  • 6d35bae: Remove unused global declares
  • Updated dependencies [a97e9c8]
  • Updated dependencies [6d35bae]

1.0.13

Patch Changes

  • 24d28f3: Add missing apollo esms
  • Updated dependencies [24d28f3]

1.0.12

Patch Changes

  • 3eb86ce: Force load all of apollo esms
  • Updated dependencies [3eb86ce]

1.0.11

Patch Changes

  • 2932555: Load ActionLinkCable Apollo esms
  • Updated dependencies [2932555]

1.0.10

Patch Changes

  • f014a84: Set apollo links to load esm from .js
  • Updated dependencies [f014a84]

1.0.9

Patch Changes

  • be8e696: Attempt to improve esm loading of apollo links
  • Updated dependencies [be8e696]

1.0.8

Patch Changes

  • 250f817: Refactor AuthLink to improve compiling
  • Updated dependencies [250f817]

1.0.7

Patch Changes

  • 9e78757: Fix issues with QuilttClient/Link not working
  • Updated dependencies [9e78757]

1.0.6

Patch Changes

  • 882b229: Set default forwardlink within quiltt link
  • Updated dependencies [882b229]

1.0.5

Patch Changes

  • 795bf20: Improve how graphql client is loaded
  • Updated dependencies [795bf20]

1.0.4

Patch Changes

  • 9bc26d1: Import action cable code to help with building
  • Updated dependencies [9bc26d1]

1.0.3

Patch Changes

  • 19a5f41: Allow client id to be optional for token based apps
  • Updated dependencies [19a5f41]

1.0.2

Patch Changes

1.0.1

Patch Changes

  • 86d6689: Fix issue with react not reexporting core
  • Updated dependencies [86d6689]