@nosana/jobs-program 2.0.64

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.
Files changed (69) hide show
  1. package/dist/accounts/index.d.ts +10 -0
  2. package/dist/accounts/index.js +10 -0
  3. package/dist/accounts/jobAccount.d.ts +51 -0
  4. package/dist/accounts/jobAccount.js +76 -0
  5. package/dist/accounts/marketAccount.d.ts +50 -0
  6. package/dist/accounts/marketAccount.js +73 -0
  7. package/dist/accounts/runAccount.d.ts +39 -0
  8. package/dist/accounts/runAccount.js +64 -0
  9. package/dist/errors/index.d.ts +8 -0
  10. package/dist/errors/index.js +8 -0
  11. package/dist/errors/nosanaJobs.d.ts +57 -0
  12. package/dist/errors/nosanaJobs.js +80 -0
  13. package/dist/index.d.ts +12 -0
  14. package/dist/index.js +12 -0
  15. package/dist/instructions/assign.d.ts +95 -0
  16. package/dist/instructions/assign.js +134 -0
  17. package/dist/instructions/claim.d.ts +72 -0
  18. package/dist/instructions/claim.js +103 -0
  19. package/dist/instructions/clean.d.ts +48 -0
  20. package/dist/instructions/clean.js +74 -0
  21. package/dist/instructions/cleanAdmin.d.ts +48 -0
  22. package/dist/instructions/cleanAdmin.js +74 -0
  23. package/dist/instructions/close.d.ts +56 -0
  24. package/dist/instructions/close.js +87 -0
  25. package/dist/instructions/closeAdmin.d.ts +56 -0
  26. package/dist/instructions/closeAdmin.js +87 -0
  27. package/dist/instructions/complete.d.ts +48 -0
  28. package/dist/instructions/complete.js +73 -0
  29. package/dist/instructions/delist.d.ts +64 -0
  30. package/dist/instructions/delist.js +95 -0
  31. package/dist/instructions/end.d.ts +72 -0
  32. package/dist/instructions/end.js +103 -0
  33. package/dist/instructions/extend.d.ts +80 -0
  34. package/dist/instructions/extend.js +116 -0
  35. package/dist/instructions/finish.d.ts +80 -0
  36. package/dist/instructions/finish.js +113 -0
  37. package/dist/instructions/index.d.ts +26 -0
  38. package/dist/instructions/index.js +26 -0
  39. package/dist/instructions/list.d.ts +91 -0
  40. package/dist/instructions/list.js +130 -0
  41. package/dist/instructions/open.d.ts +84 -0
  42. package/dist/instructions/open.js +121 -0
  43. package/dist/instructions/quit.d.ts +52 -0
  44. package/dist/instructions/quit.js +78 -0
  45. package/dist/instructions/quitAdmin.d.ts +48 -0
  46. package/dist/instructions/quitAdmin.js +74 -0
  47. package/dist/instructions/recover.d.ts +64 -0
  48. package/dist/instructions/recover.js +95 -0
  49. package/dist/instructions/stop.d.ts +48 -0
  50. package/dist/instructions/stop.js +74 -0
  51. package/dist/instructions/update.d.ts +64 -0
  52. package/dist/instructions/update.js +88 -0
  53. package/dist/instructions/work.d.ts +68 -0
  54. package/dist/instructions/work.js +99 -0
  55. package/dist/programs/index.d.ts +8 -0
  56. package/dist/programs/index.js +8 -0
  57. package/dist/programs/nosanaJobs.d.ts +83 -0
  58. package/dist/programs/nosanaJobs.js +109 -0
  59. package/dist/shared/index.d.ts +49 -0
  60. package/dist/shared/index.js +86 -0
  61. package/dist/types/index.d.ts +10 -0
  62. package/dist/types/index.js +10 -0
  63. package/dist/types/jobState.d.ts +19 -0
  64. package/dist/types/jobState.js +23 -0
  65. package/dist/types/jobType.d.ts +22 -0
  66. package/dist/types/jobType.js +26 -0
  67. package/dist/types/queueType.d.ts +19 -0
  68. package/dist/types/queueType.js +23 -0
  69. package/package.json +37 -0
@@ -0,0 +1,109 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { containsBytes, fixEncoderSize, getBytesEncoder, } from "@solana/kit";
9
+ export const NOSANA_JOBS_PROGRAM_ADDRESS = "nosJhNRqr2bc9g1nfGDcXXTXvYUmxD4cVwy2pMWhrYM";
10
+ export const NosanaJobsAccount = {
11
+ MarketAccount: "MarketAccount",
12
+ JobAccount: "JobAccount",
13
+ RunAccount: "RunAccount",
14
+ };
15
+ export function identifyNosanaJobsAccount(account) {
16
+ const data = "data" in account ? account.data : account;
17
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([201, 78, 187, 225, 240, 198, 201, 251])), 0)) {
18
+ return NosanaJobsAccount.MarketAccount;
19
+ }
20
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([91, 16, 162, 5, 45, 210, 125, 65])), 0)) {
21
+ return NosanaJobsAccount.JobAccount;
22
+ }
23
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([194, 169, 110, 230, 235, 11, 225, 22])), 0)) {
24
+ return NosanaJobsAccount.RunAccount;
25
+ }
26
+ throw new Error("The provided account could not be identified as a nosanaJobs account.");
27
+ }
28
+ export const NosanaJobsInstruction = {
29
+ Open: "Open",
30
+ Update: "Update",
31
+ Close: "Close",
32
+ CloseAdmin: "CloseAdmin",
33
+ Assign: "Assign",
34
+ List: "List",
35
+ Delist: "Delist",
36
+ Recover: "Recover",
37
+ Extend: "Extend",
38
+ End: "End",
39
+ Work: "Work",
40
+ Stop: "Stop",
41
+ Claim: "Claim",
42
+ Complete: "Complete",
43
+ Finish: "Finish",
44
+ Quit: "Quit",
45
+ QuitAdmin: "QuitAdmin",
46
+ Clean: "Clean",
47
+ CleanAdmin: "CleanAdmin",
48
+ };
49
+ export function identifyNosanaJobsInstruction(instruction) {
50
+ const data = "data" in instruction ? instruction.data : instruction;
51
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([228, 220, 155, 71, 199, 189, 60, 45])), 0)) {
52
+ return NosanaJobsInstruction.Open;
53
+ }
54
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([219, 200, 88, 176, 158, 63, 253, 127])), 0)) {
55
+ return NosanaJobsInstruction.Update;
56
+ }
57
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([98, 165, 201, 177, 108, 65, 206, 96])), 0)) {
58
+ return NosanaJobsInstruction.Close;
59
+ }
60
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([202, 182, 185, 142, 208, 161, 145, 189])), 0)) {
61
+ return NosanaJobsInstruction.CloseAdmin;
62
+ }
63
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([73, 66, 125, 203, 81, 41, 64, 135])), 0)) {
64
+ return NosanaJobsInstruction.Assign;
65
+ }
66
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([54, 174, 193, 67, 17, 41, 132, 38])), 0)) {
67
+ return NosanaJobsInstruction.List;
68
+ }
69
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([55, 136, 205, 107, 107, 173, 4, 31])), 0)) {
70
+ return NosanaJobsInstruction.Delist;
71
+ }
72
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([108, 216, 38, 58, 109, 146, 116, 17])), 0)) {
73
+ return NosanaJobsInstruction.Recover;
74
+ }
75
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([228, 127, 0, 1, 227, 154, 54, 168])), 0)) {
76
+ return NosanaJobsInstruction.Extend;
77
+ }
78
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([180, 160, 249, 217, 194, 121, 70, 16])), 0)) {
79
+ return NosanaJobsInstruction.End;
80
+ }
81
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([15, 67, 45, 195, 215, 137, 229, 47])), 0)) {
82
+ return NosanaJobsInstruction.Work;
83
+ }
84
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([42, 133, 32, 60, 171, 253, 184, 155])), 0)) {
85
+ return NosanaJobsInstruction.Stop;
86
+ }
87
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([62, 198, 214, 193, 213, 159, 108, 210])), 0)) {
88
+ return NosanaJobsInstruction.Claim;
89
+ }
90
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([0, 77, 224, 147, 136, 25, 88, 76])), 0)) {
91
+ return NosanaJobsInstruction.Complete;
92
+ }
93
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([67, 74, 170, 132, 125, 233, 182, 37])), 0)) {
94
+ return NosanaJobsInstruction.Finish;
95
+ }
96
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([191, 103, 141, 240, 80, 129, 103, 153])), 0)) {
97
+ return NosanaJobsInstruction.Quit;
98
+ }
99
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([103, 238, 110, 8, 182, 20, 56, 196])), 0)) {
100
+ return NosanaJobsInstruction.QuitAdmin;
101
+ }
102
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([250, 191, 56, 128, 150, 251, 1, 103])), 0)) {
103
+ return NosanaJobsInstruction.Clean;
104
+ }
105
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([245, 90, 188, 68, 253, 235, 171, 105])), 0)) {
106
+ return NosanaJobsInstruction.CleanAdmin;
107
+ }
108
+ throw new Error("The provided instruction could not be identified as a nosanaJobs instruction.");
109
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type ProgramDerivedAddress, type TransactionSigner } from "@solana/kit";
9
+ /**
10
+ * Asserts that the given value is not null or undefined.
11
+ * @internal
12
+ */
13
+ export declare function expectSome<T>(value: T | null | undefined): T;
14
+ /**
15
+ * Asserts that the given value is a PublicKey.
16
+ * @internal
17
+ */
18
+ export declare function expectAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): Address<T>;
19
+ /**
20
+ * Asserts that the given value is a PDA.
21
+ * @internal
22
+ */
23
+ export declare function expectProgramDerivedAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): ProgramDerivedAddress<T>;
24
+ /**
25
+ * Asserts that the given value is a TransactionSigner.
26
+ * @internal
27
+ */
28
+ export declare function expectTransactionSigner<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): TransactionSigner<T>;
29
+ /**
30
+ * Defines an instruction account to resolve.
31
+ * @internal
32
+ */
33
+ export type ResolvedAccount<T extends string = string, U extends Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null = Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null> = {
34
+ isWritable: boolean;
35
+ value: U;
36
+ };
37
+ /**
38
+ * Defines an instruction that stores additional bytes on-chain.
39
+ * @internal
40
+ */
41
+ export type InstructionWithByteDelta = {
42
+ byteDelta: number;
43
+ };
44
+ /**
45
+ * Get account metas and signers from resolved accounts.
46
+ * @internal
47
+ */
48
+ export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: "omitted" | "programId"): (account: ResolvedAccount) => AccountMeta | AccountSignerMeta | undefined;
49
+ export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
@@ -0,0 +1,86 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { AccountRole, isProgramDerivedAddress, isTransactionSigner as kitIsTransactionSigner, upgradeRoleToSigner, } from "@solana/kit";
9
+ /**
10
+ * Asserts that the given value is not null or undefined.
11
+ * @internal
12
+ */
13
+ export function expectSome(value) {
14
+ if (value === null || value === undefined) {
15
+ throw new Error("Expected a value but received null or undefined.");
16
+ }
17
+ return value;
18
+ }
19
+ /**
20
+ * Asserts that the given value is a PublicKey.
21
+ * @internal
22
+ */
23
+ export function expectAddress(value) {
24
+ if (!value) {
25
+ throw new Error("Expected a Address.");
26
+ }
27
+ if (typeof value === "object" && "address" in value) {
28
+ return value.address;
29
+ }
30
+ if (Array.isArray(value)) {
31
+ return value[0];
32
+ }
33
+ return value;
34
+ }
35
+ /**
36
+ * Asserts that the given value is a PDA.
37
+ * @internal
38
+ */
39
+ export function expectProgramDerivedAddress(value) {
40
+ if (!value || !Array.isArray(value) || !isProgramDerivedAddress(value)) {
41
+ throw new Error("Expected a ProgramDerivedAddress.");
42
+ }
43
+ return value;
44
+ }
45
+ /**
46
+ * Asserts that the given value is a TransactionSigner.
47
+ * @internal
48
+ */
49
+ export function expectTransactionSigner(value) {
50
+ if (!value || !isTransactionSigner(value)) {
51
+ throw new Error("Expected a TransactionSigner.");
52
+ }
53
+ return value;
54
+ }
55
+ /**
56
+ * Get account metas and signers from resolved accounts.
57
+ * @internal
58
+ */
59
+ export function getAccountMetaFactory(programAddress, optionalAccountStrategy) {
60
+ return (account) => {
61
+ if (!account.value) {
62
+ if (optionalAccountStrategy === "omitted")
63
+ return;
64
+ return Object.freeze({
65
+ address: programAddress,
66
+ role: AccountRole.READONLY,
67
+ });
68
+ }
69
+ const writableRole = account.isWritable
70
+ ? AccountRole.WRITABLE
71
+ : AccountRole.READONLY;
72
+ return Object.freeze({
73
+ address: expectAddress(account.value),
74
+ role: isTransactionSigner(account.value)
75
+ ? upgradeRoleToSigner(writableRole)
76
+ : writableRole,
77
+ ...(isTransactionSigner(account.value) ? { signer: account.value } : {}),
78
+ });
79
+ };
80
+ }
81
+ export function isTransactionSigner(value) {
82
+ return (!!value &&
83
+ typeof value === "object" &&
84
+ "address" in value &&
85
+ kitIsTransactionSigner(value));
86
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ export * from "./jobState.js";
9
+ export * from "./jobType.js";
10
+ export * from "./queueType.js";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ export * from "./jobState.js";
9
+ export * from "./jobType.js";
10
+ export * from "./queueType.js";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit";
9
+ /** The `JobState` describes the status of a job. */
10
+ export declare const JobState: {
11
+ readonly Queued: "Queued";
12
+ readonly Done: "Done";
13
+ readonly Stopped: "Stopped";
14
+ };
15
+ export type JobState = (typeof JobState)[keyof typeof JobState];
16
+ export type JobStateArgs = JobState;
17
+ export declare function getJobStateEncoder(): FixedSizeEncoder<JobStateArgs>;
18
+ export declare function getJobStateDecoder(): FixedSizeDecoder<JobState>;
19
+ export declare function getJobStateCodec(): FixedSizeCodec<JobStateArgs, JobState>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { combineCodec, getEnumDecoder, getEnumEncoder, } from "@solana/kit";
9
+ /** The `JobState` describes the status of a job. */
10
+ export const JobState = {
11
+ Queued: "Queued",
12
+ Done: "Done",
13
+ Stopped: "Stopped",
14
+ };
15
+ export function getJobStateEncoder() {
16
+ return getEnumEncoder(JobState);
17
+ }
18
+ export function getJobStateDecoder() {
19
+ return getEnumDecoder(JobState);
20
+ }
21
+ export function getJobStateCodec() {
22
+ return combineCodec(getJobStateEncoder(), getJobStateDecoder());
23
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit";
9
+ /** The `JobType` describes the type of any job. */
10
+ export declare const JobType: {
11
+ readonly Default: "Default";
12
+ readonly Small: "Small";
13
+ readonly Medium: "Medium";
14
+ readonly Large: "Large";
15
+ readonly Gpu: "Gpu";
16
+ readonly Unknown: "Unknown";
17
+ };
18
+ export type JobType = (typeof JobType)[keyof typeof JobType];
19
+ export type JobTypeArgs = JobType;
20
+ export declare function getJobTypeEncoder(): FixedSizeEncoder<JobTypeArgs>;
21
+ export declare function getJobTypeDecoder(): FixedSizeDecoder<JobType>;
22
+ export declare function getJobTypeCodec(): FixedSizeCodec<JobTypeArgs, JobType>;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { combineCodec, getEnumDecoder, getEnumEncoder, } from "@solana/kit";
9
+ /** The `JobType` describes the type of any job. */
10
+ export const JobType = {
11
+ Default: "Default",
12
+ Small: "Small",
13
+ Medium: "Medium",
14
+ Large: "Large",
15
+ Gpu: "Gpu",
16
+ Unknown: "Unknown",
17
+ };
18
+ export function getJobTypeEncoder() {
19
+ return getEnumEncoder(JobType);
20
+ }
21
+ export function getJobTypeDecoder() {
22
+ return getEnumDecoder(JobType);
23
+ }
24
+ export function getJobTypeCodec() {
25
+ return combineCodec(getJobTypeEncoder(), getJobTypeDecoder());
26
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit";
9
+ /** The `QueueType` describes the type of queue */
10
+ export declare const QueueType: {
11
+ readonly Job: "Job";
12
+ readonly Node: "Node";
13
+ readonly Empty: "Empty";
14
+ };
15
+ export type QueueType = (typeof QueueType)[keyof typeof QueueType];
16
+ export type QueueTypeArgs = QueueType;
17
+ export declare function getQueueTypeEncoder(): FixedSizeEncoder<QueueTypeArgs>;
18
+ export declare function getQueueTypeDecoder(): FixedSizeDecoder<QueueType>;
19
+ export declare function getQueueTypeCodec(): FixedSizeCodec<QueueTypeArgs, QueueType>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { combineCodec, getEnumDecoder, getEnumEncoder, } from "@solana/kit";
9
+ /** The `QueueType` describes the type of queue */
10
+ export const QueueType = {
11
+ Job: "Job",
12
+ Node: "Node",
13
+ Empty: "Empty",
14
+ };
15
+ export function getQueueTypeEncoder() {
16
+ return getEnumEncoder(QueueType);
17
+ }
18
+ export function getQueueTypeDecoder() {
19
+ return getEnumDecoder(QueueType);
20
+ }
21
+ export function getQueueTypeCodec() {
22
+ return combineCodec(getQueueTypeEncoder(), getQueueTypeDecoder());
23
+ }
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@nosana/jobs-program",
3
+ "version": "2.0.64",
4
+ "description": "Nosana Jobs program generated client",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ }
13
+ },
14
+ "dependencies": {
15
+ "@solana/kit": "5.4.0"
16
+ },
17
+ "devDependencies": {
18
+ "typescript": "^5.9.3"
19
+ },
20
+ "engines": {
21
+ "node": ">=20.18.0"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "package.json"
26
+ ],
27
+ "scripts": {
28
+ "build": "tsc",
29
+ "build:with-deps": "pnpm --filter $npm_package_name... run build",
30
+ "dev": "tsc --watch",
31
+ "dev:with-deps": "pnpm --filter $npm_package_name... run dev --parallel",
32
+ "test": "echo 'No tests' && exit 0",
33
+ "lint": "echo 'No lint' && exit 0",
34
+ "format": "echo 'No format' && exit 0",
35
+ "format:fix": "echo 'No format:fix' && exit 0"
36
+ }
37
+ }