abckit 0.0.21 → 0.0.22

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.
@@ -250,7 +250,7 @@ export function capacitorClient(opts) {
250
250
  const authToken = context.response.headers.get("set-auth-token");
251
251
  if (authToken) {
252
252
  const prevCookie = (await Preferences.get({ key: cookieName }))?.value;
253
- const tokenCookie = `session_token=${authToken}`;
253
+ const tokenCookie = `${cookiePrefix}.session_token=${authToken}`;
254
254
  const newCookie = mergeCookies(tokenCookie, prevCookie ?? void 0);
255
255
  if (hasSessionCookieChanged(prevCookie ?? null, newCookie)) {
256
256
  await Preferences.set({ key: cookieName, value: newCookie });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abckit",
3
3
  "type": "module",
4
- "version": "0.0.21",
4
+ "version": "0.0.22",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {