@okx_ai/okx-trade-cli 1.2.9-beta.1 → 1.2.9-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okx_ai/okx-trade-cli",
3
- "version": "1.2.9-beta.1",
3
+ "version": "1.2.9-beta.2",
4
4
  "description": "OKX CLI - Command line tool for OKX exchange",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "typescript": "^5.9.3"
38
38
  },
39
39
  "scripts": {
40
- "build": "tsup && node -e \"const fs=require('fs');fs.mkdirSync('scripts',{recursive:true});fs.copyFileSync('../../scripts/postinstall-notice.js','scripts/postinstall.js');fs.copyFileSync('../../scripts/postinstall-download.js','scripts/postinstall-download.js')\"",
40
+ "build": "tsup && node -e \"const fs=require('fs');fs.mkdirSync('scripts',{recursive:true});fs.copyFileSync('../../scripts/postinstall-notice.js','scripts/postinstall.js')\"",
41
41
  "typecheck": "tsc --noEmit",
42
42
  "clean": "rm -rf dist scripts",
43
43
  "postinstall": "node scripts/postinstall.js || exit 0",
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // Shared postinstall script — do not edit the copies in packages/*/scripts/
2
+ // Shared postinstall notice script — do not edit the copies in packages/*/scripts/
3
3
  // This file is the single source of truth; copies are generated during build.
4
4
 
5
5
  import { readFileSync } from 'node:fs';
@@ -18,10 +18,3 @@ try {
18
18
  } catch {
19
19
  // Silently ignore errors to avoid blocking installation
20
20
  }
21
-
22
- // Download DoH resolver binary (best-effort, never blocks install)
23
- try {
24
- const { default: _import } = await import('./postinstall-download.js');
25
- } catch {
26
- // Download script missing or failed — not a problem
27
- }