@ampless/plugin-cookie-consent 0.1.0-alpha.8 → 0.1.0-beta.26
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 +2 -2
- package/README.md +2 -2
- package/package.json +2 -2
package/README.ja.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[ampless](https://github.com/heavymoons/ampless) 向け GDPR/ePrivacy 対応 Cookie 同意バナープラグイン。
|
|
7
7
|
|
|
8
|
-
> **プレリリース /
|
|
8
|
+
> **プレリリース / ベータ版。** v1.0 まではマイナーバージョンでも破壊的変更が入る可能性があります。
|
|
9
9
|
|
|
10
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 を利用して、訪問者が同意するまで自身を無効化します。
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ AWS のデータ権限は不要です。すべて公開 Next.js プロセスの
|
|
|
14
14
|
## インストール
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install @ampless/plugin-cookie-consent@
|
|
17
|
+
npm install @ampless/plugin-cookie-consent@beta
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## 設定
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
GDPR/ePrivacy cookie consent banner plugin for [ampless](https://github.com/heavymoons/ampless).
|
|
7
7
|
|
|
8
|
-
> **Pre-release /
|
|
8
|
+
> **Pre-release / beta.** Breaking changes possible in any minor version until v1.0.
|
|
9
9
|
|
|
10
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.
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ No AWS data permissions are required — everything runs at request time inside
|
|
|
14
14
|
## Install
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install @ampless/plugin-cookie-consent@
|
|
17
|
+
npm install @ampless/plugin-cookie-consent@beta
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Configure
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/plugin-cookie-consent",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-beta.26",
|
|
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-
|
|
29
|
+
"ampless": "1.0.0-beta.51"
|
|
30
30
|
},
|
|
31
31
|
"keywords": [
|
|
32
32
|
"ampless",
|