@kryptos_connect/mobile-sdk 0.0.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -264,5 +264,5 @@ MIT © Kryptos
264
264
  ## Support
265
265
 
266
266
  - 📧 Email: support@kryptos.io
267
- - 📚 Documentation: https://docs.kryptos.io
267
+ - 📚 Documentation: https://dashboard.kryptos.io
268
268
  - 🐛 Issues: https://github.com/Kryptoskatt/kryptos-connect-mobile-package/issues
package/dist/index.d.mts CHANGED
@@ -36,7 +36,10 @@ type UserConsent = {
36
36
  interface KryptosConnectButtonProps {
37
37
  onSuccess?: (userConsent: UserConsent | null) => void;
38
38
  onError?: (error?: any) => void;
39
- generateLinkToken: () => Promise<string>;
39
+ generateLinkToken: () => Promise<{
40
+ link_token: string;
41
+ isAuthorized?: boolean;
42
+ }>;
40
43
  children?: React.ReactNode;
41
44
  style?: ViewStyle;
42
45
  textStyle?: TextStyle;
@@ -47,7 +50,10 @@ interface KryptosConnectModalProps {
47
50
  setOpen: (open: boolean) => void;
48
51
  onSuccess?: (userConsent: UserConsent | null) => void;
49
52
  onError?: (error?: any) => void;
50
- generateLinkToken: () => Promise<string>;
53
+ generateLinkToken: () => Promise<{
54
+ link_token: string;
55
+ isAuthorized?: boolean;
56
+ }>;
51
57
  }
52
58
  declare const KryptosConnectModal: React.FC<KryptosConnectModalProps>;
53
59
 
package/dist/index.d.ts CHANGED
@@ -36,7 +36,10 @@ type UserConsent = {
36
36
  interface KryptosConnectButtonProps {
37
37
  onSuccess?: (userConsent: UserConsent | null) => void;
38
38
  onError?: (error?: any) => void;
39
- generateLinkToken: () => Promise<string>;
39
+ generateLinkToken: () => Promise<{
40
+ link_token: string;
41
+ isAuthorized?: boolean;
42
+ }>;
40
43
  children?: React.ReactNode;
41
44
  style?: ViewStyle;
42
45
  textStyle?: TextStyle;
@@ -47,7 +50,10 @@ interface KryptosConnectModalProps {
47
50
  setOpen: (open: boolean) => void;
48
51
  onSuccess?: (userConsent: UserConsent | null) => void;
49
52
  onError?: (error?: any) => void;
50
- generateLinkToken: () => Promise<string>;
53
+ generateLinkToken: () => Promise<{
54
+ link_token: string;
55
+ isAuthorized?: boolean;
56
+ }>;
51
57
  }
52
58
  declare const KryptosConnectModal: React.FC<KryptosConnectModalProps>;
53
59