diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts index da60de4b..df4be9fc 100644 --- a/packages/sdk/src/index.ts +++ b/packages/sdk/src/index.ts @@ -1,7 +1,7 @@ import { MoneriumClient } from './client'; export { default as constants } from './constants'; export * from './types'; -export { placeOrderMessage, rfc3339, getChain, getNetwork } from './utils'; +export { placeOrderMessage, rfc3339, getChain } from './utils'; export { MoneriumClient }; export default MoneriumClient; diff --git a/packages/sdk/test/client.test.ts b/packages/sdk/test/client.test.ts index 90636706..03774609 100644 --- a/packages/sdk/test/client.test.ts +++ b/packages/sdk/test/client.test.ts @@ -19,7 +19,7 @@ import { PaymentStandard, } from '../src/types'; import { rfc3339 } from '../src/utils'; -import { getChain, getNetwork } from '../src/utils'; +import { getChain } from '../src/utils'; import { APP_ONE_AUTH_FLOW_CLIENT_ID, APP_ONE_CREDENTIALS_CLIENT_ID, @@ -468,9 +468,6 @@ describe.skip('MoneriumClient', () => { expect(getChain(1)).toBe('ethereum'); expect(getChain(137)).toBe('polygon'); expect(getChain(80002)).toBe('polygon'); - expect(getNetwork(1)).toBe('mainnet'); - expect(getNetwork(137)).toBe('mainnet'); - expect(getNetwork(10200)).toBe('chiado'); }); });