Skip to content

Commit

Permalink
Use our own autoconsent fork (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
sammacbeth authored Feb 25, 2022
1 parent f2ce3e9 commit 87a64e3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo/Autoconsent/background.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global browser */
import AutoConsent from '@cliqz/autoconsent/lib/web'
import * as rules from '@cliqz/autoconsent/rules/rules.json'
import AutoConsent from '@duckduckgo/autoconsent/lib/web'
import * as rules from '@duckduckgo/autoconsent/rules/rules.json'

const consent = new AutoConsent(browser, browser.tabs.sendMessage)

Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/Autoconsent/userscript.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import handleContentMessage from '@cliqz/autoconsent/lib/web/content'
import handleContentMessage from '@duckduckgo/autoconsent/lib/web/content'

window.autoconsent = (payload) => {
return handleContentMessage(payload.message, false)
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"rollup": "^2.61.0"
},
"dependencies": {
"@cliqz/autoconsent": "1.0.2"
"@duckduckgo/autoconsent": "1.0.2"
}
}

0 comments on commit 87a64e3

Please sign in to comment.