diff --git a/common/changes/@cityofzion/bs-neo3/CU-86a5au9aq-2_2024-11-06-17-33.json b/common/changes/@cityofzion/bs-neo3/CU-86a5au9aq-2_2024-11-06-17-33.json new file mode 100644 index 0000000..b243bb0 --- /dev/null +++ b/common/changes/@cityofzion/bs-neo3/CU-86a5au9aq-2_2024-11-06-17-33.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@cityofzion/bs-neo3", + "comment": "Add generic BSName in GetLedgerTransport", + "type": "patch" + } + ], + "packageName": "@cityofzion/bs-neo3" +} \ No newline at end of file diff --git a/packages/bs-neo3/src/BSNeo3.ts b/packages/bs-neo3/src/BSNeo3.ts index 364820a..f2e732f 100644 --- a/packages/bs-neo3/src/BSNeo3.ts +++ b/packages/bs-neo3/src/BSNeo3.ts @@ -57,7 +57,7 @@ export class BSNeo3 network!: Network - constructor(name: BSName, network?: Network, getLedgerTransport?: GetLedgerTransport) { + constructor(name: BSName, network?: Network, getLedgerTransport?: GetLedgerTransport) { network = network ?? BSNeo3Constants.DEFAULT_NETWORK this.name = name