@snowcone-app/sdk 0.17.0 → 0.17.1
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#812](https://github.com/snowcone-app/snowcone-monorepo/pull/812) [`d109687`](https://github.com/snowcone-app/snowcone-monorepo/commit/d1096871902f250655fba2afa3276df8710a7e36) Thanks [@kevinsproles](https://github.com/kevinsproles)! - Rotate the public catalog search key (the previous value was over-permissioned; the new one is read-only/search-scoped).
|
|
8
|
+
|
|
3
9
|
## 0.17.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -6205,7 +6205,7 @@ function validateProductLoose(product) {
|
|
|
6205
6205
|
async function listProducts(config) {
|
|
6206
6206
|
const f = getFetcher(config);
|
|
6207
6207
|
const meilisearchHost = config?.meilisearch?.host || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_HOST || "https://search.snowcone.app";
|
|
6208
|
-
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "
|
|
6208
|
+
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "4a11f6599e39af365f6289dab46b77a30ef78ba1ac078f7d74e152c099b3b63c";
|
|
6209
6209
|
const meilisearchIndex = config?.meilisearch?.index || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_INDEX || "snowcone";
|
|
6210
6210
|
const headers = {
|
|
6211
6211
|
"Content-Type": "application/json"
|
|
@@ -6231,7 +6231,7 @@ async function listProducts(config) {
|
|
|
6231
6231
|
async function getProduct(idOrSlug, config) {
|
|
6232
6232
|
const f = getFetcher(config);
|
|
6233
6233
|
const meilisearchHost = config?.meilisearch?.host || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_HOST || "https://search.snowcone.app";
|
|
6234
|
-
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "
|
|
6234
|
+
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "4a11f6599e39af365f6289dab46b77a30ef78ba1ac078f7d74e152c099b3b63c";
|
|
6235
6235
|
const meilisearchIndex = config?.meilisearch?.index || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_INDEX || "snowcone";
|
|
6236
6236
|
const headers = {
|
|
6237
6237
|
"Content-Type": "application/json"
|
|
@@ -6255,7 +6255,7 @@ async function getProduct(idOrSlug, config) {
|
|
|
6255
6255
|
async function searchDesigns(query = "", options) {
|
|
6256
6256
|
const f = getFetcher(options);
|
|
6257
6257
|
const meilisearchHost = options?.meilisearch?.host || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_HOST || "https://search.snowcone.app";
|
|
6258
|
-
const meilisearchApiKey = options?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "
|
|
6258
|
+
const meilisearchApiKey = options?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "4a11f6599e39af365f6289dab46b77a30ef78ba1ac078f7d74e152c099b3b63c";
|
|
6259
6259
|
const designsIndex = options?.meilisearch?.designsIndex || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_DESIGNS_INDEX || "snowcone-designs";
|
|
6260
6260
|
const headers = {
|
|
6261
6261
|
"Content-Type": "application/json"
|
package/dist/index.js
CHANGED
|
@@ -5039,7 +5039,7 @@ function validateProductLoose(product) {
|
|
|
5039
5039
|
async function listProducts(config) {
|
|
5040
5040
|
const f = getFetcher(config);
|
|
5041
5041
|
const meilisearchHost = config?.meilisearch?.host || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_HOST || "https://search.snowcone.app";
|
|
5042
|
-
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "
|
|
5042
|
+
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "4a11f6599e39af365f6289dab46b77a30ef78ba1ac078f7d74e152c099b3b63c";
|
|
5043
5043
|
const meilisearchIndex = config?.meilisearch?.index || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_INDEX || "snowcone";
|
|
5044
5044
|
const headers = {
|
|
5045
5045
|
"Content-Type": "application/json"
|
|
@@ -5065,7 +5065,7 @@ async function listProducts(config) {
|
|
|
5065
5065
|
async function getProduct(idOrSlug, config) {
|
|
5066
5066
|
const f = getFetcher(config);
|
|
5067
5067
|
const meilisearchHost = config?.meilisearch?.host || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_HOST || "https://search.snowcone.app";
|
|
5068
|
-
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "
|
|
5068
|
+
const meilisearchApiKey = config?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "4a11f6599e39af365f6289dab46b77a30ef78ba1ac078f7d74e152c099b3b63c";
|
|
5069
5069
|
const meilisearchIndex = config?.meilisearch?.index || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_INDEX || "snowcone";
|
|
5070
5070
|
const headers = {
|
|
5071
5071
|
"Content-Type": "application/json"
|
|
@@ -5089,7 +5089,7 @@ async function getProduct(idOrSlug, config) {
|
|
|
5089
5089
|
async function searchDesigns(query = "", options) {
|
|
5090
5090
|
const f = getFetcher(options);
|
|
5091
5091
|
const meilisearchHost = options?.meilisearch?.host || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_HOST || "https://search.snowcone.app";
|
|
5092
|
-
const meilisearchApiKey = options?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "
|
|
5092
|
+
const meilisearchApiKey = options?.meilisearch?.apiKey || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_API_KEY || "4a11f6599e39af365f6289dab46b77a30ef78ba1ac078f7d74e152c099b3b63c";
|
|
5093
5093
|
const designsIndex = options?.meilisearch?.designsIndex || typeof process !== "undefined" && process.env?.NEXT_PUBLIC_MEILISEARCH_DESIGNS_INDEX || "snowcone-designs";
|
|
5094
5094
|
const headers = {
|
|
5095
5095
|
"Content-Type": "application/json"
|