@myx-trade/sdk 1.0.8-beta.4 → 1.0.8-beta.6
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 +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2124,6 +2124,29 @@ declare class Seamless {
|
|
|
2124
2124
|
r: `0x${string}`;
|
|
2125
2125
|
s: `0x${string}`;
|
|
2126
2126
|
}[]>;
|
|
2127
|
+
getForwardEip712Domain(chainId: number): Promise<{
|
|
2128
|
+
name: any;
|
|
2129
|
+
version: any;
|
|
2130
|
+
chainId: any;
|
|
2131
|
+
verifyingContract: any;
|
|
2132
|
+
}>;
|
|
2133
|
+
forwardTxInFront({ chainId, masterAddress, seamlessAddress, signFunction, forwardFeeToken, functionName, orderParams }: {
|
|
2134
|
+
chainId: number;
|
|
2135
|
+
masterAddress: string;
|
|
2136
|
+
seamlessAddress: string;
|
|
2137
|
+
signFunction: (abi: any, domain: any, functionHash: string) => string;
|
|
2138
|
+
functionName: string;
|
|
2139
|
+
forwardFeeToken: string;
|
|
2140
|
+
orderParams: any;
|
|
2141
|
+
}): Promise<{
|
|
2142
|
+
code: number;
|
|
2143
|
+
data?: undefined;
|
|
2144
|
+
message?: undefined;
|
|
2145
|
+
} | {
|
|
2146
|
+
code: number;
|
|
2147
|
+
data: null;
|
|
2148
|
+
message: string;
|
|
2149
|
+
}>;
|
|
2127
2150
|
forwarderTx({ from, to, value, gas, deadline, data, nonce, forwardFeeToken, }: {
|
|
2128
2151
|
from: string;
|
|
2129
2152
|
to: string;
|
|
@@ -2133,8 +2156,8 @@ declare class Seamless {
|
|
|
2133
2156
|
data: string;
|
|
2134
2157
|
nonce: string;
|
|
2135
2158
|
forwardFeeToken: string;
|
|
2136
|
-
}, chainId: number
|
|
2137
|
-
authorizeSeamlessAccount({ approve, seamlessAddress, chainId, forwardFeeToken,
|
|
2159
|
+
}, chainId: number): Promise<ApiResponse<any>>;
|
|
2160
|
+
authorizeSeamlessAccount({ approve, seamlessAddress, chainId, forwardFeeToken, }: {
|
|
2138
2161
|
approve: boolean;
|
|
2139
2162
|
seamlessAddress: string;
|
|
2140
2163
|
chainId: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -2124,6 +2124,29 @@ declare class Seamless {
|
|
|
2124
2124
|
r: `0x${string}`;
|
|
2125
2125
|
s: `0x${string}`;
|
|
2126
2126
|
}[]>;
|
|
2127
|
+
getForwardEip712Domain(chainId: number): Promise<{
|
|
2128
|
+
name: any;
|
|
2129
|
+
version: any;
|
|
2130
|
+
chainId: any;
|
|
2131
|
+
verifyingContract: any;
|
|
2132
|
+
}>;
|
|
2133
|
+
forwardTxInFront({ chainId, masterAddress, seamlessAddress, signFunction, forwardFeeToken, functionName, orderParams }: {
|
|
2134
|
+
chainId: number;
|
|
2135
|
+
masterAddress: string;
|
|
2136
|
+
seamlessAddress: string;
|
|
2137
|
+
signFunction: (abi: any, domain: any, functionHash: string) => string;
|
|
2138
|
+
functionName: string;
|
|
2139
|
+
forwardFeeToken: string;
|
|
2140
|
+
orderParams: any;
|
|
2141
|
+
}): Promise<{
|
|
2142
|
+
code: number;
|
|
2143
|
+
data?: undefined;
|
|
2144
|
+
message?: undefined;
|
|
2145
|
+
} | {
|
|
2146
|
+
code: number;
|
|
2147
|
+
data: null;
|
|
2148
|
+
message: string;
|
|
2149
|
+
}>;
|
|
2127
2150
|
forwarderTx({ from, to, value, gas, deadline, data, nonce, forwardFeeToken, }: {
|
|
2128
2151
|
from: string;
|
|
2129
2152
|
to: string;
|
|
@@ -2133,8 +2156,8 @@ declare class Seamless {
|
|
|
2133
2156
|
data: string;
|
|
2134
2157
|
nonce: string;
|
|
2135
2158
|
forwardFeeToken: string;
|
|
2136
|
-
}, chainId: number
|
|
2137
|
-
authorizeSeamlessAccount({ approve, seamlessAddress, chainId, forwardFeeToken,
|
|
2159
|
+
}, chainId: number): Promise<ApiResponse<any>>;
|
|
2160
|
+
authorizeSeamlessAccount({ approve, seamlessAddress, chainId, forwardFeeToken, }: {
|
|
2138
2161
|
approve: boolean;
|
|
2139
2162
|
seamlessAddress: string;
|
|
2140
2163
|
chainId: number;
|