Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
myhonda-sdk
Advanced tools
A NestJS SDK for building Honda-related applications, providing modules for authentication and content management.
This guide will walk you through the usage of the Authenticator Module and CMS Module in your NestJS application.
The Authenticator Module is a powerful tool for managing user authentication in your application. It provides a set of endpoints for user registration, login, and password reset. To use the Authenticator Module, follow these steps:
app.module.ts
:import { AuthenticatorModule } from 'path/to/authenticator.module';
@Module({
imports: [AuthenticatorModule.register(configuration)],
})
export class AppModule {}
AuthGuard
from this myhonda-sdk
in your controller. The Authenticator Module provides the following endpoints:import { AuthGuard } from 'myhonda-sdk';
@UseGuards(AuthGuard('customer'))
@Get("/secured")
async fetchNotifications(
@Req() req,
@Query('page') page: number,
@Query('limit') limit: number) {
return getResponseFormat(200, RES.OK);
}
JWT_SECRET=secret
JWT_EXPIRES_IN=2d
CORE_MICROSERVICE_CLIENT_HOST=localhost
CORE_MICROSERVICE_CLIENT_PORT=4000
The CMS Module is a versatile tool for managing content in your application. It provides a set of endpoints for creating, reading, updating, and deleting content. To use the CMS Module, follow these steps:
import { CmsModule } from 'path/to/cms.module';
@Module({
imports: [
CmsModule.register({
imports: [PrismaModule],
providers: [PrismaService]
})
],
})
export class NotificationModule {}
/cms
: Create new content/cms/:id
: Read, update, or delete content/cms?sortBy=field&sortOrder=asc&filters=[{"field":"field","operator":"eq","value":"value"}]
: Paginate and filter contentThat's it! You're now ready to use the Authenticator Module and CMS Module in your NestJS application. Happy coding!
FAQs
A NestJS SDK for building Honda-related applications, providing modules for authentication and content management.
We found that myhonda-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.