Commit Graph

256 Commits

Author SHA1 Message Date
Conner Gallagher d1512702f3 solana.js: sync estimatedLeaseTimeRemaining 2022-12-13 09:53:29 -07:00
Conner Gallagher 120664c7f5 solana.js: reduced RPC calls for lease actions 2022-12-13 09:47:00 -07:00
Conner Gallagher d1a6083b4f solana.js: published 2.0.46 2022-12-13 09:22:28 -07:00
Conner Gallagher b276970e5e solana.js: fix lease withdraw calculations 2022-12-13 09:21:55 -07:00
Conner Gallagher 90ebc8fd44 solana.js: github action 2022-12-12 18:37:52 -07:00
Conner Gallagher 42519225bb solana.js: published 2.0.45 2022-12-12 16:29:19 -07:00
Conner Gallagher e8c0eb186e solana.js: increase localnet validator timeout for gh action 2022-12-12 16:28:02 -07:00
Conner Gallagher 16a8b16f39 solana.js: oracle create packing 2022-12-12 16:26:18 -07:00
Conner Gallagher 19ef0f9e6e solana.js: fix wrap amount param 2022-12-12 15:47:37 -07:00
Conner Gallagher d38d675a04 solana.js: published 2.0.44 2022-12-12 11:13:59 -07:00
Conner Gallagher baadb50eb0 solana.js: cleaned up leaseExtend 2022-12-12 11:13:31 -07:00
Jackson Jessup 5254a0ef42 Publish solana.js 2.0.43 2022-12-12 10:55:06 -05:00
Jackson Jessup ad1946cd1a Merge branch 'main' of github.com:switchboard-xyz/sbv2-solana 2022-12-12 10:45:28 -05:00
Jackson Jessup 68f16bf7b6 Bugfix: extendInstruction should be 'wrap' not 'unwrap' 2022-12-12 10:45:24 -05:00
Conner Gallagher 45079ff2c9 solana.js: published 2.0.41 2022-12-09 12:04:01 -07:00
Conner Gallagher 5c6be89d3e solana.js: added loadHistory test 2022-12-09 12:03:08 -07:00
Conner Gallagher 62a4878682 solana.js: added createMock methods to some accounts 2022-12-09 12:02:57 -07:00
Conner Gallagher dbe0f6f2a4 solana.js: cleaned up awaitResult methods 2022-12-09 10:57:36 -07:00
Conner Gallagher c69f6f058b solana.js: published 2.0.40 2022-12-08 19:14:55 -07:00
Conner Gallagher ae9eb8e05e solana.js: added aggregator transfer tests 2022-12-08 19:14:11 -07:00
Conner Gallagher 3f34dd61e8 solana.js: aggregator transfer queue 2022-12-08 18:35:03 -07:00
Conner Gallagher ccae193a64 solana.js: published 2.0.39 2022-12-08 15:10:23 -07:00
Conner Gallagher faf079d432 solana.js: SwitchboardTestContext enables new resources by default 2022-12-08 15:09:47 -07:00
Conner Gallagher 9f7b0740db solana.js: published 2.0.38 2022-12-08 14:38:29 -07:00
Conner Gallagher e15c83a801 solana.js: cleaned up queue logic 2022-12-08 14:36:35 -07:00
Conner Gallagher 0fa4fdaa84 solana.js: published 2.0.37 2022-12-08 14:19:42 -07:00
Conner Gallagher ac0c9b83f6 solana.js: added SwitchboardTestContext methods 2022-12-08 14:19:16 -07:00
Conner Gallagher e60a2d56cd solana.js: published 2.0.36 2022-12-08 13:42:25 -07:00
Conner Gallagher caa6ca1476 solana.js: published 2.0.35 2022-12-08 13:05:42 -07:00
Conner Gallagher b5751d78f0 solana.js: fix test context tests 2022-12-08 13:05:18 -07:00
Conner Gallagher a5e0d47e52 solana.js: test error handling 2022-12-08 12:43:08 -07:00
Conner Gallagher 330d5f3e34 solana.js: cleaned up wrap logic 2022-12-08 12:40:49 -07:00
Conner Gallagher 0a3da11e6b solana.js: added SwitchboardTestContext tests 2022-12-08 12:26:00 -07:00
Conner Gallagher d462214e74 solana.js: published 2.0.32 2022-12-08 12:11:16 -07:00
Conner Gallagher a5bedd7d6d solana.js: add getOrCreateWrappedUser 2022-12-08 12:08:06 -07:00
Conner Gallagher f0d886f186 solana.js: published 2.0.31 2022-12-08 11:37:29 -07:00
Conner Gallagher 73e43c653d solana.js: added SwitchboardTestContext 2022-12-08 11:36:40 -07:00
Conner Gallagher 7bcf2e52f8 published 2.0.30 2022-12-07 20:38:24 -07:00
Conner Gallagher 626fd29465 solana.js: add defaults to accounts 2022-12-07 20:37:55 -07:00
Conner Gallagher fe9485f4f0 solana.js: added loadPermissioned and loadPermissionless methods 2022-12-07 17:35:10 -07:00
Conner Gallagher caef171399 solana.js: published 2.0.29 2022-12-07 16:47:29 -07:00
Conner Gallagher eb4b64a2ba solana.js: added some helper functions 2022-12-07 16:47:04 -07:00
Jackson Jessup 682aee5182 bump version number 2.0.28 2022-12-07 17:49:10 -05:00
Jackson Jessup 2f624dcbfe Merge branch 'main' of github.com:switchboard-xyz/sbv2-solana 2022-12-07 17:48:11 -05:00
Jackson Jessup dfc35699d8 Add setConfigs test 2022-12-07 17:48:07 -05:00
Conner Gallagher 7173cab607 solana.js: published 2.0.27 2022-12-07 14:45:44 -07:00
Conner Gallagher 54b101dcee solana.js: add discriminator map 2022-12-07 14:44:57 -07:00
Conner Gallagher d77910cbf4 solana.js: published 2.0.26 2022-12-07 13:49:19 -07:00
Conner Gallagher 988da59c5b solana.js: getProgramAccounts error handling 2022-12-07 13:48:51 -07:00
Conner Gallagher 7b4ac0da11 solana.js: published 2.0.25 2022-12-07 13:46:02 -07:00
Conner Gallagher d6adb6dcf1 solana.js: fix getProgramAccounts 2022-12-07 13:45:36 -07:00
Conner Gallagher 3c6f1d8ced solana.js: publish 2.0.24 2022-12-07 13:13:37 -07:00
Conner Gallagher 3741fe8bab solana.js: added fetchAccounts logic 2022-12-07 13:13:08 -07:00
Conner Gallagher 5d1e136cff solana.js: published 2.0.23 2022-12-07 11:30:16 -07:00
Conner Gallagher d0bf3fdd2b solana.js: add SolanaClock class 2022-12-07 11:29:32 -07:00
Jackson Jessup 3901f77ec4 publish 2.0.22 2022-12-07 12:38:49 -05:00
Jackson Jessup ddfc5a42b2 fix aggregatorAccount.verifyConfig 2022-12-07 12:36:31 -05:00
Jackson Jessup 3ce5268562 Bump and publish 2022-12-06 17:25:51 -05:00
Jackson Jessup e579ed6654 Add test 2022-12-06 17:17:12 -05:00
Jackson Jessup a863916033 Update to updateJobWeight and make synchronous 2022-12-06 17:11:25 -05:00
Jackson Jessup df5023aad9 Add updateJobWeights to AggregatorAccount 2022-12-06 16:42:25 -05:00
Jackson Jessup 50e5f05862 Remove unused AggregatorSetConfigParams 2022-12-06 15:23:11 -05:00
Jackson Jessup 0fab82adf7 Merge branch 'main' of github.com:switchboard-xyz/sbv2-solana 2022-12-06 15:07:10 -05:00
Jackson Jessup 38187dd0d6 Fix AggregatorValueUpdateEvent type 2022-12-06 15:04:40 -05:00
Conner Gallagher befd00a615 solana.js: published v2.0.20 2022-12-05 21:43:54 -07:00
Conner Gallagher 395a6b8656 solana.js: fix lease fund logic 2022-12-05 21:43:34 -07:00
Conner Gallagher 1695adf6f8 solana.js: published v2.0.19 2022-12-05 18:17:17 -07:00
Conner Gallagher 5c6d897099 solana.js: fix queue create signers 2022-12-05 18:16:31 -07:00
Conner Gallagher cf7b351fe0 solana.js: published v2.0.18 2022-12-05 18:06:55 -07:00
Conner Gallagher 7d066a0035 solana.js: added aggregator account setResolutionMode ixn 2022-12-05 17:20:37 -07:00
Jackson Jessup 6803ce2f50 Fix linter errors 2022-12-05 17:38:27 -05:00
Jackson Jessup 66ca377c6d Fix LeaseAccount.withdrawInstruction 2022-12-05 16:50:42 -05:00
Conner Gallagher 9620ce3bc9 solana.js: added aggregator queue transfer method 2022-12-05 14:36:51 -07:00
Conner Gallagher 2c8e676c9b solana.js: added oracle tests 2022-12-05 12:14:47 -07:00
Jackson Jessup eb4e5928de package lock 2022-12-05 10:05:33 -05:00
Jackson Jessup 4ae766a761 v2.0.16 2022-12-05 10:03:58 -05:00
Jackson Jessup c8688c8926
Merge pull request #77 from switchboard-xyz/toTokenAmount
Make sure that the number produced by Mint.toTokenAmount will resolve to an integer before passing into BigInt constructor
2022-12-05 10:02:13 -05:00
Jackson Jessup 9b772e34dc Merge branch 'main' of github.com:switchboard-xyz/sbv2-solana 2022-12-05 09:57:34 -05:00
Jackson Jessup d7099f195d Update instances of `getName` and `getMetadata` to use toUtf8 helper function for consistency 2022-12-05 09:56:55 -05:00
Jackson Jessup b463733901 Floor in Mint.toTokenAmount 2022-12-05 09:15:31 -05:00
Conner Gallagher da2db566c4 solana.js: published v2.0.14 2022-12-02 13:44:03 -07:00
Conner Gallagher 1d445305e2 solana.js: added Aggregator verifyConfig method 2022-12-02 13:43:19 -07:00
Conner Gallagher 4af0594adf solana.js: published v2.0.14 2022-12-02 12:48:02 -07:00
Conner Gallagher da41e8b2f5 solana.js: added toAccountsJSON methods 2022-12-02 12:47:41 -07:00
Conner Gallagher 2c427c9308 solana.js: published v2.0.13 2022-12-02 09:43:24 -07:00
Conner Gallagher 1a6ad489ba solana.js: added Account.load methods 2022-12-02 09:35:00 -07:00
Jackson Jessup 6bdf86d343 Fix linter errors 2022-12-02 10:01:17 -05:00
Jackson Jessup 9229a0c837 Merge branch 'main' of github.com:switchboard-xyz/sbv2-solana 2022-12-02 10:01:06 -05:00
Jackson Jessup cb75e26e17 Small update to LeaseAccount.create 2022-12-02 09:55:45 -05:00
mgild 96e5ba4ebc v0.0.173 2022-12-02 01:32:48 -05:00
Conner Gallagher 3b92881ff8 solana.js: fix gh action 2022-12-01 21:48:27 -07:00
Conner Gallagher 67a88a10f9 solana.js: fix gh action 2022-12-01 21:44:47 -07:00
Conner Gallagher 5e5a912861 solana.js: published v2.0.12 2022-12-01 21:39:54 -07:00
Conner Gallagher 3058701915 solana.js: README 2022-12-01 21:39:31 -07:00
Conner Gallagher b8eabbb6f2 solana.js: gh actions 2022-12-01 21:22:39 -07:00
Conner Gallagher d0902cf0e4 solana.js: cleaned up wrap sol logic 2022-12-01 21:21:18 -07:00
Conner Gallagher d2fcd8e692 rust: added VrfAccountData::new_from_bytes 2022-12-01 15:57:32 -07:00
dependabot[bot] 5357d883a6
build(deps): bump decode-uri-component in /javascript/lease-observer
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 22:49:10 +00:00
Conner Gallagher 1bf7e9e661 solana.js: published v2.0.11 2022-12-01 15:48:37 -07:00
Conner Gallagher 19836a29d1 solana.js: added vrfAccount watcher functions 2022-12-01 15:48:16 -07:00