@bulletxyz/bullet-sdk 0.40.0 → 0.41.0-rc.0
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 +30 -6
- package/dist/browser/index.js.map +5 -5
- package/dist/node/index.js +30 -6
- package/dist/node/index.js.map +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/client.d.ts +2 -0
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/rollupTypes.d.ts +8 -2
- package/dist/types/rollupTypes.d.ts.map +1 -1
- package/dist/types/zod-types/rest.d.ts +12 -12
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ declare const BorrowLendPool: z.ZodObject<{
|
|
|
67
67
|
is_active: z.ZodBoolean;
|
|
68
68
|
last_update_timestamp: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>;
|
|
69
69
|
rate_config: z.ZodObject<{
|
|
70
|
-
|
|
70
|
+
optimal_utilization_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
71
71
|
min_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
72
72
|
optimal_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
73
73
|
max_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -223,7 +223,7 @@ export declare const Schemas: {
|
|
|
223
223
|
is_active: z.ZodBoolean;
|
|
224
224
|
last_update_timestamp: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>;
|
|
225
225
|
rate_config: z.ZodObject<{
|
|
226
|
-
|
|
226
|
+
optimal_utilization_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
227
227
|
min_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
228
228
|
optimal_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
229
229
|
max_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -242,7 +242,7 @@ export declare const Schemas: {
|
|
|
242
242
|
is_active: boolean;
|
|
243
243
|
last_update_timestamp: bigint;
|
|
244
244
|
rate_config: {
|
|
245
|
-
|
|
245
|
+
optimal_utilization_rate: import("decimal.js").Decimal;
|
|
246
246
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
247
247
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
248
248
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
@@ -261,7 +261,7 @@ export declare const Schemas: {
|
|
|
261
261
|
is_active: boolean;
|
|
262
262
|
last_update_timestamp: bigint;
|
|
263
263
|
rate_config: {
|
|
264
|
-
|
|
264
|
+
optimal_utilization_rate: import("decimal.js").Decimal;
|
|
265
265
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
266
266
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
267
267
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
@@ -301,7 +301,7 @@ export declare const Schemas: {
|
|
|
301
301
|
}, z.core.$strip>;
|
|
302
302
|
unrealized_loss_borrow: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
303
303
|
unsettled_perp_profit: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
304
|
-
trading_credits: z.
|
|
304
|
+
trading_credits: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
305
305
|
}, z.core.$strip>;
|
|
306
306
|
client_order_ids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>>, z.ZodTransform<Map<bigint, bigint>, Record<string, bigint>>>;
|
|
307
307
|
balances: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1209,7 +1209,7 @@ export declare const ResponseSchemas: {
|
|
|
1209
1209
|
is_active: z.ZodBoolean;
|
|
1210
1210
|
last_update_timestamp: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>;
|
|
1211
1211
|
rate_config: z.ZodObject<{
|
|
1212
|
-
|
|
1212
|
+
optimal_utilization_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1213
1213
|
min_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1214
1214
|
optimal_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1215
1215
|
max_borrow_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -1228,7 +1228,7 @@ export declare const ResponseSchemas: {
|
|
|
1228
1228
|
is_active: boolean;
|
|
1229
1229
|
last_update_timestamp: bigint;
|
|
1230
1230
|
rate_config: {
|
|
1231
|
-
|
|
1231
|
+
optimal_utilization_rate: import("decimal.js").Decimal;
|
|
1232
1232
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
1233
1233
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
1234
1234
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
@@ -1247,7 +1247,7 @@ export declare const ResponseSchemas: {
|
|
|
1247
1247
|
is_active: boolean;
|
|
1248
1248
|
last_update_timestamp: bigint;
|
|
1249
1249
|
rate_config: {
|
|
1250
|
-
|
|
1250
|
+
optimal_utilization_rate: import("decimal.js").Decimal;
|
|
1251
1251
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
1252
1252
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
1253
1253
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
@@ -1467,7 +1467,7 @@ export declare const ResponseSchemas: {
|
|
|
1467
1467
|
}, z.core.$strip>;
|
|
1468
1468
|
unrealized_loss_borrow: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1469
1469
|
unsettled_perp_profit: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1470
|
-
trading_credits: z.
|
|
1470
|
+
trading_credits: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1471
1471
|
}, z.core.$strip>;
|
|
1472
1472
|
client_order_ids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>>, z.ZodTransform<Map<bigint, bigint>, Record<string, bigint>>>;
|
|
1473
1473
|
balances: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -1921,7 +1921,7 @@ export declare const ResponseSchemas: {
|
|
|
1921
1921
|
}, z.core.$strip>;
|
|
1922
1922
|
unrealized_loss_borrow: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1923
1923
|
unsettled_perp_profit: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1924
|
-
trading_credits: z.
|
|
1924
|
+
trading_credits: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1925
1925
|
}, z.core.$strip>;
|
|
1926
1926
|
client_order_ids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>>, z.ZodTransform<Map<bigint, bigint>, Record<string, bigint>>>;
|
|
1927
1927
|
balances: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -2372,7 +2372,7 @@ export declare const ResponseSchemas: {
|
|
|
2372
2372
|
};
|
|
2373
2373
|
unrealized_loss_borrow: import("decimal.js").Decimal;
|
|
2374
2374
|
unsettled_perp_profit: import("decimal.js").Decimal;
|
|
2375
|
-
trading_credits
|
|
2375
|
+
trading_credits: import("decimal.js").Decimal;
|
|
2376
2376
|
};
|
|
2377
2377
|
client_order_ids: Map<bigint, bigint>;
|
|
2378
2378
|
balances: Map<number, {
|
|
@@ -2485,7 +2485,7 @@ export declare const ResponseSchemas: {
|
|
|
2485
2485
|
};
|
|
2486
2486
|
unrealized_loss_borrow: import("decimal.js").Decimal;
|
|
2487
2487
|
unsettled_perp_profit: import("decimal.js").Decimal;
|
|
2488
|
-
trading_credits
|
|
2488
|
+
trading_credits: import("decimal.js").Decimal;
|
|
2489
2489
|
};
|
|
2490
2490
|
client_order_ids: Map<bigint, bigint>;
|
|
2491
2491
|
balances: Map<number, {
|