sdk-triggerx 0.1.9 → 0.1.10

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.
Files changed (2) hide show
  1. package/dist/api/jobs.js +1 -1
  2. package/package.json +1 -1
package/dist/api/jobs.js CHANGED
@@ -242,7 +242,7 @@ async function createJob(client, params) {
242
242
  }
243
243
  else {
244
244
  // autotopupTG is true, automatically top up
245
- const requiredTG = Math.ceil(job_cost_prediction * 1000); // 1 TG = 0.001 ETH
245
+ const requiredTG = Math.ceil(job_cost_prediction); // 1 TG = 0.001 ETH
246
246
  await (0, topupTg_1.topupTg)(requiredTG, signer);
247
247
  }
248
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdk-triggerx",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "SDK for interacting with the TriggerX backend and smart contracts.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",