@cityofzion/bs-multichain 3.1.13 → 3.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -143,9 +143,8 @@ class SimpleSwapOrchestrator {
|
|
|
143
143
|
!__classPrivateFieldGet(this, _SimpleSwapOrchestrator_instances, "a", _SimpleSwapOrchestrator_tokenToUse_get).value.hash ||
|
|
144
144
|
__classPrivateFieldGet(this, _SimpleSwapOrchestrator_instances, "a", _SimpleSwapOrchestrator_tokenToUse_get).value.decimals === undefined ||
|
|
145
145
|
isNaN(__classPrivateFieldGet(this, _SimpleSwapOrchestrator_instances, "a", _SimpleSwapOrchestrator_tokenToUse_get).value.decimals) ||
|
|
146
|
-
(__classPrivateFieldGet(this, _SimpleSwapOrchestrator_instances, "a", _SimpleSwapOrchestrator_tokenToReceive_get).value.hasExtraId &&
|
|
147
|
-
|
|
148
|
-
throw new blockchain_service_1.BSError('Not all required fields are set', 'MISSING_REQUIRED_FIELDS');
|
|
146
|
+
(__classPrivateFieldGet(this, _SimpleSwapOrchestrator_instances, "a", _SimpleSwapOrchestrator_tokenToReceive_get).value.hasExtraId && __classPrivateFieldGet(this, _SimpleSwapOrchestrator_instances, "a", _SimpleSwapOrchestrator_extraIdToReceive_get).valid === false)) {
|
|
147
|
+
throw new blockchain_service_1.BSError('Invalid fields', 'INVALID_FIELDS');
|
|
149
148
|
}
|
|
150
149
|
const response = {
|
|
151
150
|
id: '',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-multichain",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.14",
|
|
4
4
|
"repository": "https://github.com/CityOfZion/blockchain-services",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"author": "Coz",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@walletconnect/utils": "~2.21.9",
|
|
14
14
|
"@walletconnect/jsonrpc-utils": "~1.0.8",
|
|
15
15
|
"axios": "~1.15.0",
|
|
16
|
-
"@cityofzion/blockchain-service": "3.1.
|
|
16
|
+
"@cityofzion/blockchain-service": "3.1.14"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "~24.5.2",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"typed-emitter": "~2.1.0",
|
|
24
24
|
"typescript": "~5.9.2",
|
|
25
25
|
"vitest": "~4.0.18",
|
|
26
|
-
"@cityofzion/bs-
|
|
27
|
-
"@cityofzion/bs-
|
|
28
|
-
"@cityofzion/bs-
|
|
29
|
-
"@cityofzion/bs-neox": "3.1.
|
|
30
|
-
"@cityofzion/bs-
|
|
31
|
-
"@cityofzion/bs-
|
|
32
|
-
"@cityofzion/bs-
|
|
26
|
+
"@cityofzion/bs-ethereum": "3.1.14",
|
|
27
|
+
"@cityofzion/bs-neo3": "3.1.14",
|
|
28
|
+
"@cityofzion/bs-bitcoin": "3.1.14",
|
|
29
|
+
"@cityofzion/bs-neox": "3.1.14",
|
|
30
|
+
"@cityofzion/bs-neo-legacy": "3.1.14",
|
|
31
|
+
"@cityofzion/bs-stellar": "3.1.14",
|
|
32
|
+
"@cityofzion/bs-solana": "3.1.14"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rm -rf ./dist && rm -f *.tgz && npm run typecheck && tsc --project tsconfig.build.json",
|