@airxpay/sdk-ui 1.0.2 → 1.0.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.
package/README.md CHANGED
@@ -28,7 +28,7 @@
28
28
  ---
29
29
 
30
30
  <div align="center">
31
- <img src="./assets/images/airxpay.png" alt="AirXPay Flixora SDK" width="120"/>
31
+ <img src="./src/assets/images/airxpay.png" alt="AirXPay Flixora SDK" width="120"/>
32
32
  </div>
33
33
 
34
34
  ---
Binary file
Binary file
@@ -55,7 +55,7 @@ const STEPS = [
55
55
  { id: 4, name: 'Complete', key: 'complete', isRequired: false, icon: 'check-circle' },
56
56
  ];
57
57
  // Default logo - can be overridden via props
58
- const DEFAULT_LOGO = require('../../../../../../assets/images/airxpay.png');
58
+ const DEFAULT_LOGO = require('../../../assets/images/airxpay.png');
59
59
  const SellerOnboardingSheet = ({ sellerId, mode, isKycCompleted, isBankDetailsCompleted, kycStatus, status, initialStep = 1, initialData = {}, onNext, onBack, onComplete, loading: externalLoading = false, }) => {
60
60
  // Get configuration from provider (keep intact as required)
61
61
  const airXPay = (0, AirXPayProvider_1.useAirXPaySafe)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airxpay/sdk-ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "AirXPay Initialization UI Components for React & React Native",
5
5
  "author": "Tafseel Khan",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "dist"
11
11
  ],
12
12
  "scripts": {
13
- "build": "tsc --project tsconfig.json --outDir dist && cpx \"src/types/**/*\" dist/types",
13
+ "build": "tsc --project tsconfig.json --outDir dist && cpx \"src/types/**/*\" dist/types && copyfiles -u 1 src/assets/**/* dist",
14
14
  "prepare": "npm run build"
15
15
  },
16
16
  "peerDependencies": {
@@ -23,6 +23,7 @@
23
23
  "devDependencies": {
24
24
  "@react-native-community/datetimepicker": "^8.6.0",
25
25
  "@types/react": "^19.2.14",
26
+ "copyfiles": "^2.4.1",
26
27
  "cpx": "^1.5.0",
27
28
  "expo-image-picker": "^17.0.10",
28
29
  "expo-linear-gradient": "^15.0.8",