@cityofzion/bs-neo-legacy
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -17,2 +17,3 @@ import { Account, BDSClaimable, BlockchainDataService, BlockchainService, BSClaimable, ExchangeDataService, Token, Network, TransferParam, BSWithExplorerService, ExplorerService } from '@cityofzion/blockchain-service'; | ||
constructor(blockchainName: BSCustomName, network?: Network<BSNeoLegacyNetworkId>); | ||
clone(): BSNeoLegacy<BSCustomName>; | ||
setNetwork(network: Network<BSNeoLegacyNetworkId>): void; | ||
@@ -19,0 +20,0 @@ validateAddress(address: string): boolean; |
@@ -46,2 +46,5 @@ "use strict"; | ||
} | ||
clone() { | ||
return new BSNeoLegacy(this.blockchainName, this.network); | ||
} | ||
setNetwork(network) { | ||
@@ -137,3 +140,3 @@ if (!BSNeoLegacyConstants_1.BSNeoLegacyConstants.ALL_NETWORK_IDS.includes(network.id)) | ||
throw new Error('Failed to send transaction'); | ||
return [response.tx.hash]; | ||
return intents.map(() => response.tx.hash); | ||
}); | ||
@@ -140,0 +143,0 @@ } |
{ | ||
"name": "@cityofzion/bs-neo-legacy", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "types": "dist/index.d.ts", | ||
"@cityofzion/neon-js": "4.8.3", | ||
"@cityofzion/blockchain-service": "1.4.0", | ||
"@cityofzion/blockchain-service": "1.5.0", | ||
"@cityofzion/bs-asteroid-sdk": "0.9.0" | ||
@@ -17,0 +17,0 @@ }, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
50255
1169
0