@onairos/react-native 3.2.1 → 3.3.2
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/lib/commonjs/services/SDK_API_KEY_VALIDATION.md +3 -3
- package/lib/commonjs/services/apiKeyService.js +159 -110
- package/lib/commonjs/services/apiKeyService.js.map +1 -1
- package/lib/commonjs/types.js.map +1 -1
- package/lib/module/services/SDK_API_KEY_VALIDATION.md +3 -3
- package/lib/module/services/apiKeyService.js +159 -110
- package/lib/module/services/apiKeyService.js.map +1 -1
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/services/apiKeyService.d.ts.map +1 -1
- package/lib/typescript/types/index.d.ts +4 -2
- package/lib/typescript/types/index.d.ts.map +1 -1
- package/lib/typescript/types.d.ts +1 -0
- package/lib/typescript/types.d.ts.map +1 -1
- package/package.json +149 -149
- package/src/services/SDK_API_KEY_VALIDATION.md +3 -3
- package/src/services/apiKeyService.ts +978 -921
- package/src/types/index.d.ts +9 -9
- package/src/types/index.ts +4 -2
- package/src/types.ts +1 -0
- package/types/index.d.ts +11 -7
package/src/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare module '@onairos/react-native' {
|
|
2
|
-
import
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
4
4
|
|
|
5
5
|
export interface DataTier {
|
|
@@ -203,14 +203,14 @@ declare module '@onairos/react-native' {
|
|
|
203
203
|
error?: string;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
// Component
|
|
207
|
-
export
|
|
208
|
-
export
|
|
209
|
-
export
|
|
210
|
-
export
|
|
211
|
-
export
|
|
212
|
-
export
|
|
213
|
-
export
|
|
206
|
+
// Component Types
|
|
207
|
+
export const OnairosButton: React.ForwardRefExoticComponent<OnairosButtonProps & React.RefAttributes<any>>;
|
|
208
|
+
export const Onairos: React.ForwardRefExoticComponent<OnairosProps & React.RefAttributes<any>>;
|
|
209
|
+
export const UniversalOnboarding: React.FC<UniversalOnboardingProps>;
|
|
210
|
+
export const PlatformList: React.FC<PlatformListProps>;
|
|
211
|
+
export const PinInput: React.FC<PinInputProps>;
|
|
212
|
+
export const TrainingModal: React.FC<TrainingModalProps>;
|
|
213
|
+
export const OAuthWebView: React.FC<OAuthWebViewProps>;
|
|
214
214
|
|
|
215
215
|
// Authentication & PIN Management Functions
|
|
216
216
|
// TODO: Commented out temporarily - biometric functionality disabled
|
package/src/types/index.ts
CHANGED
|
@@ -2,8 +2,10 @@ import { ViewStyle, TextStyle } from 'react-native';
|
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface DataTier {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
name?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
descriptions?: string;
|
|
7
9
|
reward: string;
|
|
8
10
|
}
|
|
9
11
|
|
package/src/types.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -68,9 +68,13 @@ export interface OnairosButtonProps {
|
|
|
68
68
|
buttonType?: 'normal' | 'pill';
|
|
69
69
|
/** Data request tiers */
|
|
70
70
|
requestData?: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
[key: string]: {
|
|
72
|
+
name?: string;
|
|
73
|
+
type?: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
descriptions?: string;
|
|
76
|
+
reward: string;
|
|
77
|
+
};
|
|
74
78
|
};
|
|
75
79
|
/** Button width in pixels */
|
|
76
80
|
buttonWidth?: number;
|
|
@@ -161,10 +165,10 @@ export interface PlatformConfig {
|
|
|
161
165
|
}
|
|
162
166
|
|
|
163
167
|
// Main components
|
|
164
|
-
export const Onairos: React.
|
|
165
|
-
export const OnairosButton: React.
|
|
166
|
-
export const OnairosOverlay: React.
|
|
167
|
-
export const UniversalOnboarding: React.
|
|
168
|
+
export const Onairos: React.ForwardRefExoticComponent<OnairosButtonProps & React.RefAttributes<any>>;
|
|
169
|
+
export const OnairosButton: React.ForwardRefExoticComponent<OnairosButtonProps & React.RefAttributes<any>>;
|
|
170
|
+
export const OnairosOverlay: React.FC<OverlayProps>;
|
|
171
|
+
export const UniversalOnboarding: React.FC<UniversalOnboardingProps>;
|
|
168
172
|
|
|
169
173
|
// Utility functions
|
|
170
174
|
export function initializeOAuthService(): void;
|