@0dotxyz/p0-ts-sdk 1.1.0-alpha.4 → 1.1.0-alpha.6
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 +14643 -434
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +14642 -433
- package/dist/index.js.map +1 -1
- package/dist/{rewards.types-CaEoVXqe.d.cts → rewards.types-CkNaNeJE.d.cts} +1 -1
- package/dist/{rewards.types-CaEoVXqe.d.ts → rewards.types-CkNaNeJE.d.ts} +1 -1
- package/dist/vendor.d.cts +2 -2
- package/dist/vendor.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { VersionedTransaction, Transaction, PublicKey, TransactionError, Transac
|
|
|
5
5
|
import { Idl, Instruction, AnchorProvider, Address, Program as Program$1 } from '@coral-xyz/anchor';
|
|
6
6
|
import BigNumber$1 from 'bignumber.js';
|
|
7
7
|
import BN from 'bn.js';
|
|
8
|
-
import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftUserStatsJSON } from './rewards.types-
|
|
8
|
+
import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftRewardsJSON, k as DriftUserStatsJSON } from './rewards.types-CkNaNeJE.cjs';
|
|
9
9
|
import { QuoteGetRequest, QuoteResponse } from '@jup-ag/api';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -14951,7 +14951,8 @@ type BankIntegrationMetadataDto = {
|
|
|
14951
14951
|
driftStates?: {
|
|
14952
14952
|
spotMarketState: DriftSpotMarketJSON;
|
|
14953
14953
|
userState: DriftUserJSON;
|
|
14954
|
-
|
|
14954
|
+
userRewards: DriftRewardsJSON[];
|
|
14955
|
+
userStatsState?: DriftUserStatsJSON;
|
|
14955
14956
|
};
|
|
14956
14957
|
};
|
|
14957
14958
|
type BankIntegrationMetadataMap = {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { VersionedTransaction, Transaction, PublicKey, TransactionError, Transac
|
|
|
5
5
|
import { Idl, Instruction, AnchorProvider, Address, Program as Program$1 } from '@coral-xyz/anchor';
|
|
6
6
|
import BigNumber$1 from 'bignumber.js';
|
|
7
7
|
import BN from 'bn.js';
|
|
8
|
-
import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftUserStatsJSON } from './rewards.types-
|
|
8
|
+
import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftRewardsJSON, k as DriftUserStatsJSON } from './rewards.types-CkNaNeJE.js';
|
|
9
9
|
import { QuoteGetRequest, QuoteResponse } from '@jup-ag/api';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -14951,7 +14951,8 @@ type BankIntegrationMetadataDto = {
|
|
|
14951
14951
|
driftStates?: {
|
|
14952
14952
|
spotMarketState: DriftSpotMarketJSON;
|
|
14953
14953
|
userState: DriftUserJSON;
|
|
14954
|
-
|
|
14954
|
+
userRewards: DriftRewardsJSON[];
|
|
14955
|
+
userStatsState?: DriftUserStatsJSON;
|
|
14955
14956
|
};
|
|
14956
14957
|
};
|
|
14957
14958
|
type BankIntegrationMetadataMap = {
|