Compare commits

...

2 Commits

Author SHA1 Message Date
4c325ed4f7 1.1.3
All checks were successful
Publish / Publish npm package action (push) Successful in 42s
2026-03-06 07:05:13 +03:00
3ba3fbe9e8 fix: little fixes 2026-03-06 07:05:08 +03:00
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@teacinema/common", "name": "@teacinema/common",
"version": "1.1.2", "version": "1.1.3",
"description": "Common library for TeaCinema microservices", "description": "Common library for TeaCinema microservices",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -21,7 +21,6 @@ export class GrpcModule {
return { return {
provide: `${GRPC_CLIENT_PREFIX}_${token}`, provide: `${GRPC_CLIENT_PREFIX}_${token}`,
useFactory: (factory: GrpcClientFactory, config: ConfigService) => { useFactory: (factory: GrpcClientFactory, config: ConfigService) => {
console.log('config', config)
const url = config.getOrThrow<string>(cfg.env) const url = config.getOrThrow<string>(cfg.env)
const client = factory.createClient({ const client = factory.createClient({
url, url,

View File

@ -7,7 +7,7 @@ export const GRPC_CLIENTS = {
env: 'AUTH_GRPC_URL' env: 'AUTH_GRPC_URL'
}, },
ACCOUNT_PACKAGE: { ACCOUNT_PACKAGE: {
package: 'auth.v1', package: 'account.v1',
protoPath: PROTO_PATHS.ACCOUNT, protoPath: PROTO_PATHS.ACCOUNT,
env: 'AUTH_GRPC_URL' env: 'AUTH_GRPC_URL'
}, },