@apaas-ai/aily-cui-sdk
Advanced tools
Comparing version 1.7.0 to 1.8.0
{ | ||
"nonCachedDurationMs": 51540.511753082275 | ||
"nonCachedDurationMs": 40837.42473602295 | ||
} |
@@ -5,2 +5,20 @@ { | ||
{ | ||
"version": "1.8.0", | ||
"tag": "@apaas-ai/aily-cui-sdk@1.8.0", | ||
"date": "Fri, 19 Jul 2024 07:21:22 GMT", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"comment": "移除removeChatPanel" | ||
}, | ||
{ | ||
"comment": "增加removeChatPanel" | ||
}, | ||
{ | ||
"comment": "aily-cui-sdk add token header" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "1.7.0", | ||
@@ -7,0 +25,0 @@ "tag": "@apaas-ai/aily-cui-sdk@1.7.0", |
# @apaas-ai/aily-cui-sdk | ||
This log was last generated on Wed, 10 Jul 2024 11:36:56 GMT and should not be manually modified. | ||
This log was last generated on Fri, 19 Jul 2024 07:21:22 GMT and should not be manually modified. | ||
## 1.8.0 | ||
Fri, 19 Jul 2024 07:21:22 GMT | ||
### Minor changes | ||
- 移除removeChatPanel | ||
- 增加removeChatPanel | ||
- aily-cui-sdk add token header | ||
## 1.7.0 | ||
@@ -6,0 +15,0 @@ Wed, 10 Jul 2024 11:36:56 GMT |
{ | ||
"name": "@apaas-ai/aily-cui-sdk", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "aily-cui-sdk 对外接入包", | ||
@@ -5,0 +5,0 @@ "author": "xiaoziyang.tcpip@bytedance.com", |
@@ -14,2 +14,3 @@ /* | ||
import { type ChatPanel, type CUIConfig } from './types/config'; | ||
import { getApaasToken } from './utils/apaasAdaptor'; | ||
@@ -28,3 +29,3 @@ // web sdk情况下的场景值,这个场景下固定是53 | ||
baseURL: props.common?.baseURL || 'https://ae.feishu.cn/oda', | ||
token: '', | ||
token: getApaasToken(), | ||
}); | ||
@@ -31,0 +32,0 @@ |
const getApaasToken = (): string => { | ||
return (window as any).token; | ||
return (window as any).token || ''; | ||
}; | ||
export { getApaasToken }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3857047
104856