isdata-customer-sdk 0.2.70 → 0.2.71
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.common.js +10 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +10 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -29578,6 +29578,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29578
29578
|
createFileFromUrl: function() { return /* reexport */ createFileFromUrl; },
|
|
29579
29579
|
createRegistApply: function() { return /* reexport */ createRegistApply; },
|
|
29580
29580
|
destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
|
|
29581
|
+
doRestPost: function() { return /* reexport */ doRestPost; },
|
|
29581
29582
|
extractFilenameFromUrl: function() { return /* reexport */ extractFilenameFromUrl; },
|
|
29582
29583
|
extractNewItems: function() { return /* reexport */ extractNewItems; },
|
|
29583
29584
|
findClosestAncestorByClass: function() { return /* reexport */ findClosestAncestorByClass; },
|
|
@@ -34135,6 +34136,15 @@ const getClientIp = async () => {
|
|
|
34135
34136
|
let ipAddress = resultData?.data?.clientIp;
|
|
34136
34137
|
return ipAddress;
|
|
34137
34138
|
};
|
|
34139
|
+
|
|
34140
|
+
/**
|
|
34141
|
+
* 通用服务方法调用
|
|
34142
|
+
* @returns
|
|
34143
|
+
*/
|
|
34144
|
+
const doRestPost = async (url, param) => {
|
|
34145
|
+
let resultData = await request.post(url, param);
|
|
34146
|
+
return resultData;
|
|
34147
|
+
};
|
|
34138
34148
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
|
|
34139
34149
|
var es_iterator_some = __webpack_require__(3579);
|
|
34140
34150
|
;// ./src/api/iframe.js
|