@clockwork-xyz/sdk
Advanced tools
Comparing version 0.3.2 to 0.3.3
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> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116583
3183
99