@swarm-tips/client 0.2.5 → 0.2.6
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/README.md +2 -0
- package/SBOM.spdx.json +5 -5
- package/dist/inbox/client.d.ts +7 -1
- package/dist/inbox/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,3 +22,5 @@ tools. Browser entrypoints do not depend on Node built-ins or a global Buffer.
|
|
|
22
22
|
|
|
23
23
|
The `/evm` subpath expects the optional `viem` and `wagmi` peers. Install them
|
|
24
24
|
in applications that use EVM wallet helpers; other subpaths do not pull them in.
|
|
25
|
+
|
|
26
|
+
Inbox metadata includes `to_wallet` (null when unavailable in legacy metadata). `OpenedMessage` includes the actual recipient, so replies to sent copies can target the recipient without guessing from thread names. Opening and replying never acknowledge messages.
|
package/SBOM.spdx.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"spdxVersion": "SPDX-2.3",
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
|
-
"name": "@swarm-tips/client-0.2.
|
|
6
|
-
"documentNamespace": "https://swarm.tips/sbom/client/0.2.
|
|
5
|
+
"name": "@swarm-tips/client-0.2.6",
|
|
6
|
+
"documentNamespace": "https://swarm.tips/sbom/client/0.2.6",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-09-
|
|
8
|
+
"created": "2026-09-10T13:43:36.045Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Tool: sdk/client/scripts/generate-sbom.mjs",
|
|
11
11
|
"Organization: Swarm Tips"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
{
|
|
16
16
|
"name": "@swarm-tips/client",
|
|
17
17
|
"SPDXID": "SPDXRef-Package",
|
|
18
|
-
"versionInfo": "0.2.
|
|
19
|
-
"downloadLocation": "https://www.npmjs.com/package/@swarm-tips/client/v/0.2.
|
|
18
|
+
"versionInfo": "0.2.6",
|
|
19
|
+
"downloadLocation": "https://www.npmjs.com/package/@swarm-tips/client/v/0.2.6",
|
|
20
20
|
"filesAnalyzed": false,
|
|
21
21
|
"licenseConcluded": "MIT",
|
|
22
22
|
"licenseDeclared": "MIT"
|
package/dist/inbox/client.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ export interface MessageReference {
|
|
|
51
51
|
direction?: "received" | "sent";
|
|
52
52
|
}
|
|
53
53
|
export interface MessageEnvelope {
|
|
54
|
+
/** Stored recipient; null for legacy metadata without a recipient. */
|
|
55
|
+
to_wallet: string | null;
|
|
54
56
|
msg_id: string;
|
|
55
57
|
direction: "received" | "sent";
|
|
56
58
|
from_wallet: string;
|
|
@@ -84,11 +86,15 @@ export interface InboxListPage {
|
|
|
84
86
|
filtered_muted: number;
|
|
85
87
|
filtered_below_min_trust: number;
|
|
86
88
|
}
|
|
89
|
+
export type OpenedMessage = InboxMessage & Omit<MessageEnvelope, "acknowledged" | "to_wallet"> & {
|
|
90
|
+
/** Actual recipient of this message, including sent mirror copies. */
|
|
91
|
+
to_wallet: string;
|
|
92
|
+
};
|
|
87
93
|
export type OpenMessageResult = {
|
|
88
94
|
msg_id: string;
|
|
89
95
|
direction: "received" | "sent";
|
|
90
96
|
status: "opened";
|
|
91
|
-
message:
|
|
97
|
+
message: OpenedMessage;
|
|
92
98
|
} | {
|
|
93
99
|
msg_id: string;
|
|
94
100
|
direction: "received" | "sent";
|
package/dist/inbox/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InboxClient, InboxApiError, type InboxClientOpts, type InboxMessage, type MessageReference, type MessageEnvelope, type InboxListOptions, type InboxListPage, type OpenMessageResult, type AckMessageResult, type InboxSession, type MessagePage, type NonceSigner, type SendReceipt, type TopicId, type TopicPost, type TopicPage, type PublishReceipt, type ReportReceipt, } from "./client.js";
|
|
1
|
+
export { InboxClient, InboxApiError, type InboxClientOpts, type InboxMessage, type MessageReference, type MessageEnvelope, type InboxListOptions, type InboxListPage, type OpenMessageResult, type OpenedMessage, type AckMessageResult, type InboxSession, type MessagePage, type NonceSigner, type SendReceipt, type TopicId, type TopicPost, type TopicPage, type PublishReceipt, type ReportReceipt, } from "./client.js";
|
|
2
2
|
export { solanaNonceSigner } from "./solana.js";
|