Skip to content

Commit

Permalink
Merge pull request #140 from CityOfZion/CU-86a65ryx8
Browse files Browse the repository at this point in the history
CU-86a65ryx8-BS Lib - Add the network property again
  • Loading branch information
thiagocbalducci authored Jan 8, 2025
2 parents 5fc86cc + f8ef922 commit 2a5ece2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/blockchain-service",
"comment": "Add the network property again",
"type": "patch"
}
],
"packageName": "@cityofzion/blockchain-service"
}
10 changes: 10 additions & 0 deletions common/changes/@cityofzion/bs-swap/main_2025-01-08-20-47.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/bs-swap",
"comment": "Add the network property again",
"type": "patch"
}
],
"packageName": "@cityofzion/bs-swap"
}
1 change: 1 addition & 0 deletions packages/blockchain-service/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export type SwapServiceToken<BSName extends string = string> = {
decimals?: number
addressTemplateUrl?: string
txTemplateUrl?: string
network?: string
}

export type SwapServiceLoadableValue<T> = { loading: boolean; value: T | null }
Expand Down
1 change: 1 addition & 0 deletions packages/bs-swap/src/services/SimpleSwapService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class SimpleSwapService<BSName extends string = string> implements SwapSe
decimals: token.decimals,
addressTemplateUrl: token.addressTemplateUrl,
txTemplateUrl: token.txTemplateUrl,
network: token.network,
}
}

Expand Down

0 comments on commit 2a5ece2

Please sign in to comment.