react-native-plaid-link-sdk 12.0.0-beta.1 → 12.0.0-beta.3

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.
Files changed (361) hide show
  1. package/README.md +3 -1
  2. package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
  3. package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  4. package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
  5. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  6. package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
  7. package/dist/PlaidLink.d.ts +2 -1
  8. package/dist/PlaidLink.js +8 -0
  9. package/dist/Types.d.ts +3 -0
  10. package/dist/Types.js +1 -0
  11. package/dist/fabric/NativePlaidLinkModuleAndroid.d.ts +1 -0
  12. package/dist/fabric/NativePlaidLinkModuleiOS.d.ts +1 -0
  13. package/dist/index.d.ts +2 -2
  14. package/dist/index.js +2 -2
  15. package/ios/RNLinksdk.mm +24 -0
  16. package/ios/RNPlaidHelper.h +4 -0
  17. package/ios/RNPlaidHelper.m +11 -0
  18. package/package.json +1 -1
  19. package/react-native-plaid-link-sdk.podspec +1 -1
  20. package/src/PlaidLink.tsx +43 -0
  21. package/src/Types.ts +40 -0
  22. package/src/fabric/NativePlaidLinkModuleiOS.ts +7 -1
  23. package/src/index.ts +3 -1
  24. package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
  25. package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
  26. package/android/.gradle/checksums/checksums.lock +0 -0
  27. package/android/.gradle/checksums/md5-checksums.bin +0 -0
  28. package/android/.gradle/checksums/sha1-checksums.bin +0 -0
  29. package/android/.idea/gradle.xml +0 -14
  30. package/android/.idea/misc.xml +0 -9
  31. package/android/.idea/vcs.xml +0 -6
  32. package/android/build/.transforms/0092a8c5b3b8d53158c0e0c6e375b898/results.bin +0 -1
  33. package/android/build/.transforms/0e66951af81b9922b7c63ed7fb3562cc/results.bin +0 -1
  34. package/android/build/.transforms/2a69d4f121d6026d8ba38d8c933d64ea/results.bin +0 -1
  35. package/android/build/.transforms/31ad915e2c12a33a2c3357d365e48061/results.bin +0 -1
  36. package/android/build/.transforms/31ad915e2c12a33a2c3357d365e48061/transformed/classes/classes_dex/classes.dex +0 -0
  37. package/android/build/.transforms/54b66a1d24606f57982d3ac7cc23f7b6/results.bin +0 -1
  38. package/android/build/.transforms/e120374f3edbd92ab79f3951d62fa50f/results.bin +0 -1
  39. package/android/build/.transforms/e120374f3edbd92ab79f3951d62fa50f/transformed/classes/classes_dex/classes.dex +0 -0
  40. package/android/build/generated/source/buildConfig/debug/com/plaid/BuildConfig.java +0 -10
  41. package/android/build/generated/source/buildConfig/release/com/plaid/BuildConfig.java +0 -10
  42. package/android/build/generated/source/codegen/java/com/plaid/NativePlaidLinkModuleSpec.java +0 -62
  43. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -46
  44. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ComponentDescriptors.h +0 -22
  45. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/EventEmitters.cpp +0 -18
  46. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/EventEmitters.h +0 -19
  47. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/Props.cpp +0 -21
  48. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/Props.h +0 -20
  49. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ShadowNodes.cpp +0 -19
  50. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/ShadowNodes.h +0 -25
  51. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/States.cpp +0 -18
  52. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/States.h +0 -23
  53. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/rnplaidlinkJSI-generated.cpp +0 -84
  54. package/android/build/generated/source/codegen/jni/react/renderer/components/rnplaidlink/rnplaidlinkJSI.h +0 -119
  55. package/android/build/generated/source/codegen/jni/rnplaidlink-generated.cpp +0 -70
  56. package/android/build/generated/source/codegen/jni/rnplaidlink.h +0 -33
  57. package/android/build/generated/source/codegen/schema.json +0 -243
  58. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +0 -13
  59. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -18
  60. package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/AndroidManifest.xml +0 -13
  61. package/android/build/intermediates/aapt_friendly_merged_manifests/release/aapt/output-metadata.json +0 -18
  62. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -5
  63. package/android/build/intermediates/aar_metadata/release/aar-metadata.properties +0 -5
  64. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  65. package/android/build/intermediates/annotation_processor_list/release/annotationProcessors.json +0 -1
  66. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  67. package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
  68. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  69. package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
  70. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -2
  71. package/android/build/intermediates/compile_symbol_list/release/R.txt +0 -2
  72. package/android/build/intermediates/compiled_local_resources/debug/out/layout_plk_embedded_view.xml.flat +0 -0
  73. package/android/build/intermediates/compiled_local_resources/release/out/layout_plk_embedded_view.xml.flat +0 -0
  74. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -2
  75. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  76. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  77. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  78. package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +0 -2
  79. package/android/build/intermediates/incremental/mergeReleaseShaders/merger.xml +0 -2
  80. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  81. package/android/build/intermediates/incremental/packageReleaseAssets/merger.xml +0 -2
  82. package/android/build/intermediates/incremental/release/packageReleaseResources/compile-file-map.properties +0 -2
  83. package/android/build/intermediates/incremental/release/packageReleaseResources/merger.xml +0 -2
  84. package/android/build/intermediates/java_res/debug/out/META-INF/react-native-plaid-link-sdk_debug.kotlin_module +0 -0
  85. package/android/build/intermediates/java_res/release/out/META-INF/react-native-plaid-link-sdk_release.kotlin_module +0 -0
  86. package/android/build/intermediates/javac/debug/classes/com/plaid/ActivityResultHandler.class +0 -0
  87. package/android/build/intermediates/javac/debug/classes/com/plaid/ActivityResultManager.class +0 -0
  88. package/android/build/intermediates/javac/debug/classes/com/plaid/BuildConfig.class +0 -0
  89. package/android/build/intermediates/javac/debug/classes/com/plaid/NativePlaidLinkModuleSpec.class +0 -0
  90. package/android/build/intermediates/javac/debug/classes/com/plaid/PlaidPackage$1.class +0 -0
  91. package/android/build/intermediates/javac/debug/classes/com/plaid/PlaidPackage.class +0 -0
  92. package/android/build/intermediates/javac/release/classes/com/plaid/ActivityResultHandler.class +0 -0
  93. package/android/build/intermediates/javac/release/classes/com/plaid/ActivityResultManager.class +0 -0
  94. package/android/build/intermediates/javac/release/classes/com/plaid/BuildConfig.class +0 -0
  95. package/android/build/intermediates/javac/release/classes/com/plaid/NativePlaidLinkModuleSpec.class +0 -0
  96. package/android/build/intermediates/javac/release/classes/com/plaid/PlaidPackage$1.class +0 -0
  97. package/android/build/intermediates/javac/release/classes/com/plaid/PlaidPackage.class +0 -0
  98. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -4
  99. package/android/build/intermediates/local_only_symbol_list/release/R-def.txt +0 -4
  100. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -17
  101. package/android/build/intermediates/manifest_merge_blame_file/release/manifest-merger-blame-release-report.txt +0 -17
  102. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +0 -13
  103. package/android/build/intermediates/merged_manifest/release/AndroidManifest.xml +0 -13
  104. package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
  105. package/android/build/intermediates/navigation_json/release/navigation.json +0 -1
  106. package/android/build/intermediates/packaged_res/debug/layout/plk_embedded_view.xml +0 -5
  107. package/android/build/intermediates/packaged_res/release/layout/plk_embedded_view.xml +0 -5
  108. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  109. package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
  110. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -3
  111. package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +0 -3
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream.len +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.len +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i +0 -0
  153. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i.len +0 -0
  154. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  155. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  156. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  157. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  158. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  159. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  160. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  161. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  162. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  163. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  164. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  165. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  166. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  167. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  168. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  169. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  170. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  171. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  172. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  173. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  174. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  175. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  176. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  177. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  178. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  179. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  180. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  181. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  182. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  183. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  184. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  185. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  186. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  187. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  188. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  189. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  190. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  191. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  192. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  193. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  194. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  195. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  196. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  197. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  198. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  199. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  200. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  201. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  202. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  203. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  204. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  205. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  206. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  207. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  208. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  209. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  210. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  211. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  212. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  213. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  214. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  215. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  216. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  217. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  218. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  219. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  220. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  221. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  222. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  223. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  224. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  225. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  226. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  227. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  228. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  229. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  230. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  231. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  232. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  233. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  234. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  235. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  236. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  237. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  238. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  239. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  240. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  241. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  242. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  243. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  244. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  245. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  246. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  247. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  248. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
  249. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream +0 -0
  250. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream.len +0 -0
  251. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.len +0 -0
  252. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
  253. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i +0 -0
  254. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i.len +0 -0
  255. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  256. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  257. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  258. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  259. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  260. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  261. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  262. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  263. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  264. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  265. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  266. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  267. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  268. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  269. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  270. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  271. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  272. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  273. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  274. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  275. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  276. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  277. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  278. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  279. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  280. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  281. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  282. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  283. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  284. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  285. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  286. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  287. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  288. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  289. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  290. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  291. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  292. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  293. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  294. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  295. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  296. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  297. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  298. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  299. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  300. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  301. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  302. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  303. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  304. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  305. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  306. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  307. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  308. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  309. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  310. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  311. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  312. package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
  313. package/android/build/kotlin/compileReleaseKotlin/local-state/build-history.bin +0 -0
  314. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -25
  315. package/android/build/outputs/logs/manifest-merger-release-report.txt +0 -25
  316. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  317. package/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin +0 -0
  318. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-plaid-link-sdk_debug.kotlin_module +0 -0
  319. package/android/build/tmp/kotlin-classes/debug/com/plaid/GlobalFunctionsKt.class +0 -0
  320. package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView$createEmbedded$1.class +0 -0
  321. package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView$createEmbedded$2.class +0 -0
  322. package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView$setupOnEventListener$1.class +0 -0
  323. package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedView.class +0 -0
  324. package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedViewManager$Companion.class +0 -0
  325. package/android/build/tmp/kotlin-classes/debug/com/plaid/PLKEmbeddedViewManager.class +0 -0
  326. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$Companion.class +0 -0
  327. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$jsonConverter$2.class +0 -0
  328. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$mActivityResultManager$2.class +0 -0
  329. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$onActivityResult$linkHandler$1.class +0 -0
  330. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$onActivityResult$linkHandler$2.class +0 -0
  331. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule$startLinkActivityForResult$1.class +0 -0
  332. package/android/build/tmp/kotlin-classes/debug/com/plaid/PlaidModule.class +0 -0
  333. package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/PlaidJsonConverter$gson$2.class +0 -0
  334. package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/PlaidJsonConverter.class +0 -0
  335. package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/RNAccountAdapter.class +0 -0
  336. package/android/build/tmp/kotlin-classes/debug/com/plaid/gson/RNLinkInstitutionAdapter.class +0 -0
  337. package/android/build/tmp/kotlin-classes/release/META-INF/react-native-plaid-link-sdk_release.kotlin_module +0 -0
  338. package/android/build/tmp/kotlin-classes/release/com/plaid/GlobalFunctionsKt.class +0 -0
  339. package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView$createEmbedded$1.class +0 -0
  340. package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView$createEmbedded$2.class +0 -0
  341. package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView$setupOnEventListener$1.class +0 -0
  342. package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedView.class +0 -0
  343. package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedViewManager$Companion.class +0 -0
  344. package/android/build/tmp/kotlin-classes/release/com/plaid/PLKEmbeddedViewManager.class +0 -0
  345. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$Companion.class +0 -0
  346. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$jsonConverter$2.class +0 -0
  347. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$mActivityResultManager$2.class +0 -0
  348. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$onActivityResult$linkHandler$1.class +0 -0
  349. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$onActivityResult$linkHandler$2.class +0 -0
  350. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule$startLinkActivityForResult$1.class +0 -0
  351. package/android/build/tmp/kotlin-classes/release/com/plaid/PlaidModule.class +0 -0
  352. package/android/build/tmp/kotlin-classes/release/com/plaid/gson/PlaidJsonConverter$gson$2.class +0 -0
  353. package/android/build/tmp/kotlin-classes/release/com/plaid/gson/PlaidJsonConverter.class +0 -0
  354. package/android/build/tmp/kotlin-classes/release/com/plaid/gson/RNAccountAdapter.class +0 -0
  355. package/android/build/tmp/kotlin-classes/release/com/plaid/gson/RNLinkInstitutionAdapter.class +0 -0
  356. package/android/local.properties +0 -8
  357. package/ios/RNLinksdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  358. package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  359. package/ios/RNLinksdk.xcodeproj/project.xcworkspace/xcuserdata/dtroupe.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  360. package/ios/RNLinksdk.xcodeproj/xcuserdata/dtroupe.xcuserdatad/xcschemes/xcschememanagement.plist +0 -19
  361. package/ios/RNLinksdk.xcworkspace/xcuserdata/dtroupe.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
package/README.md CHANGED
@@ -179,7 +179,9 @@ While these older versions are expected to continue to work without disruption,
179
179
 
180
180
  | Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
181
181
  |-------------------|--------------------------|-------------|---------------------|------------------------|---------|-----------------|-------------------------------|
182
- | 12.0.0-beta.1 | * | [4.4.0+] | 21 | 34 | >=6.0.0 | 14.0 | Active, supports Xcode 15.3.0 |
182
+ | 12.0.0-beta.3 | * | [4.4.0+] | 21 | 34 | >=6.0.0 | 14.0 | Active, supports Xcode 15.3.0 |
183
+ | 12.0.0-beta.2 | * | [4.4.0+] | 21 | 34 | >=6.0.0 | 14.0 | Active, supports Xcode 15.3.0 |
184
+ | 12.0.0-beta.1 | * | [4.4.0+] | 21 | 34 | >=6.0.0 | 14.0 | **Deprecated** |
183
185
  | 11.10.0 | * | [4.4.0+] | 21 | 34 | >=5.5.0 | 14.0 | Active, supports Xcode 15.0.1 |
184
186
  | 11.9.0 | * | [4.3.1+] | 21 | 34 | >=5.5.0 | 14.0 | Active, supports Xcode 15.0.1 |
185
187
  | 11.8.2 | * | [4.3.1+] | 21 | 34 | >=5.4.2 | 14.0 | Active, supports Xcode 15.0.1 |
@@ -1,2 +1,2 @@
1
- #Thu Nov 09 09:41:17 PST 2023
1
+ #Tue Jun 25 14:08:38 PDT 2024
2
2
  gradle.version=7.4.2
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { LinkEventListener, LinkOpenProps, LinkTokenConfiguration, PlaidLinkComponentProps, PlaidLinkProps } from './Types';
2
+ import { LinkEventListener, LinkOpenProps, LinkTokenConfiguration, PlaidLinkComponentProps, PlaidLinkProps, SubmissionData } from './Types';
3
3
  /**
4
4
  * A hook that registers a listener on the Plaid emitter for the 'onEvent' type.
5
5
  * The listener is cleaned up when this view is unmounted
@@ -10,6 +10,7 @@ export declare const usePlaidEmitter: (linkEventListener: LinkEventListener) =>
10
10
  export declare const create: (props: LinkTokenConfiguration) => void;
11
11
  export declare const open: (props: LinkOpenProps) => Promise<void>;
12
12
  export declare const dismissLink: () => void;
13
+ export declare const submit: (data: SubmissionData) => void;
13
14
  /**
14
15
  * @deprecated This component is deprecated. Create your own component and use the create & open methods.
15
16
  */
package/dist/PlaidLink.js CHANGED
@@ -82,6 +82,14 @@ export const dismissLink = () => {
82
82
  RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.dismiss();
83
83
  }
84
84
  };
85
+ export const submit = (data) => {
86
+ if (Platform.OS === 'android') {
87
+ RNLinksdkAndroid === null || RNLinksdkAndroid === void 0 ? void 0 : RNLinksdkAndroid.submit(data.phoneNumber);
88
+ }
89
+ else {
90
+ RNLinksdkiOS === null || RNLinksdkiOS === void 0 ? void 0 : RNLinksdkiOS.submit(data.phoneNumber);
91
+ }
92
+ };
85
93
  /**
86
94
  * @deprecated This component is deprecated. Create your own component and use the create & open methods.
87
95
  */
package/dist/Types.d.ts CHANGED
@@ -493,4 +493,7 @@ export interface LinkOpenProps {
493
493
  export type PlaidLinkComponentProps = (PlaidLinkProps & {
494
494
  children: React.ReactNode;
495
495
  });
496
+ export interface SubmissionData {
497
+ phoneNumber?: string;
498
+ }
496
499
  export {};
package/dist/Types.js CHANGED
@@ -430,3 +430,4 @@ export var LinkIOSPresentationStyle;
430
430
  LinkIOSPresentationStyle["FULL_SCREEN"] = "FULL_SCREEN";
431
431
  LinkIOSPresentationStyle["MODAL"] = "MODAL";
432
432
  })(LinkIOSPresentationStyle || (LinkIOSPresentationStyle = {}));
433
+ ;
@@ -6,6 +6,7 @@ export interface Spec extends TurboModule {
6
6
  create(token: string, noLoadingState: boolean, logLevel: string): void;
7
7
  open(onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (result: UnsafeObject<LinkExit>) => void): void;
8
8
  startLinkActivityForResult(token: string, noLoadingState: boolean, logLevel: string, onSuccessCallback: (result: UnsafeObject<LinkSuccess>) => void, onExitCallback: (result: UnsafeObject<LinkExit>) => void): void;
9
+ submit(phoneNumber: string | undefined): void;
9
10
  addListener(eventName: string): void;
10
11
  removeListeners(count: Double): void;
11
12
  }
@@ -6,6 +6,7 @@ export interface Spec extends TurboModule {
6
6
  create(token: string, noLoadingState: boolean): void;
7
7
  open(fullScreen: boolean, onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (error: UnsafeObject<LinkError>, result: UnsafeObject<LinkExit>) => void): void;
8
8
  dismiss(): void;
9
+ submit(phoneNumber: string | undefined): void;
9
10
  addListener(eventName: string): void;
10
11
  removeListeners(count: Int32): void;
11
12
  }
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { openLink, create, open, dismissLink, usePlaidEmitter, PlaidLink } from './PlaidLink';
1
+ import { openLink, create, open, dismissLink, usePlaidEmitter, PlaidLink, submit } from './PlaidLink';
2
2
  export * from './Types';
3
3
  export default PlaidLink;
4
- export { PlaidLink, openLink, create, open, dismissLink, usePlaidEmitter, };
4
+ export { PlaidLink, openLink, create, open, dismissLink, usePlaidEmitter, submit, };
5
5
  export { EmbeddedLinkView } from './EmbeddedLink/EmbeddedLinkView';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { openLink, create, open, dismissLink, usePlaidEmitter, PlaidLink, } from './PlaidLink';
1
+ import { openLink, create, open, dismissLink, usePlaidEmitter, PlaidLink, submit, } from './PlaidLink';
2
2
  export * from './Types';
3
3
  export default PlaidLink;
4
- export { PlaidLink, openLink, create, open, dismissLink, usePlaidEmitter, };
4
+ export { PlaidLink, openLink, create, open, dismissLink, usePlaidEmitter, submit, };
5
5
  // Components
6
6
  export { EmbeddedLinkView } from './EmbeddedLink/EmbeddedLinkView';
package/ios/RNLinksdk.mm CHANGED
@@ -181,6 +181,28 @@ RCT_EXPORT_METHOD(dismiss) {
181
181
  self.presentingViewController = nil;
182
182
  }
183
183
 
184
+ RCT_EXPORT_METHOD(syncFinanceKit:(NSString *)token
185
+ requestAuthorizationIfNeeded:(BOOL)requestAuthorizationIfNeeded
186
+ onSuccess:(RCTResponseSenderBlock)onSuccess
187
+ onError:(RCTResponseSenderBlock)onError) {
188
+
189
+ [RNPlaidHelper syncFinanceKit:token
190
+ requestAuthorizationIfNeeded:requestAuthorizationIfNeeded
191
+ onSuccess:^{
192
+ onSuccess(@[]);
193
+ }
194
+ onError:^(NSError *error) {
195
+
196
+ NSDictionary *financeKitError = @{
197
+ @"type": [NSNumber numberWithInteger: error.code],
198
+ @"message": error.localizedDescription
199
+ };
200
+
201
+ onError(@[financeKitError]);
202
+ }
203
+ ];
204
+ }
205
+
184
206
  #pragma mark - Bridging
185
207
 
186
208
  + (PLKEnvironment)environmentFromString:(NSString *)string {
@@ -618,6 +640,8 @@ RCT_EXPORT_METHOD(dismiss) {
618
640
  return @"SELECT_SAVED_INSTITUTION";
619
641
  case PLKViewNameValueSelectSavedAccount:
620
642
  return @"SELECT_SAVED_ACCOUNT";
643
+ case PLKViewNameValueProfileDataReview:
644
+ return @"PROFILE_DATA_REVIEW";
621
645
  }
622
646
 
623
647
  return @"unknown";
@@ -4,4 +4,8 @@
4
4
 
5
5
  + (id <PLKHandler> _Nullable)createWithLinkTokenConfiguration:(PLKLinkTokenConfiguration * _Nonnull)linkTokenConfiguration error:(NSError * _Nullable * _Nullable)error;
6
6
 
7
+ + (void) syncFinanceKit:(NSString *_Nonnull)token
8
+ requestAuthorizationIfNeeded:(BOOL)requestAuthorizationIfNeeded
9
+ onSuccess:(void (^_Nonnull)(void))onSuccess
10
+ onError:(void (^_Nonnull)(NSError * _Nonnull error))onError;
7
11
  @end
@@ -7,4 +7,15 @@
7
7
  return [PLKPlaid createWithLinkTokenConfiguration:linkTokenConfiguration error:error];
8
8
  }
9
9
 
10
+ + (void)syncFinanceKit:(NSString *)token requestAuthorizationIfNeeded:(BOOL)requestAuthorizationIfNeeded onSuccess:(void (^)(void))onSuccess onError:(void (^)(NSError * _Nonnull))onError {
11
+ if (@available(iOS 17.4, *)) {
12
+ [PLKPlaid syncFinanceKitWithToken:token requestAuthorizationIfNeeded:requestAuthorizationIfNeeded onSuccess:onSuccess onError:onError];
13
+ } else {
14
+ NSError *error = [NSError errorWithDomain:@"com.plaid.financeKit"
15
+ code:1001
16
+ userInfo:@{ NSLocalizedDescriptionKey: @"FinanceKit Requires iOS >= 17.4" }];
17
+ onError(error);
18
+ }
19
+ }
20
+
10
21
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-plaid-link-sdk",
3
- "version": "12.0.0-beta.1",
3
+ "version": "12.0.0-beta.3",
4
4
  "description": "React Native Plaid Link SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,5 +28,5 @@ Pod::Spec.new do |s|
28
28
  end
29
29
 
30
30
  s.dependency 'React-Core'
31
- s.dependency 'Plaid', '~> 6.0.0-beta1'
31
+ s.dependency 'Plaid', '~> 6.0.0-beta5'
32
32
  end
package/src/PlaidLink.tsx CHANGED
@@ -11,6 +11,8 @@ import {
11
11
  LinkTokenConfiguration,
12
12
  PlaidLinkComponentProps,
13
13
  PlaidLinkProps,
14
+ FinanceKitErrorType,
15
+ FinanceKitError,
14
16
  } from './Types';
15
17
  import RNLinksdkAndroid from './fabric/NativePlaidLinkModuleAndroid';
16
18
  import RNLinksdkiOS from './fabric/NativePlaidLinkModuleiOS';
@@ -100,6 +102,47 @@ export const dismissLink = () => {
100
102
  }
101
103
  };
102
104
 
105
+ /**
106
+ * Function to sync the user's transactions from their Apple card.
107
+ *
108
+ * @param {string} token - The `LinkToken` your server retrieved from the /link/token/create endpoint from the Plaid API.
109
+ * This token must be associated with an accessToken.
110
+ * @param {boolean} requestAuthorizationIfNeeded - Indicates if the user should be prompted to authorize the sync if
111
+ * they have not already done so.
112
+ * @param {function} completion - A callback function that is called when the sync has completed.
113
+ *
114
+ * @warning This method only works on iOS >= 17.4.
115
+ * @warning This method is not supported on Android or MacCatalyst.
116
+ * @warning This method can only be used once the user has granted access to their Apple card via a standard Link Session.
117
+ * @warning This method requires that your app has been granted FinanceKit access from Apple.
118
+ */
119
+ export const syncFinanceKit = (
120
+ token: string,
121
+ requestAuthorizationIfNeeded: boolean,
122
+ completion: (error?: FinanceKitError) => void
123
+ ): void => {
124
+ if (Platform.OS === 'android') {
125
+ completion({
126
+ type: FinanceKitErrorType.Unknown,
127
+ message: "FinanceKit is unavailable on Android!",
128
+ })
129
+ } else {
130
+ RNLinksdkiOS?.syncFinanceKit(
131
+ token,
132
+ requestAuthorizationIfNeeded,
133
+ () => {
134
+ completion()
135
+ },
136
+ (error: FinanceKitError) => {
137
+ completion({
138
+ type: error.type,
139
+ message: error.message,
140
+ })
141
+ }
142
+ )
143
+ }
144
+ };
145
+
103
146
  /**
104
147
  * @deprecated This component is deprecated. Create your own component and use the create & open methods.
105
148
  */
package/src/Types.ts CHANGED
@@ -557,3 +557,43 @@ export interface LinkOpenProps {
557
557
  export type PlaidLinkComponentProps = (PlaidLinkProps & {
558
558
  children: React.ReactNode
559
559
  });
560
+
561
+ export enum FinanceKitErrorType {
562
+ InvalidToken = 0,
563
+ PermissionError = 1,
564
+ LinkApiError = 2,
565
+ PermissionAccessError = 3,
566
+ Unknown = 4
567
+ }
568
+
569
+ interface InvalidTokenError {
570
+ type: FinanceKitErrorType.InvalidToken;
571
+ message: string;
572
+ }
573
+
574
+ interface PermissionError {
575
+ type: FinanceKitErrorType.PermissionError;
576
+ message: string;
577
+ }
578
+
579
+ interface LinkApiError {
580
+ type: FinanceKitErrorType.LinkApiError;
581
+ message: string;
582
+ }
583
+
584
+ interface PermissionAccessError {
585
+ type: FinanceKitErrorType.PermissionAccessError;
586
+ message: string;
587
+ }
588
+
589
+ interface UnknownError {
590
+ type: FinanceKitErrorType.Unknown;
591
+ message: string;
592
+ }
593
+
594
+ export type FinanceKitError =
595
+ | InvalidTokenError
596
+ | PermissionError
597
+ | LinkApiError
598
+ | PermissionAccessError
599
+ | UnknownError;
@@ -3,7 +3,7 @@
3
3
  import {TurboModuleRegistry, TurboModule} from 'react-native';
4
4
  import {Int32} from 'react-native/Libraries/Types/CodegenTypes';
5
5
  import {UnsafeObject} from './fabricUtils';
6
- import {LinkSuccess, LinkExit, LinkError} from '../Types';
6
+ import {LinkSuccess, LinkExit, LinkError, FinanceKitError} from '../Types';
7
7
 
8
8
  export interface Spec extends TurboModule {
9
9
  create(token: string, noLoadingState: boolean): void;
@@ -16,6 +16,12 @@ export interface Spec extends TurboModule {
16
16
  // those two are here for event emitter methods
17
17
  addListener(eventName: string): void;
18
18
  removeListeners(count: Int32): void;
19
+ syncFinanceKit(
20
+ token: string,
21
+ requestAuthorizationIfNeeded: boolean,
22
+ onSuccess: (success: void) => void,
23
+ onError: (error: FinanceKitError) => void
24
+ ): void
19
25
  }
20
26
 
21
27
  export default TurboModuleRegistry.get<Spec>('RNLinksdk');
package/src/index.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  openLink,
3
+ PlaidLink,
3
4
  create,
4
5
  open,
5
6
  dismissLink,
6
7
  usePlaidEmitter,
7
- PlaidLink,
8
+ syncFinanceKit,
8
9
  } from './PlaidLink';
9
10
 
10
11
  export * from './Types';
@@ -18,6 +19,7 @@ export {
18
19
  open,
19
20
  dismissLink,
20
21
  usePlaidEmitter,
22
+ syncFinanceKit
21
23
  };
22
24
 
23
25
  // Components
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleMigrationSettings" migrationVersion="1" />
4
- <component name="GradleSettings">
5
- <option name="linkedExternalProjectsSettings">
6
- <GradleProjectSettings>
7
- <option name="testRunner" value="GRADLE" />
8
- <option name="distributionType" value="DEFAULT_WRAPPED" />
9
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
10
- <option name="gradleJvm" value="jbr-17" />
11
- </GradleProjectSettings>
12
- </option>
13
- </component>
14
- </project>
@@ -1,9 +0,0 @@
1
- <project version="4">
2
- <component name="ExternalStorageConfigurationManager" enabled="true" />
3
- <component name="ProjectRootManager" version="2" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
4
- <output url="file://$PROJECT_DIR$/build/classes" />
5
- </component>
6
- <component name="ProjectType">
7
- <option name="id" value="Android" />
8
- </component>
9
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
6
- </project>
@@ -1 +0,0 @@
1
- i/classes_global-synthetics
@@ -1 +0,0 @@
1
- i/classes_global-synthetics
@@ -1,10 +0,0 @@
1
- /**
2
- * Automatically generated file. DO NOT MODIFY
3
- */
4
- package com.plaid;
5
-
6
- public final class BuildConfig {
7
- public static final boolean DEBUG = Boolean.parseBoolean("true");
8
- public static final String LIBRARY_PACKAGE_NAME = "com.plaid";
9
- public static final String BUILD_TYPE = "debug";
10
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * Automatically generated file. DO NOT MODIFY
3
- */
4
- package com.plaid;
5
-
6
- public final class BuildConfig {
7
- public static final boolean DEBUG = false;
8
- public static final String LIBRARY_PACKAGE_NAME = "com.plaid";
9
- public static final String BUILD_TYPE = "release";
10
- }
@@ -1,62 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateModuleJavaSpec.js
9
- *
10
- * @nolint
11
- */
12
-
13
- package com.plaid;
14
-
15
- import com.facebook.proguard.annotations.DoNotStrip;
16
- import com.facebook.react.bridge.Callback;
17
- import com.facebook.react.bridge.ReactApplicationContext;
18
- import com.facebook.react.bridge.ReactContextBaseJavaModule;
19
- import com.facebook.react.bridge.ReactMethod;
20
- import com.facebook.react.turbomodule.core.interfaces.TurboModule;
21
- import javax.annotation.Nonnull;
22
-
23
- public abstract class NativePlaidLinkModuleSpec extends ReactContextBaseJavaModule implements TurboModule {
24
- public static final String NAME = "RNLinksdk";
25
-
26
- public NativePlaidLinkModuleSpec(ReactApplicationContext reactContext) {
27
- super(reactContext);
28
- }
29
-
30
- @Override
31
- public @Nonnull String getName() {
32
- return NAME;
33
- }
34
-
35
- @ReactMethod
36
- @DoNotStrip
37
- public abstract void continueFromRedirectUriString(String redirectUriString);
38
-
39
- @ReactMethod
40
- @DoNotStrip
41
- public abstract void create(String token, boolean noLoadingState);
42
-
43
- @ReactMethod
44
- @DoNotStrip
45
- public abstract void open(boolean fullScreen, Callback onSuccess, Callback onExit);
46
-
47
- @ReactMethod
48
- @DoNotStrip
49
- public abstract void dismiss();
50
-
51
- @ReactMethod
52
- @DoNotStrip
53
- public abstract void startLinkActivityForResult(String token, boolean noLoadingState, String logLevel, Callback onSuccessCallback, Callback onExitCallback);
54
-
55
- @ReactMethod
56
- @DoNotStrip
57
- public abstract void addListener(String eventName);
58
-
59
- @ReactMethod
60
- @DoNotStrip
61
- public abstract void removeListeners(double count);
62
- }
@@ -1,46 +0,0 @@
1
- # Copyright (c) Meta Platforms, Inc. and affiliates.
2
- #
3
- # This source code is licensed under the MIT license found in the
4
- # LICENSE file in the root directory of this source tree.
5
-
6
- cmake_minimum_required(VERSION 3.13)
7
- set(CMAKE_VERBOSE_MAKEFILE on)
8
-
9
- file(GLOB react_codegen_SRCS CONFIGURE_DEPENDS *.cpp react/renderer/components/rnplaidlink/*.cpp)
10
-
11
- add_library(
12
- react_codegen_rnplaidlink
13
- SHARED
14
- ${react_codegen_SRCS}
15
- )
16
-
17
- target_include_directories(react_codegen_rnplaidlink PUBLIC . react/renderer/components/rnplaidlink)
18
-
19
- target_link_libraries(
20
- react_codegen_rnplaidlink
21
- fbjni
22
- folly_runtime
23
- glog
24
- jsi
25
- react_codegen_rncore
26
- react_debug
27
- react_nativemodule_core
28
- react_render_core
29
- react_render_debug
30
- react_render_graphics
31
- react_render_imagemanager
32
- rrc_image
33
- rrc_view
34
- turbomodulejsijni
35
- yoga
36
- )
37
-
38
- target_compile_options(
39
- react_codegen_rnplaidlink
40
- PRIVATE
41
- -DLOG_TAG=\"ReactNative\"
42
- -fexceptions
43
- -frtti
44
- -std=c++20
45
- -Wall
46
- )
@@ -1,22 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateComponentDescriptorH.js
9
- */
10
-
11
- #pragma once
12
-
13
- #include <react/renderer/components/rnplaidlink/ShadowNodes.h>
14
- #include <react/renderer/core/ConcreteComponentDescriptor.h>
15
-
16
- namespace facebook {
17
- namespace react {
18
-
19
-
20
-
21
- } // namespace react
22
- } // namespace facebook
@@ -1,18 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateEventEmitterCpp.js
9
- */
10
-
11
- #include <react/renderer/components/rnplaidlink/EventEmitters.h>
12
-
13
-
14
- namespace facebook {
15
- namespace react {
16
-
17
- } // namespace react
18
- } // namespace facebook
@@ -1,19 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateEventEmitterH.js
9
- */
10
- #pragma once
11
-
12
- #include <react/renderer/components/view/ViewEventEmitter.h>
13
-
14
-
15
- namespace facebook {
16
- namespace react {
17
-
18
- } // namespace react
19
- } // namespace facebook
@@ -1,21 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsCpp.js
9
- */
10
-
11
- #include <react/renderer/components/rnplaidlink/Props.h>
12
- #include <react/renderer/core/PropsParserContext.h>
13
- #include <react/renderer/core/propsConversions.h>
14
-
15
- namespace facebook {
16
- namespace react {
17
-
18
-
19
-
20
- } // namespace react
21
- } // namespace facebook
@@ -1,20 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsH.js
9
- */
10
- #pragma once
11
-
12
-
13
-
14
- namespace facebook {
15
- namespace react {
16
-
17
-
18
-
19
- } // namespace react
20
- } // namespace facebook