@larksuiteoapi/node-sdk 1.3.0 → 1.4.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/README.md +1 -1
- package/es/index.js +266 -135
- package/lib/index.js +266 -135
- package/package.json +1 -1
- package/types/index.d.ts +14529 -630
package/README.md
CHANGED
|
@@ -403,7 +403,7 @@ const resule = await dispatcher.invoke(data);
|
|
|
403
403
|
server.sendResult(result);
|
|
404
404
|
````
|
|
405
405
|
|
|
406
|
-
####
|
|
406
|
+
#### Challenge check
|
|
407
407
|
When configuring the event request address, The Open Platform will push a POST request in `application/json` format to the request address. The POST request is used to verify the validity of the configured request address, and the request body will carry a `challenge` field , **The application needs to return the received challenge value to the Open Platform within 1 second**. See: [ Document](https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/event-subscription-configure-/request-url-configuration-case)
|
|
408
408
|
|
|
409
409
|
The adapter provided by the sdk above encapsulates the verification logic. Set the `autoChallenge` field in the options parameter to true to enable:
|