@rabby-wallet/rabby-api 0.9.30-beta.4 → 0.9.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/utils.d.ts CHANGED
@@ -2,7 +2,7 @@ import { CHAINS } from '@debank/common';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
  export declare const getChain: (chainId?: string) => import("@debank/common").Chain | null;
4
4
  export declare const getChainByNetwork: (network?: string | number) => import("@debank/common").Chain | null;
5
- export declare const INITIAL_OPENAPI_URL = "https://gas-account.rabby-api.debank.dbkops.com/";
5
+ export declare const INITIAL_OPENAPI_URL = "https://api.rabby.io";
6
6
  export declare const INITIAL_TESTNET_OPENAPI_URL = "https://api.testnet.rabby.io/";
7
7
  export { CHAINS };
8
8
  export declare function genSignParams(config: AxiosRequestConfig): {
package/dist/utils.js CHANGED
@@ -16,7 +16,7 @@ export const getChainByNetwork = (network) => {
16
16
  network = network.toString();
17
17
  return chainNetworkDict[network.startsWith('0x') ? +network : network];
18
18
  };
19
- export const INITIAL_OPENAPI_URL = 'https://gas-account.rabby-api.debank.dbkops.com/';
19
+ export const INITIAL_OPENAPI_URL = 'https://api.rabby.io';
20
20
  export const INITIAL_TESTNET_OPENAPI_URL = 'https://api.testnet.rabby.io/';
21
21
  export { CHAINS };
22
22
  export function genSignParams(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.30-beta.4",
3
+ "version": "0.9.30",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [