@bulletxyz/bullet-sdk 0.20.0-rc.0 → 0.20.0-rc.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/browser/index.js +10 -7
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.js +10 -7
- package/dist/node/index.js.map +2 -2
- package/dist/types/client.d.ts +1 -1
- package/dist/types/exchange.d.ts +3 -3
- package/dist/types/zod-types/rest.d.ts +987 -987
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -6797,11 +6797,6 @@ var Schemas = {
|
|
|
6797
6797
|
var ResponseSchemas = {
|
|
6798
6798
|
DummyValue: StateResponseSchemas.StateValue(Schemas.DummyValue),
|
|
6799
6799
|
Order: StateResponseSchemas.StateMapElement(OrderId, Schemas.Order),
|
|
6800
|
-
UserAccounts: createBaseResponse(
|
|
6801
|
-
z.object({
|
|
6802
|
-
user_accounts: createJsonMap(Base58Address, Schemas.UserAccount)
|
|
6803
|
-
})
|
|
6804
|
-
),
|
|
6805
6800
|
Pricing: StateResponseSchemas.StateValue(Schemas.Pricing),
|
|
6806
6801
|
UsdcPnlPool: StateResponseSchemas.StateValue(Schemas.UsdcPnlPool),
|
|
6807
6802
|
UsdcInsuranceFund: StateResponseSchemas.StateValue(Schemas.UsdcInsuranceFund),
|
|
@@ -6811,13 +6806,21 @@ var ResponseSchemas = {
|
|
|
6811
6806
|
orderbook_l2: Schemas.OrderbookL2
|
|
6812
6807
|
})
|
|
6813
6808
|
),
|
|
6809
|
+
UserAccounts: createBaseResponse(
|
|
6810
|
+
z.object({
|
|
6811
|
+
user_accounts: createJsonMap(
|
|
6812
|
+
Base58Address,
|
|
6813
|
+
Schemas.UserAccount.nullable()
|
|
6814
|
+
)
|
|
6815
|
+
})
|
|
6816
|
+
),
|
|
6814
6817
|
BorrowLendMarkets: createBaseResponse(
|
|
6815
6818
|
z.object({
|
|
6816
|
-
markets: createJsonMap(AssetId, Schemas.BorrowLendMarket)
|
|
6819
|
+
markets: createJsonMap(AssetId, Schemas.BorrowLendMarket.nullable())
|
|
6817
6820
|
})
|
|
6818
6821
|
),
|
|
6819
6822
|
PerpMarkets: createBaseResponse(
|
|
6820
|
-
z.object({ markets: createJsonMap(AssetId, Schemas.PerpMarket) })
|
|
6823
|
+
z.object({ markets: createJsonMap(AssetId, Schemas.PerpMarket.nullable()) })
|
|
6821
6824
|
),
|
|
6822
6825
|
MarginConfig: StateResponseSchemas.StateValue(Schemas.MarginConfig),
|
|
6823
6826
|
AccountAddresses: createBaseResponse(
|