uvd-x402-sdk 2.44.0 → 2.45.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.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/events.ts +17 -0
package/dist/index.mjs
CHANGED
|
@@ -2483,6 +2483,10 @@ function parseTrafficEvent(frame) {
|
|
|
2483
2483
|
if (typeof raw.tx === "string") event.tx = raw.tx;
|
|
2484
2484
|
if (typeof raw.amount === "string") event.amount = raw.amount;
|
|
2485
2485
|
if (typeof raw.asset === "string") event.asset = raw.asset;
|
|
2486
|
+
if (typeof raw.resource === "string") event.resource = raw.resource;
|
|
2487
|
+
if (typeof raw.payTo === "string") event.payTo = raw.payTo;
|
|
2488
|
+
if (typeof raw.description === "string") event.description = raw.description;
|
|
2489
|
+
if (typeof raw.scheme === "string") event.scheme = raw.scheme;
|
|
2486
2490
|
return event;
|
|
2487
2491
|
}
|
|
2488
2492
|
function matchesFilters(event, options) {
|