Skip to content

Commit 2c9d5c1

Browse files
authored
fix: remove default waypoint client id (#26)
1 parent 6f2609c commit 2c9d5c1

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

packages/connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sky-mavis/tanto-connect",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Tanto Connect",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

packages/connect/src/common/constant.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ export const RONIN_WALLET_RDNS = 'com.roninchain.wallet';
66

77
export const DEFAULT_DELAY_TIME = 700;
88

9-
export const WAYPOINT_CLIENT_ID = 'ced25363-9cab-4e50-b1bc-0e583b93c3a2';
10-
119
export const WAYPOINT_ORIGIN_STAGING = 'https://id.skymavis.one';
1210

1311
export const WC_SUPPORTED_CHAIN_IDS: ArrayOneOrMore<number> = [ChainIds.RoninMainnet, ChainIds.RoninTestnet];

packages/connect/src/providers/waypoint-provider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { WaypointProvider } from '@sky-mavis/waypoint';
22

33
import { ChainIds } from '../common/chain';
4-
import { WAYPOINT_CLIENT_ID } from '../common/constant';
54
import { ConnectorError, ConnectorErrorType } from '../types/connector-error';
65

76
export type WaypointScope = 'openid' | 'profile' | 'email' | 'wallet';
@@ -17,7 +16,7 @@ export const requestWaypointProvider = (configs?: IWaypointProviderConfigs) => {
1716
const { chainId, clientId, waypointOrigin, scopes } = configs || {};
1817

1918
const waypointProvider = WaypointProvider.create({
20-
clientId: clientId || WAYPOINT_CLIENT_ID,
19+
clientId: clientId as string,
2120
chainId: chainId || ChainIds.RoninMainnet,
2221
waypointOrigin,
2322
scopes,

0 commit comments

Comments
 (0)