@bulletxyz/bullet-sdk 0.27.0-rc.4 → 0.27.0-rc.5

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.
@@ -17,6 +17,13 @@ export type OrderType = "Limit" | "PostOnly" | "FillOrKill" | "ImmediateOrCancel
17
17
  export type MarginType = "Initial" | "Maintenance";
18
18
  export type EquityType = "Unweighted" | "WeightedInitial" | "WeightedMaintenance";
19
19
  export type Network = "Localnet" | "Staging" | "Testnet" | "Mainnet";
20
+ export type RollupErrorStructure = {
21
+ error?: {
22
+ details?: {
23
+ error?: string;
24
+ };
25
+ };
26
+ };
20
27
  export type PlaceOrderArgs = {
21
28
  market: MarketName;
22
29
  price: Decimal;
@@ -59,5 +66,5 @@ export declare class BulletError extends Error {
59
66
  shortMessage: string;
60
67
  verboseMessage: string;
61
68
  constructor(code: string, shortMessage: string, verboseMessage: string, originalError?: Error | undefined);
62
- static fromModuleError(error: Error): Error;
69
+ static fromModuleError(error: unknown): Error;
63
70
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/zetamarkets/bullet-sdk.git"
6
6
  },
7
- "version": "0.27.0-rc.4",
7
+ "version": "0.27.0-rc.5",
8
8
  "description": "Bullet SDK",
9
9
  "author": "@bulletxyz",
10
10
  "license": "Apache-2.0",