@elisym/sdk 0.16.0 → 0.17.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/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1965,6 +1965,14 @@ var MarketplaceService = class {
|
|
|
1965
1965
|
cb.onFeedback?.(statusTag[1], amt, paymentReq, ev.pubkey);
|
|
1966
1966
|
} catch {
|
|
1967
1967
|
}
|
|
1968
|
+
if (provPk && statusTag[1] === "error" && !resolved) {
|
|
1969
|
+
const errorMessage = ev.content?.trim() || "Provider returned an error";
|
|
1970
|
+
done();
|
|
1971
|
+
try {
|
|
1972
|
+
cb.onError?.(errorMessage);
|
|
1973
|
+
} catch {
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1968
1976
|
}
|
|
1969
1977
|
}
|
|
1970
1978
|
)
|