diff --git a/package-lock.json b/package-lock.json index af41687..75f129d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "LGPL-3.0", "dependencies": { - "@golem-sdk/golem-js": "^1.0.2", + "@golem-sdk/golem-js": "^1.0.3", "debug": "^4.3.4", "generic-pool": "^3.9.0", "typedoc": "^0.25.4" @@ -575,10 +575,11 @@ } }, "node_modules/@golem-sdk/golem-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@golem-sdk/golem-js/-/golem-js-1.0.2.tgz", - "integrity": "sha512-eEkfmZbGGL52kX0pQ9kv2PqX7T/dkgaUkCnNlgJm/XHvKBFRJFq8MyQu6W8VIvPLRuWB8Za6GeXSQEgYQrTe9w==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@golem-sdk/golem-js/-/golem-js-1.0.3.tgz", + "integrity": "sha512-d6vk1LOXTiEjB9DkdmQtlhwGEizVtKIBlQ/7wCTORWITZRp2b4EWRrWdXXo2yCnMeeyHLnFOY3IdnvXb781I6Q==", "dependencies": { + "async-lock": "^1.4.0", "axios": "^1.6.2", "bottleneck": "^2.19.5", "collect.js": "^4.36.1", @@ -1678,6 +1679,11 @@ "node": ">=0.10.0" } }, + "node_modules/async-lock": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.0.tgz", + "integrity": "sha512-coglx5yIWuetakm3/1dsX9hxCNox22h7+V80RQOu2XUUMidtArxKoZoOtHUPuR84SycKTXzgGzAUR5hJxujyJQ==" + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -9384,10 +9390,13 @@ } }, "node_modules/traverse": { - "version": "0.6.7", - "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.7.tgz", - "integrity": "sha512-/y956gpUo9ZNCb99YjxG7OaslxZWHfCHAUUfshwqOXmxUIvqLjVO581BT+gM59+QV9tFe6/CGG53tsA1Y7RSdg==", + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.8.tgz", + "integrity": "sha512-aXJDbk6SnumuaZSANd21XAo15ucCDE38H4fkqiGsc3MhCK+wOlZvLP9cB/TvpHT0mOyWgC4Z8EwRlzqYSUzdsA==", "dev": true, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } diff --git a/package.json b/package.json index 60a5c40..ea41691 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "homepage": "https://github.com/golemfactory/tesseract-ocr-golem#readme", "dependencies": { - "@golem-sdk/golem-js": "^1.0.2", + "@golem-sdk/golem-js": "^1.0.3", "debug": "^4.3.4", "generic-pool": "^3.9.0", "typedoc": "^0.25.4" diff --git a/src/golem.ts b/src/golem.ts index a1123fe..7afdcc3 100644 --- a/src/golem.ts +++ b/src/golem.ts @@ -226,7 +226,6 @@ export class Golem { // await this.marketService.end(); this.paymentService.acceptPayments(agreement); - this.paymentService.acceptDebitNotes(agreement.id); // FIXME #sdk Why is this different from the line above? return Activity.create(agreement, this.api); },