From 55a062ed9a6e5a4e5feabf314029e7f4a1a8e174 Mon Sep 17 00:00:00 2001 From: Mike Godenzi Date: Tue, 14 Feb 2023 08:55:56 +0100 Subject: [PATCH] fix/tezos-fetch-transactions * chore(): bumped version * fix(tezos-fetch-transactions): fixed tests * chore(): bumped beta version * fix(tezos-fetch-transactions): fixed transaction order * fix(tezos-fetch-transactions): fixed tests * fix(tezos-fetch-transactions): updated tests * fix(tezos-fetch-transactions): using different endpoint to get tezos transactions --- lerna.json | 2 +- package-lock.json | 246 +++++++----------- packages/aeternity/package-lock.json | 10 +- packages/aeternity/package.json | 8 +- packages/astar/package-lock.json | 12 +- packages/astar/package.json | 10 +- packages/bitcoin/package-lock.json | 10 +- packages/bitcoin/package.json | 8 +- packages/core/package-lock.json | 4 +- packages/core/package.json | 2 +- packages/cosmos/package-lock.json | 10 +- packages/cosmos/package.json | 8 +- packages/ethereum/package-lock.json | 10 +- packages/ethereum/package.json | 8 +- packages/groestlcoin/package-lock.json | 12 +- packages/groestlcoin/package.json | 10 +- packages/icp/package-lock.json | 10 +- packages/icp/package.json | 8 +- packages/module-kit/package-lock.json | 6 +- packages/module-kit/package.json | 4 +- packages/moonbeam/package-lock.json | 12 +- packages/moonbeam/package.json | 10 +- packages/polkadot/package-lock.json | 10 +- packages/polkadot/package.json | 8 +- packages/serializer/package-lock.json | 6 +- packages/serializer/package.json | 4 +- packages/substrate/package-lock.json | 10 +- packages/substrate/package.json | 8 +- packages/tezos/package-lock.json | 10 +- packages/tezos/package.json | 8 +- .../indexerClient/TezosIndexerClient.ts | 2 +- .../tezos/src/v1/indexer/TzKTIndexerClient.ts | 2 +- packages/tezos/test/v0/tezos.spec.ts | 17 +- .../tezos/test/v1/stubs/tezos-fa1p2.stub.ts | 6 +- .../tezos/test/v1/stubs/tezos-fa2.stub.ts | 6 +- packages/tezos/test/v1/stubs/tezos.stub.ts | 6 +- packages/tezos/test/v1/tezos.spec.ts | 4 +- packages/wallet/package-lock.json | 8 +- packages/wallet/package.json | 6 +- 39 files changed, 247 insertions(+), 294 deletions(-) diff --git a/lerna.json b/lerna.json index 58e55ea6f..364c69683 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "packages": ["packages/*"], - "version": "0.13.10-beta.3", + "version": "0.13.10", "command": { "publish": { "ignoreChanges": ["*.sh", "*.md", "*.yml", ".*", "tsconfig.json", "tslint.json"] diff --git a/package-lock.json b/package-lock.json index cf6c3a397..7bf049b39 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5144,7 +5144,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "devOptional": true, + "dev": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -5153,7 +5153,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "devOptional": true, + "dev": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -11081,7 +11081,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "devOptional": true + "dev": true }, "node_modules/scrypt-js": { "version": "3.0.1", @@ -12625,6 +12625,7 @@ "version": "4.8.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -13400,42 +13401,46 @@ }, "packages/aeternity/dist": { "name": "@airgap/aeternity", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", - "@stablelib/ed25519": "^1.0.3" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@stablelib/ed25519": "1.0.3" } }, "packages/astar/dist": { "name": "@airgap/astar", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", - "@airgap/substrate": "*", "@polkadot/util": "2.0.1", "@polkadot/wasm-crypto": "0.20.1" + }, + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@airgap/substrate": "^0.13.10" } }, "packages/bitcoin/dist": { "name": "@airgap/bitcoin", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "bitcoinjs-lib": "5.2.0" + }, + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "packages/core/dist": { "name": "@airgap/coinlib-core", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { "@stablelib/blake2b": "^1.0.1", @@ -13449,116 +13454,118 @@ }, "packages/cosmos/dist": { "name": "@airgap/cosmos", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "packages/ethereum/dist": { "name": "@airgap/ethereum", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "@ethereumjs/common": "2.6.0", "@ethereumjs/tx": "3.4.0", "@metamask/eth-sig-util": "4.0.0" + }, + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "packages/groestlcoin/dist": { "name": "@airgap/groestlcoin", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/bitcoin": "*", - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*" + "peerDependencies": { + "@airgap/bitcoin": "^0.13.10", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "packages/icp/dist": { "name": "@airgap/icp", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "@dfinity/candid": "^0.15.1", "@dfinity/identity-secp256k1": "^0.15.1", "@dfinity/nns": "^0.10.0", "@dfinity/principal": "^0.15.1", "@dfinity/utils": "^0.0.6", - "@stablelib/ed25519": "^1.0.3", "isomorphic-fetch": "^3.0.0", "js-sha256": "^0.9.0", "secp256k1": "^5.0.0" + }, + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@stablelib/ed25519": "1.0.3" } }, "packages/module-kit/dist": { "name": "@airgap/module-kit", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/serializer": "*" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10" } }, "packages/moonbeam/dist": { "name": "@airgap/moonbeam", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", - "@airgap/substrate": "*" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@airgap/substrate": "^0.13.10" } }, "packages/polkadot/dist": { "name": "@airgap/polkadot", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/substrate": "*" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/substrate": "^0.13.10" } }, "packages/serializer/dist": { "name": "@airgap/serializer", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10" } }, "packages/substrate/dist": { "name": "@airgap/substrate", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "@polkadot/util": "2.0.1", "@polkadot/wasm-crypto": "0.20.1" + }, + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "packages/tezos/dist": { "name": "@airgap/tezos", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", "@airgap/sapling-wasm": "0.0.7", - "@airgap/serializer": "*", "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", "@stablelib/nacl": "^1.0.4", @@ -13567,35 +13574,30 @@ "@taquito/local-forging": "14.0.0", "graphql": "^16.6.0", "graphql-request": "^5.1.0" + }, + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "packages/wallet/dist": { "name": "@airgap/wallet", - "version": "0.13.9", + "version": "0.13.10", "license": "MIT", - "dependencies": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*" + "peerDependencies": { + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10" } } }, "dependencies": { "@airgap/aeternity": { - "version": "file:packages/aeternity/dist", - "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", - "@stablelib/ed25519": "^1.0.3" - } + "version": "file:packages/aeternity/dist" }, "@airgap/astar": { "version": "file:packages/astar/dist", "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", - "@airgap/substrate": "*", "@polkadot/util": "2.0.1", "@polkadot/wasm-crypto": "0.20.1" } @@ -13603,9 +13605,6 @@ "@airgap/bitcoin": { "version": "file:packages/bitcoin/dist", "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "bitcoinjs-lib": "5.2.0" } }, @@ -13622,73 +13621,40 @@ } }, "@airgap/cosmos": { - "version": "file:packages/cosmos/dist", - "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*" - } + "version": "file:packages/cosmos/dist" }, "@airgap/ethereum": { "version": "file:packages/ethereum/dist", "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "@ethereumjs/common": "2.6.0", "@ethereumjs/tx": "3.4.0", "@metamask/eth-sig-util": "4.0.0" } }, "@airgap/groestlcoin": { - "version": "file:packages/groestlcoin/dist", - "requires": { - "@airgap/bitcoin": "*", - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*" - } + "version": "file:packages/groestlcoin/dist" }, "@airgap/icp": { "version": "file:packages/icp/dist", "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "@dfinity/candid": "^0.15.1", "@dfinity/identity-secp256k1": "^0.15.1", "@dfinity/nns": "^0.10.0", "@dfinity/principal": "^0.15.1", "@dfinity/utils": "^0.0.6", - "@stablelib/ed25519": "^1.0.3", "isomorphic-fetch": "^3.0.0", "js-sha256": "^0.9.0", "secp256k1": "^5.0.0" } }, "@airgap/module-kit": { - "version": "file:packages/module-kit/dist", - "requires": { - "@airgap/coinlib-core": "*", - "@airgap/serializer": "*" - } + "version": "file:packages/module-kit/dist" }, "@airgap/moonbeam": { - "version": "file:packages/moonbeam/dist", - "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", - "@airgap/substrate": "*" - } + "version": "file:packages/moonbeam/dist" }, "@airgap/polkadot": { - "version": "file:packages/polkadot/dist", - "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/substrate": "*" - } + "version": "file:packages/polkadot/dist" }, "@airgap/sapling-wasm": { "version": "0.0.7", @@ -13696,17 +13662,11 @@ "integrity": "sha512-IMODbGPTBYKuO5ztiHX9C1PTlhqZvmVWv7m7zj5+VMcbBxrk4+jBAf7FYTH5l+IUsNMaHBOuh8Qq3A1b/pm7jQ==" }, "@airgap/serializer": { - "version": "file:packages/serializer/dist", - "requires": { - "@airgap/coinlib-core": "*" - } + "version": "file:packages/serializer/dist" }, "@airgap/substrate": { "version": "file:packages/substrate/dist", "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", - "@airgap/serializer": "*", "@polkadot/util": "2.0.1", "@polkadot/wasm-crypto": "0.20.1" } @@ -13714,10 +13674,7 @@ "@airgap/tezos": { "version": "file:packages/tezos/dist", "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*", "@airgap/sapling-wasm": "0.0.7", - "@airgap/serializer": "*", "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", "@stablelib/nacl": "^1.0.4", @@ -13729,11 +13686,7 @@ } }, "@airgap/wallet": { - "version": "file:packages/wallet/dist", - "requires": { - "@airgap/coinlib-core": "*", - "@airgap/module-kit": "*" - } + "version": "file:packages/wallet/dist" }, "@babel/helper-validator-identifier": { "version": "7.19.1", @@ -13890,8 +13843,7 @@ "crc": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/crc/-/crc-4.3.2.tgz", - "integrity": "sha512-uGDHf4KLLh2zsHa8D8hIQ1H/HtFQhyHrc0uhHBcoKGol/Xnb+MPYfUMw7cvON6ze/GUESTudKayDcJC5HnJv1A==", - "requires": {} + "integrity": "sha512-uGDHf4KLLh2zsHa8D8hIQ1H/HtFQhyHrc0uhHBcoKGol/Xnb+MPYfUMw7cvON6ze/GUESTudKayDcJC5HnJv1A==" } } }, @@ -14065,8 +14017,7 @@ "@graphql-typed-document-node/core": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz", - "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==", - "requires": {} + "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==" }, "@jridgewell/resolve-uri": { "version": "3.1.0", @@ -15049,8 +15000,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", - "dev": true, - "requires": {} + "dev": true }, "@octokit/plugin-rest-endpoint-methods": { "version": "2.4.0", @@ -15262,8 +15212,7 @@ "@polkadot/wasm-crypto": { "version": "0.20.1", "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-0.20.1.tgz", - "integrity": "sha512-HVmKEQoC7RTS15nGJkQDam8pvwBLjO/JJfhq1OI/zBSqi0KPoh2ZxThkyI+O4CjjY1W+HGvybe0uf0c+VDn62Q==", - "requires": {} + "integrity": "sha512-HVmKEQoC7RTS15nGJkQDam8pvwBLjO/JJfhq1OI/zBSqi0KPoh2ZxThkyI+O4CjjY1W+HGvybe0uf0c+VDn62Q==" }, "@protobufjs/aspromise": { "version": "1.1.2", @@ -17964,7 +17913,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "devOptional": true, + "dev": true, "requires": { "iconv-lite": "^0.6.2" }, @@ -17973,7 +17922,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "devOptional": true, + "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -22725,7 +22674,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "devOptional": true + "dev": true }, "scrypt-js": { "version": "3.0.1", @@ -23966,7 +23915,8 @@ "typescript": { "version": "4.8.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==" + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "dev": true }, "uglify-js": { "version": "3.17.4", diff --git a/packages/aeternity/package-lock.json b/packages/aeternity/package-lock.json index 26ce6825d..5cc0378dc 100644 --- a/packages/aeternity/package-lock.json +++ b/packages/aeternity/package-lock.json @@ -1,17 +1,17 @@ { "name": "@airgap/aeternity", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/aeternity", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", "@stablelib/ed25519": "1.0.3" } } diff --git a/packages/aeternity/package.json b/packages/aeternity/package.json index 580625b75..b5a7ed92f 100644 --- a/packages/aeternity/package.json +++ b/packages/aeternity/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/aeternity", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/aeternity is an Aeternity implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -31,9 +31,9 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", "@stablelib/ed25519": "1.0.3" }, "localDependencies": {}, diff --git a/packages/astar/package-lock.json b/packages/astar/package-lock.json index d681c78b8..4af087908 100644 --- a/packages/astar/package-lock.json +++ b/packages/astar/package-lock.json @@ -1,22 +1,22 @@ { "name": "@airgap/astar", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/astar", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "@polkadot/util": "2.0.1", "@polkadot/wasm-crypto": "0.20.1" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", - "@airgap/substrate": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@airgap/substrate": "^0.13.10" } }, "node_modules/@babel/runtime": { diff --git a/packages/astar/package.json b/packages/astar/package.json index e1e7f688d..49a816cca 100644 --- a/packages/astar/package.json +++ b/packages/astar/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/astar", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/astar is an Astar implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -37,10 +37,10 @@ "@polkadot/wasm-crypto": "0.20.1" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", - "@airgap/substrate": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@airgap/substrate": "^0.13.10" }, "localDependencies": {}, "nyc": { diff --git a/packages/bitcoin/package-lock.json b/packages/bitcoin/package-lock.json index cd3b425d4..6cbd54fc8 100644 --- a/packages/bitcoin/package-lock.json +++ b/packages/bitcoin/package-lock.json @@ -1,20 +1,20 @@ { "name": "@airgap/bitcoin", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/bitcoin", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "bitcoinjs-lib": "5.2.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "node_modules/@types/node": { diff --git a/packages/bitcoin/package.json b/packages/bitcoin/package.json index ba2c1e52a..e30ce8bcd 100644 --- a/packages/bitcoin/package.json +++ b/packages/bitcoin/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/bitcoin", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/bitcoin is a Bitcoin implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -34,9 +34,9 @@ "bitcoinjs-lib": "5.2.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" }, "localDependencies": { "bitcoinjs-message": "2.1.1" diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 3aac2c466..ffb407917 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@airgap/coinlib-core", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/coinlib-core", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "@stablelib/blake2b": "^1.0.1", diff --git a/packages/core/package.json b/packages/core/package.json index f9498217b..d71238de9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/coinlib-core", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.", "keywords": [ "airgap", diff --git a/packages/cosmos/package-lock.json b/packages/cosmos/package-lock.json index 3604369ce..e739d5d97 100644 --- a/packages/cosmos/package-lock.json +++ b/packages/cosmos/package-lock.json @@ -1,17 +1,17 @@ { "name": "@airgap/cosmos", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/cosmos", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } } } diff --git a/packages/cosmos/package.json b/packages/cosmos/package.json index 47ab555b6..a1add85de 100644 --- a/packages/cosmos/package.json +++ b/packages/cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/cosmos", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/cosmos is a Cosmos implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -31,9 +31,9 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" }, "localDependencies": {}, "nyc": { diff --git a/packages/ethereum/package-lock.json b/packages/ethereum/package-lock.json index 9e86e21f1..57a658d5a 100644 --- a/packages/ethereum/package-lock.json +++ b/packages/ethereum/package-lock.json @@ -1,12 +1,12 @@ { "name": "@airgap/ethereum", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/ethereum", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "@ethereumjs/common": "2.6.0", @@ -14,9 +14,9 @@ "@metamask/eth-sig-util": "4.0.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "node_modules/@ethereumjs/common": { diff --git a/packages/ethereum/package.json b/packages/ethereum/package.json index 8032bdbef..19c9a0759 100644 --- a/packages/ethereum/package.json +++ b/packages/ethereum/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/ethereum", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/ethereum is an Ethereum implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -36,9 +36,9 @@ "@metamask/eth-sig-util": "4.0.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" }, "localDependencies": { "ethereumjs-tx": "1.3.7", diff --git a/packages/groestlcoin/package-lock.json b/packages/groestlcoin/package-lock.json index efe1eeebb..eb096d7bb 100644 --- a/packages/groestlcoin/package-lock.json +++ b/packages/groestlcoin/package-lock.json @@ -1,18 +1,18 @@ { "name": "@airgap/groestlcoin", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/groestlcoin", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/bitcoin": "^0.13.9", - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/bitcoin": "^0.13.10", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } } } diff --git a/packages/groestlcoin/package.json b/packages/groestlcoin/package.json index 72231dabd..02d407a52 100644 --- a/packages/groestlcoin/package.json +++ b/packages/groestlcoin/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/groestlcoin", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/groestlcoin is a Groestlcoin implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -31,10 +31,10 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/bitcoin": "^0.13.9", - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/bitcoin": "^0.13.10", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" }, "localDependencies": { "groestlcoinjs-message": "2.1.0" diff --git a/packages/icp/package-lock.json b/packages/icp/package-lock.json index fafe9bc0f..4789ad76a 100644 --- a/packages/icp/package-lock.json +++ b/packages/icp/package-lock.json @@ -1,12 +1,12 @@ { "name": "@airgap/icp", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/icp", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "@dfinity/candid": "^0.15.1", @@ -19,9 +19,9 @@ "secp256k1": "^5.0.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", "@stablelib/ed25519": "1.0.3" } }, diff --git a/packages/icp/package.json b/packages/icp/package.json index de1b11f65..b193c24df 100644 --- a/packages/icp/package.json +++ b/packages/icp/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/icp", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/icp is an ICP implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -31,9 +31,9 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", "@stablelib/ed25519": "1.0.3" }, "dependencies": { diff --git a/packages/module-kit/package-lock.json b/packages/module-kit/package-lock.json index 74ecbbac8..790eb95a5 100644 --- a/packages/module-kit/package-lock.json +++ b/packages/module-kit/package-lock.json @@ -1,15 +1,15 @@ { "name": "@airgap/module-kit", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/module-kit", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10" } } } diff --git a/packages/module-kit/package.json b/packages/module-kit/package.json index 073be2d7a..bbd65ecf3 100644 --- a/packages/module-kit/package.json +++ b/packages/module-kit/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/module-kit", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "TODO", "keywords": [ "airgap", @@ -30,7 +30,7 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10" }, "nyc": { "include": [ diff --git a/packages/moonbeam/package-lock.json b/packages/moonbeam/package-lock.json index 85b85dba8..481f292a1 100644 --- a/packages/moonbeam/package-lock.json +++ b/packages/moonbeam/package-lock.json @@ -1,18 +1,18 @@ { "name": "@airgap/moonbeam", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/moonbeam", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", - "@airgap/substrate": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@airgap/substrate": "^0.13.10" } } } diff --git a/packages/moonbeam/package.json b/packages/moonbeam/package.json index 7b77fba23..efc18497d 100644 --- a/packages/moonbeam/package.json +++ b/packages/moonbeam/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/moonbeam", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/moonbeam is a Moonbeam implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -33,10 +33,10 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9", - "@airgap/substrate": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10", + "@airgap/substrate": "^0.13.10" }, "localDependencies": {}, "nyc": { diff --git a/packages/polkadot/package-lock.json b/packages/polkadot/package-lock.json index 3b27d5c02..c9b5ab09e 100644 --- a/packages/polkadot/package-lock.json +++ b/packages/polkadot/package-lock.json @@ -1,17 +1,17 @@ { "name": "@airgap/polkadot", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/polkadot", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/substrate": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/substrate": "^0.13.10" } } } diff --git a/packages/polkadot/package.json b/packages/polkadot/package.json index 3052602ac..952c73262 100644 --- a/packages/polkadot/package.json +++ b/packages/polkadot/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/polkadot", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/polkadot is a Polkadot implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -33,9 +33,9 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/substrate": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/substrate": "^0.13.10" }, "localDependencies": {}, "nyc": { diff --git a/packages/serializer/package-lock.json b/packages/serializer/package-lock.json index 822eae336..720682361 100644 --- a/packages/serializer/package-lock.json +++ b/packages/serializer/package-lock.json @@ -1,15 +1,15 @@ { "name": "@airgap/serializer", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/serializer", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10" } } } diff --git a/packages/serializer/package.json b/packages/serializer/package.json index 1b5a88238..cfaccddc1 100644 --- a/packages/serializer/package.json +++ b/packages/serializer/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/serializer", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/serializer provides serializers used in AirGap applications.", "keywords": [ "airgap", @@ -38,7 +38,7 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10" }, "localDependencies": {}, "nyc": { diff --git a/packages/substrate/package-lock.json b/packages/substrate/package-lock.json index 9b33d743b..9dbeab80c 100644 --- a/packages/substrate/package-lock.json +++ b/packages/substrate/package-lock.json @@ -1,21 +1,21 @@ { "name": "@airgap/substrate", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/substrate", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "@polkadot/util": "2.0.1", "@polkadot/wasm-crypto": "0.20.1" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "node_modules/@babel/runtime": { diff --git a/packages/substrate/package.json b/packages/substrate/package.json index eadc30868..cb3e85a47 100644 --- a/packages/substrate/package.json +++ b/packages/substrate/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/substrate", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/substrate is a Substrate base implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -37,9 +37,9 @@ "@polkadot/wasm-crypto": "0.20.1" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" }, "localDependencies": {}, "nyc": { diff --git a/packages/tezos/package-lock.json b/packages/tezos/package-lock.json index 38a0688b1..9dd7e1111 100644 --- a/packages/tezos/package-lock.json +++ b/packages/tezos/package-lock.json @@ -1,12 +1,12 @@ { "name": "@airgap/tezos", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/tezos", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "dependencies": { "@airgap/sapling-wasm": "0.0.7", @@ -20,9 +20,9 @@ "graphql-request": "^5.1.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" } }, "node_modules/@airgap/sapling-wasm": { diff --git a/packages/tezos/package.json b/packages/tezos/package.json index 13f6afeb0..4490260c2 100644 --- a/packages/tezos/package.json +++ b/packages/tezos/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/tezos", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "The @airgap/tezos is a Tezos implementation of the ICoinProtocol interface from @airgap/coinlib-core.", "keywords": [ "airgap", @@ -42,9 +42,9 @@ "graphql-request": "^5.1.0" }, "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9", - "@airgap/serializer": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10", + "@airgap/serializer": "^0.13.10" }, "localDependencies": { "@taquito/local-forging": "8.0.1-beta.1" diff --git a/packages/tezos/src/v0/protocol/indexerClient/TezosIndexerClient.ts b/packages/tezos/src/v0/protocol/indexerClient/TezosIndexerClient.ts index d532bab69..3f43c998a 100644 --- a/packages/tezos/src/v0/protocol/indexerClient/TezosIndexerClient.ts +++ b/packages/tezos/src/v0/protocol/indexerClient/TezosIndexerClient.ts @@ -16,7 +16,7 @@ export class TezosIndexerClient implements TezosProtocolIndexerClient { limit?: number, offset?: number ): Promise[]> { - const url = this.url(`/accounts/${address}/operations`, 'type=transaction', limit, offset) + const url = this.url('/operations/transactions', `anyof.target.sender=${address}&sort.desc=level`, limit, offset) const result = (await axios.get(url)).data return result.map((transaction) => ({ amount: new BigNumber(transaction.amount).toFixed(), diff --git a/packages/tezos/src/v1/indexer/TzKTIndexerClient.ts b/packages/tezos/src/v1/indexer/TzKTIndexerClient.ts index 53dfc04d7..484b5014d 100644 --- a/packages/tezos/src/v1/indexer/TzKTIndexerClient.ts +++ b/packages/tezos/src/v1/indexer/TzKTIndexerClient.ts @@ -16,7 +16,7 @@ export class TzKTIndexerClient implements TezosIndexerClient { limit?: number, offset?: number ): Promise, 'network'>[]> { - const url = this.url(`/accounts/${address}/operations`, 'type=transaction', limit, offset) + const url = this.url('/operations/transactions', `anyof.target.sender=${address}&sort.desc=level`, limit, offset) const result = (await axios.get(url)).data return result.map( diff --git a/packages/tezos/test/v0/tezos.spec.ts b/packages/tezos/test/v0/tezos.spec.ts index b740d1c2e..faf28ab15 100644 --- a/packages/tezos/test/v0/tezos.spec.ts +++ b/packages/tezos/test/v0/tezos.spec.ts @@ -277,9 +277,9 @@ describe(`ICoinProtocol Tezos - Custom Tests (v0)`, () => { it('can give a list of transactions from indexer API', async () => { getStub .withArgs( - `${(await tezosLib.getOptions()).network.extras.indexerClient.baseUrl}/v1/accounts/${ + `${(await tezosLib.getOptions()).network.extras.indexerClient.baseUrl}/v1/operations/transactions?anyof.target.sender=${ tezosProtocolSpec.wallet.addresses[0] - }/operations?type=transaction&limit=20` + }&sort.desc=level&limit=20` ) .returns( Promise.resolve({ @@ -1968,14 +1968,11 @@ describe(`ICoinProtocol Tezos - Custom Tests (v0)`, () => { .withArgs(`${tezosLib.jsonRPCAPI}/chains/main/blocks/head/context/contracts/KT1RZsEGgjQV5iSdpdY3MHKKHqNPuL9rn6wy/balance`) .returns(Promise.resolve({ data: 0 })) - return prepareSpend( - ['KT1X6SSqro2zUo1Wa7X5BnDWBvfBxZ6feUnc', 'KT1QLtQ54dKzcfwxMHmEM6PC8tooUg6MxDZ3'], - ['12345'], - '111' - ).catch((error: Error) => - expect(error) - .to.be.an('error') - .with.property('message', new ConditionViolationError(Domain.TEZOS, 'length of recipients and values does not match!').message) + return prepareSpend(['KT1X6SSqro2zUo1Wa7X5BnDWBvfBxZ6feUnc', 'KT1QLtQ54dKzcfwxMHmEM6PC8tooUg6MxDZ3'], ['12345'], '111').catch( + (error: Error) => + expect(error) + .to.be.an('error') + .with.property('message', new ConditionViolationError(Domain.TEZOS, 'length of recipients and values does not match!').message) ) }) }) diff --git a/packages/tezos/test/v1/stubs/tezos-fa1p2.stub.ts b/packages/tezos/test/v1/stubs/tezos-fa1p2.stub.ts index 00943f495..0d3b7357c 100644 --- a/packages/tezos/test/v1/stubs/tezos-fa1p2.stub.ts +++ b/packages/tezos/test/v1/stubs/tezos-fa1p2.stub.ts @@ -81,10 +81,12 @@ export class TezosFA1p2ProtocolStub implements ProtocolHTTPStub const getStub = sinon.stub(axios, 'get') getStub - .withArgs(`${protocolNetwork.indexer.apiUrl}/v1/accounts/${address}/operations?type=transaction&limit=${transactions.first.length}`) + .withArgs( + `${protocolNetwork.indexer.apiUrl}/v1/operations/transactions?anyof.target.sender=${address}&sort.desc=level&limit=${transactions.first.length}` + ) .returns(Promise.resolve({ data: transactions.first })) .withArgs( - `${protocolNetwork.indexer.apiUrl}/v1/accounts/${address}/operations?type=transaction&limit=${ + `${protocolNetwork.indexer.apiUrl}/v1/operations/transactions?anyof.target.sender=${address}&sort.desc=level&limit=${ transactions.next.length + 1 }&offset=${transactions.first.length}` ) diff --git a/packages/tezos/test/v1/stubs/tezos.stub.ts b/packages/tezos/test/v1/stubs/tezos.stub.ts index cc6aa1cfa..7e78ec386 100644 --- a/packages/tezos/test/v1/stubs/tezos.stub.ts +++ b/packages/tezos/test/v1/stubs/tezos.stub.ts @@ -81,10 +81,12 @@ export class TezosProtocolStub implements ProtocolHTTPStub { const getStub = sinon.stub(axios, 'get') getStub - .withArgs(`${protocolNetwork.indexer.apiUrl}/v1/accounts/${address}/operations?type=transaction&limit=${transactions.first.length}`) + .withArgs( + `${protocolNetwork.indexer.apiUrl}/v1/operations/transactions?anyof.target.sender=${address}&sort.desc=level&limit=${transactions.first.length}` + ) .returns(Promise.resolve({ data: transactions.first })) .withArgs( - `${protocolNetwork.indexer.apiUrl}/v1/accounts/${address}/operations?type=transaction&limit=${ + `${protocolNetwork.indexer.apiUrl}/v1/operations/transactions?anyof.target.sender=${address}&sort.desc=level&limit=${ transactions.next.length + 1 }&offset=${transactions.first.length}` ) diff --git a/packages/tezos/test/v1/tezos.spec.ts b/packages/tezos/test/v1/tezos.spec.ts index be2d93fbc..dfab3f2b0 100644 --- a/packages/tezos/test/v1/tezos.spec.ts +++ b/packages/tezos/test/v1/tezos.spec.ts @@ -213,7 +213,7 @@ describe(`TezosProtocol - Custom Tests`, () => { getStub .withArgs( - `${protocolNetwork.indexer.apiUrl}/v1/accounts/${tezosProtocolSpec.wallet.addresses[0]}/operations?type=transaction&limit=20` + `${protocolNetwork.indexer.apiUrl}/v1/operations/transactions?anyof.target.sender=${tezosProtocolSpec.wallet.addresses[0]}&sort.desc=level&limit=20` ) .returns( Promise.resolve({ @@ -254,7 +254,7 @@ describe(`TezosProtocol - Custom Tests`, () => { fee: newAmount('413', 'blockchain').toJSON(), from: ['tz1YvE7Sfo92ueEPEdZceNWd5MWNeMNSt16L'], isInbound: false, - network: (undefined as any) as ProtocolNetwork, + network: undefined as any as ProtocolNetwork, timestamp: new Date('2021-05-24T06:21:18Z').getTime() / 1000, to: ['tz1M4axJezHXX5my1uQEXYXmeVPp5vXnK8bH'], status: { diff --git a/packages/wallet/package-lock.json b/packages/wallet/package-lock.json index eb520ca9a..f8ad3c1f3 100644 --- a/packages/wallet/package-lock.json +++ b/packages/wallet/package-lock.json @@ -1,16 +1,16 @@ { "name": "@airgap/wallet", - "version": "0.13.10-beta.3", + "version": "0.13.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@airgap/wallet", - "version": "0.13.10-beta.3", + "version": "0.13.10", "license": "MIT", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10" } } } diff --git a/packages/wallet/package.json b/packages/wallet/package.json index f5323cbc4..37cbd9ca5 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@airgap/wallet", - "version": "0.13.10-beta.3", + "version": "0.13.10", "description": "TODO", "keywords": [ "airgap" @@ -28,8 +28,8 @@ }, "author": "Papers GmbH (https://papers.ch)", "peerDependencies": { - "@airgap/coinlib-core": "^0.13.9", - "@airgap/module-kit": "^0.13.9" + "@airgap/coinlib-core": "^0.13.10", + "@airgap/module-kit": "^0.13.10" }, "nyc": { "include": [