@c1m-public/dash-site-kit 0.19.0 → 1.0.0
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/dist/next/providers/waitlist.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -281,7 +281,7 @@ before relying on it.
|
|
|
281
281
|
|
|
282
282
|
## Peer dependencies
|
|
283
283
|
|
|
284
|
-
`@c1m-public/channel-client`
|
|
284
|
+
`@c1m-public/channel-client` ^1.0.0, `@c1m-public/platform-auth` ^1.0.0, `next` 16, `react` 19.
|
|
285
285
|
|
|
286
286
|
The moving quote form, validation, server data layer and customer lead portal
|
|
287
287
|
are shared across Dash sites. A site supplies its own channel client and
|
|
@@ -24,10 +24,10 @@ export function createC1MWaitlistProvider(resolveClient = getDashChannelClient,
|
|
|
24
24
|
return { accepted: true };
|
|
25
25
|
},
|
|
26
26
|
async verify(token) {
|
|
27
|
-
return (await (await resolveClient()).
|
|
27
|
+
return (await (await resolveClient()).waitlist.verify(token)).verified === true;
|
|
28
28
|
},
|
|
29
29
|
async leave(key) {
|
|
30
|
-
return (await (await resolveClient()).
|
|
30
|
+
return (await (await resolveClient()).waitlist.unsubscribe(key)).unsubscribed === true;
|
|
31
31
|
},
|
|
32
32
|
};
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c1m-public/dash-site-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Shared transport, domain and UI layer for MML dash-scoped public sites",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"server-only": "0.0.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@c1m-public/channel-client": "
|
|
47
|
-
"@c1m-public/platform-auth": "
|
|
46
|
+
"@c1m-public/channel-client": "^1.0.0",
|
|
47
|
+
"@c1m-public/platform-auth": "^1.0.0",
|
|
48
48
|
"next": "^16",
|
|
49
49
|
"react": "^19"
|
|
50
50
|
},
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"react-dom": "19.2.8",
|
|
58
58
|
"typescript": "5.9.3",
|
|
59
59
|
"vitest": "^4.1.4",
|
|
60
|
-
"@c1m-public/platform-auth": "0.
|
|
61
|
-
"@c1m-public/channel-client": "0.
|
|
60
|
+
"@c1m-public/platform-auth": "1.0.0",
|
|
61
|
+
"@c1m-public/channel-client": "1.0.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"next": {
|