@stryke/trpc-next 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.d.ts +5 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  export interface BaseContext<TPrisma = any | undefined, TSession = {
2
2
  user?: any;
3
- } | undefined, THeaders extends Record<string, string> = Record<string, string>> {
3
+ } | undefined, THeaders extends {
4
+ [k: string]: string;
5
+ } | undefined = {
6
+ [k: string]: string;
7
+ } | undefined> {
4
8
  /**
5
9
  * The Prisma Client instance.
6
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/trpc-next",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "A package to help in using tRPC in modern NextJs applications.",
6
6
  "repository": {