@huaweidevtools/aishell-dsh-credentials-store 0.0.6 → 0.0.7
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/lib/signer.d.ts +1 -1
- package/lib/signer.js +1 -1
- package/package.json +1 -1
package/lib/signer.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ interface SignedHeaders {
|
|
|
26
26
|
* Sign an HTTP request with SDK-HMAC-SHA256.
|
|
27
27
|
*
|
|
28
28
|
* @param method - HTTP method (GET, POST, ...).
|
|
29
|
-
* @param host - Host component of the request URL (e.g. `
|
|
29
|
+
* @param host - Host component of the request URL (e.g. `openai.aishell.openbuildlab.com`).
|
|
30
30
|
* @param path - Path component of the request URL (e.g. `/chat/completions`).
|
|
31
31
|
* @param query - Query parameters as a key-value map.
|
|
32
32
|
* @param body - Request body (stringified for hashing; empty string for GET).
|
package/lib/signer.js
CHANGED
|
@@ -27,7 +27,7 @@ function sdkTimestamp() {
|
|
|
27
27
|
* Sign an HTTP request with SDK-HMAC-SHA256.
|
|
28
28
|
*
|
|
29
29
|
* @param method - HTTP method (GET, POST, ...).
|
|
30
|
-
* @param host - Host component of the request URL (e.g. `
|
|
30
|
+
* @param host - Host component of the request URL (e.g. `openai.aishell.openbuildlab.com`).
|
|
31
31
|
* @param path - Path component of the request URL (e.g. `/chat/completions`).
|
|
32
32
|
* @param query - Query parameters as a key-value map.
|
|
33
33
|
* @param body - Request body (stringified for hashing; empty string for GET).
|
package/package.json
CHANGED