We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf3963 commit f3b46ebCopy full SHA for f3b46eb
src/utils/utils.ts
@@ -263,8 +263,8 @@ const isModuleExists = (path) => {
263
};
264
265
const getSDKVersion = () => {
266
- const agentPkg = PackageManager.getPackage(join(process.cwd(), '/node_modules/@securenative/agent/', PACKAGE_FILE_NAME));
267
- return agentPkg && agentPkg.version || 'unknown';
+ const agentPkg = PackageManager.getPackage(join(process.cwd(), '/node_modules/@securenative/sdk/', PACKAGE_FILE_NAME));
+ return agentPkg && agentPkg.version;
268
269
270
export {
0 commit comments