@centive/aria-sdk 0.5.0 → 0.5.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.
@@ -1,5 +1,5 @@
1
- import { A as n } from "./index-CTUcoY3r.js";
2
- import { d as i, b as C, a as d, C as l, c as m, D as A, E as c, I as g, M as u, S as E } from "./index-CTUcoY3r.js";
1
+ import { A as n } from "./index-Q7g2dXGq.js";
2
+ import { d as i, b as C, a as d, C as l, c as m, D as A, E as c, I as g, M as u, S as E } from "./index-Q7g2dXGq.js";
3
3
  const t = (e, a) => new n(e, void 0, a);
4
4
  export {
5
5
  i as AgentAudioInputStream,
@@ -14,4 +14,4 @@ export {
14
14
  E as SignalMessageAction,
15
15
  t as createClient
16
16
  };
17
- //# sourceMappingURL=index-BxCPj2aK.js.map
17
+ //# sourceMappingURL=index-Bu8qpssv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BxCPj2aK.js","sources":["../node_modules/@anam-ai/js-sdk/dist/module/index.js"],"sourcesContent":["import AnamClient from './AnamClient';\nimport { ClientError, ErrorCode } from './lib/ClientError';\n/**\n * Create a new Anam client.\n * @param sessionToken - A session token can be obtained from the Anam API.\n * @param personaConfig - The persona configuration to use.\n * @param options - Additional options.\n * @returns A new Anam client instance.\n */\nconst createClient = (sessionToken, options) => {\n return new AnamClient(sessionToken, undefined, options);\n};\n/**\n * Create a new Anam client with an API key instead of a session token.\n * This method is unsafe for production environments because it requires exposing your API key to the client side.\n * Only use this method for local testing.\n * @param apiKey - Your Anam API key.\n * @param personaConfig - The persona configuration to use.\n * @param options - Additional options.\n * @returns A new Anam client instance.\n */\nconst unsafe_createClientWithApiKey = (apiKey, personaConfig, options) => {\n return new AnamClient(undefined, personaConfig, Object.assign(Object.assign({}, options), { apiKey }));\n};\nexport { createClient, unsafe_createClientWithApiKey, ClientError, ErrorCode };\nexport * from './types';\n//# sourceMappingURL=index.js.map"],"names":["createClient","sessionToken","options","AnamClient"],"mappings":";;AASK,MAACA,IAAe,CAACC,GAAcC,MACzB,IAAIC,EAAWF,GAAc,QAAWC,CAAO;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-Bu8qpssv.js","sources":["../node_modules/@anam-ai/js-sdk/dist/module/index.js"],"sourcesContent":["import AnamClient from './AnamClient';\nimport { ClientError, ErrorCode } from './lib/ClientError';\n/**\n * Create a new Anam client.\n * @param sessionToken - A session token can be obtained from the Anam API.\n * @param personaConfig - The persona configuration to use.\n * @param options - Additional options.\n * @returns A new Anam client instance.\n */\nconst createClient = (sessionToken, options) => {\n return new AnamClient(sessionToken, undefined, options);\n};\n/**\n * Create a new Anam client with an API key instead of a session token.\n * This method is unsafe for production environments because it requires exposing your API key to the client side.\n * Only use this method for local testing.\n * @param apiKey - Your Anam API key.\n * @param personaConfig - The persona configuration to use.\n * @param options - Additional options.\n * @returns A new Anam client instance.\n */\nconst unsafe_createClientWithApiKey = (apiKey, personaConfig, options) => {\n return new AnamClient(undefined, personaConfig, Object.assign(Object.assign({}, options), { apiKey }));\n};\nexport { createClient, unsafe_createClientWithApiKey, ClientError, ErrorCode };\nexport * from './types';\n//# sourceMappingURL=index.js.map"],"names":["createClient","sessionToken","options","AnamClient"],"mappings":";;AASK,MAACA,IAAe,CAACC,GAAcC,MACzB,IAAIC,EAAWF,GAAc,QAAWC,CAAO;","x_google_ignoreList":[0]}
@@ -6153,9 +6153,9 @@ const gn = ar, Ji = ({
6153
6153
  style: {
6154
6154
  position: "fixed",
6155
6155
  inset: 0,
6156
- backgroundColor: "rgba(0, 0, 0, 0.85)",
6157
- backdropFilter: "blur(8px)",
6158
- WebkitBackdropFilter: "blur(8px)",
6156
+ backgroundColor: "rgba(0, 0, 0, 0.3)",
6157
+ backdropFilter: "blur(4px)",
6158
+ WebkitBackdropFilter: "blur(4px)",
6159
6159
  zIndex: 9998
6160
6160
  },
6161
6161
  "aria-hidden": "true"
@@ -6332,7 +6332,7 @@ const wn = ({ config: i, children: r }) => {
6332
6332
  }
6333
6333
  l(!0), O(null);
6334
6334
  try {
6335
- const { createClient: R } = await import("./index-BxCPj2aK.js"), T = R(x);
6335
+ const { createClient: R } = await import("./index-Bu8qpssv.js"), T = R(x);
6336
6336
  T.addListener(F.SESSION_READY, () => {
6337
6337
  h(!0), l(!1), i.onSessionReady?.(), i.onConnectionStateChange?.(!0);
6338
6338
  }), T.addListener(F.CONNECTION_CLOSED, () => {
@@ -6727,4 +6727,4 @@ export {
6727
6727
  on as y,
6728
6728
  an as z
6729
6729
  };
6730
- //# sourceMappingURL=index-CTUcoY3r.js.map
6730
+ //# sourceMappingURL=index-Q7g2dXGq.js.map