@elysiajs/eden
Advanced tools
Comparing version 0.7.7 to 0.8.0
@@ -47,4 +47,4 @@ import { Elysia } from 'elysia'; | ||
declare const edenFetch: <App extends Elysia<any, any, any, any, any, any>>(server: string, config?: EdenFetch.Config) => EdenFetch.Create<App>; | ||
declare const edenFetch: <App extends Elysia<any, any, any, any, any, any, false>>(server: string, config?: EdenFetch.Config) => EdenFetch.Create<App>; | ||
export { EdenFetch, edenFetch }; |
import type { Elysia } from 'elysia'; | ||
import type { EdenFetch } from './types'; | ||
export type { EdenFetch } from './types'; | ||
export declare const edenFetch: <App extends Elysia<any, any, any, any, any, any>>(server: string, config?: EdenFetch.Config) => EdenFetch.Create<App>; | ||
export declare const edenFetch: <App extends Elysia<any, any, any, any, any, any, false>>(server: string, config?: EdenFetch.Config) => EdenFetch.Create<App>; |
@@ -119,4 +119,4 @@ import { Elysia, InputSchema } from 'elysia'; | ||
} | ||
declare const edenTreaty: <App extends Elysia<any, any, any, any, any, any>>(domain: string, config?: EdenTreaty.Config) => EdenTreaty.Create<App>; | ||
declare const edenTreaty: <App extends Elysia<any, any, any, any, any, any, false>>(domain: string, config?: EdenTreaty.Config) => EdenTreaty.Create<App>; | ||
export { EdenTreaty, EdenWS, edenTreaty }; |
@@ -16,2 +16,2 @@ import type { Elysia, InputSchema } from 'elysia'; | ||
} | ||
export declare const edenTreaty: <App extends Elysia<any, any, any, any, any, any>>(domain: string, config?: EdenTreaty.Config) => EdenTreaty.Create<App>; | ||
export declare const edenTreaty: <App extends Elysia<any, any, any, any, any, any, false>>(domain: string, config?: EdenTreaty.Config) => EdenTreaty.Create<App>; |
150
package.json
{ | ||
"name": "@elysiajs/eden", | ||
"version": "0.7.7", | ||
"description": "Fully type-safe Elysia client", | ||
"author": { | ||
"name": "saltyAom", | ||
"url": "https://github.com/SaltyAom", | ||
"email": "saltyaom@gmail.com" | ||
}, | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs", | ||
"node": "./dist/index.js", | ||
"default": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"name": "@elysiajs/eden", | ||
"version": "0.8.0", | ||
"description": "Fully type-safe Elysia client", | ||
"author": { | ||
"name": "saltyAom", | ||
"url": "https://github.com/SaltyAom", | ||
"email": "saltyaom@gmail.com" | ||
}, | ||
"./treaty": { | ||
"require": "./dist/treaty.js", | ||
"import": "./dist/treaty.mjs", | ||
"node": "./dist/treaty.js", | ||
"default": "./dist/treaty.js", | ||
"types": "./dist/treaty/index.d.ts" | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs", | ||
"node": "./dist/index.js", | ||
"default": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
}, | ||
"./treaty": { | ||
"require": "./dist/treaty.js", | ||
"import": "./dist/treaty.mjs", | ||
"node": "./dist/treaty.js", | ||
"default": "./dist/treaty.js", | ||
"types": "./dist/treaty/index.d.ts" | ||
}, | ||
"./fetch": { | ||
"require": "./dist/fetch.js", | ||
"import": "./dist/fetch.mjs", | ||
"node": "./dist/fetch.js", | ||
"default": "./dist/fetch.js", | ||
"types": "./dist/fetch/index.d.ts" | ||
} | ||
}, | ||
"./fetch": { | ||
"require": "./dist/fetch.js", | ||
"import": "./dist/fetch.mjs", | ||
"node": "./dist/fetch.js", | ||
"default": "./dist/fetch.js", | ||
"types": "./dist/fetch/index.d.ts" | ||
"types": "./src/index.ts", | ||
"keywords": [ | ||
"elysia", | ||
"eden", | ||
"connector" | ||
], | ||
"homepage": "https://github.com/elysiajs/eden", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/elysiajs/eden" | ||
}, | ||
"bugs": "https://github.com/elysiajs/eden/issues", | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "bun run --watch example/index.ts", | ||
"test": "bun test", | ||
"build": "rimraf dist && tsup", | ||
"release": "npm run build && npm run test && npm publish --access public" | ||
}, | ||
"peerDependencies": { | ||
"elysia": ">= 0.8.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@sinclair/typebox": { | ||
"optional": true | ||
} | ||
}, | ||
"devDependencies": { | ||
"@elysiajs/cors": "0.7.0", | ||
"@sinclair/typebox": "^0.31.6", | ||
"@types/node": "^18.15.5", | ||
"bun-types": "^1.0.1", | ||
"elysia": "0.8.0", | ||
"esbuild": "^0.19.3", | ||
"eslint": "^8.26.0", | ||
"rimraf": "^4.4.1", | ||
"tsup": "^7.2.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"tabWidth": 4, | ||
"singleQuote": true, | ||
"trailingComma": "none" | ||
}, | ||
"dependencies": { | ||
"superjson": "^2.2.1" | ||
} | ||
}, | ||
"types": "./src/index.ts", | ||
"keywords": ["elysia", "eden", "connector"], | ||
"homepage": "https://github.com/elysiajs/eden", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/elysiajs/eden" | ||
}, | ||
"bugs": "https://github.com/elysiajs/eden/issues", | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "bun run --watch example/index.ts", | ||
"test": "bun test", | ||
"build": "rimraf dist && tsup", | ||
"release": "npm run build && npm run test && npm publish --access public" | ||
}, | ||
"peerDependencies": { | ||
"elysia": ">= 0.7.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@sinclair/typebox": { | ||
"optional": true | ||
} | ||
}, | ||
"devDependencies": { | ||
"@elysiajs/cors": "0.7.0", | ||
"@sinclair/typebox": "^0.31.6", | ||
"@types/node": "^18.15.5", | ||
"bun-types": "^1.0.1", | ||
"elysia": "^0.7.15", | ||
"esbuild": "^0.19.3", | ||
"eslint": "^8.26.0", | ||
"rimraf": "^4.4.1", | ||
"tsup": "^7.2.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"tabWidth": 4, | ||
"singleQuote": true, | ||
"trailingComma": "none" | ||
}, | ||
"dependencies": { | ||
"superjson": "^2.2.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
84769