@orderly.network/core 1.2.0-alpha.0 → 1.3.0-alpha.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/index.d.mts CHANGED
@@ -651,15 +651,18 @@ declare class Assets {
651
651
 
652
652
  interface AccountState {
653
653
  status: AccountStatusEnum;
654
- checking: boolean;
654
+ /**
655
+ * whether the account is validating
656
+ */
657
+ validating: boolean;
655
658
  accountId?: string;
656
659
  userId?: string;
657
660
  address?: string;
661
+ /** new account */
662
+ isNew?: boolean;
658
663
  connectWallet?: {
659
664
  name: string;
660
665
  };
661
- balance: string;
662
- leverage: number;
663
666
  }
664
667
  /**
665
668
  * Account
@@ -707,8 +710,6 @@ declare class Account {
707
710
  /**
708
711
  * set user positions count
709
712
  */
710
- set position(position: string[]);
711
- set orders(orders: string[]);
712
713
  private _bindEvents;
713
714
  private _checkAccount;
714
715
  private _checkAccountExist;
package/dist/index.d.ts CHANGED
@@ -651,15 +651,18 @@ declare class Assets {
651
651
 
652
652
  interface AccountState {
653
653
  status: AccountStatusEnum;
654
- checking: boolean;
654
+ /**
655
+ * whether the account is validating
656
+ */
657
+ validating: boolean;
655
658
  accountId?: string;
656
659
  userId?: string;
657
660
  address?: string;
661
+ /** new account */
662
+ isNew?: boolean;
658
663
  connectWallet?: {
659
664
  name: string;
660
665
  };
661
- balance: string;
662
- leverage: number;
663
666
  }
664
667
  /**
665
668
  * Account
@@ -707,8 +710,6 @@ declare class Account {
707
710
  /**
708
711
  * set user positions count
709
712
  */
710
- set position(position: string[]);
711
- set orders(orders: string[]);
712
713
  private _bindEvents;
713
714
  private _checkAccount;
714
715
  private _checkAccountExist;