@applite/js-sdk 0.0.16 → 0.0.17
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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -104,10 +104,10 @@ var _CustomerApi = class _CustomerApi {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
async check(params) {
|
|
107
|
-
const { appId, apiKey, telephone, plateform = null } = params;
|
|
107
|
+
const { appId, apiKey, telephone, email, plateform = null } = params;
|
|
108
108
|
return this.http.post(`/app/${appId}/customer/check`, {
|
|
109
109
|
apiKey,
|
|
110
|
-
telephone,
|
|
110
|
+
...email ? { email } : { telephone },
|
|
111
111
|
plateform
|
|
112
112
|
});
|
|
113
113
|
}
|