@chenchaolong/plugin-trade-compliance-workbench 0.1.21 → 0.1.22

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.
@@ -1,6 +1,7 @@
1
1
  ;(function () {
2
2
  const CHANNEL = 'xpertai.remote_component'
3
3
  const VERSION = 1
4
+ const REQUEST_TIMEOUT_MS = 120000
4
5
  const h = React.createElement
5
6
  let instanceId = null
6
7
  let requestSequence = 0
@@ -22,7 +23,7 @@
22
23
  if (!pending.has(requestId)) return
23
24
  pending.delete(requestId)
24
25
  reject(new Error('请求超时'))
25
- }, 30000)
26
+ }, REQUEST_TIMEOUT_MS)
26
27
  })
27
28
  }
28
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenchaolong/plugin-trade-compliance-workbench",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Trade Compliance Workbench app plugin for controlled goods review, supplier product management, and customs workbook generation.",
5
5
  "author": {
6
6
  "name": "XpertAI",