@sudobility/di_rn 0.1.0 → 0.1.4

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 (47) hide show
  1. package/dist/analytics/analytics.rn.d.ts.map +1 -1
  2. package/dist/analytics/analytics.rn.js +35 -15
  3. package/dist/analytics/analytics.rn.js.map +1 -1
  4. package/dist/env/env.rn.d.ts.map +1 -1
  5. package/dist/env/env.rn.js +10 -3
  6. package/dist/env/env.rn.js.map +1 -1
  7. package/dist/index.d.ts +2 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +2 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/info/InfoBanner.d.ts +17 -0
  12. package/dist/info/InfoBanner.d.ts.map +1 -0
  13. package/dist/info/InfoBanner.js +69 -0
  14. package/dist/info/InfoBanner.js.map +1 -0
  15. package/dist/info/index.d.ts +3 -0
  16. package/dist/info/index.d.ts.map +1 -0
  17. package/dist/info/index.js +3 -0
  18. package/dist/info/index.js.map +1 -0
  19. package/dist/info/info.rn.d.ts +28 -0
  20. package/dist/info/info.rn.d.ts.map +1 -0
  21. package/dist/info/info.rn.js +97 -0
  22. package/dist/info/info.rn.js.map +1 -0
  23. package/dist/initialize/index.d.ts +2 -0
  24. package/dist/initialize/index.d.ts.map +1 -0
  25. package/dist/initialize/index.js +2 -0
  26. package/dist/initialize/index.js.map +1 -0
  27. package/dist/initialize/initialize.d.ts +39 -0
  28. package/dist/initialize/initialize.d.ts.map +1 -0
  29. package/dist/initialize/initialize.js +117 -0
  30. package/dist/initialize/initialize.js.map +1 -0
  31. package/dist/network/network.rn.d.ts +5 -2
  32. package/dist/network/network.rn.d.ts.map +1 -1
  33. package/dist/network/network.rn.js +38 -6
  34. package/dist/network/network.rn.js.map +1 -1
  35. package/dist/notification/notification.rn.d.ts +2 -1
  36. package/dist/notification/notification.rn.d.ts.map +1 -1
  37. package/dist/notification/notification.rn.js +65 -14
  38. package/dist/notification/notification.rn.js.map +1 -1
  39. package/dist/storage/storage.rn.d.ts +10 -0
  40. package/dist/storage/storage.rn.d.ts.map +1 -1
  41. package/dist/storage/storage.rn.js +40 -7
  42. package/dist/storage/storage.rn.js.map +1 -1
  43. package/dist/theme/theme.rn.d.ts +4 -1
  44. package/dist/theme/theme.rn.d.ts.map +1 -1
  45. package/dist/theme/theme.rn.js +27 -3
  46. package/dist/theme/theme.rn.js.map +1 -1
  47. package/package.json +51 -54
package/package.json CHANGED
@@ -1,75 +1,72 @@
1
1
  {
2
2
  "name": "@sudobility/di_rn",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "React Native implementations of dependency injection services for Sudobility",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
11
  "import": "./dist/index.js",
11
12
  "types": "./dist/index.d.ts"
12
13
  }
13
14
  },
14
- "scripts": {
15
- "build": "tsc",
16
- "build:watch": "tsc --watch",
17
- "clean": "rm -rf dist",
18
- "test": "vitest run",
19
- "test:watch": "vitest",
20
- "test:coverage": "vitest run --coverage",
21
- "test:ci": "vitest run --coverage",
22
- "prepublishOnly": "npm run clean && npm run test && npm run build",
23
- "typecheck": "tsc --noEmit",
24
- "lint": "eslint src --ext .ts,.tsx",
25
- "lint:fix": "eslint src --ext .ts,.tsx --fix",
26
- "format": "prettier --write src/**/*.{ts,tsx,js,jsx,json,md}"
27
- },
28
15
  "files": [
29
- "dist/**/*",
16
+ "dist",
30
17
  "README.md"
31
18
  ],
32
- "keywords": [
33
- "dependency-injection",
34
- "di",
35
- "react-native",
36
- "web3"
37
- ],
38
- "author": "Sudobility Inc",
39
- "license": "MIT",
19
+ "scripts": {
20
+ "build": "bunx tsc",
21
+ "dev": "tsc --watch",
22
+ "clean": "rm -rf dist",
23
+ "typecheck": "bunx tsc --noEmit",
24
+ "lint": "bunx eslint src",
25
+ "lint:fix": "bunx eslint src --fix",
26
+ "format": "bunx prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\"",
27
+ "test": "echo 'No tests yet'",
28
+ "prepublishOnly": "bun run build"
29
+ },
40
30
  "peerDependencies": {
41
- "@sudobility/di": "^1.4.23",
42
- "@sudobility/types": "^1.9.18",
43
- "react": ">=18.0.0",
44
- "react-native": ">=0.73.0",
45
- "@react-native-async-storage/async-storage": "^1.21.0",
46
- "@react-native-community/netinfo": "^11.2.1",
47
- "@react-navigation/native": "^6.1.9",
48
- "@react-native-firebase/analytics": "^18.7.0",
49
- "@notifee/react-native": "^7.8.0",
50
- "react-native-config": "^1.5.1"
31
+ "@sudobility/di": "^1.5.23",
32
+ "@sudobility/types": "^1.9.48",
33
+ "react": "^19.2.3",
34
+ "react-native": "^0.83.1",
35
+ "react-native-toast-message": "^2.3.3"
51
36
  },
52
- "repository": {
53
- "type": "git",
54
- "url": "https://github.com/johnqh/di_rn.git"
37
+ "peerDependenciesMeta": {
38
+ "@sudobility/auth_lib": {
39
+ "optional": true
40
+ },
41
+ "@sudobility/subscription_lib": {
42
+ "optional": true
43
+ }
55
44
  },
56
45
  "devDependencies": {
57
- "@eslint/js": "^9.38.0",
58
- "@sudobility/di": "^1.4.23",
59
- "@sudobility/types": "^1.9.18",
60
- "@types/node": "^24.10.1",
61
- "@types/react": "^18.2.0",
62
- "@typescript-eslint/eslint-plugin": "^8.46.2",
63
- "@typescript-eslint/parser": "^8.46.2",
64
- "@vitest/coverage-v8": "^3.2.4",
65
- "eslint": "^9.38.0",
66
- "eslint-config-prettier": "^10.1.8",
67
- "eslint-plugin-prettier": "^5.5.4",
46
+ "@eslint/js": "^9.39.0",
47
+ "@typescript-eslint/eslint-plugin": "^8.35.1",
48
+ "@typescript-eslint/parser": "^8.35.1",
49
+ "eslint": "^9.39.0",
50
+ "eslint-plugin-prettier": "^5.4.1",
68
51
  "prettier": "^3.6.2",
69
- "typescript": "^5.9.3",
70
- "vitest": "^3.2.4"
52
+ "@notifee/react-native": "^9.1.8",
53
+ "@react-native-community/netinfo": "^11.4.1",
54
+ "@react-native-firebase/analytics": "^23.8.3",
55
+ "@react-native-firebase/app": "^23.8.3",
56
+ "@react-native-firebase/messaging": "^23.8.3",
57
+ "@react-native-firebase/remote-config": "^23.8.3",
58
+ "@react-navigation/native": "^7.1.28",
59
+ "@sudobility/auth_lib": "^0.0.18",
60
+ "@sudobility/di": "^1.5.23",
61
+ "@sudobility/subscription_lib": "^0.0.10",
62
+ "@sudobility/types": "^1.9.48",
63
+ "@types/node": "^22.0.0",
64
+ "@types/react": "^19.2.8",
65
+ "typescript": "~5.9.3",
66
+ "vitest": "^4.0.17"
71
67
  },
72
68
  "publishConfig": {
73
- "access": "restricted"
74
- }
69
+ "access": "public"
70
+ },
71
+ "license": "MIT"
75
72
  }