@fairmint/canton-node-sdk 0.0.295 → 0.0.296

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.
Files changed (45) hide show
  1. package/README.md +43 -0
  2. package/build/src/utils/external-signing/index.d.ts +1 -0
  3. package/build/src/utils/external-signing/index.d.ts.map +1 -1
  4. package/build/src/utils/external-signing/index.js +1 -0
  5. package/build/src/utils/external-signing/index.js.map +1 -1
  6. package/build/src/utils/external-signing/wallet-ownership-challenger.d.ts +51 -10
  7. package/build/src/utils/external-signing/wallet-ownership-challenger.d.ts.map +1 -1
  8. package/build/src/utils/external-signing/wallet-ownership-challenger.js +85 -18
  9. package/build/src/utils/external-signing/wallet-ownership-challenger.js.map +1 -1
  10. package/build/src/utils/external-signing/wallet-ownership-checks.d.ts +27 -0
  11. package/build/src/utils/external-signing/wallet-ownership-checks.d.ts.map +1 -0
  12. package/build/src/utils/external-signing/wallet-ownership-checks.js +117 -0
  13. package/build/src/utils/external-signing/wallet-ownership-checks.js.map +1 -0
  14. package/build/src/utils/external-signing/wallet-ownership.d.ts.map +1 -1
  15. package/build/src/utils/external-signing/wallet-ownership.js +21 -95
  16. package/build/src/utils/external-signing/wallet-ownership.js.map +1 -1
  17. package/build/src/utils/external-signing/wallet-proof.d.ts +44 -0
  18. package/build/src/utils/external-signing/wallet-proof.d.ts.map +1 -0
  19. package/build/src/utils/external-signing/wallet-proof.js +74 -0
  20. package/build/src/utils/external-signing/wallet-proof.js.map +1 -0
  21. package/build/src/wallets/index.d.ts +5 -2
  22. package/build/src/wallets/index.d.ts.map +1 -1
  23. package/build/src/wallets/index.js +12 -3
  24. package/build/src/wallets/index.js.map +1 -1
  25. package/build/src/wallets/ownership-fields.d.ts +4 -0
  26. package/build/src/wallets/ownership-fields.d.ts.map +1 -0
  27. package/build/src/wallets/ownership-fields.js +11 -0
  28. package/build/src/wallets/ownership-fields.js.map +1 -0
  29. package/build/src/wallets/ownership.d.ts +44 -7
  30. package/build/src/wallets/ownership.d.ts.map +1 -1
  31. package/build/src/wallets/ownership.js +137 -47
  32. package/build/src/wallets/ownership.js.map +1 -1
  33. package/build/src/wallets/proof-encoding.d.ts +17 -0
  34. package/build/src/wallets/proof-encoding.d.ts.map +1 -0
  35. package/build/src/wallets/proof-encoding.js +63 -0
  36. package/build/src/wallets/proof-encoding.js.map +1 -0
  37. package/build/src/wallets/store.d.ts +12 -4
  38. package/build/src/wallets/store.d.ts.map +1 -1
  39. package/build/src/wallets/store.js +8 -1
  40. package/build/src/wallets/store.js.map +1 -1
  41. package/build/src/wallets/wallet-proof.d.ts +50 -0
  42. package/build/src/wallets/wallet-proof.d.ts.map +1 -0
  43. package/build/src/wallets/wallet-proof.js +141 -0
  44. package/build/src/wallets/wallet-proof.js.map +1 -0
  45. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ import type { DaNetwork } from './da-utilities/client';
2
+ /** The challenge format that carries a server-built wallet proof message (`createWalletOwnershipChallenger`). */
3
+ export declare const WALLET_PROOF_FORMAT = "wallet-proof-v1";
4
+ export type WalletProofFormat = typeof WALLET_PROOF_FORMAT;
5
+ /** The longest message accepted, in characters. */
6
+ export declare const WALLET_PROOF_MAX_MESSAGE_LENGTH = 4096;
7
+ /**
8
+ * The longest message accepted, in UTF-8 bytes: the provider's signing limit ({@link SIGN_MESSAGE_MAX_BYTES}). A
9
+ * multibyte message can pass the character limit and still be too long to sign.
10
+ */
11
+ export declare const WALLET_PROOF_MAX_MESSAGE_BYTES = 8192;
12
+ /** Every field of a wallet proof message, in message order. */
13
+ export interface WalletProofFields {
14
+ /** What the proof is for: a purpose tag such as `fairmint:tokenization-wallet-proof:v1` (printable, no spaces). */
15
+ readonly domain: string;
16
+ /** The DA network the proof names; a label, not proof the party is on it. */
17
+ readonly network: DaNetwork;
18
+ /** The Canton party (`hint::namespace`) the wallet proves it controls. */
19
+ readonly partyId: string;
20
+ /** Who the proof is for on the server's side (an investor account, a signed-in user). Non-empty. */
21
+ readonly investorContext: string;
22
+ /** The request the proof is for (a server-issued nonce or the request's idempotency key). Non-empty. */
23
+ readonly idempotencyKey: string;
24
+ /** ISO-8601 with an offset (`Z` or `±HH:MM`), as `Date.toISOString()` gives. */
25
+ readonly issuedAt: string;
26
+ readonly expiresAt: string;
27
+ }
28
+ /** A challenger's answer in the `wallet-proof-v1` format: the exact message to sign, its fields, and the token. */
29
+ export interface WalletProofChallengeResponse {
30
+ readonly format: WalletProofFormat;
31
+ /** The exact text the wallet signs (`buildWalletProofMessage(fields)`). */
32
+ readonly message: string;
33
+ /** The message's fields, for display; the browser checks they are the message's. */
34
+ readonly fields: WalletProofFields;
35
+ /** Opaque to the browser: the server's MACed record of the challenge. */
36
+ readonly token: string;
37
+ }
38
+ /**
39
+ * The exact message for these fields: one line of JSON, keys in the order of {@link WalletProofFields}. Throws
40
+ * `TypeError` for a field that is not valid or a message longer than {@link WALLET_PROOF_MAX_MESSAGE_LENGTH} characters
41
+ * or {@link WALLET_PROOF_MAX_MESSAGE_BYTES} UTF-8 bytes.
42
+ */
43
+ export declare function buildWalletProofMessage(fields: WalletProofFields): string;
44
+ /**
45
+ * The fields of a wallet proof message, or null for any text that is not exactly what {@link buildWalletProofMessage}
46
+ * gives for its fields: not JSON, another key set or order, a value of another type, a timestamp that is not ISO-8601
47
+ * with an offset, `expiresAt` not after `issuedAt`, or any other spelling of the same JSON.
48
+ */
49
+ export declare function parseWalletProofMessage(text: string): WalletProofFields | null;
50
+ //# sourceMappingURL=wallet-proof.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-proof.d.ts","sourceRoot":"","sources":["../../../src/wallets/wallet-proof.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAKvD,iHAAiH;AACjH,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,MAAM,MAAM,iBAAiB,GAAG,OAAO,mBAAmB,CAAC;AAE3D,mDAAmD;AACnD,eAAO,MAAM,+BAA+B,OAAO,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,8BAA8B,OAAyB,CAAC;AAUrE,+DAA+D;AAC/D,MAAM,WAAW,iBAAiB;IAChC,mHAAmH;IACnH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;IAC5B,0EAA0E;IAC1E,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,oGAAoG;IACpG,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,wGAAwG;IACxG,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,gFAAgF;IAChF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,mHAAmH;AACnH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,2EAA2E;IAC3E,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,yEAAyE;IACzE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AA+CD;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAUzE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI,CAgB9E"}
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WALLET_PROOF_MAX_MESSAGE_BYTES = exports.WALLET_PROOF_MAX_MESSAGE_LENGTH = exports.WALLET_PROOF_FORMAT = void 0;
4
+ exports.buildWalletProofMessage = buildWalletProofMessage;
5
+ exports.parseWalletProofMessage = parseWalletProofMessage;
6
+ /**
7
+ * The compact wallet proof message (`wallet-proof-v1`): one line of JSON a wallet signs to prove it controls a party
8
+ * for one purpose, one account and one request. The same shape as apiv2's CNTN tokenization wallet proof, so a page
9
+ * signs one format whichever Fairmint server checks it:
10
+ *
11
+ * ```json
12
+ * {
13
+ * "domain": "fairmint:tokenization-wallet-proof:v1",
14
+ * "network": "devnet",
15
+ * "partyId": "hint::1220…",
16
+ * "investorContext": "…",
17
+ * "idempotencyKey": "…",
18
+ * "issuedAt": "2026-11-24T10:00:00.000Z",
19
+ * "expiresAt": "2026-11-24T10:05:00.000Z"
20
+ * }
21
+ * ```
22
+ *
23
+ * The keys are always in that order and the text is exactly `JSON.stringify` of them, so one set of fields has one
24
+ * message: {@link parseWalletProofMessage} refuses any other spelling (whitespace, key order, escapes). The server
25
+ * checks it with `verifyWalletProof` (Node only, exported from the package root). Browser-safe: no Node or DOM
26
+ * globals.
27
+ *
28
+ * As with the text ownership message, `network` is a label, not proof: a party id is derived from its key and is the
29
+ * same on every network.
30
+ */
31
+ const cip103_1 = require("./cip103");
32
+ const json_1 = require("./json");
33
+ const ownership_fields_1 = require("./ownership-fields");
34
+ const sign_message_1 = require("./sign-message");
35
+ /** The challenge format that carries a server-built wallet proof message (`createWalletOwnershipChallenger`). */
36
+ exports.WALLET_PROOF_FORMAT = 'wallet-proof-v1';
37
+ /** The longest message accepted, in characters. */
38
+ exports.WALLET_PROOF_MAX_MESSAGE_LENGTH = 4096;
39
+ /**
40
+ * The longest message accepted, in UTF-8 bytes: the provider's signing limit ({@link SIGN_MESSAGE_MAX_BYTES}). A
41
+ * multibyte message can pass the character limit and still be too long to sign.
42
+ */
43
+ exports.WALLET_PROOF_MAX_MESSAGE_BYTES = sign_message_1.SIGN_MESSAGE_MAX_BYTES;
44
+ /** Whether `text` is within both limits: {@link WALLET_PROOF_MAX_MESSAGE_LENGTH} characters, then UTF-8 bytes. */
45
+ function withinMessageLimits(text) {
46
+ return (text.length <= exports.WALLET_PROOF_MAX_MESSAGE_LENGTH &&
47
+ new TextEncoder().encode(text).length <= exports.WALLET_PROOF_MAX_MESSAGE_BYTES);
48
+ }
49
+ /** The message's keys, in order. */
50
+ const KEYS = ['domain', 'network', 'partyId', 'investorContext', 'idempotencyKey', 'issuedAt', 'expiresAt'];
51
+ /** Printable ASCII without spaces. */
52
+ const TOKEN_PATTERN = /^[!-~]+$/;
53
+ /** ISO-8601 date and time with an offset; seconds and fractions optional (zod's `iso.datetime({ offset: true })`). */
54
+ const ISO_PATTERN = /^(\d{4})-(\d{2})-(\d{2})T(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;
55
+ /** Whether `value` is an ISO-8601 timestamp with an offset naming a real calendar day. */
56
+ function isIsoTimestamp(value) {
57
+ if (typeof value !== 'string')
58
+ return false;
59
+ const match = ISO_PATTERN.exec(value);
60
+ if (match === null)
61
+ return false;
62
+ const [year, month, day] = [Number(match[1]), Number(match[2]), Number(match[3])];
63
+ if (month < 1 || month > 12 || day < 1)
64
+ return false;
65
+ // Day 0 of the next month is this month's last day.
66
+ if (day > new Date(Date.UTC(year, month, 0)).getUTCDate())
67
+ return false;
68
+ return Number.isFinite(Date.parse(value));
69
+ }
70
+ /** The reason the fields are not a valid message, or null. */
71
+ function fieldProblem(fields) {
72
+ if (typeof fields.domain !== 'string' || fields.domain.length > 256 || !TOKEN_PATTERN.test(fields.domain)) {
73
+ return 'domain must be 1-256 printable characters without spaces';
74
+ }
75
+ if (!(0, cip103_1.isDaNetwork)(fields.network))
76
+ return 'network must be devnet or mainnet';
77
+ if (!(0, ownership_fields_1.isWalletOwnershipPartyId)(fields.partyId))
78
+ return 'partyId must be a Canton party id (hint::namespace)';
79
+ for (const key of ['investorContext', 'idempotencyKey']) {
80
+ if (typeof fields[key] !== 'string' || fields[key].length === 0)
81
+ return `${key} must be a non-empty string`;
82
+ }
83
+ for (const key of ['issuedAt', 'expiresAt']) {
84
+ if (!isIsoTimestamp(fields[key]))
85
+ return `${key} must be an ISO-8601 time with an offset`;
86
+ }
87
+ if (Date.parse(fields.expiresAt) <= Date.parse(fields.issuedAt))
88
+ return 'expiresAt must be after issuedAt';
89
+ return null;
90
+ }
91
+ /** `JSON.stringify` of the fields in message order; the fields are already valid. */
92
+ function serialize(fields) {
93
+ const ordered = {};
94
+ for (const key of KEYS)
95
+ ordered[key] = fields[key];
96
+ return JSON.stringify(ordered);
97
+ }
98
+ /**
99
+ * The exact message for these fields: one line of JSON, keys in the order of {@link WalletProofFields}. Throws
100
+ * `TypeError` for a field that is not valid or a message longer than {@link WALLET_PROOF_MAX_MESSAGE_LENGTH} characters
101
+ * or {@link WALLET_PROOF_MAX_MESSAGE_BYTES} UTF-8 bytes.
102
+ */
103
+ function buildWalletProofMessage(fields) {
104
+ const problem = fieldProblem(fields);
105
+ if (problem !== null)
106
+ throw new TypeError(`Invalid wallet proof message: ${problem}`);
107
+ const message = serialize(fields);
108
+ if (!withinMessageLimits(message)) {
109
+ throw new TypeError(`Invalid wallet proof message: longer than ${exports.WALLET_PROOF_MAX_MESSAGE_LENGTH} characters or ${exports.WALLET_PROOF_MAX_MESSAGE_BYTES} UTF-8 bytes`);
110
+ }
111
+ return message;
112
+ }
113
+ /**
114
+ * The fields of a wallet proof message, or null for any text that is not exactly what {@link buildWalletProofMessage}
115
+ * gives for its fields: not JSON, another key set or order, a value of another type, a timestamp that is not ISO-8601
116
+ * with an offset, `expiresAt` not after `issuedAt`, or any other spelling of the same JSON.
117
+ */
118
+ function parseWalletProofMessage(text) {
119
+ if (typeof text !== 'string' || !withinMessageLimits(text))
120
+ return null;
121
+ let raw;
122
+ try {
123
+ raw = JSON.parse(text);
124
+ }
125
+ catch {
126
+ return null;
127
+ }
128
+ if (!(0, json_1.isRecord)(raw))
129
+ return null;
130
+ const keys = Object.keys(raw);
131
+ if (keys.length !== KEYS.length || !KEYS.every((key, index) => keys[index] === key))
132
+ return null;
133
+ if (!KEYS.every((key) => typeof raw[key] === 'string'))
134
+ return null;
135
+ const fields = raw;
136
+ if (fieldProblem(fields) !== null)
137
+ return null;
138
+ // Exactly one spelling: no whitespace, escapes or duplicate keys beyond what JSON.stringify writes.
139
+ return serialize(fields) === text ? { ...fields } : null;
140
+ }
141
+ //# sourceMappingURL=wallet-proof.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-proof.js","sourceRoot":"","sources":["../../../src/wallets/wallet-proof.ts"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qCAAuC;AAEvC,iCAAkC;AAClC,yDAA8D;AAC9D,iDAAwD;AAExD,iHAAiH;AACpG,QAAA,mBAAmB,GAAG,iBAAiB,CAAC;AAGrD,mDAAmD;AACtC,QAAA,+BAA+B,GAAG,IAAI,CAAC;AAEpD;;;GAGG;AACU,QAAA,8BAA8B,GAAG,qCAAsB,CAAC;AAErE,kHAAkH;AAClH,SAAS,mBAAmB,CAAC,IAAY;IACvC,OAAO,CACL,IAAI,CAAC,MAAM,IAAI,QAAA,+BAA+B;QAC9C,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,QAAA,8BAA8B,CACxE,CAAC;AACJ,CAAC;AA8BD,oCAAoC;AACpC,MAAM,IAAI,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,CAAU,CAAC;AAErH,sCAAsC;AACtC,MAAM,aAAa,GAAG,UAAU,CAAC;AACjC,sHAAsH;AACtH,MAAM,WAAW,GACf,+GAA+G,CAAC;AAElH,0FAA0F;AAC1F,SAAS,cAAc,CAAC,KAAc;IACpC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACtC,IAAI,KAAK,KAAK,IAAI;QAAE,OA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GAAY,CAAC;IACjB,IAAI,CAAC;QACH,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,IAAA,eAAQ,EAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAChC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACjG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,KAAK,QAAQ,CAAC;QAAE,OAAO,IAAI,CAAC;IACpE,MAAM,MAAM,GAAG,GAAmC,CAAC;IACnD,IAAI,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAC/C,oGAAoG;IACpG,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC3D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/canton-node-sdk",
3
- "version": "0.0.295",
3
+ "version": "0.0.296",
4
4
  "description": "Canton Node SDK",
5
5
  "keywords": [
6
6
  "canton",