message: fix(nextjs): User server types
  In order to use `withSentry`, the types must be from the server instead of the client.
diff: "main": "./dist/index.server.js",
  "module": "./esm/index.server.js",
  "browser": "./esm/index.client.js",
  - "types": "./esm/index.client.d.ts",
  + "types": "./esm/index.server.d.ts",
  "publishConfig": {
  "access": "public"
  },
  