@synergonai/push-web 0.1.0 → 0.1.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.
- package/README.md +1 -1
- package/package.json +2 -2
- package/public/firebase-messaging-sw.js +1 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ placeholders with your Firebase Web config + your Synergon publishable key.
|
|
|
27
27
|
import { SynergonPush } from '@synergonai/push-web';
|
|
28
28
|
|
|
29
29
|
await SynergonPush.init({
|
|
30
|
-
apiBaseUrl: 'https://api.synergon.ai',
|
|
30
|
+
apiBaseUrl: 'https://api.apps.synergon.ai/api',
|
|
31
31
|
tenantId: 'your-tenant-uuid',
|
|
32
32
|
publishableKey: 'pk_live_xxx_yyy',
|
|
33
33
|
firebaseConfig: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synergonai/push-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Synergon Push SDK for browsers. Wraps firebase/messaging and handles registration + event reporting.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://synergon.ai",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"firebase": "^12.13.0",
|
|
33
|
-
"@synergonai/push-core": "0.1.
|
|
33
|
+
"@synergonai/push-core": "0.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"tsup": "^8.3.0",
|
|
@@ -40,7 +40,7 @@ const firebaseConfig = {
|
|
|
40
40
|
appId: 'REPLACE_ME',
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
const SYNERGON_API_BASE_URL = 'REPLACE_ME'; // e.g. https://api.synergon.ai
|
|
43
|
+
const SYNERGON_API_BASE_URL = 'REPLACE_ME'; // e.g. https://api.apps.synergon.ai/api
|
|
44
44
|
const SYNERGON_TENANT_ID = 'REPLACE_ME';
|
|
45
45
|
const SYNERGON_PUBLISHABLE_KEY = 'REPLACE_ME'; // pk_live_...
|
|
46
46
|
|