Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xyo-network/shared

Package Overview
Dependencies
Maintainers
0
Versions
856
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/shared - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

dist/neutral/dump.d.ts

45

dist/neutral/index.d.ts

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc