@ninsei-labs/sdk 0.57.2 → 0.59.0
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 +22 -0
- package/README.md +82 -32
- package/THIRD_PARTY_NOTICES.md +7 -4
- package/assets/vendors/MANIFEST.json +1 -9
- package/assets/vendors/sdk/sdk-browser.js +4 -6
- package/engine/core/config.js +5 -24
- package/engine/core/deployments.generated.js +33 -0
- package/engine/core/rfqSource.js +6 -133
- package/engine/core/swap.js +1 -1
- package/engine/evm/index.js +3 -2
- package/engine/evm/session.js +46 -277
- package/engine/monero/address.js +15 -33
- package/engine/monero/keys.js +124 -0
- package/engine/monero/mnemonic.js +104 -0
- package/engine/monero/scan.js +79 -17
- package/engine/monero/wallet.js +31 -68
- package/engine/monero/wordlist.en.js +210 -0
- package/engine/recovery/restore.js +1 -1
- package/engine/sdk/bridge.js +7 -182
- package/engine/ui/walletModal.js +7 -27
- package/index.d.ts +248 -254
- package/package.json +6 -7
- package/src/codes.mjs +12 -0
- package/src/config.mjs +16 -54
- package/src/engine.mjs +3 -0
- package/src/index.mjs +25 -46
- package/src/order.mjs +2 -2
- package/src/public/networks.d.ts +9 -0
- package/src/public/networks.mjs +1 -0
- package/src/public/recovery.d.ts +17 -1
- package/src/public/recovery.mjs +1 -0
- package/src/public/xmr.d.ts +8 -0
- package/src/public/xmr.mjs +1 -1
- package/src/quotePolicy.mjs +58 -0
- package/src/quotes.mjs +30 -753
- package/src/readyWindow.mjs +76 -0
- package/src/record.mjs +4 -0
- package/src/recovery-key.mjs +39 -2
- package/src/recovery.mjs +11 -28
- package/src/relayClaim.mjs +132 -0
- package/src/relayFirmClient.mjs +3 -0
- package/src/relayQuote.mjs +5 -1
- package/src/swap-flow.mjs +49 -5
- package/src/swaps.mjs +530 -317
- package/src/sweep-action.mjs +73 -0
- package/src/sweep.mjs +7 -1
- package/src/version.mjs +1 -1
- package/src/witness-slice.mjs +84 -0
- package/src/xmr-arrival.mjs +378 -9
- package/src/xmrAmountPolicy.mjs +35 -0
- package/assets/vendors/monero/monero-js-browser.js +0 -58
- package/assets/vendors/monero-js/LICENSE +0 -9
- package/assets/vendors/walletconnect/wc-browser.js +0 -6202
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
|
+
## 0.59.0 — 2026-11-11
|
|
2
|
+
|
|
3
|
+
- `FACTORY_HISTORY` is generated from the reviewed deployment manifests and `deployments/history/<vm>/<network>.json`. It lists the current factory as `live` and older factories as `retired`, each with its deployment block and release tag, so a recovery page can find old orders without a second hand-written address table.
|
|
4
|
+
- The deployment pin check is part of the full `pnpm run check` battery; it verifies the generated pins, the current `CHAINS`/`KNOWN_FACTORY_CODES` values, and the order and uniqueness of the factory history.
|
|
5
|
+
- The EVM deployment history for `arbitrum-sepolia` carries the two factories before `contracts-testnet-2026.11.04`; the current factory comes from the reviewed manifest.
|
|
6
|
+
|
|
7
|
+
## 0.58.0 — 2026-11-10
|
|
8
|
+
|
|
9
|
+
- `swaps.verifyArrivalShadow` runs the exact arrival walk and the fixed-slice witness-v1 walk side by side. The witness request carries only `{version, network, grid, slice}` (20 blocks aligned to multiples of 20), never the start height, payout block, txid or order id; a node without `protocol: "witness-v1"` is refused rather than guessed. The exact verdict still decides, so this is the staging path before an independent operator serves the protocol.
|
|
10
|
+
- A quote is refused as `quote-too-short` when it arrives with less than the start margin left, instead of showing a confirmation that the lock would reject seconds later.
|
|
11
|
+
- Arrival refuses a view key or spend key that does not belong to the watched address, refuses a subaddress by name, skips a malformed transaction extra key instead of losing the whole walk, and treats an unsynchronized witness as unknown, not as absence.
|
|
12
|
+
- A pending funding is resumed only for the same quote nonce and salt; a reused nonce with different terms is a new order, and an id-only retry is refused instead of funding a second escrow.
|
|
13
|
+
- The release publish job receives the npm dist-tag as an environment value and validates it, so the build output cannot become shell code in the OIDC job.
|
|
14
|
+
- The quote defaults are public: `DEFAULT_ORDER_QUOTE_TTL_SEC` (60 s) is the firm quote lifetime a node signs when it has no override, and `LOCK_START_MARGIN_SEC` (30 s) is the margin `swaps.start` requires before opening a wallet. A node imports the lifetime instead of keeping its own copy.
|
|
15
|
+
- The node's signed ready window now drives a sale: `quotes.firmRelay` returns `readyWindow`, `startSell` stores it, and `sellWatch`, the late-arrival boundary and `refundIfXmrMissing` use `readyMinSeconds`/`readyMaxSeconds` instead of the retired local 1200 s and 20-minute constants. A record without the window is refused by name.
|
|
16
|
+
- `swaps.claimViaRelay` claims a sell through the relay that answered the quote without creating or using a wallet: the signed `claimTip` pays the sender, and the sender is a listed maker OTHER than the deal's maker, chosen by the client and stored by `startSell` (a request may supply it for an older record). A request or record naming the deal's maker is refused before the half leaves the client. Only a validated txid is a success; a lost answer is `claim-unknown`; `sellClaim` remains the own-wallet path.
|
|
17
|
+
- The retired direct-node paths are gone: `quotes.watch`, `quotes.snapshot`, `quotes.firm`, `quotes.sale`, `swaps.sync`, `DEFAULT_ROUTES`, `config.route`/`routes`, `apiBase` and `serverAuth`. `quotes.firmRelay` is the only quote path; `swaps.start` ends at the joint address, and `swaps.watch` requires the client-side `verify` inputs. The page bridge lost the matching quote-book, direct-quote and server-sync helpers.
|
|
18
|
+
- The engine's `rfqSource` mirror keeps only the executor's order quote and its shape check; the indicative quote book and its `sdkBook`/`sdkBookSnapshot` calls are gone.
|
|
19
|
+
- The SDK no longer ships or loads a WalletConnect browser bundle. `evmWallet(provider)` remains the only wallet seam, so a host page can keep using injected wallets or load `@walletconnect/ethereum-provider` itself and pass the resulting EIP-1193 provider. The SDK's browser engine now offers only the injected connector; the WalletConnect build package, manifest entry, CI workflow and checks are gone.
|
|
20
|
+
- `recovery.readEscrowEventsByTopic` reads `HalfRevealed`, `Ready` and `Declined` without an address filter, so a recovery page can scan by topic and filter by `escrow` locally. The existing `readEscrowEvents({ escrows, ... })` is unchanged.
|
|
21
|
+
|
|
1
22
|
## 0.57.2 — 2026-11-06
|
|
2
23
|
|
|
24
|
+
- Monero mnemonic, key and subaddress derivation now comes from the package's own `engine/monero/mnemonic.js` and `engine/monero/keys.js` over `@noble/curves`; the vendored `monero-js` browser bundle and its licence copy are gone. Address building and checksum checks no longer load a vendor at runtime. The pinned mnemonic, spend/view key, subaddress and address vectors are unchanged.
|
|
3
25
|
- Re-release of 0.57.0 after the publish job rejected the local tarball path. `0.57.1` was tagged but not published; there are no API changes from 0.57.0, and the package content and generated deployment pins are unchanged.
|
|
4
26
|
|
|
5
27
|
## 0.57.0 — 2026-11-06
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Report suspected vulnerabilities through GitHub's private **Report a vulnerabili
|
|
|
22
22
|
The supported versions, scope, response targets, safe-harbor rules and disclosure process are in
|
|
23
23
|
[`SECURITY.md`](SECURITY.md).
|
|
24
24
|
|
|
25
|
-
## State (0.
|
|
25
|
+
## State (0.59.0)
|
|
26
26
|
|
|
27
27
|
| Surface | State |
|
|
28
28
|
|---|---|
|
|
@@ -31,12 +31,12 @@ The supported versions, scope, response targets, safe-harbor rules and disclosur
|
|
|
31
31
|
| `preflight` — the engine's guards, answering with codes | works |
|
|
32
32
|
| `recovery.open` — parsing the recovery file | works |
|
|
33
33
|
| `sim` — sandbox scenarios and time | works (applying to a swap — stage 2) |
|
|
34
|
-
| `quotes.watch` | works: live indicative quotes, its own client; a snapshot carries the display fields (sides, networks, `why`, signature, age, maturity), and the size can be NAMED (`size`) |
|
|
35
|
-
| `quotes.firm` | works: a signed, binding quote with a TTL; a refusal is a named code |
|
|
36
34
|
| `quotes.firmRelay` | works: a firm quote through a relay, built from one recovery key; the node half is DLEQ-checked |
|
|
37
35
|
| `swaps.list` / `swaps.get` | read state from storage (and after a page reload) |
|
|
38
36
|
| `swaps.start` | holds the order: guards → recovery file and the person's confirmation → order → locking funds → **watching the Monero address**; no backend is required; returns the named state `step: "xmr-incoming"` |
|
|
39
|
-
| `swaps.watch` | waits for XMR
|
|
37
|
+
| `swaps.watch` | waits for XMR at the joint address with the CLIENT's own check: `verify` carries the joint address, view secret, spend public key and witness nodes. Arrived — returns the fact (amount, confirmations, txid); did not wait — a refusal with `xmr-timeout`; funds barred by `unlock_time` — `xmr-locked`; the maker DECLINED — `SwapDeclinedWatch` (`declined: true`, `terminal: "declined"`), every action off; with expectations and a wallet, places the ready mark after the arrival |
|
|
38
|
+
| `swaps.verifyArrivalShadow` | the staging path for witness-v1: runs the exact walk and the fixed-slice walk side by side, without changing ready or refund. The slice request carries only the grid and slice; a node must name `protocol: "witness-v1"` |
|
|
39
|
+
| `swaps.startSell` / `swaps.sellClaim` / `swaps.claimViaRelay` | a sell is recorded from the verified relay offer; `sellClaim` claims from the claimer's own wallet, `claimViaRelay` claims with no wallet through the client's ordered sender list, paid by the signed `claimTip` |
|
|
40
40
|
| `wallet.balances` | works: the native coin and tokens, in minimal units |
|
|
41
41
|
|
|
42
42
|
What is not ready names itself with the code `not-implemented` with the fields `surface` and `stage`: an empty
|
|
@@ -81,7 +81,6 @@ import { createNinsei } from "@ninsei-labs/sdk";
|
|
|
81
81
|
const sdk = createNinsei({
|
|
82
82
|
settlement: { chain: "arbitrum-sepolia" }, // from sdk.config.chains; vm is taken from the registry
|
|
83
83
|
xmrNetwork: "stagenet",
|
|
84
|
-
// apiBase: "https://your-service", // only when you bring a backend; there is no default
|
|
85
84
|
assetsBase: "/sdk/",
|
|
86
85
|
mode: "live", // or "sim"
|
|
87
86
|
});
|
|
@@ -156,8 +155,9 @@ interface's: this package holds no user-facing string.
|
|
|
156
155
|
### Errors (`error.code`, `SdkError.code`)
|
|
157
156
|
|
|
158
157
|
`not-implemented`, `bad-input`, `wallet-not-connected`, `wallet-rejected`, `wrong-chain`, `quote-unavailable`,
|
|
159
|
-
`quote-refused`, `
|
|
160
|
-
`
|
|
158
|
+
`quote-refused`, `quote-too-short`, `quote-expired`, `address-denied`, `quote-stale`, `recovery-declined`,
|
|
159
|
+
`recovery-failed`, `storage-unavailable`, `xmr-address-mismatch`, `server-unavailable`, `server-refused`,
|
|
160
|
+
`claim-unknown`, `xmr-timeout`, `xmr-locked`, `contract-reverted`, `insufficient-funds`, `unknown`.
|
|
161
161
|
|
|
162
162
|
Three refusals that are easy to merge into one are named DIFFERENTLY, because the advice differs:
|
|
163
163
|
`server-unavailable` — the service did not answer (retry); `server-refused` — it answered and did not accept (its
|
|
@@ -171,26 +171,70 @@ interface shows its own neutral message.
|
|
|
171
171
|
|
|
172
172
|
## Quotes
|
|
173
173
|
|
|
174
|
+
The SDK has one quote path: a relay. `quotes.firmRelay` derives the client half and both view points from one
|
|
175
|
+
recovery key, sends one request, verifies the relay answer and the on-chain registry/factory binding, and returns
|
|
176
|
+
the signed `orderQuote` with its `startRequest`. There is no direct node client, no quote book and no route table
|
|
177
|
+
in the package; a host that needs an indicative book keeps it in the host.
|
|
178
|
+
|
|
179
|
+
```js
|
|
180
|
+
const offer = await sdk.quotes.firmRelay({ relayUrl, features, order, side: "ask", recoveryKey, xmrAmount });
|
|
181
|
+
offer.orderQuote; // the signed quote the factory takes
|
|
182
|
+
offer.startRequest; // quote, order, orderQuote, counterparty, recovery salt and predicted escrow for swaps.start
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
A buy quote must keep `LOCK_START_MARGIN_SEC` (30 s) plus `START_PREP_SEC` (15 s) after the relay answer has been
|
|
186
|
+
verified. `quotes.firmRelay` refuses a shorter one with `quote-too-short` before a confirmation is shown, and returns
|
|
187
|
+
`remainingSec` / `confirmBySec` so the host can show the time left and disable its button. A bid quote is checked only
|
|
188
|
+
for its own expiry: the node has already funded the escrow and the client opens no wallet. The lock step then checks only
|
|
189
|
+
the 30 s margin: the preparation was already spent between the answer and the send.
|
|
190
|
+
|
|
191
|
+
## Selling and claiming
|
|
192
|
+
|
|
193
|
+
A bid is a sale of XMR. `quotes.firmRelay({ side: "bid", claimTip, ... })` returns the signed quote, the escrow,
|
|
194
|
+
the one-time address, the `relayUrl` that answered and the node's `readyWindow`. `swaps.startSell` stores all of
|
|
195
|
+
them, including the relay origin and the window, and sends nothing. The window's `readyMinSeconds` and
|
|
196
|
+
`readyMaxSeconds` drive the sale watch, the late-arrival boundary and the refund lead; a record without it is
|
|
197
|
+
refused by name when the watch or the refund needs it. The send-xmr gate still uses its confirmation lead
|
|
198
|
+
(`xmrConfirmations * xmrBlockTimeSec`, or `limits.sellReadyLeadSec` when set).
|
|
199
|
+
|
|
200
|
+
A seller who has their own EVM wallet uses the own-wallet path. It signs the claim from that wallet and therefore
|
|
201
|
+
needs ETH for gas:
|
|
202
|
+
|
|
174
203
|
```js
|
|
175
|
-
|
|
176
|
-
s.rate; // the best offer's price: non-XMR coins per 1 XMR; null - there is no offer (this is not zero)
|
|
177
|
-
s.xmr; // how much XMR for the entered amount (buy) or how much the person gives (sell)
|
|
178
|
-
s.sizeOk; // does the size fall within the node's grid and range
|
|
179
|
-
s.sizeCode; // why it does not: below-min | above-max | bad-size | no-offer
|
|
180
|
-
s.offers; // all offers for the size; s.refused - rows that did not become offers
|
|
181
|
-
s.best; // the best for the requested volume and side, AS THE SERVICE NAMED IT (pair and node)
|
|
182
|
-
stop(); // the last one to unsubscribe stops the polling
|
|
204
|
+
await sdk.swaps.sellClaim({ id }, wallet);
|
|
183
205
|
```
|
|
184
206
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
signature, the age (`ageMs`) and the maturity level (`finality`) — display fields, not a second computation.
|
|
207
|
+
A seller who has XMR but no ETH uses the relay path. The escrow pays the signed `claimTip` to the sender, so the
|
|
208
|
+
relay submits the half and is paid from the claim itself. No wallet is created or used, and no chain transaction is
|
|
209
|
+
signed by the client:
|
|
189
210
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
211
|
+
```js
|
|
212
|
+
const sell = await sdk.swaps.startSell({ offer });
|
|
213
|
+
const claimed = await sdk.swaps.claimViaRelay({ id: sell.id,
|
|
214
|
+
claimSenders: [relaySender, ...otherListedMakers] });
|
|
215
|
+
if (claimed.state === "claimed") {
|
|
216
|
+
claimed.txid; // the claim transaction, or null when the escrow itself showed claimed
|
|
217
|
+
claimed.from; // the sender node's claim sender
|
|
218
|
+
claimed.tipWei; // the signed tip paid out of the claim
|
|
219
|
+
} else {
|
|
220
|
+
claimed.secondsLeft; // no sender landed it: claim yourself before t1
|
|
221
|
+
}
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
`claimSenders` is the client's ordered list: the relay's own sender first, then other listed makers. The SDK tries
|
|
225
|
+
one sender at a time for a 15-30 s slot. A refusal moves on at once; a txid is not success - the SDK reads the
|
|
226
|
+
escrow until it says `claimed` or the slot ends. The deal's maker and its quote-key owner are refused before the
|
|
227
|
+
half leaves the client. When the list is exhausted the result is `state: "claim-yourself"` with `t1` and
|
|
228
|
+
`secondsLeft`. The old scalar `claimSender` remains a one-element fallback for callers written before the list.
|
|
229
|
+
|
|
230
|
+
`claimViaRelay` reads the sell record made by `startSell` and requires a positive `claimTip`, the escrow and the
|
|
231
|
+
half. It posts to the relay origin stored with the record; an optional `relayUrl` may repeat that origin but a
|
|
232
|
+
different one is refused. A node refusal keeps its code under `quote-refused.params.code`. A timeout or a body
|
|
233
|
+
without a real transaction hash is `claim-unknown`: the claim may have been sent, so the SDK reads the escrow and
|
|
234
|
+
moves on only after the slot. Only an escrow that reads `claimed` is success.
|
|
235
|
+
|
|
236
|
+
`actions.claim` is unchanged: it still sends only from the claimer's own wallet, because the half is revealed by
|
|
237
|
+
whoever sends the claim.
|
|
194
238
|
|
|
195
239
|
## Found orders and the paying token
|
|
196
240
|
|
|
@@ -200,6 +244,10 @@ another device or at another factory produce a different half and no number is r
|
|
|
200
244
|
`derivation: "salt-v2"` and has no index. There is no range scan and no `max-index` result: every order in the logs is
|
|
201
245
|
read once, and an unreadable log request is a refusal, not a partial answer.
|
|
202
246
|
|
|
247
|
+
`readEscrowEventsByTopic` reads the same three settlement events (`HalfRevealed`, `Ready` and `Declined`) without
|
|
248
|
+
an address filter: the caller receives every event in the block range and filters by `escrow`. This is the
|
|
249
|
+
privacy-preserving path for a recovery page, because the RPC does not learn which escrows belong to the visitor.
|
|
250
|
+
|
|
203
251
|
- `amount` — the escrow's **native** amount in wei;
|
|
204
252
|
- `settlementToken: "native"` — what the escrow receives;
|
|
205
253
|
- `xmrAmount` — the XMR side, read from the clone's condition word 18 when an `evmCode` reader is passed;
|
|
@@ -248,6 +296,11 @@ total unknown.
|
|
|
248
296
|
A failed settlement block-time read keeps the matched order: `findSwaps` returns `blockTime: null` with
|
|
249
297
|
`startHeightReason: "block-time-read"` instead of throwing away every row.
|
|
250
298
|
|
|
299
|
+
Pass `evmBlockTimes` to read the timestamps for every distinct matched block in one request. It receives the block
|
|
300
|
+
numbers in first-seen order and returns a map; a `null` or missing entry is `no-block-time`, while an `Error` entry
|
|
301
|
+
is `block-time-read`. When the batch seam is supplied it is the only timestamp reader: `evmBlockTime` is not called,
|
|
302
|
+
even after a failed batch. Without the seam, the older `evmBlockTime` path stays in use.
|
|
303
|
+
|
|
251
304
|
The retired backend no longer decides a swap: its watch row may observe money, but it cannot declare readiness or
|
|
252
305
|
a decline; the client's two-node check and the escrow's own `Declined` event do.
|
|
253
306
|
|
|
@@ -255,18 +308,16 @@ Storage is a refusal, not a silent empty state: a failed read, corrupt JSON, a f
|
|
|
255
308
|
`storage-unavailable` with a step. Every SDK instance gets its own store over the adapter it was given, so two
|
|
256
309
|
clients with different adapters keep separate records and neither takes over the other's.
|
|
257
310
|
|
|
258
|
-
Every body route the SDK sends carries `sdkVersion` from the package (`quotes.firm`, `quotes.sale` and the funding
|
|
259
|
-
mark). The caller cannot override it with a different line.
|
|
260
|
-
|
|
261
311
|
Funding is reported from the receipt, not from the send. A status-0 receipt is `contract-reverted`; a missing
|
|
262
312
|
receipt, a receipt without `OrderCreated`, or an event from another factory is `funding-pending` with the transaction
|
|
263
313
|
hash, and `swaps.start` does not save an escrow or retire a recovery number in that state.
|
|
264
314
|
|
|
265
315
|
The predicted escrow and its salt are written to the pending record before the funding transaction is sent. A retry
|
|
266
|
-
after a late receipt or a process restart finds that record by
|
|
267
|
-
does not build a second side or send a second deposit. An explicit wallet
|
|
268
|
-
person can sign again. A transaction that was already mined is stopped by
|
|
269
|
-
mempool can make the resend revert and cost gas, but cannot create a second
|
|
316
|
+
after a late receipt or a process restart finds that record by the salt, the chain, the factory and the predicted
|
|
317
|
+
escrow, and reads the same transaction; it does not build a second side or send a second deposit. An explicit wallet
|
|
318
|
+
rejection clears the pending mark so the person can sign again. A transaction that was already mined is stopped by
|
|
319
|
+
the escrow state guard; one still in the mempool can make the resend revert and cost gas, but cannot create a second
|
|
320
|
+
deposit.
|
|
270
321
|
|
|
271
322
|
The wallet adapter accepts the standard Monero network names (`mainnet`, `stagenet`, `testnet`, `fakechain`) and
|
|
272
323
|
still checks the address shape, so a mainnet withdrawal is not refused because the demo registry lists only
|
|
@@ -336,8 +387,7 @@ after that runs it again, so keep the work in draft until the last commit.
|
|
|
336
387
|
3. **The wallet is outside.** The SDK opens no windows and does not look for injected providers itself.
|
|
337
388
|
4. **The step order and the guards are inside `swaps.start`** (stage 2): funds are not locked until the interface
|
|
338
389
|
has confirmed the recovery file is saved; retrying after an error or a reload is safe.
|
|
339
|
-
5. **
|
|
340
|
-
does not touch them.
|
|
390
|
+
5. **WalletConnect is the host's connector.** The SDK ships no vendor bundle and loads no connector at runtime; a page that wants mobile wallets loads `@walletconnect/ethereum-provider` itself (from its own lock or a pinned CDN asset), draws the QR, and passes the resulting EIP-1193 provider to `evmWallet(provider)`. A page without it works with injected wallets only. Monero mnemonic, key and address code is part of the package core: it needs no separate file and no vendored browser bundle.
|
|
341
391
|
6. **Strict CSP.** The package is designed for a policy without `eval` and inline.
|
|
342
392
|
7. **Few dependencies, all permissive.** Every production dependency is checked in CI against an allowlist: MIT, MIT-0,
|
|
343
393
|
ISC, Apache-2.0, BSD-2-Clause, BSD-3-Clause, Unlicense, 0BSD, CC0-1.0 and BlueOak-1.0.0. Copyleft,
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -6,7 +6,7 @@ It is generated from the installed production tree; do not edit it by hand.
|
|
|
6
6
|
Generated by `tools/third-party-notices.mjs`. Licences accepted by the project are listed in
|
|
7
7
|
[LICENSE-POLICY.md](LICENSE-POLICY.md).
|
|
8
8
|
|
|
9
|
-
## @hpke/chacha20poly1305 1.8.
|
|
9
|
+
## @hpke/chacha20poly1305 1.8.1
|
|
10
10
|
|
|
11
11
|
License: MIT
|
|
12
12
|
Source: git+https://github.com/dajiaji/hpke-js.git
|
|
@@ -17,6 +17,8 @@ Source: git+https://github.com/dajiaji/hpke-js.git
|
|
|
17
17
|
MIT License
|
|
18
18
|
|
|
19
19
|
Copyright (c) 2023 Ajitomi Daisuke
|
|
20
|
+
Copyright (c) 2022 Paul Miller (https://paulmillr.com)
|
|
21
|
+
Copyright (c) 2016 Thomas Pornin <pornin@bolet.org>
|
|
20
22
|
|
|
21
23
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
24
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -37,7 +39,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
37
39
|
SOFTWARE.
|
|
38
40
|
```
|
|
39
41
|
|
|
40
|
-
## @hpke/common 1.
|
|
42
|
+
## @hpke/common 1.13.0
|
|
41
43
|
|
|
42
44
|
License: MIT
|
|
43
45
|
Source: git+https://github.com/dajiaji/hpke-js.git
|
|
@@ -68,7 +70,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
68
70
|
SOFTWARE.
|
|
69
71
|
```
|
|
70
72
|
|
|
71
|
-
## @hpke/core 1.
|
|
73
|
+
## @hpke/core 1.10.1
|
|
72
74
|
|
|
73
75
|
License: MIT
|
|
74
76
|
Source: git+https://github.com/dajiaji/hpke-js.git
|
|
@@ -99,7 +101,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
99
101
|
SOFTWARE.
|
|
100
102
|
```
|
|
101
103
|
|
|
102
|
-
## @hpke/dhkem-x25519 1.8.
|
|
104
|
+
## @hpke/dhkem-x25519 1.8.1
|
|
103
105
|
|
|
104
106
|
License: MIT
|
|
105
107
|
Source: git+https://github.com/dajiaji/hpke-js.git
|
|
@@ -110,6 +112,7 @@ Source: git+https://github.com/dajiaji/hpke-js.git
|
|
|
110
112
|
MIT License
|
|
111
113
|
|
|
112
114
|
Copyright (c) 2023 Ajitomi Daisuke
|
|
115
|
+
Copyright (c) 2022 Paul Miller (https://paulmillr.com)
|
|
113
116
|
|
|
114
117
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
115
118
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -2,17 +2,9 @@
|
|
|
2
2
|
"version": 1,
|
|
3
3
|
"note": "Pinned browser bundles. A change to one of these files must be accompanied by a matching SHA-256 here and a rebuild of the page's asset registry.",
|
|
4
4
|
"bundles": {
|
|
5
|
-
"monero/monero-js-browser.js": {
|
|
6
|
-
"sha256": "05c682ea514db089b3f872e4e8eee3d526e7131079bdb3871dad57d201db7e89",
|
|
7
|
-
"source": "monero-js"
|
|
8
|
-
},
|
|
9
5
|
"sdk/sdk-browser.js": {
|
|
10
|
-
"sha256": "
|
|
6
|
+
"sha256": "563587be187b41651725d0192234b0341ad6d183f23c7e3aac92487360f44a6e",
|
|
11
7
|
"source": "sdk/src (facade, adapters, recovery)"
|
|
12
|
-
},
|
|
13
|
-
"walletconnect/wc-browser.js": {
|
|
14
|
-
"sha256": "fb64f27c1ec026811fe72bfff06da1f997bbf720569ea73be87818e2c5847eec",
|
|
15
|
-
"source": "@walletconnect"
|
|
16
8
|
}
|
|
17
9
|
}
|
|
18
10
|
}
|