@ampless/plugin-cookie-consent 0.1.0-beta.37 → 0.1.0-beta.38

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.ja.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  > **プレリリース / ベータ版。** v1.0 まではマイナーバージョンでも破壊的変更が入る可能性があります。
9
9
 
10
- 公開ページの `<head>` に `window.amplessConsent` Consent Convention API([プラグインアーキテクチャ doc](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.ja.md) §Consent Convention)をインストールし、React ツリー外に設定可能な同意バナーを `<body>` に追加します。analytics / トラッキング系プラグインはこの API を利用して、訪問者が同意するまで自身を無効化します。
10
+ 公開ページの `<head>` に `window.amplessConsent` Consent Convention API([プラグインアーキテクチャ doc](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture.ja) §Consent Convention)をインストールし、React ツリー外に設定可能な同意バナーを `<body>` に追加します。analytics / トラッキング系プラグインはこの API を利用して、訪問者が同意するまで自身を無効化します。
11
11
 
12
12
  AWS のデータ権限は不要です。すべて公開 Next.js プロセスの描画時に動作します。`trust_level` は `untrusted`。
13
13
 
@@ -96,7 +96,7 @@ analytics の gate には `has`、バナーが「再プロンプトすべきか
96
96
 
97
97
  同意状態は `localStorage` のキー `'ampless:consent'` に `Record<string, boolean>` の JSON として保存されます。
98
98
 
99
- 詳細な API 仕様と analytics 側の consume パターンは [`docs/architecture/08-plugin-architecture.ja.md` — Consent Convention](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.ja.md#consent-convention) を参照してください。
99
+ 詳細な API 仕様と analytics 側の consume パターンは [`architecture-08-plugin-architecture.ja` — Consent Convention](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture.ja#consent-convention) を参照してください。
100
100
 
101
101
  ## analytics プラグインとの組み合わせ
102
102
 
package/README.md CHANGED
@@ -7,7 +7,7 @@ GDPR/ePrivacy cookie consent banner plugin for [ampless](https://github.com/heav
7
7
 
8
8
  > **Pre-release / beta.** Breaking changes possible in any minor version until v1.0.
9
9
 
10
- Installs the `window.amplessConsent` Consent Convention API (§6 of the [plugin architecture docs](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.md)) in every public page's `<head>`, then appends a configurable consent banner to `<body>` outside the React tree. Analytics and tracking plugins use the API to gate themselves until the visitor grants consent.
10
+ Installs the `window.amplessConsent` Consent Convention API (§6 of the [plugin architecture docs](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture)) in every public page's `<head>`, then appends a configurable consent banner to `<body>` outside the React tree. Analytics and tracking plugins use the API to gate themselves until the visitor grants consent.
11
11
 
12
12
  No AWS data permissions are required — everything runs at request time inside the public Next.js process. The plugin's `trust_level` is `untrusted`.
13
13
 
@@ -96,7 +96,7 @@ Standard events fired on `window`:
96
96
 
97
97
  Consent state is persisted in `localStorage` under the key `'ampless:consent'` as a `Record<string, boolean>` JSON object.
98
98
 
99
- For the full API specification and the analytics consume pattern see [`docs/architecture/08-plugin-architecture.md` — Consent Convention](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.md#consent-convention).
99
+ For the full API specification and the analytics consume pattern see [`architecture-08-plugin-architecture` — Consent Convention](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture#consent-convention).
100
100
 
101
101
  ## Combining with analytics plugins
102
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/plugin-cookie-consent",
3
- "version": "0.1.0-beta.37",
3
+ "version": "0.1.0-beta.38",
4
4
  "description": "Cookie consent banner plugin for ampless — installs window.amplessConsent API and renders a configurable consent banner",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "homepage": "https://github.com/heavymoons/ampless/tree/main/packages/plugin-cookie-consent#readme",
27
27
  "bugs": "https://github.com/heavymoons/ampless/issues",
28
28
  "dependencies": {
29
- "ampless": "1.0.0-beta.62"
29
+ "ampless": "1.0.0-beta.63"
30
30
  },
31
31
  "keywords": [
32
32
  "ampless",