Skip to content

Commit 338f103

Browse files
committed
Update commerce-sdk-isomorphic dependency to version 5.0.0 preview and remove obsolete TypeScript ignore comment in Auth class.
1 parent 40bd7c6 commit 338f103

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/commerce-sdk-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"version": "node ./scripts/version.js"
4141
},
4242
"dependencies": {
43-
"commerce-sdk-isomorphic": "4.0.0-unstable-20260116080750",
43+
"commerce-sdk-isomorphic": "5.0.0-unstable-20260202081607",
4444
"js-cookie": "^3.0.1",
4545
"jwt-decode": "^4.0.0"
4646
},

packages/commerce-sdk-react/src/auth/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,8 +1548,6 @@ class Auth {
15481548
}
15491549
}
15501550

1551-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
1552-
// @ts-ignore TODO: user_id is optional, but commerce-sdk-isomorphic expects it to be required. Remove this comment after commerce-sdk-isomorphic is updated.
15531551
return await slasClient.startWebauthnAuthentication(options)
15541552
}
15551553

0 commit comments

Comments
 (0)