@nyth/common
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -1,7 +0,7 @@ | ||
/// <reference types="node" /> | ||
import { Server as HttpServer } from 'http'; | ||
import { Server as HttpServer } from 'node:http'; | ||
import { Server as HttpsServer } from 'node:https'; | ||
import { IRpcAdapter } from './typings'; | ||
export interface IHttpAdapter extends IRpcAdapter { | ||
adjust<T>(constructor: new (arg: { | ||
server: HttpServer; | ||
server: HttpServer | HttpsServer; | ||
}) => T): T; | ||
@@ -8,0 +8,0 @@ close(): Promise<void>; |
{ | ||
"name": "@nyth/common", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "nyth", | ||
@@ -8,2 +8,3 @@ "author": "Andrey Sakharov <caxap_8787@mail.ru> (https://www.linkedin.com/in/andrey-sakharov/)", | ||
"main": "dist/index.cjs", | ||
"module": "index.mjs", | ||
"typings": "dist/index.d.ts", | ||
@@ -13,3 +14,4 @@ "exports": { | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/es6/index.mjs" | ||
"import": "./index.mjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
@@ -22,9 +24,8 @@ }, | ||
"scripts": { | ||
"build": "npm run build_cjs && npm run build_es6", | ||
"build_cjs": "tsc -p tsconfig.json && mv dist/index.js dist/index.cjs", | ||
"build_es6": "tsc -p tsconfig.es6.json && mv dist/es6/index.js dist/es6/index.mjs", | ||
"build": "tsc -p tsconfig.json && mv dist/index.js dist/index.cjs", | ||
"prebuild": "rm -rf dist || npx rimraf dist" | ||
}, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"index.mjs" | ||
], | ||
@@ -41,9 +42,6 @@ "repository": { | ||
"dependencies": { | ||
"@nyth/base-adapter": "^0.5.6", | ||
"@nyth/models": "^0.5.6", | ||
"@nyth/serializer": "^0.5.6" | ||
"@nyth/base-adapter": "^0.5.7", | ||
"@nyth/models": "^0.5.7", | ||
"@nyth/serializer": "^0.5.7" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.1.3" | ||
}, | ||
"publishConfig": { | ||
@@ -50,0 +48,0 @@ "access": "public" |
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
0
3061
8
39
Updated@nyth/base-adapter@^0.5.7
Updated@nyth/models@^0.5.7
Updated@nyth/serializer@^0.5.7