@0dotxyz/p0-ts-sdk 2.11.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as _solana_web3_js from '@solana/web3.js';
2
2
  import { PublicKey, AccountMeta } from '@solana/web3.js';
3
3
  import BN from 'bn.js';
4
- import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigFastRaw, b as BankConfigGovRaw, W as WrappedI80F48, O as OrderTrigger } from './types-BO-ZFk04.cjs';
4
+ import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigFastRaw, b as BankConfigGovRaw, W as WrappedI80F48, O as OrderTrigger } from './types-BOPERR6x.cjs';
5
5
  import '@coral-xyz/anchor';
6
6
  import 'bignumber.js';
7
7
  import './dto-farm.types-6lrPBcZr.cjs';
@@ -1,7 +1,7 @@
1
1
  import * as _solana_web3_js from '@solana/web3.js';
2
2
  import { PublicKey, AccountMeta } from '@solana/web3.js';
3
3
  import BN from 'bn.js';
4
- import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigFastRaw, b as BankConfigGovRaw, W as WrappedI80F48, O as OrderTrigger } from './types-DgVpJ2nB.js';
4
+ import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigFastRaw, b as BankConfigGovRaw, W as WrappedI80F48, O as OrderTrigger } from './types-D2GhlUZp.js';
5
5
  import '@coral-xyz/anchor';
6
6
  import 'bignumber.js';
7
7
  import './dto-farm.types-6lrPBcZr.js';
@@ -24532,9 +24532,13 @@ declare enum HealthCacheFlags {
24532
24532
  */
24533
24533
  ORACLE_OK = 4
24534
24534
  }
24535
+ /** Where an account's `healthCache` values come from. */
24535
24536
  declare enum HealthCacheStatus {
24537
+ /** As stored on-chain, not refreshed since the account's last instruction */
24536
24538
  UNSET = 0,
24539
+ /** Refreshed by a simulated `pulse_health`: values, prices and flags come from the program */
24537
24540
  ONCHAIN = 1,
24541
+ /** Computed locally from balances and oracle prices after the simulation failed; no prices or flags */
24538
24542
  COMPUTED = 2
24539
24543
  }
24540
24544
  interface HealthCacheType {
@@ -24532,9 +24532,13 @@ declare enum HealthCacheFlags {
24532
24532
  */
24533
24533
  ORACLE_OK = 4
24534
24534
  }
24535
+ /** Where an account's `healthCache` values come from. */
24535
24536
  declare enum HealthCacheStatus {
24537
+ /** As stored on-chain, not refreshed since the account's last instruction */
24536
24538
  UNSET = 0,
24539
+ /** Refreshed by a simulated `pulse_health`: values, prices and flags come from the program */
24537
24540
  ONCHAIN = 1,
24541
+ /** Computed locally from balances and oracle prices after the simulation failed; no prices or flags */
24538
24542
  COMPUTED = 2
24539
24543
  }
24540
24544
  interface HealthCacheType {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0dotxyz/p0-ts-sdk",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "packageManager": "pnpm@10.32.1",
5
5
  "description": "TypeScript SDK for P0 Protocol - A Solana DeFi lending protocol",
6
6
  "type": "module",