From 75ebf0bdd9c996e22c12243ed1aa21e1a843b347 Mon Sep 17 00:00:00 2001 From: cb-howardatcb <86798563+howard-at-cb@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:54:14 -0700 Subject: [PATCH] Update webhook quickstart guide and package.json (#293) * Update README.md * Revert "Update README.md" This reverts commit 9a7fb38a56c697ced3ca56f191798dd6baed66c3. * Update README.md * 0.8.1 --- package-lock.json | 4 ++-- package.json | 2 +- quickstart-template/webhook/README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96475b08..71386877 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@coinbase/coinbase-sdk", - "version": "0.6.1", + "version": "0.8.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@coinbase/coinbase-sdk", - "version": "0.6.1", + "version": "0.8.1", "license": "ISC", "dependencies": { "@scure/bip32": "^1.4.0", diff --git a/package.json b/package.json index 9a854db6..eba756a6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "ISC", "description": "Coinbase Platform SDK", "repository": "https://github.com/coinbase/coinbase-sdk-nodejs", - "version": "0.8.0", + "version": "0.8.1", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { diff --git a/quickstart-template/webhook/README.md b/quickstart-template/webhook/README.md index 65308036..5e982f78 100644 --- a/quickstart-template/webhook/README.md +++ b/quickstart-template/webhook/README.md @@ -23,13 +23,13 @@ curl -X POST -H "Content-Type:application/json" -d '{"app": "webhook"}' http://l ## Public Webhook App To setup a temporary public URL that points to this local webhook app, -you can use [Pinggy](https://pinggy.io/) in another terminal window: +you can use [Pinggy](https://pinggy.io/) or [ngrok](https://ngrok.com/) in another terminal window: ```bash ssh -p 443 -R0:localhost:3000 -L4300:localhost:4300 qr@a.pinggy.io ``` -You can also use [Vercel](https://vercel.com/) or other hosting solutions for your webhook app. +You can also use [Vercel](https://vercel.com/), [webhook.site](https://webhook.site/) or other hosting solutions for your webhook app. Once the public webhook app is setup, copy the URL provided and test it with: