Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "updated gaiahub url" #209

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const XVERSE_INSCRIBE_URL = 'https://inscribe.xverse.app';

export const XVERSE_SPONSOR_URL = 'https://sponsor.xverse.app';

export const GAIA_HUB_URL = 'https://hub.hiro.so';
export const GAIA_HUB_URL = 'https://hub.blockstack.org';

export const XORD_MAINNET_URL = 'https://inscribe.xverse.app';

Expand Down
4 changes: 1 addition & 3 deletions tests/connect/createAuthResponse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { describe, expect, it, vi } from 'vitest';

import { createAuthResponse } from '../../connect';
import { testSeed } from '../mocks/restore.mock';
import { GAIA_HUB_URL } from '../../constant';

vi.mock('@stacks/wallet-sdk');

Expand All @@ -29,15 +28,14 @@ describe('createAuthResponse', () => {
expect(mockedMakeAuthResponse).toHaveBeenCalledWith({
account: {
appsKey:
// eslint-disable-next-line max-len
'xprvA1y7VptWdGrgEKGiMJUFFJYadomEi8j895uwk9Z7D1EMF2gzjQCk1dLqdUWAxzZgdVedh9zmd8adisr8FtqiCBZSDWbbmmtBR2KnbwZ9jzd',
dataPrivateKey: '3637609c5bba9d92acab8a86bb78a8dfdb3a69228c6c6a50ccfbf17c51ec23ed',
index: 0,
salt: expect.any(String),
stxPrivateKey: '3d30deda5e636d2707e8890531ffbfdd12d20a0be6bde1aa9d479609c60cb23201',
},
appDomain: 'https://app.dummy.org',
gaiaHubUrl: GAIA_HUB_URL,
gaiaHubUrl: 'https://hub.blockstack.org',
scopes: ['test_scope'],
transitPublicKey: 'public_key',
});
Expand Down