v1.0.5
NCPClient will support service's unique error types
-
NCPClient's request module,
ApiRequest
can handle service's unique errors nowservice's unique error means almost parameter validation.
If given parameter is incorrect with NCP-defined format, It will return ApiClientResponse with error and request won't send.
[ SENS - SMS service ] SearchMessageRequest / SearchMessageResult now supported
-
Using SendSMS API , you can get
requestId
of request from response -
SearchMessageRequest with requestId from SendSMS API's response will return the detail delivery request
const { isSuccess, data } = await smsService.searchMessageRequest('requestId')
-
SearchMessageResponse with messageId from SearchMessageRequest API's response will return the detail delivery results
const { isSuccess, data } = await smsService.searchMessageResult('messageId')
Dependency changed
- crypto changed to built-in module, so deprecated in dependency