Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| import React, { useState, useEffect, useCallback, useRef } from 'react'; | ||
| import LayercodeClient, { | ||
| type AgentConfig, | ||
| type AuthorizeSessionRequest, | ||
| type LayercodeAudioInputDevice, | ||
| listAudioInputDevices, | ||
| watchAudioInputDevices, | ||
| } from 'layercode-js-sdk'; |
There was a problem hiding this comment.
Import JS SDK from uninstalled module
The new hook imports LayercodeClient and helpers from 'layercode-js-sdk', but package.json only declares a dependency on @layercode/js-sdk and the README still references that scoped package. Because no module named layercode-js-sdk is installed, npm run build or consumers compiling the package will fail with “Cannot find module 'layercode-js-sdk'”. The import path should remain @layercode/js-sdk (or the dependency name should be updated consistently).
Useful? React with 👍 / 👎.
adc3931 to
03f2b76
Compare
0c8edb3 to
3fea619
Compare
No description provided.