@hey-api/client-fetch
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "@hey-api/client-fetch", | ||
"version": "0.3.1", | ||
"type": "module", | ||
"version": "0.3.2", | ||
"description": "Type-safe Fetch API client for your @hey-api/openapi-ts types", | ||
@@ -28,14 +27,15 @@ "homepage": "https://heyapi.vercel.app/", | ||
], | ||
"types": "dist/node/index.d.ts", | ||
"main": "dist/node/index.cjs", | ||
"module": "dist/node/index.mjs", | ||
"type": "module", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.mjs" | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.cjs" | ||
"types": "./dist/index.d.cts", | ||
"default": "./dist/index.cjs" | ||
} | ||
@@ -52,10 +52,5 @@ }, | ||
"scripts": { | ||
"build-bundle": "rollup --config rollup.config.ts --configPlugin typescript", | ||
"build-types-check": "tsc --project tsconfig.check.json", | ||
"build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp", | ||
"build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node", | ||
"build-types": "pnpm build-types-temp && pnpm build-types-roll && pnpm build-types-check", | ||
"build": "pnpm clean && pnpm build-bundle && pnpm build-types", | ||
"clean": "rimraf dist coverage node_modules/.cache", | ||
"dev": "rimraf dist && pnpm build-bundle --watch", | ||
"build": "tsup && pnpm check-exports", | ||
"check-exports": "attw --pack .", | ||
"dev": "tsup --watch", | ||
"test:coverage": "vitest run --coverage", | ||
@@ -62,0 +57,0 @@ "test:update": "vitest watch --update", |
@@ -147,1 +147,9 @@ import type { Client, Config, RequestOptions } from './types'; | ||
}; | ||
export type { Config, Options } from './types'; | ||
export { | ||
createConfig, | ||
formDataBodySerializer, | ||
jsonBodySerializer, | ||
urlSearchParamsBodySerializer, | ||
} from './utils'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117401
13
1040