Skip to content

Commit e73202d

Browse files
committed
fix: rename admin latest
- admin latest does not exist, replace with staging Ticket: CE-00000
1 parent 7de803e commit e73202d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

modules/bitgo/test/unit/bitgo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('BitGo Prototype Methods', function () {
103103
(() => TestBitGo.decorate(BitGo, { env: 'dev', hmacVerification: false })).should.not.throw();
104104
(() => TestBitGo.decorate(BitGo, { env: 'latest', hmacVerification: false })).should.not.throw();
105105
(() => TestBitGo.decorate(BitGo, { env: 'adminDev', hmacVerification: false })).should.not.throw();
106-
(() => TestBitGo.decorate(BitGo, { env: 'adminLatest', hmacVerification: false })).should.not.throw();
106+
(() => TestBitGo.decorate(BitGo, { env: 'adminStaging', hmacVerification: false })).should.not.throw();
107107
(() => TestBitGo.decorate(BitGo, { env: 'local', hmacVerification: false })).should.not.throw();
108108
(() => TestBitGo.decorate(BitGo, { env: 'localNonSecure', hmacVerification: false })).should.not.throw();
109109
(() =>

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ export type EnvironmentName =
114114
| 'mock'
115115
| 'adminProd'
116116
| 'adminTest'
117+
| 'adminStaging'
117118
| 'adminDev'
118-
| 'adminLatest'
119+
| 'adminStaging'
119120
| 'custom'
120121
| 'branch';
121122

@@ -328,9 +329,9 @@ export const Environments: Environments = {
328329
uri: 'https://admin.bitgo-dev.com',
329330
stellarFederationServerUrl: 'https://admin.bitgo-dev.com/api/v2/txlm/federation',
330331
}),
331-
adminLatest: Object.assign({}, devBase, {
332-
uri: 'https://admin.bitgo-latest.com',
333-
stellarFederationServerUrl: 'https://admin.bitgo-latest.com/api/v2/xlm/federation',
332+
adminStaging: Object.assign({}, devBase, {
333+
uri: 'https://admin.bitgo-staging.com',
334+
stellarFederationServerUrl: 'https://admin.bitgo-staging.com/api/v2/xlm/federation',
334335
}),
335336
custom: Object.assign({}, mainnetBase, {
336337
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion

0 commit comments

Comments
 (0)