cap-hydra-web-sdk 1.0.3 → 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 +3 -4
- package/dist/index.esm.js +1 -20950
- package/dist/index.js +1 -20952
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
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
|
-
###
|
|
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.
|
|
372
|
-
2.
|
|
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
|
|