@orderly.network/core 1.5.0 → 1.5.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/index.d.mts CHANGED
@@ -165,6 +165,7 @@ declare function generateRegisterAccountMessage(inputs: {
165
165
  chainId: number;
166
166
  registrationNonce: number;
167
167
  brokerId: string;
168
+ timestamp?: number;
168
169
  }): readonly [{
169
170
  brokerId: string;
170
171
  chainId: number;
@@ -222,6 +223,7 @@ declare function generateAddOrderlyKeyMessage(inputs: {
222
223
  brokerId: string;
223
224
  primaryType: keyof typeof definedTypes;
224
225
  expiration?: number;
226
+ timestamp?: number;
225
227
  }): readonly [{
226
228
  brokerId: string;
227
229
  orderlyKey: string;
@@ -724,6 +726,8 @@ declare class Account {
724
726
  get signer(): Signer;
725
727
  get wallet(): IWalletAdapter | undefined;
726
728
  private _getRegisterationNonce;
729
+ private _getTimestampFromServer;
730
+ private _getAccountInfo;
727
731
  private _getSettleNonce;
728
732
  private _simpleFetch;
729
733
  getDomain(onChainDomain?: boolean): SignatureDomain;
package/dist/index.d.ts CHANGED
@@ -165,6 +165,7 @@ declare function generateRegisterAccountMessage(inputs: {
165
165
  chainId: number;
166
166
  registrationNonce: number;
167
167
  brokerId: string;
168
+ timestamp?: number;
168
169
  }): readonly [{
169
170
  brokerId: string;
170
171
  chainId: number;
@@ -222,6 +223,7 @@ declare function generateAddOrderlyKeyMessage(inputs: {
222
223
  brokerId: string;
223
224
  primaryType: keyof typeof definedTypes;
224
225
  expiration?: number;
226
+ timestamp?: number;
225
227
  }): readonly [{
226
228
  brokerId: string;
227
229
  orderlyKey: string;
@@ -724,6 +726,8 @@ declare class Account {
724
726
  get signer(): Signer;
725
727
  get wallet(): IWalletAdapter | undefined;
726
728
  private _getRegisterationNonce;
729
+ private _getTimestampFromServer;
730
+ private _getAccountInfo;
727
731
  private _getSettleNonce;
728
732
  private _simpleFetch;
729
733
  getDomain(onChainDomain?: boolean): SignatureDomain;