Skip to content
Merged

0.1.5 #121

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@utxos/sdk",
"version": "0.1.4",
"version": "0.1.5",
"description": "UTXOS SDK - Web3 infrastructure platform for UTXO blockchains",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/tokenization/spark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export class TokenizationSpark {
}

return {
impactedOutputIds: (result as any).impactedOutputIds ?? result.impactedTokenOutputs?.map((o: any) => o.id) ?? [],
impactedOutputIds: result.impactedTokenOutputs?.map((o: any) => o.id) ?? [],
impactedTokenAmount: result.impactedTokenAmount.toString(),
};
}
Expand Down Expand Up @@ -493,7 +493,7 @@ export class TokenizationSpark {
}

return {
impactedOutputIds: (result as any).impactedOutputIds ?? result.impactedTokenOutputs?.map((o: any) => o.id) ?? [],
impactedOutputIds: result.impactedTokenOutputs?.map((o: any) => o.id) ?? [],
impactedTokenAmount: result.impactedTokenAmount.toString(),
};
}
Expand Down