@hainiva/agent-sdk 0.3.0 → 0.3.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 CHANGED
@@ -7,6 +7,11 @@ release (`0.2.0`) may change the API; a patch release (`0.1.1`) never does.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.1] - 2026-11-15
11
+
12
+ - README: the product is named HAINIVA; new Documentation section linking the
13
+ developer docs, the API reference and the sibling SDKs. No code changes.
14
+
10
15
  ## [0.3.0] - 2026-11-14
11
16
 
12
17
  - `@hainiva/agent-sdk/embed`: `mountDesk(container, { agent, appId, baseUrl,
@@ -67,7 +72,8 @@ Not published to npm; its contents shipped in 0.2.0.
67
72
  - `/react-native`: `secureStoreSessionStore`, `joinCallRoom` (LiveKit).
68
73
  - `/embed`: placeholder, throws.
69
74
 
70
- [Unreleased]: https://github.com/hainiva/agent-sdk/compare/v0.3.0...HEAD
75
+ [Unreleased]: https://github.com/hainiva/agent-sdk/compare/v0.3.1...HEAD
76
+ [0.3.1]: https://github.com/hainiva/agent-sdk/compare/v0.3.0...v0.3.1
71
77
  [0.3.0]: https://github.com/hainiva/agent-sdk/compare/v0.2.0...v0.3.0
72
78
  [0.2.0]: https://github.com/hainiva/agent-sdk/compare/v0.1.0...v0.2.0
73
79
  [0.1.0]: https://github.com/hainiva/agent-sdk/releases/tag/v0.1.0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @hainiva/agent-sdk
2
2
 
3
- Build **your own staff app** on [HAINIVA AICC](https://hainiva.com): your staff
3
+ Build **your own staff app** on [HAINIVA](https://hainiva.com): your staff
4
4
  sign in with an assertion from your backend, receive their rings and
5
5
  conversations over one reconnecting socket, and take calls with LiveKit — in a
6
6
  browser, in React Native, or in Node.
@@ -259,6 +259,20 @@ The WebView stays on the desk origin (`originWhitelist`, every other URL goes
259
259
  to `onOpenUrl`), opens no windows, and gets its bridge before the desk's
260
260
  scripts, on the desk origin only.
261
261
 
262
+ ## Documentation
263
+
264
+ - [HAINIVA developer docs](https://hainiva.com/en/developers/docs) — start with
265
+ [Quickstart: your own staff app](https://hainiva.com/en/developers/docs/quickstart-staff-app), then
266
+ [Staff sign-in and agent apps](https://hainiva.com/en/developers/docs/staff-sign-in),
267
+ [Agent API](https://hainiva.com/en/developers/docs/agent-api), [Events](https://hainiva.com/en/developers/docs/events),
268
+ [Push setup](https://hainiva.com/en/developers/docs/push-setup) and [Embedded desk](https://hainiva.com/en/developers/docs/embedded-desk).
269
+ - [API reference](https://api.hainiva.com/docs/) — every endpoint, request and
270
+ error code.
271
+ - [Troubleshooting](https://hainiva.com/en/developers/docs/troubleshooting).
272
+ - Sibling SDKs: [`@hainiva/react-native-call`](https://github.com/hainiva/react-native-call)
273
+ (native ringing) and [`@hainiva/app-sdk`](https://github.com/hainiva/app-sdk)
274
+ (your customers' app, the App channel).
275
+
262
276
  ## Security
263
277
 
264
278
  - **No tokens in URLs or logs.** Tokens travel in the `Authorization` header or
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * @hainiva/agent-sdk — build your own agent app on HAINIVA AICC: staff sign-in
3
+ * @hainiva/agent-sdk — build your own agent app on HAINIVA: staff sign-in
4
4
  * with your backend's assertion, the live event stream, and calls.
5
5
  *
6
6
  * Entry points:
@@ -29,7 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  };
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
31
  exports.toCallEvents = exports.ringInfo = exports.isEventFrame = exports.agentSocketBindings = exports.AGENT_CLOSE_CODES = exports.newIdempotencyKey = exports.errorFromResponse = exports.AgentRestClient = exports.HainivaAgent = exports.initialCallsState = exports.ringingCalls = exports.activeCall = exports.transition = exports.CallStore = exports.backoffDelay = exports.ReconnectingSocket = exports.memoryStore = exports.SessionManager = exports.createTokenRefresher = exports.singleFlight = exports.TypedEmitter = exports.assertSafeUrl = exports.safeLogger = exports.redactValue = exports.redactString = exports.Redactor = exports.HainivaAgentError = exports.SDK_VERSION = void 0;
32
- exports.SDK_VERSION = "0.3.0";
32
+ exports.SDK_VERSION = "0.3.1";
33
33
  var errors_js_1 = require("./errors.cjs");
34
34
  Object.defineProperty(exports, "HainivaAgentError", { enumerable: true, get: function () { return errors_js_1.HainivaAgentError; } });
35
35
  var redact_js_1 = require("./redact.cjs");
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @hainiva/agent-sdk — build your own agent app on HAINIVA AICC: staff sign-in
2
+ * @hainiva/agent-sdk — build your own agent app on HAINIVA: staff sign-in
3
3
  * with your backend's assertion, the live event stream, and calls.
4
4
  *
5
5
  * Entry points:
@@ -12,7 +12,7 @@
12
12
  * the event socket and the call state machine together. The parts are exported
13
13
  * too, for apps that want their own wiring.
14
14
  */
15
- export declare const SDK_VERSION = "0.3.0";
15
+ export declare const SDK_VERSION = "0.3.1";
16
16
  export { HainivaAgentError } from "./errors.cjs";
17
17
  export { Redactor, redactString, redactValue } from "./redact.cjs";
18
18
  export { safeLogger, type Logger } from "./log.cjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @hainiva/agent-sdk — build your own agent app on HAINIVA AICC: staff sign-in
2
+ * @hainiva/agent-sdk — build your own agent app on HAINIVA: staff sign-in
3
3
  * with your backend's assertion, the live event stream, and calls.
4
4
  *
5
5
  * Entry points:
@@ -12,7 +12,7 @@
12
12
  * the event socket and the call state machine together. The parts are exported
13
13
  * too, for apps that want their own wiring.
14
14
  */
15
- export declare const SDK_VERSION = "0.3.0";
15
+ export declare const SDK_VERSION = "0.3.1";
16
16
  export { HainivaAgentError } from "./errors.js";
17
17
  export { Redactor, redactString, redactValue } from "./redact.js";
18
18
  export { safeLogger, type Logger } from "./log.js";
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @hainiva/agent-sdk — build your own agent app on HAINIVA AICC: staff sign-in
2
+ * @hainiva/agent-sdk — build your own agent app on HAINIVA: staff sign-in
3
3
  * with your backend's assertion, the live event stream, and calls.
4
4
  *
5
5
  * Entry points:
@@ -12,7 +12,7 @@
12
12
  * the event socket and the call state machine together. The parts are exported
13
13
  * too, for apps that want their own wiring.
14
14
  */
15
- export const SDK_VERSION = "0.3.0";
15
+ export const SDK_VERSION = "0.3.1";
16
16
  export { HainivaAgentError } from "./errors.js";
17
17
  export { Redactor, redactString, redactValue } from "./redact.js";
18
18
  export { safeLogger } from "./log.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hainiva/agent-sdk",
3
- "version": "0.3.0",
4
- "description": "Build your own agent app on HAINIVA AICC: staff sign-in with your backend's assertion, a reconnecting event stream and a call state machine, with LiveKit media for web and React Native.",
3
+ "version": "0.3.1",
4
+ "description": "Build your own agent app on HAINIVA: staff sign-in with your backend's assertion, a reconnecting event stream and a call state machine, with LiveKit media for web and React Native.",
5
5
  "keywords": [
6
6
  "hainiva",
7
7
  "contact-center",