@xyo-network/shared
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -1,40 +0,5 @@ | ||
import { Logger } from '@xylabs/logger'; | ||
declare const dump: (object: unknown) => string; | ||
declare class IdLogger implements Logger { | ||
private _id?; | ||
private _logger; | ||
constructor(logger: Logger, id?: () => string); | ||
set id(id: string); | ||
debug(message?: unknown): void; | ||
error(message?: unknown): void; | ||
info(message?: unknown): void; | ||
log(message?: unknown): void; | ||
warn(message?: unknown): void; | ||
private generate; | ||
} | ||
declare function isIP(value: string): boolean; | ||
declare function isIPv6(value: string): boolean; | ||
declare function isIPv4(value: string): boolean; | ||
declare function ipVersion(value: string): 6 | 4 | undefined; | ||
type Task = () => Promise<void>; | ||
type VoidFunction = (...anyArguments: unknown[]) => void; | ||
interface Job { | ||
name: string; | ||
onComplete?: VoidFunction; | ||
onFail?: VoidFunction; | ||
onStart?: VoidFunction; | ||
onSuccess?: VoidFunction; | ||
schedule: string; | ||
task: Task; | ||
} | ||
interface JobProvider { | ||
get jobs(): Job[]; | ||
} | ||
export { IdLogger, type Job, type JobProvider, type VoidFunction, dump, ipVersion, isIP, isIPv4, isIPv6 }; | ||
export * from './dump.ts'; | ||
export * from './IdLogger.ts'; | ||
export * from './is-ip/index.ts'; | ||
export * from './Job/index.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@xyo-network/shared", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -32,7 +32,7 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/logger": "^4.0.2" | ||
"@xylabs/logger": "^4.0.3" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^4.0.0", | ||
"@xylabs/tsconfig": "^4.0.0", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.7", | ||
"@xylabs/tsconfig": "^4.0.7", | ||
"typescript": "^5.5.4" | ||
@@ -39,0 +39,0 @@ }, |
@@ -5,5 +5,3 @@ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3' | ||
browser: {}, | ||
neutral: { | ||
src: true, | ||
}, | ||
neutral: { src: true }, | ||
node: {}, | ||
@@ -10,0 +8,0 @@ }, |
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
30735
37
288
Updated@xylabs/logger@^4.0.3