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

@clockwork-xyz/sdk

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clockwork-xyz/sdk - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

18

lib/ClockworkProvider.d.ts

@@ -38,3 +38,3 @@ import * as anchor from "@coral-xyz/anchor";

/**
* Create a new thread. Returns Transaction Signature.
* Create a new thread.
*

@@ -49,3 +49,3 @@ * @param authority thread authority

/**
* Delete a thread. Returns Transaction Signature.
* Delete a thread.
*

@@ -58,3 +58,3 @@ * @param authority The authority (owner) of the thread.

/**
* Pause a thread. Returns Transaction Signature.
* Pause a thread.
*

@@ -66,3 +66,3 @@ * @param authority The authority (owner) of the thread.

/**
* Resume a thread. Returns Transaction Signature.
* Resume a thread.
*

@@ -74,3 +74,3 @@ * @param authority The authority (owner) of the thread.

/**
* Reset a thread. Returns Transaction Signature.
* Reset a thread.
*

@@ -82,3 +82,3 @@ * @param authority The authority (owner) of the thread.

/**
* Withdraw from thread. Returns Transaction Signature.
* Withdraw from thread.
*

@@ -91,3 +91,3 @@ * @param authority The authority (owner) of the thread.

/**
* Update a thread. Returns Transaction Signature.
* Update a thread.
*

@@ -100,3 +100,3 @@ * @param authority The authority (owner) of the thread.

/**
* Add instruction to a thread. Returns Transaction Signature.
* Add instruction to a thread.
*

@@ -109,3 +109,3 @@ * @param authority The authority (owner) of the thread.

/**
* Remove an instruction from a thread. Returns Transaction Signature.
* Remove an instruction from a thread.
*

@@ -112,0 +112,0 @@ * @param authority The authority (owner) of the thread.

@@ -77,3 +77,3 @@ "use strict";

/**
* Create a new thread. Returns Transaction Signature.
* Create a new thread.
*

@@ -101,3 +101,3 @@ * @param authority thread authority

/**
* Delete a thread. Returns Transaction Signature.
* Delete a thread.
*

@@ -121,3 +121,3 @@ * @param authority The authority (owner) of the thread.

/**
* Pause a thread. Returns Transaction Signature.
* Pause a thread.
*

@@ -139,3 +139,3 @@ * @param authority The authority (owner) of the thread.

/**
* Resume a thread. Returns Transaction Signature.
* Resume a thread.
*

@@ -157,3 +157,3 @@ * @param authority The authority (owner) of the thread.

/**
* Reset a thread. Returns Transaction Signature.
* Reset a thread.
*

@@ -175,3 +175,3 @@ * @param authority The authority (owner) of the thread.

/**
* Withdraw from thread. Returns Transaction Signature.
* Withdraw from thread.
*

@@ -195,3 +195,3 @@ * @param authority The authority (owner) of the thread.

/**
* Update a thread. Returns Transaction Signature.
* Update a thread.
*

@@ -214,3 +214,3 @@ * @param authority The authority (owner) of the thread.

/**
* Add instruction to a thread. Returns Transaction Signature.
* Add instruction to a thread.
*

@@ -233,3 +233,3 @@ * @param authority The authority (owner) of the thread.

/**
* Remove an instruction from a thread. Returns Transaction Signature.
* Remove an instruction from a thread.
*

@@ -251,3 +251,2 @@ * @param authority The authority (owner) of the thread.

}
// TODO: Return CrateInfo rather than tx.
/**

@@ -254,0 +253,0 @@ * Get Crate Info.

{
"version": "2.0.0-beta",
"version": "2.0.16",
"name": "thread_program",

@@ -503,2 +503,34 @@ "docs": ["Program for creating transaction threads on Solana."],

]
},
{
"name": "Timestamp",
"fields": [
{
"name": "unix_ts",
"docs": ["Unix timestamp"],
"type": "i64"
}
]
},
{
"name": "Pyth",
"fields": [
{
"name": "price_feed",
"docs": ["Price feed"],
"type": "publicKey"
},
{
"name": "equality",
"docs": ["Equality"],
"type": {
"defined": "Equality"
}
},
{
"name": "limit",
"docs": ["Limit"],
"type": "i64"
}
]
}

@@ -721,5 +753,44 @@ ]

]
},
{
"name": "Timestamp",
"fields": [
{
"name": "started_at",
"docs": [
"The threshold moment the schedule was waiting for."
],
"type": "i64"
}
]
},
{
"name": "Pyth",
"fields": [
{
"name": "price",
"docs": [
"The limit price that the trigger was waiting for."
],
"type": "i64"
}
]
}
]
}
},
{
"name": "Equality",
"docs": ["Equality"],
"type": {
"kind": "enum",
"variants": [
{
"name": "GreaterThanOrEqual"
},
{
"name": "LessThanOrEqual"
}
]
}
}

@@ -726,0 +797,0 @@ ],

export type ThreadProgram = {
version: "2.0.0-beta";
version: "2.0.16";
name: "thread_program";

@@ -503,2 +503,34 @@ docs: ["Program for creating transaction threads on Solana."];

];
},
{
name: "Timestamp";
fields: [
{
name: "unix_ts";
docs: ["Unix timestamp"];
type: "i64";
}
];
},
{
name: "Pyth";
fields: [
{
name: "price_feed";
docs: ["Price feed"];
type: "publicKey";
},
{
name: "equality";
docs: ["Equality"];
type: {
defined: "Equality";
};
},
{
name: "limit";
docs: ["Limit"];
type: "i64";
}
];
}

@@ -723,5 +755,44 @@ ];

];
},
{
name: "Timestamp";
fields: [
{
name: "started_at";
docs: [
"The threshold moment the schedule was waiting for."
];
type: "i64";
}
];
},
{
name: "Pyth";
fields: [
{
name: "price";
docs: [
"The limit price the trigger was waiting for."
];
type: "i64";
}
];
}
];
};
},
{
name: "Equality";
docs: ["Equality"];
type: {
kind: "enum";
variants: [
{
name: "GreaterThanOrEqual";
},
{
name: "LessThanOrEqual";
}
];
};
}

@@ -728,0 +799,0 @@ ];

@@ -5,3 +5,3 @@ "use strict";

exports.IDL = {
version: "2.0.0-beta",
version: "2.0.16",
name: "thread_program",

@@ -508,2 +508,32 @@ docs: ["Program for creating transaction threads on Solana."],

},
{
name: "Timestamp",
fields: [
{
name: "unix_ts",
docs: ["Unix timestamp"],
type: "i64",
},
],
},
{
name: "Pyth",
fields: [
{
name: "price_feed",
docs: ["Price feed"],
type: "publicKey",
},
{
name: "equality",
docs: ["Equality"],
type: { defined: "Equality" }
},
{
name: "limit",
docs: ["Limit"],
type: "i64",
},
],
}
],

@@ -726,5 +756,44 @@ },

},
{
name: "Timestamp",
fields: [
{
name: "started_at",
docs: [
"The threshold moment the schedule was waiting for."
],
type: "i64"
}
]
},
{
name: "Pyth",
fields: [
{
name: "price",
docs: [
"The limit price the trigger was waiting for."
],
type: "i64"
}
]
}
],
},
},
{
name: "Equality",
docs: ["Equality"],
type: {
kind: "enum",
variants: [
{
name: "GreaterThanOrEqual"
},
{
name: "LessThanOrEqual"
},
],
},
},
],

@@ -731,0 +800,0 @@ errors: [

{
"name": "@clockwork-xyz/sdk",
"author": "Clockwork",
"version": "0.3.0",
"version": "0.3.1",
"description": "Clockwork Typescript SDK",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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