component-shipinlv 2.2.16 → 2.2.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.
@@ -4,6 +4,7 @@ interface Props {
4
4
  productType: string;
5
5
  from: Ad.From;
6
6
  dealerId: number;
7
+ position: string;
7
8
  env?: Global.Env;
8
9
  }
9
10
  declare const Ad: React.FC<Props>;
package/dist/Ad/index.js CHANGED
@@ -13,6 +13,7 @@ var Ad = function Ad(_ref) {
13
13
  var productType = _ref.productType,
14
14
  from = _ref.from,
15
15
  dealerId = _ref.dealerId,
16
+ position = _ref.position,
16
17
  env = _ref.env;
17
18
  var listDataRef = useRef([]);
18
19
  var currentIndexRef = useRef(0);
@@ -43,7 +44,8 @@ var Ad = function Ad(_ref) {
43
44
  return AdController.list({
44
45
  productType: productType,
45
46
  from: from,
46
- dealerId: dealerId
47
+ dealerId: dealerId,
48
+ position: position
47
49
  }, {
48
50
  env: env
49
51
  });
@@ -2,4 +2,5 @@ export declare function list(body: {
2
2
  productType: string;
3
3
  from: 'web' | 'client';
4
4
  dealerId: number;
5
+ position: string;
5
6
  }, options?: Global.RequestOptions): Promise<Ad.List[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "2.2.16",
3
+ "version": "2.2.17",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",