Files
dukang/packages/client-logging/src/index.ts
T
jacy c8ea5a3119 fix(mini-user): use Taro.request for analytics and prod API origin
Replace fetch with wx/Taro.request in client-logging for WeChat mini program; point production build to api.dukanghaoke.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:53:35 +08:00

19 lines
500 B
TypeScript

export { getSessionId, touchSession } from './session';
export {
createUserTracker,
createStoreTracker,
createPartnerTracker,
type TrackParams,
type UserTrackerOptions,
type StoreTrackerOptions,
type PartnerTrackerOptions,
} from './analytics';
export { postJson, type PostJson, type PostJsonInput } from './http';
export {
installClientErrorReporting,
reportApiError,
type ClientErrorLevel,
type ClientErrorCategory,
type ClientErrorReporterOptions,
} from './client-error';