cap-hydra-web-sdk 1.0.4 → 1.0.5

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.
package/README.md CHANGED
@@ -183,7 +183,7 @@ SDK configuration values like `accountId`, `baseURL`, `debugLevel`, etc. are aut
183
183
  | `firebaseConfig` | `FirebaseConfig` | Firebase project configuration |
184
184
  | `remoteConfigKey` | `string` | Key to fetch SDK config from Remote Config |
185
185
 
186
- ### Optional Fields
186
+ ### Fields
187
187
 
188
188
  | Field | Type | Default | Description |
189
189
  | --------------- | -------------------- | ----------------------------------------- | ------------------------------------------------------------ |
@@ -368,9 +368,8 @@ WebSDK.initialize({
368
368
 
369
369
  **Service Worker Setup:**
370
370
 
371
- 1. Copy `firebase-messaging-sw.js` from `node_modules/cap-hydra-web-sdk/public/` into your `public/` directory.
372
- 2. Update the Firebase config inside the copied file with your credentials.
373
- 3. Set `serviceWorkerPath` to the URL path where the file is accessible from the browser.
371
+ 1. Obtain the `firebase-messaging-sw.js` service worker template from the Capillary team and place it in your project's `public/` directory. Update the Firebase config inside the file with your actual credentials.
372
+ 2. Set `serviceWorkerPath` to the URL path where the file is accessible from the browser.
374
373
 
375
374
  **`serviceWorkerPath` depends on where your app is served from:**
376
375