@kingstinct/react-native-healthkit 4.0.1 → 4.2.0

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 (51) hide show
  1. package/{ios/.DS_Store → .DS_Store} +0 -0
  2. package/.circleci/config.yml +98 -0
  3. package/.editorconfig +15 -0
  4. package/.gitattributes +3 -0
  5. package/.github/workflows/main.yml +32 -0
  6. package/.gitignore +60 -0
  7. package/CONTRIBUTING.md +184 -0
  8. package/README.md +1 -1
  9. package/babel.config.js +3 -0
  10. package/example-expo/.expo/README.md +15 -0
  11. package/example-expo/.expo/devices.json +8 -0
  12. package/example-expo/.expo/packager-info.json +5 -0
  13. package/example-expo/.expo/settings.json +9 -0
  14. package/example-expo/.expo-shared/assets.json +4 -0
  15. package/example-expo/.gitignore +14 -0
  16. package/example-expo/App.tsx +376 -0
  17. package/example-expo/app.json +43 -0
  18. package/example-expo/assets/adaptive-icon.png +0 -0
  19. package/example-expo/assets/favicon.png +0 -0
  20. package/example-expo/assets/icon.png +0 -0
  21. package/example-expo/assets/splash.png +0 -0
  22. package/example-expo/babel.config.js +8 -0
  23. package/example-expo/build-1653040579600.ipa +0 -0
  24. package/example-expo/build-1653041063216.ipa +0 -0
  25. package/example-expo/eas.json +18 -0
  26. package/example-expo/package.json +32 -0
  27. package/example-expo/tsconfig.json +6 -0
  28. package/example-expo/yarn.lock +6857 -0
  29. package/ios/ReactNativeHealthkit.m +9 -9
  30. package/ios/ReactNativeHealthkit.swift +38 -4
  31. package/lib/commonjs/index.ios.js +9 -5
  32. package/lib/commonjs/index.ios.js.map +1 -1
  33. package/lib/commonjs/native-types.js +8 -1
  34. package/lib/commonjs/native-types.js.map +1 -1
  35. package/lib/module/index.ios.js +9 -5
  36. package/lib/module/index.ios.js.map +1 -1
  37. package/lib/module/native-types.js +7 -0
  38. package/lib/module/native-types.js.map +1 -1
  39. package/lib/typescript/example-expo/App.d.ts +3 -0
  40. package/lib/typescript/src/__tests__/index.test.d.ts +0 -0
  41. package/lib/typescript/src/native-types.d.ts +20 -0
  42. package/package.json +11 -10
  43. package/src/__tests__/index.test.tsx +1 -0
  44. package/src/index.ios.tsx +8 -10
  45. package/src/native-types.ts +54 -31
  46. package/tsconfig.json +27 -0
  47. package/yarn.lock +10241 -0
  48. package/ios/ReactNativeHealthkit.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -4
  49. package/ios/ReactNativeHealthkit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  50. package/ios/ReactNativeHealthkit.xcodeproj/project.xcworkspace/xcuserdata/robertherber.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  51. package/ios/ReactNativeHealthkit.xcodeproj/xcuserdata/robertherber.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
package/tsconfig.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "paths": {
5
+ "@kingstinct/react-native-healthkit": ["./src/index"]
6
+ },
7
+ "allowUnreachableCode": false,
8
+ "allowUnusedLabels": false,
9
+ "esModuleInterop": true,
10
+ "importsNotUsedAsValues": "error",
11
+ "forceConsistentCasingInFileNames": true,
12
+ "jsx": "react",
13
+ "lib": ["esnext"],
14
+ "module": "esnext",
15
+ "moduleResolution": "node",
16
+ "noFallthroughCasesInSwitch": true,
17
+ "noImplicitReturns": true,
18
+ "noImplicitUseStrict": false,
19
+ "noStrictGenericChecks": false,
20
+ "noUnusedLocals": true,
21
+ "noUnusedParameters": true,
22
+ "resolveJsonModule": true,
23
+ "skipLibCheck": true,
24
+ "strict": true,
25
+ "target": "esnext"
26
+ }
27
+ }