@libo11y/react-native 0.0.0-stage → 0.6.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 (43) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +65 -2
  3. package/dist/contracts/env.d.ts +38 -0
  4. package/dist/contracts/env.js +5 -0
  5. package/dist/contracts/storage.d.ts +18 -0
  6. package/dist/contracts/storage.js +4 -0
  7. package/dist/device-class.d.ts +7 -0
  8. package/dist/device-class.js +22 -0
  9. package/dist/env.d.ts +11 -0
  10. package/dist/env.js +39 -0
  11. package/dist/expo/app-info.d.ts +39 -0
  12. package/dist/expo/app-info.js +40 -0
  13. package/dist/expo/file-storage.d.ts +45 -0
  14. package/dist/expo/file-storage.js +93 -0
  15. package/dist/expo/options.d.ts +23 -0
  16. package/dist/expo/options.js +40 -0
  17. package/dist/expo.d.ts +38 -0
  18. package/dist/expo.js +57 -0
  19. package/dist/index.d.ts +24 -0
  20. package/dist/index.js +24 -0
  21. package/dist/instrumentation/network.d.ts +34 -0
  22. package/dist/instrumentation/network.js +69 -0
  23. package/dist/internal.d.ts +21 -0
  24. package/dist/internal.js +18 -0
  25. package/dist/lifecycle.d.ts +3 -0
  26. package/dist/lifecycle.js +51 -0
  27. package/dist/options.d.ts +109 -0
  28. package/dist/options.js +1 -0
  29. package/dist/platform.d.ts +33 -0
  30. package/dist/platform.js +48 -0
  31. package/dist/random.d.ts +8 -0
  32. package/dist/random.js +17 -0
  33. package/dist/resource.d.ts +18 -0
  34. package/dist/resource.js +31 -0
  35. package/dist/setup.d.ts +54 -0
  36. package/dist/setup.js +207 -0
  37. package/dist/storage/memory.d.ts +7 -0
  38. package/dist/storage/memory.js +19 -0
  39. package/dist/storage/queue.d.ts +23 -0
  40. package/dist/storage/queue.js +253 -0
  41. package/dist/version.d.ts +2 -0
  42. package/dist/version.js +2 -0
  43. package/package.json +74 -4
package/package.json CHANGED
@@ -1,6 +1,76 @@
1
1
  {
2
2
  "name": "@libo11y/react-native",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.6.0",
4
+ "description": "The libo11y React Native platform for TypeScript: setup over the OpenTelemetry JS 3.x providers on Hermes, the mobile resource, an OTLP/HTTP transport with a persistent retry queue on device storage, AppState flushing, the consent gate, and fetch and XHR spans.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ },
13
+ "./expo": {
14
+ "types": "./dist/expo.d.ts",
15
+ "default": "./dist/expo.js"
16
+ },
17
+ "./env": {
18
+ "types": "./dist/env.d.ts",
19
+ "default": "./dist/env.js"
20
+ },
21
+ "./internal": {
22
+ "types": "./dist/internal.d.ts",
23
+ "default": "./dist/internal.js"
24
+ }
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/libo11y/libo11y.git",
29
+ "directory": "ts/packages/react-native"
30
+ },
31
+ "dependencies": {
32
+ "@libo11y/core": "0.6.0",
33
+ "@libo11y/spec": "0.6.0",
34
+ "@libo11y/web": "0.6.0",
35
+ "@opentelemetry/core": "3.1.1"
36
+ },
37
+ "peerDependencies": {
38
+ "@opentelemetry/api": ">=1.10.0 <1.11.0",
39
+ "expo-application": ">=58.0.0",
40
+ "expo-device": ">=58.0.0",
41
+ "expo-file-system": ">=58.0.0",
42
+ "expo-updates": ">=58.0.0",
43
+ "react-native": ">=0.88.0"
44
+ },
45
+ "peerDependenciesMeta": {
46
+ "expo-application": {
47
+ "optional": true
48
+ },
49
+ "expo-device": {
50
+ "optional": true
51
+ },
52
+ "expo-file-system": {
53
+ "optional": true
54
+ },
55
+ "expo-updates": {
56
+ "optional": true
57
+ }
58
+ },
59
+ "devDependencies": {
60
+ "@libo11y/test": "0.6.0",
61
+ "@opentelemetry/api": "1.10.0",
62
+ "@opentelemetry/sdk-trace": "3.1.1",
63
+ "@types/react": "19.3.0",
64
+ "react": "19.3.1",
65
+ "react-native": "0.88.1"
66
+ },
67
+ "files": [
68
+ "dist",
69
+ "README.md",
70
+ "LICENSE"
71
+ ],
72
+ "publishConfig": {
73
+ "access": "public",
74
+ "provenance": true
75
+ }
76
+ }