@latchprotocol/widgets 0.1.0 → 0.1.2
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 +35 -3
- package/dist/chunks/{SwapWidget-DgyHAVc8.js → SwapWidget-B0oDyBNK.js} +58 -66
- package/dist/chunks/SwapWidget-B0oDyBNK.js.map +1 -0
- package/dist/chunks/{scan-Dhu7f4Nl.js → scan-Cdm3p_wF.js} +2 -2
- package/dist/chunks/scan-Cdm3p_wF.js.map +1 -0
- package/dist/chunks/{useLocker-D1c_NTk-.js → useLocker-m3WH-bQm.js} +641 -641
- package/dist/chunks/{useLocker-D1c_NTk-.js.map → useLocker-m3WH-bQm.js.map} +1 -1
- package/dist/components/LaunchWidget.d.ts.map +1 -1
- package/dist/embed/lockBadge.d.ts +1 -1
- package/dist/embed.js +16 -16
- package/dist/embed.js.map +1 -1
- package/dist/headless.js +2 -2
- package/dist/index.js +90 -90
- package/dist/index.js.map +1 -1
- package/dist/latch-embed.js +1 -1
- package/dist/latch-embed.js.map +1 -1
- package/dist/latch-embed.mjs +5 -6
- package/dist/latch-embed.mjs.map +1 -1
- package/dist/trust/model.d.ts +4 -3
- package/dist/trust/model.d.ts.map +1 -1
- package/package.json +1 -5
- package/dist/chunks/SwapWidget-DgyHAVc8.js.map +0 -1
- package/dist/chunks/scan-Dhu7f4Nl.js.map +0 -1
package/dist/trust/model.d.ts
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Turns the SDK's `readTokenTrust` result into labelled rows, each carrying
|
|
5
5
|
* the words (from `@latchprotocol/sdk/trust`'s formatters, so every surface
|
|
6
|
-
* says the same thing) and
|
|
7
|
-
*
|
|
6
|
+
* says the same thing) and the contract each figure came from (name and
|
|
7
|
+
* address, linkable; no view names or block numbers in user copy — owner rule
|
|
8
|
+
* 2026-09-27). Nothing is added that was not read; nothing says "safe".
|
|
8
9
|
*/
|
|
9
10
|
import type { Hex } from "viem";
|
|
10
11
|
import { type TokenTrust, type TokenTrustSummary, type TrustSource, type TrustTone } from "@latchprotocol/sdk/trust";
|
|
@@ -15,7 +16,7 @@ export interface TrustRowView {
|
|
|
15
16
|
readonly headline: string;
|
|
16
17
|
readonly detail: string | null;
|
|
17
18
|
readonly tone: TrustTone;
|
|
18
|
-
/** One line per source: "LatchTokenLock 0x12ab…cdef
|
|
19
|
+
/** One line per source: "LatchTokenLock 0x12ab…cdef". */
|
|
19
20
|
readonly provenance: readonly string[];
|
|
20
21
|
/** The same sources, for linking each contract to an explorer. */
|
|
21
22
|
readonly sources: readonly TrustSource[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/trust/model.ts"],"names":[],"mappings":"AACA
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/trust/model.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAW,GAAG,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAWL,KAAK,UAAU,EACf,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAkC,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtF,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,yDAAyD;IACzD,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,kEAAkE;IAClE,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IACzC,mGAAmG;IACnG,QAAQ,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,wCAAwC;IACxC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,YAAY,EAAE,CAAC;CACxC;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IACzC,wDAAwD;IACxD,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,gFAAgF;IAChF,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AA0BD,oFAAoF;AACpF,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AA2D1D,wDAAwD;AACxD,wBAAgB,cAAc,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,GAAE,UAAe,GAAG,cAAc,CAmBnF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latchprotocol/widgets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Embeddable swap, liquidity and launch widgets for LatchProtocol. Headless controllers plus drop-in styled UI, with first-class integrator fee attribution.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -89,10 +89,6 @@
|
|
|
89
89
|
"vitest": "^2.1.0"
|
|
90
90
|
},
|
|
91
91
|
"homepage": "https://latches.fun",
|
|
92
|
-
"repository": {
|
|
93
|
-
"type": "git",
|
|
94
|
-
"url": "git+https://github.com/Latch-Protocol-Team/latch-sdk.git"
|
|
95
|
-
},
|
|
96
92
|
"bugs": {
|
|
97
93
|
"url": "https://github.com/Latch-Protocol-Team/latch-sdk/issues"
|
|
98
94
|
},
|