@0xchain/better-link 1.1.0-beta.44 → 1.1.0-beta.46

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -103,7 +103,7 @@ function BetterLink() {
103
103
  gotoAISQL(options) {
104
104
  const { locale, q } = options;
105
105
  const searchParams = getSearchParams({ q: q || "" });
106
- return `${process.env.NEXT_PUBLIC_BASE_URL}${locale ? `/${locale}` : ""}/sql${searchParams}`;
106
+ return `${process.env.NEXT_PUBLIC_BASE_URL}${locale ? `/${locale}` : ""}/query${searchParams}`;
107
107
  },
108
108
  gotoExplorerSearch(params) {
109
109
  const searchParams = getSearchParams({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xchain/better-link",
3
- "version": "1.1.0-beta.44",
3
+ "version": "1.1.0-beta.46",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",