@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.
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/instructions.d.cts +1 -1
- package/dist/instructions.d.ts +1 -1
- package/dist/{types-BO-ZFk04.d.cts → types-BOPERR6x.d.cts} +4 -0
- package/dist/{types-DgVpJ2nB.d.ts → types-D2GhlUZp.d.ts} +4 -0
- package/package.json +1 -1
package/dist/instructions.d.cts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/instructions.d.ts
CHANGED
|
@@ -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-
|
|
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 {
|