@heliofi/withdraw-core 0.0.8-alpha.1781276921 → 0.0.9-alpha.1781617355

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.
@@ -24,7 +24,7 @@ export declare class WithdrawalSDK {
24
24
  updateQuote(_withdrawalDetailId: string, _params: UpdateQuoteParams, _signal?: AbortSignal): Promise<QuoteResponse>;
25
25
  /**
26
26
  * Body matches the backend `SubmitWithdrawalDto`:
27
- * `{ token, signedTx: { kind, signature } }`.
27
+ * `{ token, signedTx: { signature } }`.
28
28
  */
29
29
  submitWithdrawal(params: SubmitWithdrawalParams, signal?: AbortSignal): Promise<SubmitResponse>;
30
30
  getWithdrawalDetail(withdrawalDetailId: string, signal?: AbortSignal): Promise<StatusResponse>;
@@ -1,4 +1,3 @@
1
- import type { SignedTransactionKind } from './enums';
2
1
  /**
3
2
  * Parameters for `POST /withdraw/:withdrawalConfigId/prepare`.
4
3
  *
@@ -38,10 +37,7 @@ export interface SubmitWithdrawalParams {
38
37
  withdrawalDetailId: string;
39
38
  /** JWT token from the prepare response. */
40
39
  token: string;
41
- /** Discriminated signed transaction payload. */
42
40
  signedTx: {
43
- kind: SignedTransactionKind;
44
- /** Hex-encoded signature (for polymarket_wallet) or signed tx bytes (for raw/userop). */
45
41
  signature: string;
46
42
  };
47
43
  }
@@ -126,7 +126,7 @@ class U {
126
126
  }
127
127
  /**
128
128
  * Body matches the backend `SubmitWithdrawalDto`:
129
- * `{ token, signedTx: { kind, signature } }`.
129
+ * `{ token, signedTx: { signature } }`.
130
130
  */
131
131
  async submitWithdrawal(t, s) {
132
132
  const { withdrawalDetailId: D, ...E } = t;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heliofi/withdraw-core",
3
3
  "private": false,
4
- "version": "0.0.8-alpha.1781276921",
4
+ "version": "0.0.9-alpha.1781617355",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -10,7 +10,6 @@
10
10
  "lint:fix": "biome check --fix src/",
11
11
  "format": "biome format --fix src/",
12
12
  "format:check": "biome format src/",
13
- "preinstall": "npx only-allow pnpm",
14
13
  "prepublishOnly": "rm -rf dist && pnpm run build",
15
14
  "test": "vitest run",
16
15
  "test:watch": "vitest",