Socket
Socket
Sign inDemoInstall

@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.2 to 0.3.3

4

lib/index.d.ts
import ClockworkProvider from "./ClockworkProvider";
import { Thread } from "./accounts";
import { PAYER_PUBKEY } from "./constants";
import { ClockData, ExecContext, SerializableInstruction, SerializableAccount, Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, ThreadSettings, ThreadSettingsInput, CrateInfo, TriggerContext } from "./models";
import { ClockData, ExecContext, SerializableInstruction, SerializableAccount, Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, Timestamp, Pyth, Equality, EqualityInput, GreaterThanOrEqual, LessThanOrEqual, ThreadSettings, ThreadSettingsInput, CrateInfo, TriggerContext } from "./models";
import { ThreadProgram } from "./programs/thread/types";
import ThreadProgramIdl from "./programs/thread/idl.json";
import { parseThreadSettingsInput, parseTransactionInstruction, parseTransactionInstructions } from "./utils";
export { ClockworkProvider, Thread, PAYER_PUBKEY, ThreadProgram, ThreadProgramIdl, parseThreadSettingsInput, parseTransactionInstruction, parseTransactionInstructions, ClockData, ExecContext, SerializableInstruction, SerializableAccount, Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, ThreadSettings, ThreadSettingsInput, CrateInfo, TriggerContext, };
export { ClockworkProvider, Thread, PAYER_PUBKEY, ThreadProgram, ThreadProgramIdl, parseThreadSettingsInput, parseTransactionInstruction, parseTransactionInstructions, ClockData, ExecContext, SerializableInstruction, SerializableAccount, Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, Timestamp, Pyth, Equality, EqualityInput, GreaterThanOrEqual, LessThanOrEqual, ThreadSettings, ThreadSettingsInput, CrateInfo, TriggerContext, };
import ExecContext from "./ExecContext";
import ClockData from "./ClockData";
import { SerializableInstruction, SerializableAccount } from "./SerializableInstruction";
import { Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot } from "./Trigger";
import { Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, Timestamp, Pyth, Equality, EqualityInput, GreaterThanOrEqual, LessThanOrEqual } from "./Trigger";
import { ThreadSettings, ThreadSettingsInput } from "./ThreadSettings";
import CrateInfo from "./CrateInfo";
import TriggerContext from "./TriggerContext";
export { ClockData, ExecContext, SerializableInstruction, SerializableAccount, Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, ThreadSettings, ThreadSettingsInput, CrateInfo, TriggerContext, };
export { ClockData, ExecContext, SerializableInstruction, SerializableAccount, Trigger, TriggerInput, Cron, Account, Now, Epoch, Slot, Timestamp, Pyth, Equality, EqualityInput, GreaterThanOrEqual, LessThanOrEqual, ThreadSettings, ThreadSettingsInput, CrateInfo, TriggerContext, };

@@ -24,3 +24,3 @@ import { BN } from "@coral-xyz/anchor";

price_feed: PublicKey;
equality: Equality;
equality: EqualityInput;
limit: BN;

@@ -31,2 +31,7 @@ };

type Equality = GreaterThanOrEqual | LessThanOrEqual;
type EqualityInput = {
greaterThanOrEqual: GreaterThanOrEqual;
} | {
lessThanOrEqual: LessThanOrEqual;
};
type Trigger = Account | Cron | Now | Slot | Epoch;

@@ -48,2 +53,2 @@ type TriggerInput = {

};
export { Trigger, TriggerInput, Account, Cron, Now, Slot, Epoch, Timestamp, Pyth, GreaterThanOrEqual, LessThanOrEqual, Equality };
export { Trigger, TriggerInput, Account, Cron, Now, Slot, Epoch, Timestamp, Pyth, GreaterThanOrEqual, LessThanOrEqual, Equality, EqualityInput, };
{
"name": "@clockwork-xyz/sdk",
"author": "Clockwork",
"version": "0.3.2",
"version": "0.3.3",
"description": "Clockwork Typescript SDK",

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

@@ -1,5 +0,1 @@

<p align="center">
<img src=https://imgur.com/IpOp9W3.jpg>
</p>
<h1 align="center">Clockwork SDK</h1>

@@ -6,0 +2,0 @@ <p align="center"><strong>Clockwork Typescript SDK</strong></p>

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