You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

trpc-nestjs-adapter

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trpc-nestjs-adapter - npm Package Compare versions

Comparing version

to
1.0.0-alpha.6

22

dist/build-nest-resolver.d.ts
import { ModuleRef } from '@nestjs/core';
export declare function buildNestResolver(req: any, moduleRef: ModuleRef): {
resolveNestDependency: {
<TInput = any, TResult = TInput>(typeOrToken: string | symbol | Function | import("@nestjs/common").Type<TInput>): Promise<TResult>;
<TInput_1 = any, TResult_1 = TInput_1>(typeOrToken: string | symbol | Function | import("@nestjs/common").Type<TInput_1>, contextId?: {
id: number;
} | undefined): Promise<TResult_1>;
<TInput_2 = any, TResult_2 = TInput_2>(typeOrToken: string | symbol | Function | import("@nestjs/common").Type<TInput_2>, contextId?: {
id: number;
} | undefined, options?: {
strict?: boolean | undefined;
each?: false | undefined;
} | undefined): Promise<TResult_2>;
<TInput_3 = any, TResult_3 = TInput_3>(typeOrToken: string | symbol | Function | import("@nestjs/common").Type<TInput_3>, contextId?: {
id: number;
} | undefined, options?: {
strict?: boolean | undefined;
each: true;
} | undefined): Promise<TResult_3[]>;
<TInput_4 = any, TResult_4 = TInput_4>(typeOrToken: string | symbol | Function | import("@nestjs/common").Type<TInput_4>, contextId?: {
id: number;
} | undefined, options?: import("@nestjs/core").ModuleRefGetOrResolveOpts | undefined): Promise<TResult_4 | TResult_4[]>;
};
resolveNestDependency: ModuleRef;
};
//# sourceMappingURL=build-nest-resolver.d.ts.map

2

dist/build-trpc-nest-middleware.d.ts

@@ -23,3 +23,3 @@ import { ModuleRef } from '@nestjs/core';

*/
export declare function buildTrpcNestMiddleware({ moduleRef, router, createContext }: BuildTrpcNestMiddlewareOptions): (req: any, res: any) => Promise<void>;
export declare function buildTrpcNestMiddleware({ moduleRef, router, createContext }: BuildTrpcNestMiddlewareOptions): (req: any, res: any) => any;
//# sourceMappingURL=build-trpc-nest-middleware.d.ts.map

@@ -12,2 +12,3 @@ "use strict";

var TrpcModule_1;
var _a, _b;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -48,3 +49,3 @@ exports.TrpcModule = void 0;

(0, common_1.Inject)(),
__metadata("design:type", core_1.HttpAdapterHost)
__metadata("design:type", typeof (_b = typeof core_1.HttpAdapterHost !== "undefined" && core_1.HttpAdapterHost) === "function" ? _b : Object)
], TrpcModule.prototype, "httpAdapterHost", void 0);

@@ -65,5 +66,5 @@ __decorate([

(0, common_1.Module)({}),
__metadata("design:paramtypes", [core_1.ModuleRef])
__metadata("design:paramtypes", [typeof (_a = typeof core_1.ModuleRef !== "undefined" && core_1.ModuleRef) === "function" ? _a : Object])
], TrpcModule);
exports.TrpcModule = TrpcModule;
//# sourceMappingURL=trpc.module.js.map
{
"name": "trpc-nestjs-adapter",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.6",
"description": "TRPC adapter for NestJS",

@@ -16,9 +16,9 @@ "keywords": [

"license": "MIT",
"main": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.js"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},

@@ -25,0 +25,0 @@ "./package.json": "./package.json"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.