@aippy/runtime 0.3.1 → 0.3.2-dev.0

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/ai/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as i, d as r, e, c as n, U as C, a as _, b as E, f as I, g as T, l as f, n as g, p, s as U, v as t } from "../helper-Cu06_bm3.js";
1
+ import { D as i, d as r, e, c as n, U as C, a as _, b as E, f as I, g as T, l as f, n as g, p, s as U, v as t } from "../helper-C37ruG7q.js";
2
2
  import "react";
3
3
  import "../bridge-CqV1iP30.js";
4
4
  export {
@@ -1,6 +1,6 @@
1
1
  import "react";
2
2
  import { getAuthTokenAsync as a } from "./bridge-CqV1iP30.js";
3
- const r = "0.3.1", i = {
3
+ const r = "0.3.2-dev.0", i = {
4
4
  version: r
5
5
  }, o = i.version, c = "@aippy/runtime";
6
6
  function w() {
@@ -1,6 +1,6 @@
1
1
  import { D as s, g as r, m as o } from "../config-B0A7gHQM.js";
2
2
  import { A as p, a as t, E as i, b as R, c as E } from "../errors-B3bDbQbD.js";
3
- import { S as m, V as A, c as C, a as g, g as f, s as y } from "../container-message-BZF1IcaW.js";
3
+ import { S as m, V as A, c as C, a as g, g as f, s as y } from "../container-message-BX9UZto4.js";
4
4
  import { A as O, C as d, R as l, a as x, p as F } from "../runtime-CmoG3v2m.js";
5
5
  export {
6
6
  O as AippyRuntime,
@@ -1,5 +1,5 @@
1
1
  import { createOpenAICompatible as d } from "@ai-sdk/openai-compatible";
2
- import { s as f, a as b } from "./container-message-BZF1IcaW.js";
2
+ import { s as f, a as b } from "./container-message-BX9UZto4.js";
3
3
  import { AISDKError as c, DefaultChatTransport as h } from "ai";
4
4
  import { E as m, b as p, a as u } from "./errors-B3bDbQbD.js";
5
5
  import { j as A } from "./url-c26cuIpu.js";
@@ -1,7 +1,7 @@
1
1
  import { useState as U, useEffect as y, useCallback as p } from "react";
2
2
  const g = {
3
3
  avatar: "",
4
- nickName: "用户",
4
+ nickName: "User",
5
5
  username: "",
6
6
  uid: ""
7
7
  };
@@ -43,7 +43,7 @@ async function v() {
43
43
  if (e) {
44
44
  const r = {
45
45
  avatar: String(e.avatar || e.photoUrl || ""),
46
- nickName: String(e.nickName || e.nickname || e.displayName || "用户"),
46
+ nickName: String(e.nickName || e.nickname || e.displayName || "User"),
47
47
  username: String(e.username || ""),
48
48
  uid: String(e.uid || "")
49
49
  };
@@ -1,6 +1,6 @@
1
1
  import { D as r, g as o, m as s } from "../config-B0A7gHQM.js";
2
2
  import { A as i, a as n, E as p, b as m, c as A } from "../errors-B3bDbQbD.js";
3
- import { S as f, V as u, c as C, a as E, g, s as I } from "../container-message-BZF1IcaW.js";
3
+ import { S as f, V as u, c as C, a as E, g, s as I } from "../container-message-BX9UZto4.js";
4
4
  import { A as l, C as S, R as x, a as R, p as T } from "../runtime-CmoG3v2m.js";
5
5
  import { CameraAPI as D, FileSystemAPI as U, GeolocationAPI as y, SensorsAPI as F, camera as P, fileSystem as M, geolocation as h, isMotionSupported as v, isOrientationSupported as O, requestMotionPermission as b, sensors as L, vibrate as w, watchMotion as H, watchOrientation as N } from "../device/index.js";
6
6
  import { P as k, a as q, c as B, b as j, g as G, i as z, p as K, r as W, s as X } from "../app-version-checker-Bz7FrEZz.js";
@@ -9,8 +9,8 @@ import { j as ae } from "../url-c26cuIpu.js";
9
9
  import { a as oe, b as se } from "../useTweaks-B7Muzo78.js";
10
10
  import { c as ie, a as ne, i as pe, p as me, u as Ae } from "../useAudioContext-D9F3x80Y.js";
11
11
  import { reportScore as fe, sendEvent as ue, updateScore as Ce } from "../leaderboard/index.js";
12
- import { D as ge, d as Ie, e as de, c as le, U as Se, a as xe, b as Re, f as Te, g as _e, l as De, n as Ue, p as ye, s as Fe, v as Pe } from "../helper-Cu06_bm3.js";
13
- import { c as he, u as ve } from "../hooks-Dmr_Dcnz.js";
12
+ import { D as ge, d as Ie, e as de, c as le, U as Se, a as xe, b as Re, f as Te, g as _e, l as De, n as Ue, p as ye, s as Fe, v as Pe } from "../helper-C37ruG7q.js";
13
+ import { c as he, u as ve } from "../hooks-CDo6slfY.js";
14
14
  import { getAuthTokenAsync as be } from "../bridge-CqV1iP30.js";
15
15
  import { hasNativeBridge as we } from "../native-bridge-BnvipFJc.js";
16
16
  export {
@@ -1,4 +1,4 @@
1
- import { c as o, u as s } from "../hooks-Dmr_Dcnz.js";
1
+ import { c as o, u as s } from "../hooks-CDo6slfY.js";
2
2
  import { getAuthTokenAsync as f } from "../bridge-CqV1iP30.js";
3
3
  import { i as t } from "../app-version-checker-Bz7FrEZz.js";
4
4
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aippy/runtime",
3
- "version": "0.3.1",
3
+ "version": "0.3.2-dev.0",
4
4
  "description": "Aippy Runtime SDK - Runtime SDK for Aippy projects",
5
5
  "private": false,
6
6
  "type": "module",