@harny/sdk 0.1.1 → 0.1.3

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/cjs/index.js CHANGED
@@ -6,7 +6,7 @@ exports.verifyWebhookSignature = verifyWebhookSignature;
6
6
  exports.parseSourceArrivalEvent = parseSourceArrivalEvent;
7
7
  const util_js_1 = require("./agent/util.js");
8
8
  const memoryV1_js_1 = require("./memoryV1.js");
9
- const SDK_VERSION = "0.1.1";
9
+ const SDK_VERSION = "0.1.3";
10
10
  class HarnyError extends Error {
11
11
  constructor(statusCode, errorCode, message, recoveryHint, docsUrl, retryAfterS,
12
12
  /** Field-level reasons when the API rejected the request's fields: where, why, and the kind. */
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { processEnv } from "./agent/util.js";
2
2
  import { batchBody, deleteBody, ingestBody, pathPart, recallBody, } from "./memoryV1.js";
3
- const SDK_VERSION = "0.1.1";
3
+ const SDK_VERSION = "0.1.3";
4
4
  export class HarnyError extends Error {
5
5
  constructor(statusCode, errorCode, message, recoveryHint, docsUrl, retryAfterS,
6
6
  /** Field-level reasons when the API rejected the request's fields: where, why, and the kind. */
package/package.json CHANGED
@@ -1,43 +1,48 @@
1
1
  {
2
- "name": "@harny/sdk",
3
- "version": "0.1.1",
4
- "description": "TypeScript SDK for the Harny memory API",
5
- "license": "Apache-2.0",
6
- "homepage": "https://harny.ai/docs/memory-api/quickstart",
7
- "keywords": ["harny", "memory", "agent-memory", "api", "typescript"],
8
- "main": "dist/cjs/index.js",
9
- "module": "dist/esm/index.js",
10
- "types": "dist/cjs/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "require": {
14
- "types": "./dist/cjs/index.d.ts",
15
- "default": "./dist/cjs/index.js"
16
- },
17
- "import": {
18
- "types": "./dist/esm/index.d.ts",
19
- "default": "./dist/esm/index.js"
20
- }
21
- }
22
- },
23
- "files": [
24
- "dist"
25
- ],
26
- "engines": {
27
- "node": ">=20.0.0"
28
- },
29
- "publishConfig": {
30
- "access": "public"
31
- },
32
- "scripts": {
33
- "build": "rm -rf dist && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && node scripts/mark-dist-formats.cjs",
34
- "build:test": "rm -rf dist-test && tsc -p tsconfig.test.json",
35
- "pretest": "npm run build:test",
36
- "test": "node --test dist-test/__tests__/*.test.js",
37
- "prepublishOnly": "npm run build"
38
- },
39
- "devDependencies": {
40
- "typescript": "^5.4",
41
- "@types/node": "^20"
2
+ "name": "@harny/sdk",
3
+ "version": "0.1.3",
4
+ "description": "TypeScript SDK for Harny. Harny gives each person who uses an app a private memory the app's AI can read, and lets an agent act for that person inside permissions the app owner sets.",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://harny.ai/docs/memory-api/quickstart",
7
+ "keywords": [
8
+ "harny",
9
+ "memory",
10
+ "agent-memory",
11
+ "api",
12
+ "typescript"
13
+ ],
14
+ "main": "dist/cjs/index.js",
15
+ "module": "dist/esm/index.js",
16
+ "types": "dist/cjs/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "require": {
20
+ "types": "./dist/cjs/index.d.ts",
21
+ "default": "./dist/cjs/index.js"
22
+ },
23
+ "import": {
24
+ "types": "./dist/esm/index.d.ts",
25
+ "default": "./dist/esm/index.js"
26
+ }
42
27
  }
28
+ },
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "engines": {
33
+ "node": ">=20.0.0"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "scripts": {
39
+ "build": "rm -rf dist && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && node scripts/mark-dist-formats.cjs",
40
+ "build:test": "rm -rf dist-test && tsc -p tsconfig.test.json",
41
+ "pretest": "npm run build:test",
42
+ "test": "node --test dist-test/__tests__/*.test.js"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.4",
46
+ "@types/node": "^20"
47
+ }
43
48
  }