@column-org/wallet-sdk 1.1.6 → 1.1.7

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.
Binary file
package/dist/index.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as nacl from 'tweetnacl';
2
+ import React from 'react';
2
3
 
3
4
  interface ColumnSDKConfig {
4
5
  appUrl?: string;
@@ -69,4 +70,20 @@ declare class ColumnWalletWeb extends ColumnWalletSDK {
69
70
  openConnectModal(): void;
70
71
  }
71
72
 
72
- export { ColumnCrypto, type ColumnSDKConfig, ColumnWalletSDK, ColumnWalletWeb };
73
+ /**
74
+ * Enhanced SDK Class specifically for React Native / Expo environments
75
+ */
76
+ declare class ColumnWalletNative extends ColumnWalletSDK {
77
+ constructor(config: ColumnSDKConfig);
78
+ private static autoDetectMetadata;
79
+ }
80
+
81
+ interface Props {
82
+ visible: boolean;
83
+ onClose: () => void;
84
+ onConnect: () => void;
85
+ sdk: ColumnWalletSDK;
86
+ }
87
+ declare function ColumnWalletModal({ visible, onClose, onConnect, sdk }: Props): React.JSX.Element;
88
+
89
+ export { ColumnCrypto, type ColumnSDKConfig, ColumnWalletModal, ColumnWalletNative, ColumnWalletSDK, ColumnWalletWeb };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as nacl from 'tweetnacl';
2
+ import React from 'react';
2
3
 
3
4
  interface ColumnSDKConfig {
4
5
  appUrl?: string;
@@ -69,4 +70,20 @@ declare class ColumnWalletWeb extends ColumnWalletSDK {
69
70
  openConnectModal(): void;
70
71
  }
71
72
 
72
- export { ColumnCrypto, type ColumnSDKConfig, ColumnWalletSDK, ColumnWalletWeb };
73
+ /**
74
+ * Enhanced SDK Class specifically for React Native / Expo environments
75
+ */
76
+ declare class ColumnWalletNative extends ColumnWalletSDK {
77
+ constructor(config: ColumnSDKConfig);
78
+ private static autoDetectMetadata;
79
+ }
80
+
81
+ interface Props {
82
+ visible: boolean;
83
+ onClose: () => void;
84
+ onConnect: () => void;
85
+ sdk: ColumnWalletSDK;
86
+ }
87
+ declare function ColumnWalletModal({ visible, onClose, onConnect, sdk }: Props): React.JSX.Element;
88
+
89
+ export { ColumnCrypto, type ColumnSDKConfig, ColumnWalletModal, ColumnWalletNative, ColumnWalletSDK, ColumnWalletWeb };