Commit ba09a52
feat(lazer): add ignoreInvalidFeedIds flag to SDK (#2529)
* feat(lazer): add ignoreInvalidFeeds flag to SDK
Co-Authored-By: Darun Seethammagari <[email protected]>
* feat(lazer): update protocol types for ignore_invalid_feeds
Co-Authored-By: Darun Seethammagari <[email protected]>
* fix: update example to include ignore_invalid_feeds field
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename ignore_invalid_feeds to ignore_invalid_feed_ids
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename FailedFeedsDetails to InvalidFeedSubscriptionDetails
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename comingSoon to unstable in InvalidFeedSubscriptionDetails
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: change successful_feeds type from Vec<u64> to Vec<u32>
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: add subscribedWithIgnoredFailures response type
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename subscribedWithIgnoredFailures to subscribedWithInvalidFeeds
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename subscribedWithInvalidFeeds to subscribedWithIgnoredInvalidFeedIds
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename response types to subscribedWithInvalidFeedIdsIgnored
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename fields to subscribedFeedIds and ignoredInvalidFeedIds
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: rename enum variant to SubscribedWithInvalidFeedIdsIgnored
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: move ignore_invalid_feed_ids to SubscriptionParamsRepr
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: change ignore_invalid_feed_ids from Option<bool> to bool
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: update InvalidFeedSubscriptionDetails to use proper types
Co-Authored-By: Darun Seethammagari <[email protected]>
* refactor: use local SymbolState instead of external dependency
Co-Authored-By: Darun Seethammagari <[email protected]>
* fix: update protocol.ts formatting to fix CI
Co-Authored-By: Darun Seethammagari <[email protected]>
* Undo change ot returned ignored ids
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Darun Seethammagari <[email protected]>
Co-authored-by: Darun Seethammagari <[email protected]>1 parent b8f388e commit ba09a52
File tree
11 files changed
+61
-6
lines changed- lazer
- contracts/solana/programs/pyth-lazer-solana-contract
- sdk
- js
- src
- rust
- client
- examples
- protocol
- src
11 files changed
+61
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
| |||
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
55 | 72 | | |
56 | 73 | | |
57 | 74 | | |
| |||
0 commit comments