Skip to content

Commit

Permalink
build: bump version to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
orestbida committed Apr 2, 2024
1 parent 7200b44 commit a285740
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/cookieconsent.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cookieconsent.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core/cookieconsent-core.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core/cookieconsent-core.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions docs/essential/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ You can download/import the plugin using one of the following methods:
::: code-group

```sh [npm]
npm i vanilla-cookieconsent@v3.0.0
npm i vanilla-cookieconsent@3.0.1
```

```sh [pnpm]
pnpm add vanilla-cookieconsent@v3.0.0
pnpm add vanilla-cookieconsent@3.0.1
```

```sh [yarn]
yarn add vanilla-cookieconsent@v3.0.0
yarn add vanilla-cookieconsent@3.0.1
```

:::
Expand All @@ -31,12 +31,12 @@ You can download/import the plugin using one of the following methods:

stylesheet:
```
https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.0/dist/cookieconsent.css
https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.css
```

script:
```
https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.0/dist/cookieconsent.umd.js
https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js
```

3. Download the [latest release](https://github.com/orestbida/cookieconsent/releases?q=cookieconsent+v3) from github and use the optimized files located in the `dist` folder.
Expand All @@ -58,7 +58,7 @@ Add the stylesheet in the head section. Create a new file — `cookieconsent-con
<html>
<head>
<!-- head content -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.0/dist/cookieconsent.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.css">
</head>
<body>
<!-- body content -->
Expand All @@ -70,7 +70,7 @@ Add the stylesheet in the head section. Create a new file — `cookieconsent-con
Import and [configure](#configuration) the plugin inside `cookieconsent-config.js`:

```javascript{1}
import 'https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.0/dist/cookieconsent.umd.js';
import 'https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js';
CookieConsent.run({
// your config. goes here (required)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-cookieconsent",
"version": "3.0.0",
"version": "3.0.1",
"description": "🍪 Simple cross-browser cookie-consent plugin written in vanilla js.",
"main": "dist/cookieconsent.umd.js",
"module": "dist/cookieconsent.esm.js",
Expand Down Expand Up @@ -60,4 +60,4 @@
"\\.[jt]sx?$": "babel-jest"
}
}
}
}

0 comments on commit a285740

Please sign in to comment.