@clockwork-xyz/sdk
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -19,2 +19,13 @@ import { BN } from "@coral-xyz/anchor"; | ||
}; | ||
type Timestamp = { | ||
unix_ts: BN; | ||
}; | ||
type Pyth = { | ||
price_feed: PublicKey; | ||
equality: Equality; | ||
limit: BN; | ||
}; | ||
type GreaterThanOrEqual = {}; | ||
type LessThanOrEqual = {}; | ||
type Equality = GreaterThanOrEqual | LessThanOrEqual; | ||
type Trigger = Account | Cron | Now | Slot | Epoch; | ||
@@ -31,3 +42,7 @@ type TriggerInput = { | ||
epoch: Epoch; | ||
} | { | ||
timestamp: Timestamp; | ||
} | { | ||
pyth: Pyth; | ||
}; | ||
export { Trigger, TriggerInput, Account, Cron, Now, Slot, Epoch }; | ||
export { Trigger, TriggerInput, Account, Cron, Now, Slot, Epoch, Timestamp, Pyth, GreaterThanOrEqual, LessThanOrEqual, Equality }; |
{ | ||
"name": "@clockwork-xyz/sdk", | ||
"author": "Clockwork", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Clockwork Typescript SDK", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
116199
3176