@t-0/provider-starter-ts 0.2.0 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t-0/provider-starter-ts",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "CLI tool to scaffold a Node.js t-0 Network integration service",
5
5
  "main": "dist/create.js",
6
6
  "bin": {
@@ -38,7 +38,7 @@ async function main() {
38
38
  signatureValidation(
39
39
  nodeAdapter(
40
40
  createService(networkPublicKeyHex!, (r) => {
41
- r.service(ProviderService, CreateProviderService());
41
+ r.service(ProviderService, CreateProviderService(networkClient));
42
42
  })))
43
43
  ).listen(port);
44
44
  console.log("✅ Service ready and is listening at", server.address());
@@ -54,7 +54,7 @@ async function main() {
54
54
 
55
55
  // TODO: Step 2.2 deploy your integration and provide t-0 team base URL of your deployment
56
56
 
57
- // TODO: Step 2.3 check that you can submit payment by revisiting ./submit_payment.ts and uncommenting following line
57
+ // TODO: Step 2.3 check that you can submit payment by revisiting ./submit_payment.ts uncommenting following line
58
58
  // await submitPayment(networkClient)
59
59
 
60
60
  // TODO: Step 2.5 ask t-0 team to submit a payment which would trigger your payOut endpoint