@xyo-network/shared 5.3.22 → 5.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/shared",
3
- "version": "5.3.22",
3
+ "version": "5.3.25",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,7 +30,6 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
33
- "src",
34
33
  "!**/*.bench.*",
35
34
  "!**/*.spec.*",
36
35
  "!**/*.test.*",
@@ -39,16 +38,13 @@
39
38
  "devDependencies": {
40
39
  "@opentelemetry/api": "^1.9.1",
41
40
  "@types/node": "^25.5.0",
42
- "@xylabs/sdk-js": "^5.0.91",
43
- "@xylabs/ts-scripts-common": "~7.6.8",
44
- "@xylabs/ts-scripts-yarn3": "~7.6.8",
45
- "@xylabs/tsconfig": "~7.6.8",
41
+ "@xylabs/sdk-js": "^5.0.93",
42
+ "@xylabs/ts-scripts-common": "~7.6.16",
43
+ "@xylabs/ts-scripts-pnpm": "~7.6.16",
44
+ "@xylabs/tsconfig": "~7.6.16",
46
45
  "acorn": "^8.16.0",
47
46
  "axios": "^1.14.0",
48
- "cosmiconfig": "^9.0.1",
49
- "esbuild": "^0.27.4",
50
- "eslint": "^10.1.0",
51
- "rollup": "^4.60.1",
47
+ "esbuild": "^0.28.0",
52
48
  "typescript": "~5.9.3",
53
49
  "zod": "^4.3.6"
54
50
  },
@@ -59,4 +55,4 @@
59
55
  "publishConfig": {
60
56
  "access": "public"
61
57
  }
62
- }
58
+ }
package/src/Job/Job.ts DELETED
@@ -1,13 +0,0 @@
1
- import type { Task } from './Task.ts'
2
-
3
- export type VoidFunction = (...anyArguments: unknown[]) => void
4
-
5
- export interface Job {
6
- name: string
7
- onComplete?: VoidFunction
8
- onFail?: VoidFunction
9
- onStart?: VoidFunction
10
- onSuccess?: VoidFunction
11
- schedule: string
12
- task: Task
13
- }
@@ -1,5 +0,0 @@
1
- import type { Job } from './Job.ts'
2
-
3
- export interface JobProvider {
4
- get jobs(): Job[]
5
- }
@@ -1,20 +0,0 @@
1
- import type { EventData, EventEmitter } from '@xylabs/sdk-js'
2
-
3
- import type { Job } from './Job.ts'
4
-
5
- /** @internal */
6
- export interface DefineOptions {
7
- lockLifetime?: number
8
- }
9
-
10
- /** @internal */
11
- export interface JobQueue extends EventEmitter<EventData> {
12
- define: (name: string, options: DefineOptions, processor: Job['task']) => void
13
- every: (
14
- interval: string,
15
- names: string | string[],
16
- // data?: any,
17
- // options?: JobOptions
18
- ) => Promise<void>
19
- start: () => Promise<unknown>
20
- }
package/src/Job/Task.ts DELETED
@@ -1 +0,0 @@
1
- export type Task = () => Promise<void>
package/src/Job/index.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './Job.ts'
2
- export * from './JobProvider.ts'
3
- export * from './JobQueue.ts'
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from './Job/index.ts'