Skip to content

Commit

Permalink
ci: fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Papirniy committed Jan 31, 2022
1 parent ca45c77 commit 3de2977
Show file tree
Hide file tree
Showing 46 changed files with 66 additions and 66 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tatumio",
"version": "2.0.0-alpha.201",
"version": "2.0.0-alpha.202",
"license": "MIT",
"scripts": {
"start": "nx serve",
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/bch/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-bch",
"name": "@tatumio/bch",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/bch/src/lib/bch.sdk.errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SdkError, SdkErrorCode } from '@tatumio/abstract-sdk'
import { SdkError, SdkErrorCode } from '@tatumio/shared-abstract-sdk'

export const BCH_ERRORS_MAPPING = {
'Transaction has absurd fees': SdkErrorCode.BTC_FEE_IS_TOO_LARGE,
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/bch/src/lib/bch.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Blockchain } from '@tatumio/shared-core'
import { btcBasedSdk } from '@tatumio/shared-blockchain-btc-based'
import { BlockchainBitcoinCashService } from '@tatumio/api-client'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { bchTransactions } from './bch.sdk.tx'
import { bchWallet } from './bch.sdk.wallet'

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/bch/src/lib/bch.sdk.tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from '@tatumio/api-client'
import { bcashAddressHelper } from './utils/bch.address'
import { BchSdkError } from './bch.sdk.errors'
import { amountUtils, SdkErrorCode } from '@tatumio/abstract-sdk'
import { amountUtils, SdkErrorCode } from '@tatumio/shared-abstract-sdk'

import coininfo from 'coininfo'
import { ECPair, ECSignature, TransactionBuilder } from '@tatumio/bitcoincashjs2-lib'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/bsc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-bsc",
"name": "@tatumio/bsc",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/bsc/src/lib/bsc.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { evmBasedSdk } from '@tatumio/shared-blockchain-evm-based'
import { Blockchain, Web3Request, Web3Response } from '@tatumio/shared-core'
import { BlockchainBscService } from '@tatumio/api-client'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { bscWeb3 } from './services/bsc.web3'
import { bscKmsService } from './services/bsc.kms'
import { bscTxService } from './services/bsc.tx'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/btc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-btc",
"name": "@tatumio/btc",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/btc/src/lib/__tests__/btc.tx.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as apiClient from '@tatumio/api-client'
import { BtcTransactionFromAddress, BtcTransactionFromUTXO, BtcTx } from '@tatumio/api-client'
import { btcTransactions } from '../transaction/btc.tx'
import { btcBasedTxTestFactory, mockHelper } from '@tatumio/shared-testing'
import { amountUtils } from '@tatumio/abstract-sdk'
import { amountUtils } from '@tatumio/shared-abstract-sdk'

jest.mock('@tatumio/api-client')
const mockedApi = mockHelper.mockApi(apiClient)
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/btc/src/lib/btc.sdk.errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SdkError, SdkErrorCode } from '@tatumio/abstract-sdk'
import { SdkError, SdkErrorCode } from '@tatumio/shared-abstract-sdk'

/**
* https://github.com/bitpay/bitcore/blob/v8.0.0/packages/bitcore-lib/lib/errors/spec.js
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/btc/src/lib/btc.sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Blockchain } from '@tatumio/shared-core'
import { btcBasedSdk } from '@tatumio/shared-blockchain-btc-based'
import { BlockchainBitcoinService } from '@tatumio/api-client'
import { btcTransactions } from './transaction/btc.tx'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'

const blockchain = Blockchain.BTC

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/btc/src/lib/transaction/btc.tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
BtcTransactionFromUTXOKMS,
TransactionHashKMS,
} from '@tatumio/api-client'
import { amountUtils, SdkErrorCode } from '@tatumio/abstract-sdk'
import { amountUtils, SdkErrorCode } from '@tatumio/shared-abstract-sdk'
import { BtcSdkError } from '../btc.sdk.errors'
import { BtcBasedTx } from '@tatumio/shared-blockchain-btc-based'

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/celo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-celo",
"name": "@tatumio/celo",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/celo/src/lib/celo.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Blockchain, Web3Request, Web3Response } from '@tatumio/shared-core'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { BlockchainCeloService } from '@tatumio/api-client'
import { celoWeb3 } from './services/celo.web3'
import { evmBasedSdk } from '@tatumio/shared-blockchain-evm-based'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/doge/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-doge",
"name": "@tatumio/doge",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/doge/src/lib/doge.sdk.errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SdkError, SdkErrorCode } from '@tatumio/abstract-sdk'
import { SdkError, SdkErrorCode } from '@tatumio/shared-abstract-sdk'

export const DOGE_ERRORS_MAPPING = {
'dogecore.ErrorTransactionFeeErrorTooSmall': SdkErrorCode.BTC_FEE_TOO_SMALL,
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/doge/src/lib/doge.sdk.tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TransactionHashKMS,
} from '@tatumio/api-client'
import { BtcBasedTx } from '@tatumio/shared-blockchain-btc-based'
import { amountUtils } from '@tatumio/abstract-sdk'
import { amountUtils } from '@tatumio/shared-abstract-sdk'
import { DogeSdkError } from './doge.sdk.errors'

export type DogeTransaction = DogeTransactionUTXO | DogeTransactionUTXOKMS
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/eth/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-eth",
"name": "@tatumio/eth",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/eth/src/lib/eth.sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BlockchainEthereumService } from '@tatumio/api-client'
import { ethWeb3 } from './services/eth.web3'
import { ethKmsService } from './services/eth.kms'
import { ethTx } from './services/eth.tx'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'

const blockchain = Blockchain.ETH

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/kcs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-kcs",
"name": "@tatumio/kcs",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/kcs/src/lib/kcs.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { evmBasedSdk } from '@tatumio/shared-blockchain-evm-based'
import { Blockchain, Web3Request, Web3Response } from '@tatumio/shared-core'
import { BlockchainKcsKcsService } from '@tatumio/api-client'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { kcsWeb3 } from './services/kcs.web3'
import { kcsKmsService } from './services/kcs.kms'
import { kcsTxService } from './services/kcs.tx'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/ltc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-ltc",
"name": "@tatumio/ltc",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/ltc/src/lib/ltc.sdk.errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SdkError, SdkErrorCode } from '@tatumio/abstract-sdk'
import { SdkError, SdkErrorCode } from '@tatumio/shared-abstract-sdk'

export const LTC_ERRORS_MAPPING = {}

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/ltc/src/lib/ltc.sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Blockchain } from '@tatumio/shared-core'
import { btcBasedSdk } from '@tatumio/shared-blockchain-btc-based'
import { BlockchainLitecoinService } from '@tatumio/api-client'
import { ltcTransactions } from './transaction/ltc.tx'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'

const blockchain = Blockchain.LTC

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/ltc/src/lib/transaction/ltc.tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
LtcTransactionUTXOKMS,
TransactionHashKMS,
} from '@tatumio/api-client'
import { amountUtils, SdkErrorCode } from '@tatumio/abstract-sdk'
import { amountUtils, SdkErrorCode } from '@tatumio/shared-abstract-sdk'
import BigNumber from 'bignumber.js'
import { LtcSdkError } from '../ltc.sdk.errors'
import { BtcBasedTx } from '@tatumio/shared-blockchain-btc-based'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/one/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-one",
"name": "@tatumio/one",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/one/src/lib/one.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Blockchain, Web3Request, Web3Response } from '@tatumio/shared-core'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { BlockchainHarmonyOneService } from '@tatumio/api-client'
import { oneWeb3 } from './services/one.web3'
import { evmBasedSdk } from '@tatumio/shared-blockchain-evm-based'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/polygon/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-polygon",
"name": "@tatumio/polygon",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/polygon/src/lib/polygon.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { evmBasedSdk } from '@tatumio/shared-blockchain-evm-based'
import { Blockchain, Web3Request, Web3Response } from '@tatumio/shared-core'
import { BlockchainPolygonMaticService } from '@tatumio/api-client'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { polygonWeb3 } from './services/polygon.web3'
import { polygonKmsService } from './services/polygon.kms'
import { polygonTxService } from './services/polygon.tx'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/scrypta/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-scrypta",
"name": "@tatumio/scrypta",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '@tatumio/shared-testing'
import * as apiClient from '@tatumio/api-client'
import { BtcTx, ScryptaTransaction } from '@tatumio/api-client'
import { btcBasedTxTestFactory, mockHelper } from '@tatumio/shared-testing'
import { amountUtils } from '@tatumio/abstract-sdk'
import { amountUtils } from '@tatumio/shared-abstract-sdk'
import { scryptaTransactions } from '../scrypta.sdk.tx'

jest.mock('@tatumio/api-client')
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/scrypta/src/lib/scrpta.sdk.errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SdkError, SdkErrorCode } from '@tatumio/abstract-sdk'
import { SdkError, SdkErrorCode } from '@tatumio/shared-abstract-sdk'

export const SCRYPTA_ERRORS_MAPPING = {}

Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/scrypta/src/lib/scrypta.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Blockchain } from '@tatumio/shared-core'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { btcBasedSdk, btcBasedWallet } from '@tatumio/shared-blockchain-btc-based'
import { BlockchainScryptaService } from '@tatumio/api-client'
import { scryptaTransactions } from './scrypta.sdk.tx'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/scrypta/src/lib/scrypta.sdk.tx.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BtcBasedTx } from '@tatumio/shared-blockchain-btc-based'
import { ApiServices, ScryptaTransaction, TransactionHashKMS } from '@tatumio/api-client'
import { ECPair, TransactionBuilder } from 'bitcoinjs-lib'
import { amountUtils } from '@tatumio/abstract-sdk'
import { amountUtils } from '@tatumio/shared-abstract-sdk'
import { Blockchain, getNetworkConfig } from '@tatumio/shared-core'

const sendTransaction = async (
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/xlm/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-xlm",
"name": "@tatumio/xlm",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/xlm/src/lib/xlm.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BlockchainXlmService } from '@tatumio/api-client'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { abstractBlockchainSdk } from '@tatumio/shared-blockchain-abstract'
import { Blockchain } from '@tatumio/shared-core'
import { xlmOffchainService } from './services/xlm.offchain'
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/xrp/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/sdk-xrp",
"name": "@tatumio/xrp",
"version": "v2.0.0-alpha.201",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/xrp/src/lib/xrp.sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BlockchainXrpService } from '@tatumio/api-client'
import { SDKArguments } from '@tatumio/abstract-sdk'
import { SDKArguments } from '@tatumio/shared-abstract-sdk'
import { abstractBlockchainSdk } from '@tatumio/shared-blockchain-abstract'
import { Blockchain } from '@tatumio/shared-core'
import { xrpOffchainService } from './services/xrp.offchain'
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/lib/sdk.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TatumBtcSDK } from '@tatumio/btc'
import { walletSdk } from './services/sdk.wallet'
import { BlockchainRecordService, TatumUrl } from '@tatumio/api-client'
import { abstractSdk } from '@tatumio/abstract-sdk'
import { abstractSdk } from '@tatumio/shared-abstract-sdk'
import { sdkKms } from './services/sdk.kms'
import { TatumEthSDK } from '@tatumio/eth'
import { Currency, Web3Request, Web3Response } from '@tatumio/shared-core'
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/lib/services/sdk.kms.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SecurityKeyManagementSystemService } from '@tatumio/api-client'
import { abstractSdkKms } from '@tatumio/abstract-sdk'
import { abstractSdkKms } from '@tatumio/shared-abstract-sdk'
import { SDKS } from '../sdk.common'

export const sdkKms = (args: { sdks: SDKS }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
XrpWallet,
} from '@tatumio/api-client'
import { Blockchain, blockchainHelper, Fiat } from '@tatumio/shared-core'
import { abstractSdk } from '@tatumio/abstract-sdk'
import { abstractSdk } from '@tatumio/shared-abstract-sdk'
import { abstractBlockchainKms } from './services/kms.abstract-blockchain'
import { abstractBlockchainOffchain } from './services/offchain.abstract-blockchain'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Blockchain, blockchainHelper } from '@tatumio/shared-core'
import { ApiServices, CancelablePromise, PendingTransaction } from '@tatumio/api-client'
import { abstractSdkKms } from '@tatumio/abstract-sdk'
import { abstractSdkKms } from '@tatumio/shared-abstract-sdk'

export const abstractBlockchainKms = (args: { blockchain: Blockchain }) => {
const superObject = abstractSdkKms()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { abstractSdkOffChain } from '@tatumio/abstract-sdk'
import { abstractSdkOffChain } from '@tatumio/shared-abstract-sdk'
import { Blockchain, blockchainHelper } from '@tatumio/shared-core'

export const abstractBlockchainOffchain = (args: { blockchain: Blockchain }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../../index'
import { BtcBasedTx } from '@tatumio/shared-blockchain-btc-based'
import { SdkErrorCode } from '@tatumio/abstract-sdk'
import { SdkErrorCode } from '@tatumio/shared-abstract-sdk'
import { testHelper } from '../test.helper'
import { BroadcastKMS, CancelablePromise, TransactionHashKMS } from '@tatumio/api-client'

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"allowJs": true,
"baseUrl": ".",
"paths": {
"@tatumio/abstract-sdk": ["packages/shared/abstract-sdk/src/index.ts"],
"@tatumio/api-client": ["packages/api-client/src/index.ts"],
"@tatumio/bch": ["packages/blockchain/bch/src/index.ts"],
"@tatumio/bsc": ["packages/blockchain/bsc/src/index.ts"],
Expand All @@ -32,6 +31,7 @@
"@tatumio/polygon": ["packages/blockchain/polygon/src/index.ts"],
"@tatumio/scrypta": ["packages/blockchain/scrypta/src/index.ts"],
"@tatumio/sdk": ["packages/sdk/src/index.ts"],
"@tatumio/shared-abstract-sdk": ["packages/shared/abstract-sdk/src/index.ts"],
"@tatumio/shared-blockchain-abstract": ["packages/shared/blockchain/abstract/src/index.ts"],
"@tatumio/shared-blockchain-btc-based": ["packages/shared/blockchain/btc-based/src/index.ts"],
"@tatumio/shared-blockchain-evm-based": ["packages/shared/blockchain/evm-based/src/index.ts"],
Expand Down
Loading

0 comments on commit 3de2977

Please sign in to comment.