@fereai/sdk 0.4.0-dev.29 → 0.4.0-dev.31

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/client.d.ts CHANGED
@@ -34,9 +34,7 @@ export declare class FereClient {
34
34
  limitOrder(request: LimitOrderRequest, timeout?: number): Promise<Record<string, unknown>>;
35
35
  setHooks(request: HooksRequest): Promise<unknown>;
36
36
  /**
37
- * Pre-check tokens for honeypot / scam / rug-pull flags. If a
38
- * token is flagged and the user still wants to proceed, call
39
- * `swap({ ..., bypass_security_check: true })`.
37
+ * Pre-check tokens for honeypot / scam / rug-pull flags.
40
38
  */
41
39
  checkTokenSecurity(tokens: TokenToCheck[]): Promise<SecurityCheckResponse>;
42
40
  deposit(request: DepositRequest, timeout?: number): Promise<Record<string, unknown>>;
package/dist/client.js CHANGED
@@ -79,9 +79,7 @@ class FereClient {
79
79
  return this.api.setHooks(request);
80
80
  }
81
81
  /**
82
- * Pre-check tokens for honeypot / scam / rug-pull flags. If a
83
- * token is flagged and the user still wants to proceed, call
84
- * `swap({ ..., bypass_security_check: true })`.
82
+ * Pre-check tokens for honeypot / scam / rug-pull flags.
85
83
  */
86
84
  async checkTokenSecurity(tokens) {
87
85
  return this.api.checkTokenSecurity(tokens);
@@ -35,9 +35,7 @@ export declare class FereAPI {
35
35
  setHooks(request: HooksRequest): Promise<unknown>;
36
36
  /**
37
37
  * Pre-check whether output tokens have been flagged by Honeypot.is
38
- * (EVM) or RugCheck.xyz (Solana) before submitting a swap. If a
39
- * token is flagged and the user still wants to proceed, set
40
- * `bypass_security_check: true` on the swap request.
38
+ * (EVM) or RugCheck.xyz (Solana) before submitting a swap.
41
39
  */
42
40
  checkTokenSecurity(tokens: TokenToCheck[]): Promise<SecurityCheckResponse>;
43
41
  getWallets(): Promise<unknown>;
package/dist/low-level.js CHANGED
@@ -179,9 +179,7 @@ class FereAPI {
179
179
  // ----------------------------------------------------------
180
180
  /**
181
181
  * Pre-check whether output tokens have been flagged by Honeypot.is
182
- * (EVM) or RugCheck.xyz (Solana) before submitting a swap. If a
183
- * token is flagged and the user still wants to proceed, set
184
- * `bypass_security_check: true` on the swap request.
182
+ * (EVM) or RugCheck.xyz (Solana) before submitting a swap.
185
183
  */
186
184
  async checkTokenSecurity(tokens) {
187
185
  return this.authedPost("/v1/security/check", {
package/dist/types.d.ts CHANGED
@@ -55,13 +55,6 @@ export interface SwapRequest {
55
55
  sell_percentage: number;
56
56
  };
57
57
  cancel_conditional_orders?: boolean;
58
- /**
59
- * Skip the in-task rug-check entirely. Set true only after
60
- * pre-checking the output token via checkTokenSecurity and
61
- * surfacing the verdict to your end user. Has no effect on
62
- * scheduled trades.
63
- */
64
- bypass_security_check?: boolean;
65
58
  }
66
59
  export interface TokenToCheck {
67
60
  token_address: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fereai/sdk",
3
- "version": "0.4.0-dev.29",
3
+ "version": "0.4.0-dev.31",
4
4
  "description": "TypeScript SDK for the FereAI Gateway API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",