eprolo-cli 1.0.106 → 1.0.107

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/bin/eprolo-cli.js CHANGED
@@ -302,7 +302,7 @@ async function addOrder(arg) {
302
302
  newOrder.shipping_city=order.shippingAddress.city;
303
303
  // newOrder.shipping_taxNumber=order.shippingAddress.taxNumber;
304
304
  }
305
- if(order.lineItems){
305
+ if(order.lineItems && order.lineItems.edges){
306
306
  order.lineItems.edges.forEach((edge)=>{
307
307
  orderItemlist.push({
308
308
  variantsid:getId(edge.node.variant.id),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "description": "CLI for Dianxiaobao ICBU AI publishing, authorization profile management, task submission, and task status checks.",
5
5
  "bin": {
6
6
  "eprolo": "bin/eprolo-cli.js"