@shinkai_network/shinkai-message-ts
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,6 +0,6 @@ | ||
import { A as r, o as n, c as g, l as b, f as d, g as l, d as m, e as p, n as x, h, p as f, m as A, b as I, s as M, k as c, j as u, i as C } from "./api-df7ab796.js"; | ||
import { A as r, o as n, c as g, l as b, f as d, g as l, d as m, e as p, n as x, h, p as f, m as A, b as I, s as M, k as c, j as u, i as C } from "./api-5d8cc0e3.js"; | ||
import "./SchemaTypes-e6a9f1d7.js"; | ||
import "./index-12e1df48.js"; | ||
import "./ShinkaiNameWrapper-06702b00.js"; | ||
import "./ShinkaiMessageBuilderWrapper-4d49562e.js"; | ||
import "./index-800d6c21.js"; | ||
import "./ShinkaiNameWrapper-4c0cccbd.js"; | ||
import "./ShinkaiMessageBuilderWrapper-119f9ff0.js"; | ||
export { | ||
@@ -7,0 +7,0 @@ r as ApiConfig, |
@@ -65,2 +65,4 @@ declare const addAgent: (sender_subidentity: string, node_name: string, agent: SerializedAgent, setupDetailsState: AgentCredentialsPayload) => Promise<any>; | ||
declare const buildInboxIdFromJobId: (jobId: string) => string; | ||
declare function calculateBlake3Hash(input: string): string; | ||
@@ -381,2 +383,3 @@ | ||
isJobInbox, | ||
buildInboxIdFromJobId, | ||
toHexString, | ||
@@ -383,0 +386,0 @@ mapEncryptionMethod, |
10
index.js
@@ -1,8 +0,8 @@ | ||
import { a as s } from "./api-df7ab796.js"; | ||
import { a as s } from "./api-5d8cc0e3.js"; | ||
import { m as e } from "./models-1b7b10bd.js"; | ||
import { u, u as x } from "./utils-248314b7.js"; | ||
import { u, u as x } from "./utils-7085a0b8.js"; | ||
import "./SchemaTypes-e6a9f1d7.js"; | ||
import "./index-12e1df48.js"; | ||
import "./ShinkaiNameWrapper-06702b00.js"; | ||
import "./ShinkaiMessageBuilderWrapper-4d49562e.js"; | ||
import "./index-800d6c21.js"; | ||
import "./ShinkaiNameWrapper-4c0cccbd.js"; | ||
import "./ShinkaiMessageBuilderWrapper-119f9ff0.js"; | ||
export { | ||
@@ -9,0 +9,0 @@ s as api, |
{ | ||
"name": "@shinkai_network/shinkai-message-ts", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Shinkai Message TS wrapper for wasm library", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -0,1 +1,3 @@ | ||
export declare const buildInboxIdFromJobId: (jobId: string) => string; | ||
export declare function calculateBlake3Hash(input: string): string; | ||
@@ -2,0 +4,0 @@ |
27
utils.js
@@ -1,21 +0,22 @@ | ||
import { c as r, b as o, i, d as n } from "./index-12e1df48.js"; | ||
import { S as g, f as m, a as b, e as l, b as p, c as x, g as h, i as y, m as d, d as M, t as S } from "./utils-248314b7.js"; | ||
import { c as o, b as r, i, d as n } from "./index-800d6c21.js"; | ||
import { S as g, b, h as m, a as d, e as l, c as x, d as h, g as p, i as I, m as y, f as u, t as M } from "./utils-7085a0b8.js"; | ||
import "./SchemaTypes-e6a9f1d7.js"; | ||
import "./ShinkaiNameWrapper-06702b00.js"; | ||
import "./ShinkaiNameWrapper-4c0cccbd.js"; | ||
export { | ||
g as ShinkaiNameError, | ||
b as buildInboxIdFromJobId, | ||
m as calculateBlake3Hash, | ||
r as calculateMessageHash, | ||
b as extractJobIdFromInbox, | ||
o as calculateMessageHash, | ||
d as extractJobIdFromInbox, | ||
l as extractReceiverShinkaiName, | ||
p as generateEncryptionKeys, | ||
x as generateSignatureKeys, | ||
o as getMessageContent, | ||
h as getOtherPersonIdentity, | ||
y as isJobInbox, | ||
x as generateEncryptionKeys, | ||
h as generateSignatureKeys, | ||
r as getMessageContent, | ||
p as getOtherPersonIdentity, | ||
I as isJobInbox, | ||
i as isJobMessage, | ||
n as isLocalMessage, | ||
d as mapEncryptionMethod, | ||
M as test_util_generateKeys, | ||
S as toHexString | ||
y as mapEncryptionMethod, | ||
u as test_util_generateKeys, | ||
M as toHexString | ||
}; |
@@ -227,2 +227,3 @@ declare interface AgentAPIModel { | ||
external_metadata(recipient: string, sender: string): void; | ||
external_metadata_with_intra(recipient: string, sender: string, intra_sender: string): void; | ||
external_metadata_with_other(recipient: string, sender: string, other: string): void; | ||
@@ -229,0 +230,0 @@ external_metadata_with_schedule(recipient: string, sender: string, scheduled_time: string): void; |
@@ -1,4 +0,4 @@ | ||
import { I as m, S as j, a as w } from "./ShinkaiMessageBuilderWrapper-4d49562e.js"; | ||
import { I as m, S as j, a as w } from "./ShinkaiMessageBuilderWrapper-119f9ff0.js"; | ||
import { b as o, d as i, e as p } from "./SchemaTypes-e6a9f1d7.js"; | ||
import { S as h, a as l } from "./ShinkaiNameWrapper-06702b00.js"; | ||
import { S as h, a as l } from "./ShinkaiNameWrapper-4c0cccbd.js"; | ||
class e { | ||
@@ -5,0 +5,0 @@ constructor(s) { |
2629627
14970