@pisell/private-materials 6.5.26 → 6.5.27

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.
@@ -12,7 +12,11 @@ export var getCustomerList = /*#__PURE__*/function () {
12
12
  _context.next = 2;
13
13
  return request.getRequest().get("/shop/customer/select-list", params, {
14
14
  abort: true,
15
- fullResult: true
15
+ fullResult: true,
16
+ cache: {
17
+ mode: "remote_local",
18
+ type: "indexDB"
19
+ }
16
20
  });
17
21
  case 2:
18
22
  _yield$request$getReq = _context.sent;
@@ -25,7 +25,14 @@ __export(serve_exports, {
25
25
  module.exports = __toCommonJS(serve_exports);
26
26
  var import_utils = require("../../../utils");
27
27
  var getCustomerList = async (params) => {
28
- let { data } = await import_utils.request.getRequest().get(`/shop/customer/select-list`, params, { abort: true, fullResult: true });
28
+ let { data } = await import_utils.request.getRequest().get(`/shop/customer/select-list`, params, {
29
+ abort: true,
30
+ fullResult: true,
31
+ cache: {
32
+ mode: "remote_local",
33
+ type: "indexDB"
34
+ }
35
+ });
29
36
  return data;
30
37
  };
31
38
  var addCustomer = async (params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.5.26",
3
+ "version": "6.5.27",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "react-resizable": "^3.0.5",
61
61
  "styled-components": "^6.0.0-rc.3",
62
- "@pisell/date-picker": "3.0.7",
63
62
  "@pisell/icon": "0.0.11",
63
+ "@pisell/materials": "6.5.9",
64
64
  "@pisell/utils": "3.0.2",
65
- "@pisell/materials": "6.5.9"
65
+ "@pisell/date-picker": "3.0.7"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",