Comparing version 1.0.18 to 1.0.19
@@ -141,7 +141,4 @@ type RecursivePartial<T> = { | ||
fetcher?: Fetcher; | ||
/** | ||
* Allows for specifying a custom source database other than the one | ||
* associated with the provided app token. | ||
*/ | ||
database?: string; | ||
/** ## 🚧 For internal use only! 🚧 */ | ||
dataSelector?: string; | ||
}; | ||
@@ -148,0 +145,0 @@ |
@@ -218,5 +218,5 @@ var __defProp = Object.defineProperty; | ||
const url = new URL(options.queryProcessingOptions?.endpoint || "https://data.ronin.co"); | ||
const customDatabase = options.queryProcessingOptions?.database; | ||
if (customDatabase) { | ||
url.searchParams.set("custom_database", customDatabase); | ||
const dataSelector = options.queryProcessingOptions?.dataSelector; | ||
if (dataSelector) { | ||
url.searchParams.set("data-selector", dataSelector); | ||
} | ||
@@ -223,0 +223,0 @@ const { results, error, metrics } = await fetch_default( |
{ | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"name": "ronin", | ||
@@ -4,0 +4,0 @@ "scripts": { |
30791
778