Comparing version 3.3.0 to 3.3.1
@@ -0,0 +0,0 @@ import './modules/DominosErrors.js'; |
@@ -0,0 +0,0 @@ MIT License |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
@@ -0,0 +0,0 @@ import DominosFormat from "./DominosFormat.js" |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
@@ -0,0 +0,0 @@ const defaultParameters=function(self,parameters){ |
@@ -0,0 +0,0 @@ //all of these classes will be globally available |
@@ -0,0 +0,0 @@ import defaultParameters from './defaultParameters.js'; |
@@ -0,0 +0,0 @@ import {Base64File} from 'js-base64-file'; |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
@@ -0,0 +0,0 @@ import {get} from '../utils/api-json.js'; |
@@ -84,3 +84,3 @@ import IsDominos from '../utils/DominosTypes.js'; | ||
addCoupon(couponCode) { | ||
isDominos.string(couponCode); | ||
isDominos.object(couponCode); | ||
@@ -93,3 +93,3 @@ this.coupons.push(couponCode); | ||
removeCoupon(couponCode) { | ||
isDominos.string(couponCode); | ||
isDominos.object(couponCode); | ||
@@ -96,0 +96,0 @@ return this.#remove(couponCode,this.coupons);; |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
@@ -0,0 +0,0 @@ import {get} from '../utils/api-json.js'; |
@@ -0,0 +0,0 @@ import Is from "strong-type"; |
{ | ||
"name": "dominos", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "node js API for Domino's pizza", | ||
"exports": "./index.js", | ||
"exports": { | ||
".": "./index.js", | ||
"./utils/urls.js": "./utils/urls.js" | ||
}, | ||
"type": "module", | ||
@@ -13,2 +16,5 @@ "scripts": { | ||
}, | ||
"engines" : { | ||
"node" : ">=14.0.0" | ||
}, | ||
"pre-commit": [ | ||
@@ -135,2 +141,7 @@ "precommit" | ||
"url": "https://github.com/lastraum" | ||
}, | ||
{ | ||
"name":"Robbie Averill", | ||
"email":"robbie@averill.co.nz", | ||
"url":"https://github.com/robbieaverill" | ||
} | ||
@@ -137,0 +148,0 @@ ], |
# Domino's Pizza API | ||
[![Sponsor RIAEvangelist to help development of node-dominos-pizza-api](https://img.shields.io/static/v1?label=Sponsor%20Me%20On%20Github&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/RIAEvangelist)](https://github.com/sponsors/RIAEvangelist) | ||
This is a node.js API for integrating with the Domino's pizza APIs. | ||
@@ -57,3 +59,3 @@ [See the pretty Domino's Pizza API documentation](http://riaevangelist.github.io/node-dominos-pizza-api/) | ||
### [See the public c8 & vanilla-test code coverage](https://cdn-p939v.ondigitalocean.app/node-dominos-pizza-api/index.html) | ||
### [See the public c8 & vanilla-test code coverage](https://cdn-avsja.ondigitalocean.app/node-dominos-pizza-api/index.html) | ||
@@ -60,0 +62,0 @@ --- |
@@ -0,0 +0,0 @@ import fetch from 'node-fetch'; |
@@ -0,0 +0,0 @@ import fs from 'fs'; |
@@ -0,0 +0,0 @@ import '../modules/DominosErrors.js'; |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
@@ -0,0 +0,0 @@ import Is from 'strong-type'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
710
68290