Skip to content

Commit 9cc7236

Browse files
committed
fix(sdk-coin-fetchai): change asset name from fetch to fetchai
TICKET: COIN-4128 BREAKING CHANGE: Changing module/asset name from fetch to fetchai
1 parent d713150 commit 9cc7236

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+100
-100
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
/modules/sdk-coin-cspr/ @BitGo/ethalt-team
6262
/modules/sdk-coin-dot/ @BitGo/ethalt-team
6363
/modules/sdk-coin-eos/ @BitGo/ethalt-team
64-
/modules/sdk-coin-fetch/ @BitGo/ethalt-team
64+
/modules/sdk-coin-fetchai/ @BitGo/ethalt-team
6565
/modules/sdk-coin-flr/ @BitGo/ethalt-team
6666
/modules/sdk-coin-ethlike/ @BitGo/ethalt-team
6767
/modules/sdk-coin-hbar/ @BitGo/ethalt-team

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-cronos /var/modules/sdk-coin-cro
7676
COPY --from=builder /tmp/bitgo/modules/sdk-coin-cspr /var/modules/sdk-coin-cspr/
7777
COPY --from=builder /tmp/bitgo/modules/sdk-coin-dot /var/modules/sdk-coin-dot/
7878
COPY --from=builder /tmp/bitgo/modules/sdk-coin-etc /var/modules/sdk-coin-etc/
79-
COPY --from=builder /tmp/bitgo/modules/sdk-coin-fetch /var/modules/sdk-coin-fetch/
79+
COPY --from=builder /tmp/bitgo/modules/sdk-coin-fetchai /var/modules/sdk-coin-fetchai/
8080
COPY --from=builder /tmp/bitgo/modules/sdk-coin-flr /var/modules/sdk-coin-flr/
8181
COPY --from=builder /tmp/bitgo/modules/sdk-coin-hash /var/modules/sdk-coin-hash/
8282
COPY --from=builder /tmp/bitgo/modules/sdk-coin-hbar /var/modules/sdk-coin-hbar/
@@ -169,7 +169,7 @@ cd /var/modules/sdk-coin-cronos && yarn link && \
169169
cd /var/modules/sdk-coin-cspr && yarn link && \
170170
cd /var/modules/sdk-coin-dot && yarn link && \
171171
cd /var/modules/sdk-coin-etc && yarn link && \
172-
cd /var/modules/sdk-coin-fetch && yarn link && \
172+
cd /var/modules/sdk-coin-fetchai && yarn link && \
173173
cd /var/modules/sdk-coin-flr && yarn link && \
174174
cd /var/modules/sdk-coin-hash && yarn link && \
175175
cd /var/modules/sdk-coin-hbar && yarn link && \
@@ -265,7 +265,7 @@ RUN cd /var/bitgo-express && \
265265
yarn link @bitgo/sdk-coin-cspr && \
266266
yarn link @bitgo/sdk-coin-dot && \
267267
yarn link @bitgo/sdk-coin-etc && \
268-
yarn link @bitgo/sdk-coin-fetch && \
268+
yarn link @bitgo/sdk-coin-fetchai && \
269269
yarn link @bitgo/sdk-coin-flr && \
270270
yarn link @bitgo/sdk-coin-hash && \
271271
yarn link @bitgo/sdk-coin-hbar && \

modules/account-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@bitgo/sdk-coin-dot": "^4.1.57",
4646
"@bitgo/sdk-coin-etc": "^2.2.46",
4747
"@bitgo/sdk-coin-eth": "^24.4.2",
48-
"@bitgo/sdk-coin-fetch": "^1.1.0",
48+
"@bitgo/sdk-coin-fetchai": "^1.1.0",
4949
"@bitgo/sdk-coin-flr": "^1.2.3",
5050
"@bitgo/sdk-coin-hash": "^3.0.48",
5151
"@bitgo/sdk-coin-hbar": "^2.0.79",

modules/account-lib/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ export { Mantra };
113113
import * as Cronos from '@bitgo/sdk-coin-cronos';
114114
export { Cronos };
115115

116-
import * as Fetch from '@bitgo/sdk-coin-fetch';
117-
export { Fetch };
116+
import * as FetchAi from '@bitgo/sdk-coin-fetchai';
117+
export { FetchAi };
118118

119119
import * as Initia from '@bitgo/sdk-coin-initia';
120120
export { Initia };
@@ -272,8 +272,8 @@ const coinBuilderMap = {
272272
tbaby: Baby.TransactionBuilder,
273273
cronos: Cronos.TransactionBuilder,
274274
tcronos: Cronos.TransactionBuilder,
275-
fetch: Fetch.TransactionBuilder,
276-
tfetch: Fetch.TransactionBuilder,
275+
fetchai: FetchAi.TransactionBuilder,
276+
tfetchai: FetchAi.TransactionBuilder,
277277
initia: Initia.TransactionBuilder,
278278
tinitia: Initia.TransactionBuilder,
279279
flr: Flr.TransactionBuilder,

modules/bitgo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"@bitgo/sdk-coin-eth": "^24.4.2",
7979
"@bitgo/sdk-coin-ethlike": "^1.2.14",
8080
"@bitgo/sdk-coin-ethw": "^20.0.79",
81-
"@bitgo/sdk-coin-fetch": "^1.1.0",
81+
"@bitgo/sdk-coin-fetchai": "^1.1.0",
8282
"@bitgo/sdk-coin-flr": "^1.2.3",
8383
"@bitgo/sdk-coin-hash": "^3.0.48",
8484
"@bitgo/sdk-coin-hbar": "^2.0.79",

modules/bitgo/src/v2/coinFactory.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import {
4848
Eth,
4949
Ethw,
5050
EthLikeCoin,
51-
Fetch,
51+
FetchAi,
5252
Flr,
5353
TethLikeCoin,
5454
FiatAED,
@@ -121,7 +121,7 @@ import {
121121
Teos,
122122
Tetc,
123123
Teth,
124-
Tfetch,
124+
TfetchAi,
125125
Tflr,
126126
Tmon,
127127
TfiatAED,
@@ -219,7 +219,7 @@ export function registerCoinConstructors(coinFactory: CoinFactory, coinMap: Coin
219219
coinFactory.register('fiatgbp', FiatGBP.createInstance);
220220
coinFactory.register('fiatsgd', FiatSGD.createInstance);
221221
coinFactory.register('fiatusd', FiatUsd.createInstance);
222-
coinFactory.register('fetch', Fetch.createInstance);
222+
coinFactory.register('fetchai', FetchAi.createInstance);
223223
coinFactory.register('flr', Flr.createInstance);
224224
coinFactory.register('gteth', Gteth.createInstance);
225225
coinFactory.register('hash', Hash.createInstance);
@@ -287,7 +287,7 @@ export function registerCoinConstructors(coinFactory: CoinFactory, coinMap: Coin
287287
coinFactory.register('tfiatgbp', TfiatGBP.createInstance);
288288
coinFactory.register('tfiatsgd', TfiatSGD.createInstance);
289289
coinFactory.register('tfiatusd', TfiatUsd.createInstance);
290-
coinFactory.register('tfetch', Tfetch.createInstance);
290+
coinFactory.register('tfetchai', TfetchAi.createInstance);
291291
coinFactory.register('tflr', Tflr.createInstance);
292292
coinFactory.register('tmon', Tmon.createInstance);
293293
coinFactory.register('thash', Thash.createInstance);

modules/bitgo/src/v2/coins/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { Dot, Tdot } from '@bitgo/sdk-coin-dot';
2727
import { Eos, EosToken, Teos } from '@bitgo/sdk-coin-eos';
2828
import { Etc, Tetc } from '@bitgo/sdk-coin-etc';
2929
import { Erc20Token, Eth, Gteth, Hteth, Teth } from '@bitgo/sdk-coin-eth';
30-
import { Fetch, Tfetch } from '@bitgo/sdk-coin-fetch';
30+
import { FetchAi, TfetchAi } from '@bitgo/sdk-coin-fetchai';
3131
import { Flr, Tflr } from '@bitgo/sdk-coin-flr';
3232
import { Ethw } from '@bitgo/sdk-coin-ethw';
3333
import { EthLikeCoin, TethLikeCoin } from '@bitgo/sdk-coin-ethlike';
@@ -100,7 +100,7 @@ export { Erc20Token, Eth, Gteth, Hteth, Teth };
100100
export { Ethw };
101101
export { EthLikeCoin, TethLikeCoin };
102102
export { Etc, Tetc };
103-
export { Fetch, Tfetch };
103+
export { FetchAi, TfetchAi };
104104
export { Flr, Tflr };
105105
export { Hash, Thash };
106106
export { Hbar, Thbar };

modules/bitgo/test/v2/unit/keychains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('V2 Keychains', function () {
8282
n.asset !== UnderlyingAsset.SONEIUM &&
8383
n.asset !== UnderlyingAsset.VET &&
8484
n.asset !== UnderlyingAsset.CRONOS &&
85-
n.asset !== UnderlyingAsset.FETCH &&
85+
n.asset !== UnderlyingAsset.FETCHAI &&
8686
n.asset !== UnderlyingAsset.INITIA &&
8787
coinFamilyValues.includes(n.name)
8888
);

modules/bitgo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"path": "../sdk-coin-ethw"
148148
},
149149
{
150-
"path": "../sdk-coin-fetch"
150+
"path": "../sdk-coin-fetchai"
151151
},
152152
{
153153
"path": "../sdk-coin-flr"

modules/sdk-coin-fetch/src/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)