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.common.js
CHANGED
|
@@ -29560,6 +29560,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29560
29560
|
createFileFromUrl: function() { return /* reexport */ createFileFromUrl; },
|
|
29561
29561
|
createRegistApply: function() { return /* reexport */ createRegistApply; },
|
|
29562
29562
|
destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
|
|
29563
|
+
doRestPost: function() { return /* reexport */ doRestPost; },
|
|
29563
29564
|
extractFilenameFromUrl: function() { return /* reexport */ extractFilenameFromUrl; },
|
|
29564
29565
|
extractNewItems: function() { return /* reexport */ extractNewItems; },
|
|
29565
29566
|
findClosestAncestorByClass: function() { return /* reexport */ findClosestAncestorByClass; },
|
|
@@ -34117,6 +34118,15 @@ const getClientIp = async () => {
|
|
|
34117
34118
|
let ipAddress = resultData?.data?.clientIp;
|
|
34118
34119
|
return ipAddress;
|
|
34119
34120
|
};
|
|
34121
|
+
|
|
34122
|
+
/**
|
|
34123
|
+
* 通用服务方法调用
|
|
34124
|
+
* @returns
|
|
34125
|
+
*/
|
|
34126
|
+
const doRestPost = async (url, param) => {
|
|
34127
|
+
let resultData = await request.post(url, param);
|
|
34128
|
+
return resultData;
|
|
34129
|
+
};
|
|
34120
34130
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
|
|
34121
34131
|
var es_iterator_some = __webpack_require__(3579);
|
|
34122
34132
|
;// ./src/api/iframe.js
|