@dyne/interfacer-client 0.7.0 → 0.7.1
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/README.md +19 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -259,6 +259,25 @@ pnpm lint # ESLint
|
|
|
259
259
|
pnpm test # Vitest (41 tests)
|
|
260
260
|
```
|
|
261
261
|
|
|
262
|
+
## Acknowledgements
|
|
263
|
+
|
|
264
|
+
### Funding
|
|
265
|
+
|
|
266
|
+
#### October 2021 – March 2023
|
|
267
|
+
|
|
268
|
+
This project was funded by the European Regional Development Fund (ERDF) as part of the INTERFACER project.
|
|
269
|
+
|
|
270
|
+
<img src="docs/assets/funding/logo_erdf2014.png" alt="EU ERDF Programme Logo" width="480">
|
|
271
|
+
|
|
272
|
+
#### January 2025 – December 2026
|
|
273
|
+
|
|
274
|
+
The further development of this project was supported as part of the "Fab City – Decentralized Digital Production for Urban Value Creation" project, funded by dtec.bw and supported by the European Union – NextGenerationEU.
|
|
275
|
+
|
|
276
|
+
<p>
|
|
277
|
+
<img src="docs/assets/funding/dtec.bw_Logo_RGB_komplett.jpg" alt="dtec.bw logo" width="240">
|
|
278
|
+
<img src="docs/assets/funding/nextgeneu_en.jpg" alt="Supported by the European Union – NextGenerationEU" width="360">
|
|
279
|
+
</p>
|
|
280
|
+
|
|
262
281
|
## License
|
|
263
282
|
|
|
264
283
|
AGPL-3.0-or-later — Dyne.org foundation
|
package/dist/index.cjs
CHANGED
|
@@ -2820,13 +2820,15 @@ var WalletClient = class {
|
|
|
2820
2820
|
amount: String(amount),
|
|
2821
2821
|
owner: agentId
|
|
2822
2822
|
});
|
|
2823
|
-
const headers = await
|
|
2823
|
+
const headers = await signDidRequest(body, this.store);
|
|
2824
2824
|
const res = await fetch(walletUrl, {
|
|
2825
2825
|
method: "POST",
|
|
2826
2826
|
headers: { ...headers, "Content-Type": "application/json" },
|
|
2827
2827
|
body
|
|
2828
2828
|
});
|
|
2829
2829
|
if (!res.ok) throw new Error(`Wallet addPoints failed: ${res.statusText}`);
|
|
2830
|
+
const data = await res.json();
|
|
2831
|
+
if (data?.success !== true) throw new Error(`Wallet addPoints refused: ${data?.error ?? "unknown"}`);
|
|
2830
2832
|
}
|
|
2831
2833
|
/**
|
|
2832
2834
|
* Issue points for a ValueFlows/social event. Unlike addPoints, the caller
|