@_daniel_jiang/host-sdk 1.0.0 → 1.1.0

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/index.d.ts CHANGED
@@ -1,8 +1,13 @@
1
1
  export type {
2
2
  BootstrapResult,
3
+ HostActionKind,
4
+ HostAnchorRef,
5
+ HostHintPlacement,
3
6
  HostInitOptions,
4
7
  HostPageAction,
8
+ HostRefreshPayload,
5
9
  OpenWorkflowOptions,
10
+ RegisterPageOptions,
6
11
  } from './src/types'
7
12
  export type { WidgetPayload, SerializedPageAction } from './src/messages'
8
13
  export { AgentHost, AGENT_HOST_MSG, isAgentHostMessage } from './src/index'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_daniel_jiang/host-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Agent 平台宿主嵌入 SDK(iframe Hub/Widget,框架无关)",
5
5
  "type": "module",
6
6
  "main": "./dist/agent-host.js",