@datadog/mobile-react-native-session-replay 2.14.0 → 2.14.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 (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -127,6 +127,21 @@ yarn android
127
127
 
128
128
  The `datadog-generate-sr-assets` CLI utility scans your codebase for SVG elements and pre-generates optimized assets that will be included in your native builds.
129
129
 
130
+ #### CLI Options
131
+
132
+ The `datadog-generate-sr-assets` command supports the following options:
133
+
134
+ ```sh
135
+ npx datadog-generate-sr-assets [options]
136
+ ```
137
+
138
+ | Option | Alias | Description | Example |
139
+ |--------|-------|-------------|---------|
140
+ | `--ignore <pattern>` | `-i` | Additional glob patterns to ignore during scanning. Can be specified multiple times. | `npx datadog-generate-sr-assets --ignore "**/legacy/**" --ignore "**/vendor/**"` |
141
+ | `--verbose` | `-v` | Enable verbose output for debugging. | `npx datadog-generate-sr-assets --verbose` |
142
+ | `--path <path>` | `-p` | Path to the root directory to scan. Defaults to the current working directory. | `npx datadog-generate-sr-assets --path ./src` |
143
+ | `--followSymlinks` | | Follow symbolic links during directory traversal. Default: false (symlinks are ignored). | `npx datadog-generate-sr-assets --followSymlinks` |
144
+
130
145
  **Note for CI/CD**: If you use continuous integration for your builds, make sure to include these steps in your CI pipeline. The workflow should be: `yarn install` → `npx datadog-generate-sr-assets` → `pod install` (for iOS) → build your app. This ensures SVG assets are properly generated before the native build process.
131
146
 
132
147
  ### Development Workflow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/mobile-react-native-session-replay",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
4
4
  "description": "A client-side React Native module to enable session replay with Datadog",
5
5
  "keywords": [
6
6
  "datadog",
@@ -96,5 +96,5 @@
96
96
  "dependencies": {
97
97
  "chokidar": "^4.0.3"
98
98
  },
99
- "gitHead": "5a2b777da2d65922cc423992feee052f5c2b104f"
99
+ "gitHead": "ceddd4c317a90a7b19409146690022cd6889cb26"
100
100
  }