@myx-trade/sdk 1.0.8-beta.5 → 1.0.8-beta.7

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
@@ -2130,6 +2130,29 @@ declare class Seamless {
2130
2130
  chainId: any;
2131
2131
  verifyingContract: any;
2132
2132
  }>;
2133
+ forwardTxInFront({ chainId, masterAddress, seamlessAddress, signFunction, forwardFeeToken, functionName, orderParams }: {
2134
+ chainId: number;
2135
+ masterAddress: string;
2136
+ seamlessAddress: string;
2137
+ signFunction: (signParams: {
2138
+ domain: any;
2139
+ functionHash: string;
2140
+ to: string;
2141
+ nonce: string;
2142
+ deadline: number;
2143
+ }) => Promise<string>;
2144
+ functionName: string;
2145
+ forwardFeeToken: string;
2146
+ orderParams: any;
2147
+ }): Promise<{
2148
+ code: number;
2149
+ data?: undefined;
2150
+ message?: undefined;
2151
+ } | {
2152
+ code: number;
2153
+ data: null;
2154
+ message: string;
2155
+ }>;
2133
2156
  forwarderTx({ from, to, value, gas, deadline, data, nonce, forwardFeeToken, }: {
2134
2157
  from: string;
2135
2158
  to: string;
package/dist/index.d.ts CHANGED
@@ -2130,6 +2130,29 @@ declare class Seamless {
2130
2130
  chainId: any;
2131
2131
  verifyingContract: any;
2132
2132
  }>;
2133
+ forwardTxInFront({ chainId, masterAddress, seamlessAddress, signFunction, forwardFeeToken, functionName, orderParams }: {
2134
+ chainId: number;
2135
+ masterAddress: string;
2136
+ seamlessAddress: string;
2137
+ signFunction: (signParams: {
2138
+ domain: any;
2139
+ functionHash: string;
2140
+ to: string;
2141
+ nonce: string;
2142
+ deadline: number;
2143
+ }) => Promise<string>;
2144
+ functionName: string;
2145
+ forwardFeeToken: string;
2146
+ orderParams: any;
2147
+ }): Promise<{
2148
+ code: number;
2149
+ data?: undefined;
2150
+ message?: undefined;
2151
+ } | {
2152
+ code: number;
2153
+ data: null;
2154
+ message: string;
2155
+ }>;
2133
2156
  forwarderTx({ from, to, value, gas, deadline, data, nonce, forwardFeeToken, }: {
2134
2157
  from: string;
2135
2158
  to: string;