diff --git a/common/changes/@cityofzion/blockchain-service/main_2025-01-08-20-47.json b/common/changes/@cityofzion/blockchain-service/main_2025-01-08-20-47.json new file mode 100644 index 0000000..cf03ca4 --- /dev/null +++ b/common/changes/@cityofzion/blockchain-service/main_2025-01-08-20-47.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@cityofzion/blockchain-service", + "comment": "Add the network property again", + "type": "patch" + } + ], + "packageName": "@cityofzion/blockchain-service" +} \ No newline at end of file diff --git a/common/changes/@cityofzion/bs-swap/main_2025-01-08-20-47.json b/common/changes/@cityofzion/bs-swap/main_2025-01-08-20-47.json new file mode 100644 index 0000000..40c05cf --- /dev/null +++ b/common/changes/@cityofzion/bs-swap/main_2025-01-08-20-47.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@cityofzion/bs-swap", + "comment": "Add the network property again", + "type": "patch" + } + ], + "packageName": "@cityofzion/bs-swap" +} \ No newline at end of file diff --git a/packages/blockchain-service/src/interfaces.ts b/packages/blockchain-service/src/interfaces.ts index 874f8d8..0cae461 100644 --- a/packages/blockchain-service/src/interfaces.ts +++ b/packages/blockchain-service/src/interfaces.ts @@ -260,6 +260,7 @@ export type SwapServiceToken = { decimals?: number addressTemplateUrl?: string txTemplateUrl?: string + network?: string } export type SwapServiceLoadableValue = { loading: boolean; value: T | null } diff --git a/packages/bs-swap/src/services/SimpleSwapService.ts b/packages/bs-swap/src/services/SimpleSwapService.ts index 45a4a54..2440d4c 100644 --- a/packages/bs-swap/src/services/SimpleSwapService.ts +++ b/packages/bs-swap/src/services/SimpleSwapService.ts @@ -60,6 +60,7 @@ export class SimpleSwapService implements SwapSe decimals: token.decimals, addressTemplateUrl: token.addressTemplateUrl, txTemplateUrl: token.txTemplateUrl, + network: token.network, } }