react-native-plaid-link-sdk 13.0.3 → 13.0.4
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 +19 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/expo/modules/plaidlinksdk/RNPlaidLinkSdkVersion.kt +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +27 -5
- package/build/index.js.map +1 -1
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.abi.json +266 -31
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.private.swiftinterface +10 -8
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftinterface +10 -8
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64/LinkKit.framework/_CodeSignature/CodeResources +11 -15
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Info.plist +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/LinkKit +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.abi.json +266 -31
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +10 -8
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +10 -8
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +266 -31
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +10 -8
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +10 -8
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/Modules/LinkKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/Frameworks/LinkKit.xcframework/ios-arm64_x86_64-simulator/LinkKit.framework/_CodeSignature/CodeResources +21 -25
- package/ios/src/RNPlaidLinkSdkVersion.swift +1 -1
- package/package.json +1 -1
- package/src/index.ts +35 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# RELEASES
|
|
2
2
|
|
|
3
|
+
## LinkKit V13.0.4 — 2026-08-04
|
|
4
|
+
|
|
5
|
+
### Changes
|
|
6
|
+
|
|
7
|
+
- Updates the bundled iOS SDK to LinkKit 7.1.0.
|
|
8
|
+
- Fixes multi-item Link flows where an early `HANDOFF` event could dismiss Link
|
|
9
|
+
before success completion.
|
|
10
|
+
- Preserves post-success `HANDOFF` event delivery to React Native `onEvent`
|
|
11
|
+
callbacks.
|
|
12
|
+
- Leaves Android integration unchanged at `com.plaid.link:sdk-core:6.1.0`.
|
|
13
|
+
|
|
14
|
+
### Android
|
|
15
|
+
|
|
16
|
+
Android SDK [6.1.0](https://github.com/plaid/plaid-link-android/releases/tag/v6.1.0)
|
|
17
|
+
|
|
18
|
+
### iOS
|
|
19
|
+
|
|
20
|
+
iOS SDK [7.1.0](https://github.com/plaid/plaid-link-ios/releases/tag/7.1.0)
|
|
21
|
+
|
|
3
22
|
## LinkKit V13.0.3 — 2026-07-21
|
|
4
23
|
|
|
5
24
|
### Changes
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EAEpB,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AAyCzC,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,sBAAsB,GAC7B,OAAO,CAAC,gBAAgB,CAAC,CAwC3B;AAED,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CAqC5B;AAED,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,sBAAsB,GAC7B,OAAO,CAAC,oBAAoB,CAAC,CAmC/B;AAED,wBAAsB,cAAc,CAAC,MAAM,EAAE;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,YAAY,CAAC,EAAE,sBAAsB,CAAC;CACvC,GAAG,OAAO,CAAC,IAAI,CAAC,CAUhB;AAED,OAAO,EACL,uBAAuB,EACvB,KAAK,4BAA4B,GAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,cAAc,iCAAiC,CAAC"}
|
package/build/index.js
CHANGED
|
@@ -1,22 +1,40 @@
|
|
|
1
1
|
import { Platform } from "react-native";
|
|
2
|
-
import { FinanceKitSyncBehavior, } from "./ReactNativePlaidLinkSdk.types";
|
|
2
|
+
import { LinkEventName, FinanceKitSyncBehavior, } from "./ReactNativePlaidLinkSdk.types";
|
|
3
3
|
import NativePlaidModule from "./ReactNativePlaidLinkSdkModule";
|
|
4
4
|
let successSub = null;
|
|
5
5
|
let exitSub = null;
|
|
6
6
|
let eventSub = null;
|
|
7
|
-
|
|
7
|
+
let postSuccessHandoffCleanupTimeout = null;
|
|
8
|
+
const POST_SUCCESS_HANDOFF_EVENT_WINDOW_MS = 1500;
|
|
9
|
+
function clearPostSuccessHandoffCleanupTimeout() {
|
|
10
|
+
if (postSuccessHandoffCleanupTimeout) {
|
|
11
|
+
clearTimeout(postSuccessHandoffCleanupTimeout);
|
|
12
|
+
postSuccessHandoffCleanupTimeout = null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function cleanupListeners(options = {}) {
|
|
16
|
+
clearPostSuccessHandoffCleanupTimeout();
|
|
8
17
|
successSub?.remove();
|
|
9
18
|
exitSub?.remove();
|
|
10
|
-
|
|
19
|
+
if (!options.keepEventListener) {
|
|
20
|
+
eventSub?.remove();
|
|
21
|
+
eventSub = null;
|
|
22
|
+
}
|
|
11
23
|
successSub = null;
|
|
12
24
|
exitSub = null;
|
|
13
|
-
|
|
25
|
+
}
|
|
26
|
+
function cleanupAfterPostSuccessHandoffWindow() {
|
|
27
|
+
postSuccessHandoffCleanupTimeout = setTimeout(() => {
|
|
28
|
+
cleanupListeners();
|
|
29
|
+
}, POST_SUCCESS_HANDOFF_EVENT_WINDOW_MS);
|
|
30
|
+
postSuccessHandoffCleanupTimeout.unref?.();
|
|
14
31
|
}
|
|
15
32
|
export async function createPlaidLinkSession(config) {
|
|
16
33
|
cleanupListeners();
|
|
17
34
|
successSub = NativePlaidModule.addListener("PlaidLink.onSuccess", (success) => {
|
|
18
35
|
config.onSuccess(success);
|
|
19
|
-
cleanupListeners();
|
|
36
|
+
cleanupListeners({ keepEventListener: true });
|
|
37
|
+
cleanupAfterPostSuccessHandoffWindow();
|
|
20
38
|
});
|
|
21
39
|
exitSub = NativePlaidModule.addListener("PlaidLink.onExit", (exit) => {
|
|
22
40
|
config.onExit(exit);
|
|
@@ -24,6 +42,10 @@ export async function createPlaidLinkSession(config) {
|
|
|
24
42
|
});
|
|
25
43
|
eventSub = NativePlaidModule.addListener("PlaidLink.onEvent", (event) => {
|
|
26
44
|
config.onEvent(event);
|
|
45
|
+
if (postSuccessHandoffCleanupTimeout &&
|
|
46
|
+
event.eventName === LinkEventName.HANDOFF) {
|
|
47
|
+
cleanupListeners();
|
|
48
|
+
}
|
|
27
49
|
});
|
|
28
50
|
await NativePlaidModule.createPlaidLinkSession(config.token);
|
|
29
51
|
config.onLoad?.();
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAGL,aAAa,EAQb,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,iBAAiB,MAAM,iCAAiC,CAAC;AA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ED,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,MAIpC;IACC,IAAI,QAAQ,CAAC,EAAE,KAAK,SAAS,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,iBAAiB,CAAC,cAAc,CACpC,MAAM,CAAC,KAAK,EACZ,MAAM,CAAC,4BAA4B,IAAI,IAAI,EAC3C,MAAM,CAAC,YAAY,IAAI,sBAAsB,CAAC,IAAI,CACnD,CAAC;AACJ,CAAC;AAED,OAAO,EACL,uBAAuB,GAExB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,cAAc,iCAAiC,CAAC","sourcesContent":["import { Platform } from \"react-native\";\n\nimport {\n LinkExit,\n LinkEvent,\n LinkEventName,\n LinkSuccess,\n LinkTokenConfiguration,\n PlaidLinkSession,\n LayerTokenConfiguration,\n PlaidLayerSession,\n PlaidHeadlessSession,\n SubmissionData,\n FinanceKitSyncBehavior,\n} from \"./ReactNativePlaidLinkSdk.types\";\nimport NativePlaidModule from \"./ReactNativePlaidLinkSdkModule\";\n\ntype Subscription = ReturnType<typeof NativePlaidModule.addListener>;\n\nlet successSub: Subscription | null = null;\nlet exitSub: Subscription | null = null;\nlet eventSub: Subscription | null = null;\nlet postSuccessHandoffCleanupTimeout: ReturnType<typeof setTimeout> | null =\n null;\n\nconst POST_SUCCESS_HANDOFF_EVENT_WINDOW_MS = 1500;\n\nfunction clearPostSuccessHandoffCleanupTimeout() {\n if (postSuccessHandoffCleanupTimeout) {\n clearTimeout(postSuccessHandoffCleanupTimeout);\n postSuccessHandoffCleanupTimeout = null;\n }\n}\n\nfunction cleanupListeners(options: { keepEventListener?: boolean } = {}) {\n clearPostSuccessHandoffCleanupTimeout();\n successSub?.remove();\n exitSub?.remove();\n if (!options.keepEventListener) {\n eventSub?.remove();\n eventSub = null;\n }\n successSub = null;\n exitSub = null;\n}\n\nfunction cleanupAfterPostSuccessHandoffWindow() {\n postSuccessHandoffCleanupTimeout = setTimeout(() => {\n cleanupListeners();\n }, POST_SUCCESS_HANDOFF_EVENT_WINDOW_MS);\n (\n postSuccessHandoffCleanupTimeout as unknown as { unref?: () => void }\n ).unref?.();\n}\n\nexport async function createPlaidLinkSession(\n config: LinkTokenConfiguration,\n): Promise<PlaidLinkSession> {\n cleanupListeners();\n\n successSub = NativePlaidModule.addListener(\n \"PlaidLink.onSuccess\",\n (success: LinkSuccess) => {\n config.onSuccess(success);\n cleanupListeners({ keepEventListener: true });\n cleanupAfterPostSuccessHandoffWindow();\n },\n );\n\n exitSub = NativePlaidModule.addListener(\n \"PlaidLink.onExit\",\n (exit: LinkExit) => {\n config.onExit(exit);\n cleanupListeners();\n },\n );\n\n eventSub = NativePlaidModule.addListener(\n \"PlaidLink.onEvent\",\n (event: LinkEvent) => {\n config.onEvent(event);\n if (\n postSuccessHandoffCleanupTimeout &&\n event.eventName === LinkEventName.HANDOFF\n ) {\n cleanupListeners();\n }\n },\n );\n\n await NativePlaidModule.createPlaidLinkSession(config.token);\n\n config.onLoad?.();\n\n return {\n open: (fullScreen = false) => NativePlaidModule.openLinkSession(fullScreen),\n };\n}\n\nexport async function createPlaidLayerSession(\n config: LayerTokenConfiguration,\n): Promise<PlaidLayerSession> {\n cleanupListeners();\n\n successSub = NativePlaidModule.addListener(\n \"PlaidLink.onSuccess\",\n (success: LinkSuccess) => {\n config.onSuccess(success);\n cleanupListeners();\n },\n );\n\n exitSub = NativePlaidModule.addListener(\n \"PlaidLink.onExit\",\n (exit: LinkExit) => {\n config.onExit?.(exit);\n cleanupListeners();\n },\n );\n\n eventSub = NativePlaidModule.addListener(\n \"PlaidLink.onEvent\",\n (event: LinkEvent) => {\n config.onEvent?.(event);\n },\n );\n\n await NativePlaidModule.createPlaidLayerSession(config.token);\n\n return {\n open: () => NativePlaidModule.openLayerSession(),\n submit: (data: SubmissionData) =>\n NativePlaidModule.submitLayerData(\n data.phoneNumber,\n data.dateOfBirth,\n data.params,\n ),\n };\n}\n\nexport async function createPlaidHeadlessSession(\n config: LinkTokenConfiguration,\n): Promise<PlaidHeadlessSession> {\n cleanupListeners();\n\n successSub = NativePlaidModule.addListener(\n \"PlaidLink.onSuccess\",\n (success: LinkSuccess) => {\n config.onSuccess(success);\n cleanupListeners();\n },\n );\n\n exitSub = NativePlaidModule.addListener(\n \"PlaidLink.onExit\",\n (exit: LinkExit) => {\n config.onExit(exit);\n cleanupListeners();\n },\n );\n\n eventSub = NativePlaidModule.addListener(\n \"PlaidLink.onEvent\",\n (event: LinkEvent) => {\n config.onEvent(event);\n },\n );\n\n await NativePlaidModule.createPlaidHeadlessSession(config.token);\n\n if (config.onLoad) {\n config.onLoad();\n }\n\n return {\n start: () => NativePlaidModule.startHeadlessSession(),\n };\n}\n\nexport async function syncFinanceKit(config: {\n token: string;\n requestAuthorizationIfNeeded?: boolean;\n syncBehavior?: FinanceKitSyncBehavior;\n}): Promise<void> {\n if (Platform.OS === \"android\") {\n throw new Error(\"FinanceKit is only available on iOS\");\n }\n\n await NativePlaidModule.syncFinanceKit(\n config.token,\n config.requestAuthorizationIfNeeded ?? true,\n config.syncBehavior ?? FinanceKitSyncBehavior.LIVE,\n );\n}\n\nexport {\n PlaidEmbeddedSearchView,\n type PlaidEmbeddedSearchViewProps,\n} from \"./PlaidEmbeddedSearchView\";\nexport { default } from \"./ReactNativePlaidLinkSdkModule\";\nexport * from \"./ReactNativePlaidLinkSdk.types\";\n"]}
|
|
Binary file
|
|
Binary file
|
|
@@ -17165,10 +17165,12 @@
|
|
|
17165
17165
|
"moduleName": "LinkKit",
|
|
17166
17166
|
"genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
|
|
17167
17167
|
"sugared_genericSig": "<ErrorView where ErrorView : SwiftUI.View>",
|
|
17168
|
+
"deprecated": true,
|
|
17168
17169
|
"declAttributes": [
|
|
17169
17170
|
"Preconcurrency",
|
|
17170
17171
|
"Custom",
|
|
17171
17172
|
"AccessControl",
|
|
17173
|
+
"Available",
|
|
17172
17174
|
"RawDocComment"
|
|
17173
17175
|
],
|
|
17174
17176
|
"conformances": [
|
|
@@ -45767,11 +45769,218 @@
|
|
|
45767
45769
|
],
|
|
45768
45770
|
"init_kind": "Designated"
|
|
45769
45771
|
},
|
|
45772
|
+
{
|
|
45773
|
+
"kind": "Var",
|
|
45774
|
+
"name": "body",
|
|
45775
|
+
"printedName": "body",
|
|
45776
|
+
"children": [
|
|
45777
|
+
{
|
|
45778
|
+
"kind": "TypeNominal",
|
|
45779
|
+
"name": "OpaqueTypeArchetype",
|
|
45780
|
+
"printedName": "some SwiftUI.View",
|
|
45781
|
+
"children": [
|
|
45782
|
+
{
|
|
45783
|
+
"kind": "TypeNominal",
|
|
45784
|
+
"name": "View",
|
|
45785
|
+
"printedName": "SwiftUI.View",
|
|
45786
|
+
"usr": "s:7SwiftUI4ViewP"
|
|
45787
|
+
}
|
|
45788
|
+
]
|
|
45789
|
+
}
|
|
45790
|
+
],
|
|
45791
|
+
"declKind": "Var",
|
|
45792
|
+
"usr": "s:7LinkKit05PlaidA29UIViewControllerRepresentableV4bodyQrvp",
|
|
45793
|
+
"mangledName": "$s7LinkKit05PlaidA29UIViewControllerRepresentableV4bodyQrvp",
|
|
45794
|
+
"moduleName": "LinkKit",
|
|
45795
|
+
"declAttributes": [
|
|
45796
|
+
"Preconcurrency",
|
|
45797
|
+
"Custom",
|
|
45798
|
+
"AccessControl"
|
|
45799
|
+
],
|
|
45800
|
+
"accessors": [
|
|
45801
|
+
{
|
|
45802
|
+
"kind": "Accessor",
|
|
45803
|
+
"name": "Get",
|
|
45804
|
+
"printedName": "Get()",
|
|
45805
|
+
"children": [
|
|
45806
|
+
{
|
|
45807
|
+
"kind": "TypeNominal",
|
|
45808
|
+
"name": "OpaqueTypeArchetype",
|
|
45809
|
+
"printedName": "some SwiftUI.View",
|
|
45810
|
+
"children": [
|
|
45811
|
+
{
|
|
45812
|
+
"kind": "TypeNominal",
|
|
45813
|
+
"name": "View",
|
|
45814
|
+
"printedName": "SwiftUI.View",
|
|
45815
|
+
"usr": "s:7SwiftUI4ViewP"
|
|
45816
|
+
}
|
|
45817
|
+
]
|
|
45818
|
+
}
|
|
45819
|
+
],
|
|
45820
|
+
"declKind": "Accessor",
|
|
45821
|
+
"usr": "s:7LinkKit05PlaidA29UIViewControllerRepresentableV4bodyQrvg",
|
|
45822
|
+
"mangledName": "$s7LinkKit05PlaidA29UIViewControllerRepresentableV4bodyQrvg",
|
|
45823
|
+
"moduleName": "LinkKit",
|
|
45824
|
+
"accessorKind": "get"
|
|
45825
|
+
}
|
|
45826
|
+
]
|
|
45827
|
+
}
|
|
45828
|
+
],
|
|
45829
|
+
"declKind": "Struct",
|
|
45830
|
+
"usr": "s:7LinkKit05PlaidA29UIViewControllerRepresentableV",
|
|
45831
|
+
"mangledName": "$s7LinkKit05PlaidA29UIViewControllerRepresentableV",
|
|
45832
|
+
"moduleName": "LinkKit",
|
|
45833
|
+
"deprecated": true,
|
|
45834
|
+
"declAttributes": [
|
|
45835
|
+
"Preconcurrency",
|
|
45836
|
+
"Custom",
|
|
45837
|
+
"AccessControl",
|
|
45838
|
+
"Available",
|
|
45839
|
+
"RawDocComment"
|
|
45840
|
+
],
|
|
45841
|
+
"conformances": [
|
|
45842
|
+
{
|
|
45843
|
+
"kind": "Conformance",
|
|
45844
|
+
"name": "Copyable",
|
|
45845
|
+
"printedName": "Copyable",
|
|
45846
|
+
"usr": "s:s8CopyableP",
|
|
45847
|
+
"mangledName": "$ss8CopyableP"
|
|
45848
|
+
},
|
|
45849
|
+
{
|
|
45850
|
+
"kind": "Conformance",
|
|
45851
|
+
"name": "Escapable",
|
|
45852
|
+
"printedName": "Escapable",
|
|
45853
|
+
"usr": "s:s9EscapableP",
|
|
45854
|
+
"mangledName": "$ss9EscapableP"
|
|
45855
|
+
},
|
|
45856
|
+
{
|
|
45857
|
+
"kind": "Conformance",
|
|
45858
|
+
"name": "View",
|
|
45859
|
+
"printedName": "View",
|
|
45860
|
+
"children": [
|
|
45861
|
+
{
|
|
45862
|
+
"kind": "TypeWitness",
|
|
45863
|
+
"name": "Body",
|
|
45864
|
+
"printedName": "Body",
|
|
45865
|
+
"children": [
|
|
45866
|
+
{
|
|
45867
|
+
"kind": "TypeNominal",
|
|
45868
|
+
"name": "OpaqueTypeArchetype",
|
|
45869
|
+
"printedName": "some SwiftUI.View",
|
|
45870
|
+
"children": [
|
|
45871
|
+
{
|
|
45872
|
+
"kind": "TypeNominal",
|
|
45873
|
+
"name": "View",
|
|
45874
|
+
"printedName": "SwiftUI.View",
|
|
45875
|
+
"usr": "s:7SwiftUI4ViewP"
|
|
45876
|
+
}
|
|
45877
|
+
]
|
|
45878
|
+
}
|
|
45879
|
+
]
|
|
45880
|
+
}
|
|
45881
|
+
],
|
|
45882
|
+
"usr": "s:7SwiftUI4ViewP",
|
|
45883
|
+
"mangledName": "$s7SwiftUI4ViewP"
|
|
45884
|
+
},
|
|
45885
|
+
{
|
|
45886
|
+
"kind": "Conformance",
|
|
45887
|
+
"name": "Sendable",
|
|
45888
|
+
"printedName": "Sendable",
|
|
45889
|
+
"usr": "s:s8SendableP",
|
|
45890
|
+
"mangledName": "$ss8SendableP"
|
|
45891
|
+
}
|
|
45892
|
+
]
|
|
45893
|
+
},
|
|
45894
|
+
{
|
|
45895
|
+
"kind": "TypeDecl",
|
|
45896
|
+
"name": "InternalLinkRepresentable",
|
|
45897
|
+
"printedName": "InternalLinkRepresentable",
|
|
45898
|
+
"children": [
|
|
45899
|
+
{
|
|
45900
|
+
"kind": "Constructor",
|
|
45901
|
+
"name": "init",
|
|
45902
|
+
"printedName": "init(session:)",
|
|
45903
|
+
"children": [
|
|
45904
|
+
{
|
|
45905
|
+
"kind": "TypeNominal",
|
|
45906
|
+
"name": "InternalLinkRepresentable",
|
|
45907
|
+
"printedName": "LinkKit.InternalLinkRepresentable",
|
|
45908
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV"
|
|
45909
|
+
},
|
|
45910
|
+
{
|
|
45911
|
+
"kind": "TypeNominal",
|
|
45912
|
+
"name": "PlaidSessionOpenable",
|
|
45913
|
+
"printedName": "any LinkKit.PlaidSessionOpenable",
|
|
45914
|
+
"usr": "s:7LinkKit20PlaidSessionOpenableP"
|
|
45915
|
+
}
|
|
45916
|
+
],
|
|
45917
|
+
"declKind": "Constructor",
|
|
45918
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV7sessionAcA20PlaidSessionOpenable_p_tcfc",
|
|
45919
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV7sessionAcA20PlaidSessionOpenable_p_tcfc",
|
|
45920
|
+
"moduleName": "LinkKit",
|
|
45921
|
+
"declAttributes": [
|
|
45922
|
+
"Preconcurrency",
|
|
45923
|
+
"Custom"
|
|
45924
|
+
],
|
|
45925
|
+
"init_kind": "Designated"
|
|
45926
|
+
},
|
|
45770
45927
|
{
|
|
45771
45928
|
"kind": "TypeDecl",
|
|
45772
45929
|
"name": "Coordinator",
|
|
45773
45930
|
"printedName": "Coordinator",
|
|
45774
45931
|
"children": [
|
|
45932
|
+
{
|
|
45933
|
+
"kind": "Var",
|
|
45934
|
+
"name": "parent",
|
|
45935
|
+
"printedName": "parent",
|
|
45936
|
+
"children": [
|
|
45937
|
+
{
|
|
45938
|
+
"kind": "TypeNominal",
|
|
45939
|
+
"name": "InternalLinkRepresentable",
|
|
45940
|
+
"printedName": "LinkKit.InternalLinkRepresentable",
|
|
45941
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV"
|
|
45942
|
+
}
|
|
45943
|
+
],
|
|
45944
|
+
"declKind": "Var",
|
|
45945
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC6parent33_852EEF9518A948E766E9E441B0D6DF54LLACvp",
|
|
45946
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV11CoordinatorC6parent33_852EEF9518A948E766E9E441B0D6DF54LLACvp",
|
|
45947
|
+
"moduleName": "LinkKit",
|
|
45948
|
+
"isInternal": true,
|
|
45949
|
+
"declAttributes": [
|
|
45950
|
+
"Final",
|
|
45951
|
+
"HasStorage",
|
|
45952
|
+
"AccessControl"
|
|
45953
|
+
],
|
|
45954
|
+
"fixedbinaryorder": 0,
|
|
45955
|
+
"isLet": true,
|
|
45956
|
+
"hasStorage": true
|
|
45957
|
+
},
|
|
45958
|
+
{
|
|
45959
|
+
"kind": "Var",
|
|
45960
|
+
"name": "session",
|
|
45961
|
+
"printedName": "session",
|
|
45962
|
+
"children": [
|
|
45963
|
+
{
|
|
45964
|
+
"kind": "TypeNominal",
|
|
45965
|
+
"name": "PlaidSessionOpenable",
|
|
45966
|
+
"printedName": "any LinkKit.PlaidSessionOpenable",
|
|
45967
|
+
"usr": "s:7LinkKit20PlaidSessionOpenableP"
|
|
45968
|
+
}
|
|
45969
|
+
],
|
|
45970
|
+
"declKind": "Var",
|
|
45971
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC7session33_852EEF9518A948E766E9E441B0D6DF54LLAA20PlaidSessionOpenable_pvp",
|
|
45972
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV11CoordinatorC7session33_852EEF9518A948E766E9E441B0D6DF54LLAA20PlaidSessionOpenable_pvp",
|
|
45973
|
+
"moduleName": "LinkKit",
|
|
45974
|
+
"isInternal": true,
|
|
45975
|
+
"declAttributes": [
|
|
45976
|
+
"Final",
|
|
45977
|
+
"HasStorage",
|
|
45978
|
+
"AccessControl"
|
|
45979
|
+
],
|
|
45980
|
+
"fixedbinaryorder": 1,
|
|
45981
|
+
"isLet": true,
|
|
45982
|
+
"hasStorage": true
|
|
45983
|
+
},
|
|
45775
45984
|
{
|
|
45776
45985
|
"kind": "Function",
|
|
45777
45986
|
"name": "present",
|
|
@@ -45796,8 +46005,8 @@
|
|
|
45796
46005
|
}
|
|
45797
46006
|
],
|
|
45798
46007
|
"declKind": "Func",
|
|
45799
|
-
"usr": "s:
|
|
45800
|
-
"mangledName": "$
|
|
46008
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC7present_2inyAA20PlaidSessionOpenable_p_So16UIViewControllerCtF",
|
|
46009
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV11CoordinatorC7present_2inyAA20PlaidSessionOpenable_p_So16UIViewControllerCtF",
|
|
45801
46010
|
"moduleName": "LinkKit",
|
|
45802
46011
|
"declAttributes": [
|
|
45803
46012
|
"Final",
|
|
@@ -45813,13 +46022,13 @@
|
|
|
45813
46022
|
{
|
|
45814
46023
|
"kind": "TypeNominal",
|
|
45815
46024
|
"name": "Coordinator",
|
|
45816
|
-
"printedName": "LinkKit.
|
|
45817
|
-
"usr": "s:
|
|
46025
|
+
"printedName": "LinkKit.InternalLinkRepresentable.Coordinator",
|
|
46026
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC"
|
|
45818
46027
|
}
|
|
45819
46028
|
],
|
|
45820
46029
|
"declKind": "Constructor",
|
|
45821
|
-
"usr": "s:
|
|
45822
|
-
"mangledName": "$
|
|
46030
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorCAEycfc",
|
|
46031
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV11CoordinatorCAEycfc",
|
|
45823
46032
|
"moduleName": "LinkKit",
|
|
45824
46033
|
"overriding": true,
|
|
45825
46034
|
"implicit": true,
|
|
@@ -45833,8 +46042,8 @@
|
|
|
45833
46042
|
}
|
|
45834
46043
|
],
|
|
45835
46044
|
"declKind": "Class",
|
|
45836
|
-
"usr": "s:
|
|
45837
|
-
"mangledName": "$
|
|
46045
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC",
|
|
46046
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV11CoordinatorC",
|
|
45838
46047
|
"moduleName": "LinkKit",
|
|
45839
46048
|
"declAttributes": [
|
|
45840
46049
|
"Final",
|
|
@@ -45843,7 +46052,6 @@
|
|
|
45843
46052
|
"ObjC"
|
|
45844
46053
|
],
|
|
45845
46054
|
"superclassUsr": "c:objc(cs)NSObject",
|
|
45846
|
-
"hasMissingDesignatedInitializers": true,
|
|
45847
46055
|
"superclassNames": [
|
|
45848
46056
|
"ObjectiveC.NSObject"
|
|
45849
46057
|
],
|
|
@@ -45921,13 +46129,13 @@
|
|
|
45921
46129
|
{
|
|
45922
46130
|
"kind": "TypeNominal",
|
|
45923
46131
|
"name": "Coordinator",
|
|
45924
|
-
"printedName": "LinkKit.
|
|
45925
|
-
"usr": "s:
|
|
46132
|
+
"printedName": "LinkKit.InternalLinkRepresentable.Coordinator",
|
|
46133
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC"
|
|
45926
46134
|
}
|
|
45927
46135
|
],
|
|
45928
46136
|
"declKind": "Func",
|
|
45929
|
-
"usr": "s:
|
|
45930
|
-
"mangledName": "$
|
|
46137
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV15makeCoordinatorAC0F0CyF",
|
|
46138
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV15makeCoordinatorAC0F0CyF",
|
|
45931
46139
|
"moduleName": "LinkKit",
|
|
45932
46140
|
"declAttributes": [
|
|
45933
46141
|
"Preconcurrency",
|
|
@@ -45950,21 +46158,21 @@
|
|
|
45950
46158
|
{
|
|
45951
46159
|
"kind": "TypeNominal",
|
|
45952
46160
|
"name": "UIViewControllerRepresentableContext",
|
|
45953
|
-
"printedName": "SwiftUI.UIViewControllerRepresentableContext<LinkKit.
|
|
46161
|
+
"printedName": "SwiftUI.UIViewControllerRepresentableContext<LinkKit.InternalLinkRepresentable>",
|
|
45954
46162
|
"children": [
|
|
45955
46163
|
{
|
|
45956
46164
|
"kind": "TypeNominal",
|
|
45957
|
-
"name": "
|
|
45958
|
-
"printedName": "LinkKit.
|
|
45959
|
-
"usr": "s:
|
|
46165
|
+
"name": "InternalLinkRepresentable",
|
|
46166
|
+
"printedName": "LinkKit.InternalLinkRepresentable",
|
|
46167
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV"
|
|
45960
46168
|
}
|
|
45961
46169
|
],
|
|
45962
46170
|
"usr": "s:7SwiftUI36UIViewControllerRepresentableContextV"
|
|
45963
46171
|
}
|
|
45964
46172
|
],
|
|
45965
46173
|
"declKind": "Func",
|
|
45966
|
-
"usr": "s:
|
|
45967
|
-
"mangledName": "$
|
|
46174
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV20makeUIViewController7contextSo0fG0C7SwiftUI0fgD7ContextVyACG_tF",
|
|
46175
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV20makeUIViewController7contextSo0fG0C7SwiftUI0fgD7ContextVyACG_tF",
|
|
45968
46176
|
"moduleName": "LinkKit",
|
|
45969
46177
|
"declAttributes": [
|
|
45970
46178
|
"Preconcurrency",
|
|
@@ -45992,21 +46200,21 @@
|
|
|
45992
46200
|
{
|
|
45993
46201
|
"kind": "TypeNominal",
|
|
45994
46202
|
"name": "UIViewControllerRepresentableContext",
|
|
45995
|
-
"printedName": "SwiftUI.UIViewControllerRepresentableContext<LinkKit.
|
|
46203
|
+
"printedName": "SwiftUI.UIViewControllerRepresentableContext<LinkKit.InternalLinkRepresentable>",
|
|
45996
46204
|
"children": [
|
|
45997
46205
|
{
|
|
45998
46206
|
"kind": "TypeNominal",
|
|
45999
|
-
"name": "
|
|
46000
|
-
"printedName": "LinkKit.
|
|
46001
|
-
"usr": "s:
|
|
46207
|
+
"name": "InternalLinkRepresentable",
|
|
46208
|
+
"printedName": "LinkKit.InternalLinkRepresentable",
|
|
46209
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV"
|
|
46002
46210
|
}
|
|
46003
46211
|
],
|
|
46004
46212
|
"usr": "s:7SwiftUI36UIViewControllerRepresentableContextV"
|
|
46005
46213
|
}
|
|
46006
46214
|
],
|
|
46007
46215
|
"declKind": "Func",
|
|
46008
|
-
"usr": "s:
|
|
46009
|
-
"mangledName": "$
|
|
46216
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV22updateUIViewController_7contextySo0fG0C_7SwiftUI0fgD7ContextVyACGtF",
|
|
46217
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV22updateUIViewController_7contextySo0fG0C_7SwiftUI0fgD7ContextVyACGtF",
|
|
46010
46218
|
"moduleName": "LinkKit",
|
|
46011
46219
|
"declAttributes": [
|
|
46012
46220
|
"Preconcurrency",
|
|
@@ -46014,17 +46222,44 @@
|
|
|
46014
46222
|
"AccessControl"
|
|
46015
46223
|
],
|
|
46016
46224
|
"funcSelfKind": "NonMutating"
|
|
46225
|
+
},
|
|
46226
|
+
{
|
|
46227
|
+
"kind": "Var",
|
|
46228
|
+
"name": "session",
|
|
46229
|
+
"printedName": "session",
|
|
46230
|
+
"children": [
|
|
46231
|
+
{
|
|
46232
|
+
"kind": "TypeNominal",
|
|
46233
|
+
"name": "PlaidSessionOpenable",
|
|
46234
|
+
"printedName": "any LinkKit.PlaidSessionOpenable",
|
|
46235
|
+
"usr": "s:7LinkKit20PlaidSessionOpenableP"
|
|
46236
|
+
}
|
|
46237
|
+
],
|
|
46238
|
+
"declKind": "Var",
|
|
46239
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV7session33_852EEF9518A948E766E9E441B0D6DF54LLAA20PlaidSessionOpenable_pvp",
|
|
46240
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV7session33_852EEF9518A948E766E9E441B0D6DF54LLAA20PlaidSessionOpenable_pvp",
|
|
46241
|
+
"moduleName": "LinkKit",
|
|
46242
|
+
"isInternal": true,
|
|
46243
|
+
"declAttributes": [
|
|
46244
|
+
"Preconcurrency",
|
|
46245
|
+
"Custom",
|
|
46246
|
+
"HasStorage",
|
|
46247
|
+
"AccessControl",
|
|
46248
|
+
"RawDocComment"
|
|
46249
|
+
],
|
|
46250
|
+
"fixedbinaryorder": 0,
|
|
46251
|
+
"isLet": true,
|
|
46252
|
+
"hasStorage": true
|
|
46017
46253
|
}
|
|
46018
46254
|
],
|
|
46019
46255
|
"declKind": "Struct",
|
|
46020
|
-
"usr": "s:
|
|
46021
|
-
"mangledName": "$
|
|
46256
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV",
|
|
46257
|
+
"mangledName": "$s7LinkKit08InternalA13RepresentableV",
|
|
46022
46258
|
"moduleName": "LinkKit",
|
|
46023
46259
|
"declAttributes": [
|
|
46024
46260
|
"Preconcurrency",
|
|
46025
46261
|
"Custom",
|
|
46026
|
-
"AccessControl"
|
|
46027
|
-
"RawDocComment"
|
|
46262
|
+
"AccessControl"
|
|
46028
46263
|
],
|
|
46029
46264
|
"conformances": [
|
|
46030
46265
|
{
|
|
@@ -46067,8 +46302,8 @@
|
|
|
46067
46302
|
{
|
|
46068
46303
|
"kind": "TypeNominal",
|
|
46069
46304
|
"name": "Coordinator",
|
|
46070
|
-
"printedName": "LinkKit.
|
|
46071
|
-
"usr": "s:
|
|
46305
|
+
"printedName": "LinkKit.InternalLinkRepresentable.Coordinator",
|
|
46306
|
+
"usr": "s:7LinkKit08InternalA13RepresentableV11CoordinatorC"
|
|
46072
46307
|
}
|
|
46073
46308
|
]
|
|
46074
46309
|
}
|
|
@@ -252,11 +252,13 @@ public enum ConfigurationError : Foundation.LocalizedError {
|
|
|
252
252
|
get
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
+
@available(*, deprecated, message: "Present Link with PlaidLinkSheet(session:) or session.sheet() instead")
|
|
255
256
|
@_Concurrency.MainActor @preconcurrency public struct PlaidLinkView<ErrorView> : SwiftUICore.View where ErrorView : SwiftUICore.View {
|
|
256
257
|
@_Concurrency.MainActor @preconcurrency public init(token: Swift.String, onSuccess: @escaping LinkKit.OnSuccessHandler, onExit: LinkKit.OnExitHandler? = nil, onEvent: LinkKit.OnEventHandler? = nil, @SwiftUICore.ViewBuilder errorView: @escaping (any Swift.Error) -> ErrorView)
|
|
257
258
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
258
259
|
get
|
|
259
260
|
}
|
|
261
|
+
@available(*, deprecated, message: "Present Link with PlaidLinkSheet(session:) or session.sheet() instead")
|
|
260
262
|
public typealias Body = @_opaqueReturnTypeOf("$s7LinkKit05PlaidA4ViewV4bodyQrvp", 0) __<ErrorView>
|
|
261
263
|
}
|
|
262
264
|
public enum AuthErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Codable, Swift.Equatable {
|
|
@@ -679,17 +681,15 @@ public struct PlaidFinanceKit {
|
|
|
679
681
|
@available(iOS 17.4, *)
|
|
680
682
|
public static func sync(token: Swift.String, requestAuthorizationIfNeeded: Swift.Bool, syncBehavior: LinkKit.PlaidFinanceKit.SyncBehavior = .live) async throws
|
|
681
683
|
}
|
|
682
|
-
@
|
|
684
|
+
@available(*, deprecated, message: "Present Link with PlaidLinkSheet(session:) or session.sheet() instead")
|
|
685
|
+
@_Concurrency.MainActor @preconcurrency public struct PlaidLinkUIViewControllerRepresentable : SwiftUICore.View {
|
|
683
686
|
@_Concurrency.MainActor @preconcurrency public init(session: LinkKit.PlaidLinkSession)
|
|
684
687
|
@_Concurrency.MainActor @preconcurrency public init(session: LinkKit.PlaidLayerSession)
|
|
685
|
-
@
|
|
686
|
-
|
|
688
|
+
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
689
|
+
get
|
|
687
690
|
}
|
|
688
|
-
@
|
|
689
|
-
|
|
690
|
-
@_Concurrency.MainActor @preconcurrency public func updateUIViewController(_ uiViewController: UIKit.UIViewController, context: LinkKit.PlaidLinkUIViewControllerRepresentable.Context)
|
|
691
|
-
public typealias Body = Swift.Never
|
|
692
|
-
public typealias UIViewControllerType = UIKit.UIViewController
|
|
691
|
+
@available(*, deprecated, message: "Present Link with PlaidLinkSheet(session:) or session.sheet() instead")
|
|
692
|
+
public typealias Body = @_opaqueReturnTypeOf("$s7LinkKit05PlaidA29UIViewControllerRepresentableV4bodyQrvp", 0) __
|
|
693
693
|
}
|
|
694
694
|
public enum InstitutionErrorCode : Swift.Error, Swift.CustomStringConvertible, Swift.Equatable, Swift.Codable {
|
|
695
695
|
case institutionDown
|
|
@@ -747,6 +747,7 @@ public enum ExitStatus : Swift.CustomStringConvertible, Swift.Codable, Swift.Equ
|
|
|
747
747
|
public static func == (a: LinkKit.ExitStatus, b: LinkKit.ExitStatus) -> Swift.Bool
|
|
748
748
|
}
|
|
749
749
|
extension LinkKit.EmbeddedSearchView : Swift.Sendable {}
|
|
750
|
+
@available(*, deprecated, message: "Present Link with PlaidLinkSheet(session:) or session.sheet() instead")
|
|
750
751
|
extension LinkKit.PlaidLinkView : Swift.Sendable {}
|
|
751
752
|
extension LinkKit.MFAType : Swift.Hashable {}
|
|
752
753
|
extension LinkKit.PlaidLinkSheet : Swift.Sendable {}
|
|
@@ -756,4 +757,5 @@ extension LinkKit.Environment : Swift.Hashable {}
|
|
|
756
757
|
extension LinkKit.PlaidFinanceKit.SyncBehavior : Swift.Equatable {}
|
|
757
758
|
@available(iOS 17.4, *)
|
|
758
759
|
extension LinkKit.PlaidFinanceKit.SyncBehavior : Swift.Hashable {}
|
|
760
|
+
@available(*, deprecated, message: "Present Link with PlaidLinkSheet(session:) or session.sheet() instead")
|
|
759
761
|
extension LinkKit.PlaidLinkUIViewControllerRepresentable : Swift.Sendable {}
|