stripe-no-webhooks 0.0.4 → 0.0.5
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/cli.js +3 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -540,7 +540,7 @@ function parsePriceObject(priceContent) {
|
|
|
540
540
|
return price;
|
|
541
541
|
}
|
|
542
542
|
|
|
543
|
-
async function
|
|
543
|
+
async function sync() {
|
|
544
544
|
const billingConfigPath = path.join(process.cwd(), "billing.config.ts");
|
|
545
545
|
|
|
546
546
|
if (!fs.existsSync(billingConfigPath)) {
|
|
@@ -702,8 +702,8 @@ async function main() {
|
|
|
702
702
|
await config();
|
|
703
703
|
break;
|
|
704
704
|
|
|
705
|
-
case "
|
|
706
|
-
await
|
|
705
|
+
case "sync":
|
|
706
|
+
await sync();
|
|
707
707
|
break;
|
|
708
708
|
|
|
709
709
|
default:
|