@oxyhq/services 6.0.0 → 6.0.1

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.
Files changed (1) hide show
  1. package/package.json +50 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyhq/services",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "OxyHQ Expo/React Native SDK — UI components, screens, and native features",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -59,6 +59,7 @@
59
59
  "typescript": "tsc --skipLibCheck --noEmit",
60
60
  "lint": "biome lint --error-on-warnings ./src",
61
61
  "build": "npx react-native-builder-bob build && npm run copy-assets && npm run copy-dts && npm run delete-dts.js && npm run delete-debug-view",
62
+ "build:js": "npx react-native-builder-bob build --target commonjs && npx react-native-builder-bob build --target module && npm run copy-assets",
62
63
  "test": "jest --passWithNoTests",
63
64
  "test:watch": "jest --watch",
64
65
  "test:coverage": "jest --coverage",
@@ -70,11 +71,13 @@
70
71
  "prepublishOnly": "npm run typescript && npm test && npm run build"
71
72
  },
72
73
  "dependencies": {
73
- "@oxyhq/core": "*",
74
74
  "@lottiefiles/dotlottie-react": "^0.13.5",
75
+ "@oxyhq/core": "*",
75
76
  "@react-native-async-storage/async-storage": "2.1.2",
76
77
  "@react-native-community/netinfo": "^11.4.1",
77
78
  "@tanstack/react-query": "^5.59.0",
79
+ "@types/react": "*",
80
+ "copyfiles": "^2.4.1",
78
81
  "expo-blur": "~15.0.8",
79
82
  "expo-checkbox": "^5.0.8",
80
83
  "expo-crypto": "~14.0.1",
@@ -87,10 +90,8 @@
87
90
  "socket.io-client": "^4.8.1",
88
91
  "sonner": "^2.0.4",
89
92
  "sonner-native": "^0.20.0",
90
- "zustand": "^5.0.6",
91
- "@types/react": "^19.2.0",
92
- "copyfiles": "^2.4.1",
93
- "typescript": "^5.9.2"
93
+ "typescript": "^5.9.2",
94
+ "zustand": "^5.0.6"
94
95
  },
95
96
  "devDependencies": {
96
97
  "@biomejs/biome": "^1.9.4",
@@ -99,6 +100,7 @@
99
100
  "@react-native/babel-preset": "^0.77.0",
100
101
  "@release-it/conventional-changelog": "^10.0.2",
101
102
  "@testing-library/jest-dom": "^6.4.2",
103
+ "@types/color": "^4.2.0",
102
104
  "@types/jest": "^29.5.14",
103
105
  "@types/node": "^20.19.9",
104
106
  "expo-file-system": "~19.0.0",
@@ -136,23 +138,53 @@
136
138
  "react-native-svg": ">=13.0.0"
137
139
  },
138
140
  "peerDependenciesMeta": {
139
- "@expo/vector-icons": { "optional": true },
140
- "@types/react-native": { "optional": true },
141
- "@types/react": { "optional": true },
142
- "react-native-qrcode-svg": { "optional": true },
143
- "expo": { "optional": true },
144
- "expo-font": { "optional": true },
145
- "expo-image": { "optional": true },
146
- "expo-linear-gradient": { "optional": true },
147
- "@react-navigation/native": { "optional": true },
148
- "expo-document-picker": { "optional": true }
141
+ "@expo/vector-icons": {
142
+ "optional": true
143
+ },
144
+ "@types/react-native": {
145
+ "optional": true
146
+ },
147
+ "@types/react": {
148
+ "optional": true
149
+ },
150
+ "react-native-qrcode-svg": {
151
+ "optional": true
152
+ },
153
+ "expo": {
154
+ "optional": true
155
+ },
156
+ "expo-font": {
157
+ "optional": true
158
+ },
159
+ "expo-image": {
160
+ "optional": true
161
+ },
162
+ "expo-linear-gradient": {
163
+ "optional": true
164
+ },
165
+ "@react-navigation/native": {
166
+ "optional": true
167
+ },
168
+ "expo-document-picker": {
169
+ "optional": true
170
+ }
149
171
  },
150
172
  "react-native-builder-bob": {
151
173
  "source": "src",
152
174
  "output": "lib",
153
175
  "targets": [
154
- ["commonjs", { "esm": true }],
155
- ["module", { "esm": true }],
176
+ [
177
+ "commonjs",
178
+ {
179
+ "esm": true
180
+ }
181
+ ],
182
+ [
183
+ "module",
184
+ {
185
+ "esm": true
186
+ }
187
+ ],
156
188
  "typescript"
157
189
  ]
158
190
  },