From e4f2cb310ab25ca4ca3747fde0d2c2fc761a3ea7 Mon Sep 17 00:00:00 2001 From: ael Date: Thu, 13 Aug 2026 18:37:48 +0200 Subject: [PATCH] docs: correct upstream license attribution --- CONTRIBUTING.md | 5 +- LICENSES/Apache-2.0.txt | 202 ++++++++++++++++++ README.md | 2 +- THIRD_PARTY_NOTICES.md | 27 ++- .../scripts/generate-third-party-licenses.mjs | 45 +++- .../scripts/verify-client-bundle.mjs | 9 +- .../src/farcaster/MiniAppProvider.test.tsx | 4 + .../src/farcaster/MiniAppProvider.tsx | 4 + .../src/farcaster/miniAppRuntime.test.ts | 4 + .../dashboard/src/farcaster/miniAppRuntime.ts | 4 + .../protocol/proto/snapchain-6152402.proto | 7 +- 11 files changed, 299 insertions(+), 14 deletions(-) create mode 100644 LICENSES/Apache-2.0.txt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5627429..dce4d7d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,5 +49,6 @@ the PR description and CI logs. By submitting a contribution, you agree that your SnapMeter-authored contribution is licensed under the repository's MIT license. Do not submit third-party material unless redistribution is permitted and its exact source, -license, and notice requirements are included. The vendored Snapchain -protobufs are separately identified in `THIRD_PARTY_NOTICES.md`. +license, and notice requirements are included. The vendored and adapted +Snapchain protobufs and Warpkeep-derived Mini App portions are separately +identified in `THIRD_PARTY_NOTICES.md`. diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSES/Apache-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md index 0da6d95..2b6f9af 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ Pull requests run the quality gates. Default-branch deployment is conditional on ## License -SnapMeter-authored source, documentation, and assets are released under the [MIT License](LICENSE), copyright 2026 ael-dev3. Vendored Snapchain protocol definitions retain their upstream `GPL-3.0` license; see [Third-party notices](THIRD_PARTY_NOTICES.md) and the included license text. Dependency packages retain their own licenses. No license grants rights to third-party names or trademarks. +SnapMeter-authored source, documentation, and assets are released under the [MIT License](LICENSE), copyright 2026 ael-dev3. Vendored and adapted Snapchain protocol definitions retain upstream `GPL-3.0-only` terms, while the identified Warpkeep-derived Mini App portions retain Apache-2.0 notices. See [Third-party notices](THIRD_PARTY_NOTICES.md) and the complete texts in [`LICENSES/`](LICENSES/). Dependency packages retain their own licenses. No license grants rights to third-party names or trademarks. ## Documentation diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 86bae5d..e6c6b85 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -1,11 +1,12 @@ # Third-party notices -SnapMeter-authored material is licensed under the repository's [MIT License](LICENSE). The following files are exceptions and retain their upstream license. +SnapMeter-authored material is licensed under the repository's [MIT License](LICENSE). The following files and adapted portions retain their upstream license and notices. ## Snapchain protocol definitions -The files below were copied from the `farcasterxyz/snapchain` `snapchain-proto` crate at commit [`6152402aea2dbe732fb73076f674b038bfd4aee5`](https://github.com/farcasterxyz/snapchain/tree/6152402aea2dbe732fb73076f674b038bfd4aee5). That crate declares `GPL-3.0`; the files are redistributed under `GPL-3.0-only`, not MIT: +The files below were copied or adapted from the `farcasterxyz/snapchain` `snapchain-proto` crate at commit [`6152402aea2dbe732fb73076f674b038bfd4aee5`](https://github.com/farcasterxyz/snapchain/tree/6152402aea2dbe732fb73076f674b038bfd4aee5). That crate declares `GPL-3.0`; the files are redistributed under `GPL-3.0-only`, not MIT: +- `packages/protocol/proto/snapchain-6152402.proto` - `packages/protocol/proto/upstream/snapchain-6152402/blocks.proto` - `packages/protocol/proto/upstream/snapchain-6152402/hub_event.proto` - `packages/protocol/proto/upstream/snapchain-6152402/message.proto` @@ -14,9 +15,25 @@ The files below were copied from the `farcasterxyz/snapchain` `snapchain-proto` - `packages/protocol/proto/upstream/snapchain-6152402/rpc.proto` - `packages/protocol/proto/upstream/snapchain-6152402/username_proof.proto` -`hub_event.proto` differs from the pinned upstream file only by removal of trailing whitespace. The other listed files are byte-for-byte copies at the time of this notice. The complete license is included at [`LICENSES/GPL-3.0-only.txt`](LICENSES/GPL-3.0-only.txt). +The seven files under `packages/protocol/proto/upstream/snapchain-6152402/` preserve the pinned definitions, apart from line-ending or trailing-whitespace normalization. `packages/protocol/proto/snapchain-6152402.proto` is a modified, wire-compatible analytics subset of those upstream definitions; it is not merely an import loader. The complete license is included at [`LICENSES/GPL-3.0-only.txt`](LICENSES/GPL-3.0-only.txt). -The locally authored aggregate loader `packages/protocol/proto/snapchain-6152402.proto` records the source pin and imports the files above; consumers must account for the upstream license when redistributing a combined work. +## Warpkeep-derived Mini App integration + +Portions of the following files were adapted and modified from [Warpkeep at commit `96e49cdb60b2fc8483e63f9df58447e5acbc6b92`](https://github.com/ael-dev3/Warpkeep/tree/96e49cdb60b2fc8483e63f9df58447e5acbc6b92): + +- `apps/dashboard/src/farcaster/miniAppRuntime.ts` +- `apps/dashboard/src/farcaster/MiniAppProvider.tsx` +- `apps/dashboard/src/farcaster/miniAppRuntime.test.ts` +- `apps/dashboard/src/farcaster/MiniAppProvider.test.tsx` + +Those portions are redistributed under the [Apache License 2.0](LICENSES/Apache-2.0.txt), with modifications for SnapMeter's read-only Mini App and Quick Auth integration. The applicable upstream [`NOTICE`](https://github.com/ael-dev3/Warpkeep/blob/96e49cdb60b2fc8483e63f9df58447e5acbc6b92/NOTICE) attribution is: + +```text +Warpkeep +Copyright 2026 Warpkeep contributors +``` + +Warpkeep's game-specific assets and Hegemony Mark artwork are not included in SnapMeter, so their asset-specific notice does not apply to this distribution. The complete upstream [Apache-2.0 license](https://github.com/ael-dev3/Warpkeep/blob/96e49cdb60b2fc8483e63f9df58447e5acbc6b92/LICENSE) is reproduced locally at [`LICENSES/Apache-2.0.txt`](LICENSES/Apache-2.0.txt). ## Optional upstream nodes @@ -26,7 +43,7 @@ Snapchain and Hypersnap node source, binaries, container images, databases, and Third-party packages installed from `pnpm-lock.yaml` are not relicensed by SnapMeter. Their own package metadata and license files govern them. A source checkout intentionally does not include `node_modules`. -The production build generates a combined `THIRD_PARTY_LICENSES.txt` from the exact modules Vite bundles into the public browser assets and Cloudflare Worker. That file is served with the deployed application. The post-build verifier fails when either environment's inventory is missing, the combined copy is stale, or a reviewed attribution is absent. +The production build generates a combined `THIRD_PARTY_LICENSES.txt` from the exact modules Vite bundles into the public browser assets and Cloudflare Worker, then prepends the applicable Warpkeep Apache-2.0 license and NOTICE. That file is served with the deployed application. The post-build verifier fails when either environment's inventory is missing, the combined copy is stale, the Warpkeep license or attribution is absent, or a reviewed package attribution is absent. The published `@farcaster/quick-auth` 0.0.8 package declares MIT but its package allowlist omits a license file. At the exact upstream [0.0.8 version-bump commit](https://github.com/farcasterxyz/quick-auth/tree/79e064d75c3d03ca797401d49e8e8cc33a3bdfc9), the repository's available MIT notice is [`Copyright (c) 2025 Farcaster`](https://github.com/farcasterxyz/quick-auth/blob/79e064d75c3d03ca797401d49e8e8cc33a3bdfc9/hono-cloudflare-worker/LICENSE). The generator supplies that reviewed full text and provenance instead of silently emitting an empty Quick Auth section. diff --git a/apps/dashboard/scripts/generate-third-party-licenses.mjs b/apps/dashboard/scripts/generate-third-party-licenses.mjs index 79851ee..b31e57e 100644 --- a/apps/dashboard/scripts/generate-third-party-licenses.mjs +++ b/apps/dashboard/scripts/generate-third-party-licenses.mjs @@ -1,3 +1,4 @@ +import { createHash } from "node:crypto"; import { readFileSync, rmSync, writeFileSync } from "node:fs"; import { join, relative, resolve } from "node:path"; import process from "node:process"; @@ -6,8 +7,13 @@ export const NOTICE_FILE_NAME = "THIRD_PARTY_LICENSES.txt"; export const ENVIRONMENT_NOTICE_PATH = join(".vite", "third-party-licenses.md"); const dashboardRoot = resolve(import.meta.dirname, ".."); +const repositoryRoot = resolve(dashboardRoot, "..", ".."); const distRoot = join(dashboardRoot, "dist"); const generatedDevVarsPath = join(distRoot, "snapmeter", ".dev.vars"); +const apacheLicensePath = join(repositoryRoot, "LICENSES", "Apache-2.0.txt"); +const APACHE_LICENSE_SHA256 = "283ea6cc2997a1a70da0049e09adf9317bb60ca1b51279b65196b83a69e1996b"; +export const WARPKEEP_SOURCE_COMMIT = "96e49cdb60b2fc8483e63f9df58447e5acbc6b92"; +export const WARPKEEP_NOTICE_COPYRIGHT = "Copyright 2026 Warpkeep contributors"; const APACHE_ATTRIBUTIONS = new Map([ ["comlink", "Copyright 2019 Google LLC"] ]); @@ -46,6 +52,37 @@ function normalized(value) { return value.replaceAll("\r\n", "\n").trim(); } +function warpkeepAdaptationNotice() { + let license; + try { + license = normalized(readFileSync(apacheLicensePath, "utf8")); + } catch { + throw new Error(`missing Apache-2.0 license: ${relative(repositoryRoot, apacheLicensePath)}`); + } + const digest = createHash("sha256").update(license).digest("hex"); + if (digest !== APACHE_LICENSE_SHA256) { + throw new Error(`Apache-2.0 license is incomplete or stale: ${relative(repositoryRoot, apacheLicensePath)}`); + } + return [ + "Warpkeep-derived Mini App code", + "--------------------------------", + "", + "Portions of the browser Mini App runtime and provider were adapted and", + "modified from Warpkeep under the Apache License 2.0.", + `Source: https://github.com/ael-dev3/Warpkeep/tree/${WARPKEEP_SOURCE_COMMIT}`, + "", + "Applicable upstream NOTICE:", + "", + "Warpkeep", + WARPKEEP_NOTICE_COPYRIGHT, + "", + "Apache License 2.0", + "------------------", + "", + license + ].join("\n"); +} + function withRequiredAttributions(source) { const completed = source.replace( /^(## ([^\s]+) - [^\n]+\(([^)]+)\)\n)\n(?=## |$)/gmu, @@ -92,17 +129,21 @@ function readEnvironmentNotice(environment) { } export function expectedThirdPartyNotice() { + const warpkeep = warpkeepAdaptationNotice(); const client = readEnvironmentNotice("client"); const worker = readEnvironmentNotice("snapmeter"); return [ "SnapMeter third-party redistribution notices", "============================================", "", - "This file is generated from the exact production modules bundled by Vite.", - "It covers both the public browser assets and the Cloudflare Worker bundle.", + "This file combines the required notice for adapted project code with licenses", + "generated from the exact production modules bundled by Vite. It covers both", + "the public browser assets and the Cloudflare Worker bundle.", "The source release and its separately vendored protocol notices are documented", "in the repository root THIRD_PARTY_NOTICES.md.", "", + warpkeep, + "", "Browser bundle", "--------------", "", diff --git a/apps/dashboard/scripts/verify-client-bundle.mjs b/apps/dashboard/scripts/verify-client-bundle.mjs index 675e855..0fb8fc8 100644 --- a/apps/dashboard/scripts/verify-client-bundle.mjs +++ b/apps/dashboard/scripts/verify-client-bundle.mjs @@ -3,7 +3,9 @@ import { join, relative, resolve } from "node:path"; import process from "node:process"; import { expectedThirdPartyNotice, - NOTICE_FILE_NAME + NOTICE_FILE_NAME, + WARPKEEP_NOTICE_COPYRIGHT, + WARPKEEP_SOURCE_COMMIT } from "./generate-third-party-licenses.mjs"; const root = resolve(import.meta.dirname, ".."); @@ -72,6 +74,11 @@ if (expectedNotice !== undefined) { } const requiredInventory = [ + "Warpkeep-derived Mini App code", + `https://github.com/ael-dev3/Warpkeep/tree/${WARPKEEP_SOURCE_COMMIT}`, + WARPKEEP_NOTICE_COPYRIGHT, + "TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION", + "END OF TERMS AND CONDITIONS", "## @farcaster/miniapp-sdk - 0.3.0 (MIT)", "## @farcaster/quick-auth - 0.0.8 (MIT)", "## comlink - 4.4.2 (Apache-2.0)", diff --git a/apps/dashboard/src/farcaster/MiniAppProvider.test.tsx b/apps/dashboard/src/farcaster/MiniAppProvider.test.tsx index e8101d4..a853043 100644 --- a/apps/dashboard/src/farcaster/MiniAppProvider.test.tsx +++ b/apps/dashboard/src/farcaster/MiniAppProvider.test.tsx @@ -1,4 +1,8 @@ // @vitest-environment jsdom +// Adapted from ael-dev3/Warpkeep at commit +// 96e49cdb60b2fc8483e63f9df58447e5acbc6b92 (Apache-2.0). +// Modified for SnapMeter; see THIRD_PARTY_NOTICES.md. + import { StrictMode } from "react"; import { render, screen, waitFor } from "@testing-library/react"; import { afterEach, describe, expect, it, vi } from "vitest"; diff --git a/apps/dashboard/src/farcaster/MiniAppProvider.tsx b/apps/dashboard/src/farcaster/MiniAppProvider.tsx index 996db38..826b552 100644 --- a/apps/dashboard/src/farcaster/MiniAppProvider.tsx +++ b/apps/dashboard/src/farcaster/MiniAppProvider.tsx @@ -1,3 +1,7 @@ +// Adapted from ael-dev3/Warpkeep at commit +// 96e49cdb60b2fc8483e63f9df58447e5acbc6b92 (Apache-2.0). +// Modified for SnapMeter; see THIRD_PARTY_NOTICES.md. + import { createContext, useContext, diff --git a/apps/dashboard/src/farcaster/miniAppRuntime.test.ts b/apps/dashboard/src/farcaster/miniAppRuntime.test.ts index 6e50bf7..4cec7a6 100644 --- a/apps/dashboard/src/farcaster/miniAppRuntime.test.ts +++ b/apps/dashboard/src/farcaster/miniAppRuntime.test.ts @@ -1,4 +1,8 @@ // @vitest-environment jsdom +// Adapted from ael-dev3/Warpkeep at commit +// 96e49cdb60b2fc8483e63f9df58447e5acbc6b92 (Apache-2.0). +// Modified for SnapMeter; see THIRD_PARTY_NOTICES.md. + import { afterEach, describe, expect, it } from "vitest"; import { diff --git a/apps/dashboard/src/farcaster/miniAppRuntime.ts b/apps/dashboard/src/farcaster/miniAppRuntime.ts index 2489064..f21c9af 100644 --- a/apps/dashboard/src/farcaster/miniAppRuntime.ts +++ b/apps/dashboard/src/farcaster/miniAppRuntime.ts @@ -1,3 +1,7 @@ +// Adapted from ael-dev3/Warpkeep at commit +// 96e49cdb60b2fc8483e63f9df58447e5acbc6b92 (Apache-2.0). +// Modified for SnapMeter; see THIRD_PARTY_NOTICES.md. + export type MiniAppSafeAreaInsets = Readonly<{ top: number; right: number; diff --git a/packages/protocol/proto/snapchain-6152402.proto b/packages/protocol/proto/snapchain-6152402.proto index 7f2ea96..85bb91f 100644 --- a/packages/protocol/proto/snapchain-6152402.proto +++ b/packages/protocol/proto/snapchain-6152402.proto @@ -1,6 +1,7 @@ -// Wire-compatible analytics subset vendored from farcasterxyz/snapchain at -// 6152402aea2dbe732fb73076f674b038bfd4aee5. Unknown upstream fields are safely -// ignored by protobuf. See docs/upstream-sources.md. +// Adapted and modified for SnapMeter on 2026-08-13 from farcasterxyz/snapchain +// at 6152402aea2dbe732fb73076f674b038bfd4aee5. This wire-compatible analytics +// subset ignores unknown upstream fields safely through protobuf. Distributed +// under GPL-3.0-only; see THIRD_PARTY_NOTICES.md and docs/upstream-sources.md. syntax = "proto3"; enum HubEventType {