component-sanzhizhou 1.2.8 → 1.2.9

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.ts CHANGED
@@ -20,4 +20,4 @@ export { default as PayQr } from './pay/qr';
20
20
  export { default as PayChannel } from './pay/pay-channel';
21
21
  export { default as IdTag } from './UI/id-tag';
22
22
  export { default as CollectConfigPrice } from './collect-price';
23
- export { default as ProductDetailLink } from './lib/product-detail-link';
23
+ export { default as ProductDetailLink, getProductDetailUrl } from './lib/product-detail-link';
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@ export { default as PayQr } from "./pay/qr";
20
20
  export { default as PayChannel } from "./pay/pay-channel";
21
21
  export { default as IdTag } from "./UI/id-tag";
22
22
  export { default as CollectConfigPrice } from "./collect-price";
23
- export { default as ProductDetailLink } from "./lib/product-detail-link";
23
+ export { default as ProductDetailLink, getProductDetailUrl } from "./lib/product-detail-link";
@@ -5,6 +5,6 @@ interface Props {
5
5
  children?: React.ReactNode;
6
6
  options?: {};
7
7
  }
8
- export declare const getProductDetailUrl: (commercePlatformId?: number, skuId?: number, options?: {}) => string;
8
+ export declare const getProductDetailUrl: (commercePlatformId?: number, skuId?: number | string, options?: {}) => string;
9
9
  declare const ProductDetailLink: React.FC<Props>;
10
10
  export default ProductDetailLink;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-sanzhizhou",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",