Wepin Fetch Library from Web. This package is exclusively available for use in web environments.
npm install @wepin/fetch-js
or
yarn add @wepin/fetch-js
import { WepinFetch } from '@wepin/fetch-js'
const wepinFetch = new WepinFetch({
appId: 'wepinAppId',
appKey: 'wepinAppKey',
domain: 'wepinDomain',
sdk: {version, type}
})
await wepinFetch.init()