cross-country 1.2.22 → 1.2.23

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.
@@ -1,14 +1,14 @@
1
1
  const s = {
2
2
  UNSPLASH_API_KEY: "",
3
- PERPLEXITY_API_KEY: "",
4
- RAPID_API_KEY: ""
5
- }, p = s == null ? void 0 : s.PERPLEXITY_API_KEY, E = async (n, o = 0.6, r = null) => {
3
+ RAPID_API_KEY: "64376730e2msh02a5a75e9e45d6bp1fbfbfjsnb455679ebdd9",
4
+ PERPLEXITY_API_KEY: "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"
5
+ }, i = s == null ? void 0 : s.PERPLEXITY_API_KEY, P = async (n, o = 0.6, r = null) => {
6
6
  const c = "https://api.perplexity.ai/chat/completions", a = {
7
7
  Accept: "application/json",
8
8
  "Content-Type": "application/json",
9
- Authorization: `Bearer ${p}`
9
+ Authorization: `Bearer ${i}`
10
10
  // Fetch from your project's environment variables
11
- }, i = {
11
+ }, p = {
12
12
  model: "pplx-7b-online",
13
13
  stream: !1,
14
14
  max_tokens: 80,
@@ -27,7 +27,7 @@ const s = {
27
27
  }, e = await (await fetch(c, {
28
28
  method: "POST",
29
29
  headers: a,
30
- body: JSON.stringify(i)
30
+ body: JSON.stringify(p)
31
31
  })).json();
32
32
  if (e != null && e.choices && (e == null ? void 0 : e.choices.length) > 0) {
33
33
  const t = e == null ? void 0 : e.choices[0].message;
@@ -37,5 +37,5 @@ const s = {
37
37
  return "";
38
38
  };
39
39
  export {
40
- E as default
40
+ P as default
41
41
  };
@@ -1,4 +1,4 @@
1
- import { default as o } from "./Header.js";
1
+ import { default as o } from "./header.js";
2
2
  export {
3
3
  o as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import r from "react";
3
- import i from "../header/Header.js";
3
+ import i from "../header/header.js";
4
4
  const d = () => {
5
5
  const [n, t] = r.useState();
6
6
  return /* @__PURE__ */ o("article", { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cross-country",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "an atomic design system built for personal metrics & lonely forest bathers",
5
5
  "author": "headwinds",
6
6
  "license": "MIT",
@@ -80,7 +80,7 @@
80
80
  "@xstate/react": "4.1.0",
81
81
  "@xstate/store": "^2.4.0",
82
82
  "clsx": "^1.1.0",
83
- "cross-country": "^1.2.22",
83
+ "cross-country": "^1.2.23",
84
84
  "d3": "^7.8.2",
85
85
  "d3-axis": "^3.0.0",
86
86
  "date-fns": "^3.6.0",
@@ -1,21 +0,0 @@
1
- export type BranchType = {
2
- id: string;
3
- tags: string[];
4
- photoUrl: string;
5
- photoLargeUrl: string;
6
- images: string[];
7
- link: string;
8
- publishedDate: string;
9
- branchTitleUnescape: string;
10
- feedLink: string;
11
- feedTitle: string;
12
- aboutUnescape: string;
13
- index: number;
14
- textUnescape: string;
15
- bUseText: boolean;
16
- x: number;
17
- y: number;
18
- bViewed: boolean;
19
- bTrashed: boolean;
20
- origin: 'porthole' | 'local';
21
- };
@@ -1 +0,0 @@
1
-