@product-intelligence-hub/sdk-react-native 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,7 +30,6 @@ import PIH from "@product-intelligence-hub/sdk-react-native";
30
30
 
31
31
  // Initialize the SDK
32
32
  const pih = PIH.init({
33
- apiUrl: "https://your-ingest-api.com",
34
33
  apiKey: "your-api-key",
35
34
  projectId: "proj_xxx",
36
35
  environment: "production",
@@ -54,12 +53,12 @@ pih.identify("user_123", {
54
53
  ```typescript
55
54
  PIH.init({
56
55
  // Required
57
- apiUrl: string; // Ingestion API URL
58
56
  apiKey: string; // Environment API key
59
57
  projectId: string; // Project ID (proj_xxx)
60
58
  environment: string; // Environment name
61
59
 
62
60
  // Optional
61
+ apiUrl?: string; // Ingest API URL (has default, override for self-hosted)
63
62
  tenantId?: string; // Tenant ID for multi-tenant apps
64
63
  debug?: boolean; // Enable debug logging (default: false)
65
64
  flushInterval?: number; // Batch flush interval in ms (default: 10000)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@product-intelligence-hub/sdk-react-native",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "React Native SDK for Product Intelligence Hub",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "mobile"
35
35
  ],
36
36
  "dependencies": {
37
- "@product-intelligence-hub/sdk-core": "0.1.1"
37
+ "@product-intelligence-hub/sdk-core": "0.1.3"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@react-native-async-storage/async-storage": ">=1.0.0",