diff --git a/README.md b/README.md index 1dd66c7..41c17f6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Simply run ` npm test ` and the coverage files will be added to the `./coverage` ```js -import {Order,Customer,Item,Payment,NearbyStores} from 'dominos'; +import {Order,Customer,Item,Payment,NearbyStores,Tracking} from 'dominos'; //extra cheese thin crust pizza const pizza=new Item( @@ -177,6 +177,12 @@ try{ console.log('\n\nPlaced Order\n\n'); console.dir(order,{depth:3}); + + const tracking=new Tracking(); + + const trackingResult=await tracking.byPhone(customer.phone); + + console.dir(trackingResult,{depth:1}); }catch(err){ console.trace(err); @@ -191,6 +197,8 @@ try{ } + + ``` # Legacy CommonJS support