0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/connector-wechat-native/src
Darcy Ye 3925424316
refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078)
* feat(alipay): use zod parse instead of got response generic

* feat(alipay): fix expires_in and re_expires_in type

* feat(alipay): extract errorHandler function to map HTTP error to connector error

* feat(alipay-native): refactor as alipay

* feat(aliyun-dm): use zod parser for type guard and extract error handler

* feat(aliyun-sms): extract error handler

* feat(facebook): use zod parser

* feat(github): use zod parser

* feat(google): use zod parser

* feat(wechat-web): use zod parser and wrap error handler

* feat(wechat-native): use zod parser and wrap error handler
2022-06-10 10:41:45 +08:00
..
constant.ts chore(connectors): config template md files to json files (#987) 2022-05-31 12:58:24 +08:00
index.test.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00
index.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00
mock.ts feat(core): wrap wechat connector (#676) 2022-04-28 15:55:49 +08:00
types.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00