Skip to content

Commit 1cbf8cb

Browse files
madblexgithub-actions[bot]
authored andcommitted
Release build 8.10.0 [ci release]
1 parent f010454 commit 1cbf8cb

File tree

15 files changed

+150
-406
lines changed

15 files changed

+150
-406
lines changed

.github/workflows/asana.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: sammacbeth/action-asana-sync@v6
18+
- uses: duckduckgo/action-asana-sync@v9
1919
with:
2020
ASANA_ACCESS_TOKEN: ${{ secrets.ASANA_ACCESS_TOKEN }}
2121
ASANA_WORKSPACE_ID: ${{ secrets.ASANA_WORKSPACE_ID }}
2222
ASANA_PROJECT_ID: '1208598406046969'
23+
GITHUB_PAT: ${{ secrets.GH_RO_PAT }}
2324
USER_MAP: ${{ vars.USER_MAP }}
25+
ASSIGN_PR_AUTHOR: 'true'

CHANGELOG.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
- New Duck Player entry point (#1559)
2-
- history screenshots (#1511)
1+
- feat(pir): deprecate useEnhancedCaptchaSystem setting (#1608)
2+
- Fixes privacy-config hash on CI (#1605)
3+
- Update asana.yml (#1562)
4+
- Ensure getFeatureSettingEnabled behaves as expected (#1607)

Sources/ContentScopeScripts/dist/contentScopeIsolated.js

Lines changed: 9 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8537,12 +8537,6 @@
85378537
init_define_import_meta_trackerLookup();
85388538

85398539
// src/features/broker-protection/captcha-services/captcha.service.js
8540-
var captcha_service_exports = {};
8541-
__export(captcha_service_exports, {
8542-
getCaptchaInfo: () => getCaptchaInfo2,
8543-
getSupportingCodeToInject: () => getSupportingCodeToInject,
8544-
solveCaptcha: () => solveCaptcha2
8545-
});
85468540
init_define_import_meta_trackerLookup();
85478541

85488542
// src/features/broker-protection/utils/url.js
@@ -8852,11 +8846,6 @@
88528846
}
88538847

88548848
// src/features/broker-protection/actions/captcha-deprecated.js
8855-
var captcha_deprecated_exports = {};
8856-
__export(captcha_deprecated_exports, {
8857-
getCaptchaInfo: () => getCaptchaInfo,
8858-
solveCaptcha: () => solveCaptcha
8859-
});
88608849
init_define_import_meta_trackerLookup();
88618850
function getCaptchaInfo(action, root = document) {
88628851
const pageUrl = window.location.href;
@@ -9063,45 +9052,24 @@
90639052
return new SuccessResponse({ actionID, actionType, response });
90649053
}
90659054

9066-
// src/features/broker-protection/actions/actions.js
9067-
function resolveActionHandlers({ useEnhancedCaptchaSystem }) {
9068-
return {
9069-
extract,
9070-
fillForm,
9071-
click,
9072-
expectation,
9073-
...useEnhancedCaptchaSystem ? {
9074-
navigate,
9075-
...captcha_service_exports
9076-
} : {
9077-
navigate: buildUrl,
9078-
...captcha_deprecated_exports
9079-
}
9080-
};
9081-
}
9082-
90839055
// src/features/broker-protection/execute.js
9084-
async function execute(action, inputData, root = document, options = {}) {
9056+
async function execute(action, inputData, root = document) {
90859057
try {
9086-
const { useEnhancedCaptchaSystem = false } = options;
9087-
const { navigate: navigate2, extract: extract2, click: click2, expectation: expectation2, fillForm: fillForm2, getCaptchaInfo: getCaptchaInfo3, solveCaptcha: solveCaptcha3 } = resolveActionHandlers({
9088-
useEnhancedCaptchaSystem
9089-
});
90909058
switch (action.actionType) {
90919059
case "navigate":
9092-
return navigate2(action, data(action, inputData, "userProfile"));
9060+
return navigate(action, data(action, inputData, "userProfile"));
90939061
case "extract":
9094-
return await extract2(action, data(action, inputData, "userProfile"), root);
9062+
return await extract(action, data(action, inputData, "userProfile"), root);
90959063
case "click":
9096-
return click2(action, data(action, inputData, "userProfile"), root);
9064+
return click(action, data(action, inputData, "userProfile"), root);
90979065
case "expectation":
9098-
return expectation2(action, root);
9066+
return expectation(action, root);
90999067
case "fillForm":
9100-
return fillForm2(action, data(action, inputData, "extractedProfile"), root);
9068+
return fillForm(action, data(action, inputData, "extractedProfile"), root);
91019069
case "getCaptchaInfo":
9102-
return getCaptchaInfo3(action, root);
9070+
return getCaptchaInfo2(action, root);
91039071
case "solveCaptcha":
9104-
return solveCaptcha3(action, data(action, inputData, "token"), root);
9072+
return solveCaptcha2(action, data(action, inputData, "token"), root);
91059073
default: {
91069074
return new ErrorResponse({
91079075
actionID: action.id,
@@ -9189,8 +9157,7 @@
91899157
*/
91909158
async exec(action, data2) {
91919159
const retryConfig = this.retryConfigFor(action);
9192-
const options = { useEnhancedCaptchaSystem: this.getFeatureSettingEnabled("useEnhancedCaptchaSystem") };
9193-
const { result, exceptions } = await retry(() => execute(action, data2, document, options), retryConfig);
9160+
const { result, exceptions } = await retry(() => execute(action, data2, document), retryConfig);
91949161
if (result) {
91959162
if ("success" in result && Array.isArray(result.success.next)) {
91969163
const nextResults = [];

build/android/brokerProtection.js

Lines changed: 9 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
var __commonJS = (cb, mod) => function __require2() {
2424
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
2525
};
26-
var __export = (target, all) => {
27-
for (var name in all)
28-
__defProp(target, name, { get: all[name], enumerable: true });
29-
};
3026
var __copyProps = (to, from, except, desc) => {
3127
if (from && typeof from === "object" || typeof from === "function") {
3228
for (let key of __getOwnPropNames(from))
@@ -6439,12 +6435,6 @@
64396435
init_define_import_meta_trackerLookup();
64406436

64416437
// src/features/broker-protection/captcha-services/captcha.service.js
6442-
var captcha_service_exports = {};
6443-
__export(captcha_service_exports, {
6444-
getCaptchaInfo: () => getCaptchaInfo2,
6445-
getSupportingCodeToInject: () => getSupportingCodeToInject,
6446-
solveCaptcha: () => solveCaptcha2
6447-
});
64486438
init_define_import_meta_trackerLookup();
64496439

64506440
// src/features/broker-protection/utils/url.js
@@ -6754,11 +6744,6 @@
67546744
}
67556745

67566746
// src/features/broker-protection/actions/captcha-deprecated.js
6757-
var captcha_deprecated_exports = {};
6758-
__export(captcha_deprecated_exports, {
6759-
getCaptchaInfo: () => getCaptchaInfo,
6760-
solveCaptcha: () => solveCaptcha
6761-
});
67626747
init_define_import_meta_trackerLookup();
67636748
function getCaptchaInfo(action, root = document) {
67646749
const pageUrl = window.location.href;
@@ -6965,45 +6950,24 @@
69656950
return new SuccessResponse({ actionID, actionType, response });
69666951
}
69676952

6968-
// src/features/broker-protection/actions/actions.js
6969-
function resolveActionHandlers({ useEnhancedCaptchaSystem }) {
6970-
return {
6971-
extract,
6972-
fillForm,
6973-
click,
6974-
expectation,
6975-
...useEnhancedCaptchaSystem ? {
6976-
navigate,
6977-
...captcha_service_exports
6978-
} : {
6979-
navigate: buildUrl,
6980-
...captcha_deprecated_exports
6981-
}
6982-
};
6983-
}
6984-
69856953
// src/features/broker-protection/execute.js
6986-
async function execute(action, inputData, root = document, options = {}) {
6954+
async function execute(action, inputData, root = document) {
69876955
try {
6988-
const { useEnhancedCaptchaSystem = false } = options;
6989-
const { navigate: navigate2, extract: extract2, click: click2, expectation: expectation2, fillForm: fillForm2, getCaptchaInfo: getCaptchaInfo3, solveCaptcha: solveCaptcha3 } = resolveActionHandlers({
6990-
useEnhancedCaptchaSystem
6991-
});
69926956
switch (action.actionType) {
69936957
case "navigate":
6994-
return navigate2(action, data(action, inputData, "userProfile"));
6958+
return navigate(action, data(action, inputData, "userProfile"));
69956959
case "extract":
6996-
return await extract2(action, data(action, inputData, "userProfile"), root);
6960+
return await extract(action, data(action, inputData, "userProfile"), root);
69976961
case "click":
6998-
return click2(action, data(action, inputData, "userProfile"), root);
6962+
return click(action, data(action, inputData, "userProfile"), root);
69996963
case "expectation":
7000-
return expectation2(action, root);
6964+
return expectation(action, root);
70016965
case "fillForm":
7002-
return fillForm2(action, data(action, inputData, "extractedProfile"), root);
6966+
return fillForm(action, data(action, inputData, "extractedProfile"), root);
70036967
case "getCaptchaInfo":
7004-
return getCaptchaInfo3(action, root);
6968+
return getCaptchaInfo2(action, root);
70056969
case "solveCaptcha":
7006-
return solveCaptcha3(action, data(action, inputData, "token"), root);
6970+
return solveCaptcha2(action, data(action, inputData, "token"), root);
70076971
default: {
70086972
return new ErrorResponse({
70096973
actionID: action.id,
@@ -7091,8 +7055,7 @@
70917055
*/
70927056
async exec(action, data2) {
70937057
const retryConfig = this.retryConfigFor(action);
7094-
const options = { useEnhancedCaptchaSystem: this.getFeatureSettingEnabled("useEnhancedCaptchaSystem") };
7095-
const { result, exceptions } = await retry(() => execute(action, data2, document, options), retryConfig);
7058+
const { result, exceptions } = await retry(() => execute(action, data2, document), retryConfig);
70967059
if (result) {
70977060
if ("success" in result && Array.isArray(result.success.next)) {
70987061
const nextResults = [];

build/integration/contentScope.js

Lines changed: 9 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -15885,12 +15885,6 @@
1588515885
init_define_import_meta_trackerLookup();
1588615886

1588715887
// src/features/broker-protection/captcha-services/captcha.service.js
15888-
var captcha_service_exports = {};
15889-
__export(captcha_service_exports, {
15890-
getCaptchaInfo: () => getCaptchaInfo2,
15891-
getSupportingCodeToInject: () => getSupportingCodeToInject,
15892-
solveCaptcha: () => solveCaptcha2
15893-
});
1589415888
init_define_import_meta_trackerLookup();
1589515889

1589615890
// src/features/broker-protection/utils/url.js
@@ -16200,11 +16194,6 @@
1620016194
}
1620116195

1620216196
// src/features/broker-protection/actions/captcha-deprecated.js
16203-
var captcha_deprecated_exports = {};
16204-
__export(captcha_deprecated_exports, {
16205-
getCaptchaInfo: () => getCaptchaInfo,
16206-
solveCaptcha: () => solveCaptcha
16207-
});
1620816197
init_define_import_meta_trackerLookup();
1620916198
function getCaptchaInfo(action, root = document) {
1621016199
const pageUrl = window.location.href;
@@ -16411,45 +16400,24 @@
1641116400
return new SuccessResponse({ actionID, actionType, response });
1641216401
}
1641316402

16414-
// src/features/broker-protection/actions/actions.js
16415-
function resolveActionHandlers({ useEnhancedCaptchaSystem }) {
16416-
return {
16417-
extract,
16418-
fillForm,
16419-
click,
16420-
expectation,
16421-
...useEnhancedCaptchaSystem ? {
16422-
navigate,
16423-
...captcha_service_exports
16424-
} : {
16425-
navigate: buildUrl,
16426-
...captcha_deprecated_exports
16427-
}
16428-
};
16429-
}
16430-
1643116403
// src/features/broker-protection/execute.js
16432-
async function execute(action, inputData, root = document, options = {}) {
16404+
async function execute(action, inputData, root = document) {
1643316405
try {
16434-
const { useEnhancedCaptchaSystem = false } = options;
16435-
const { navigate: navigate2, extract: extract2, click: click2, expectation: expectation2, fillForm: fillForm2, getCaptchaInfo: getCaptchaInfo3, solveCaptcha: solveCaptcha3 } = resolveActionHandlers({
16436-
useEnhancedCaptchaSystem
16437-
});
1643816406
switch (action.actionType) {
1643916407
case "navigate":
16440-
return navigate2(action, data(action, inputData, "userProfile"));
16408+
return navigate(action, data(action, inputData, "userProfile"));
1644116409
case "extract":
16442-
return await extract2(action, data(action, inputData, "userProfile"), root);
16410+
return await extract(action, data(action, inputData, "userProfile"), root);
1644316411
case "click":
16444-
return click2(action, data(action, inputData, "userProfile"), root);
16412+
return click(action, data(action, inputData, "userProfile"), root);
1644516413
case "expectation":
16446-
return expectation2(action, root);
16414+
return expectation(action, root);
1644716415
case "fillForm":
16448-
return fillForm2(action, data(action, inputData, "extractedProfile"), root);
16416+
return fillForm(action, data(action, inputData, "extractedProfile"), root);
1644916417
case "getCaptchaInfo":
16450-
return getCaptchaInfo3(action, root);
16418+
return getCaptchaInfo2(action, root);
1645116419
case "solveCaptcha":
16452-
return solveCaptcha3(action, data(action, inputData, "token"), root);
16420+
return solveCaptcha2(action, data(action, inputData, "token"), root);
1645316421
default: {
1645416422
return new ErrorResponse({
1645516423
actionID: action.id,
@@ -16537,8 +16505,7 @@
1653716505
*/
1653816506
async exec(action, data2) {
1653916507
const retryConfig = this.retryConfigFor(action);
16540-
const options = { useEnhancedCaptchaSystem: this.getFeatureSettingEnabled("useEnhancedCaptchaSystem") };
16541-
const { result, exceptions } = await retry(() => execute(action, data2, document, options), retryConfig);
16508+
const { result, exceptions } = await retry(() => execute(action, data2, document), retryConfig);
1654216509
if (result) {
1654316510
if ("success" in result && Array.isArray(result.success.next)) {
1654416511
const nextResults = [];

build/windows/contentScope.js

Lines changed: 9 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -12053,12 +12053,6 @@
1205312053
init_define_import_meta_trackerLookup();
1205412054

1205512055
// src/features/broker-protection/captcha-services/captcha.service.js
12056-
var captcha_service_exports = {};
12057-
__export(captcha_service_exports, {
12058-
getCaptchaInfo: () => getCaptchaInfo2,
12059-
getSupportingCodeToInject: () => getSupportingCodeToInject,
12060-
solveCaptcha: () => solveCaptcha2
12061-
});
1206212056
init_define_import_meta_trackerLookup();
1206312057

1206412058
// src/features/broker-protection/utils/url.js
@@ -12368,11 +12362,6 @@
1236812362
}
1236912363

1237012364
// src/features/broker-protection/actions/captcha-deprecated.js
12371-
var captcha_deprecated_exports = {};
12372-
__export(captcha_deprecated_exports, {
12373-
getCaptchaInfo: () => getCaptchaInfo,
12374-
solveCaptcha: () => solveCaptcha
12375-
});
1237612365
init_define_import_meta_trackerLookup();
1237712366
function getCaptchaInfo(action, root = document) {
1237812367
const pageUrl = window.location.href;
@@ -12579,45 +12568,24 @@
1257912568
return new SuccessResponse({ actionID, actionType, response });
1258012569
}
1258112570

12582-
// src/features/broker-protection/actions/actions.js
12583-
function resolveActionHandlers({ useEnhancedCaptchaSystem }) {
12584-
return {
12585-
extract,
12586-
fillForm,
12587-
click,
12588-
expectation,
12589-
...useEnhancedCaptchaSystem ? {
12590-
navigate,
12591-
...captcha_service_exports
12592-
} : {
12593-
navigate: buildUrl,
12594-
...captcha_deprecated_exports
12595-
}
12596-
};
12597-
}
12598-
1259912571
// src/features/broker-protection/execute.js
12600-
async function execute(action, inputData, root = document, options = {}) {
12572+
async function execute(action, inputData, root = document) {
1260112573
try {
12602-
const { useEnhancedCaptchaSystem = false } = options;
12603-
const { navigate: navigate2, extract: extract2, click: click2, expectation: expectation2, fillForm: fillForm2, getCaptchaInfo: getCaptchaInfo3, solveCaptcha: solveCaptcha3 } = resolveActionHandlers({
12604-
useEnhancedCaptchaSystem
12605-
});
1260612574
switch (action.actionType) {
1260712575
case "navigate":
12608-
return navigate2(action, data(action, inputData, "userProfile"));
12576+
return navigate(action, data(action, inputData, "userProfile"));
1260912577
case "extract":
12610-
return await extract2(action, data(action, inputData, "userProfile"), root);
12578+
return await extract(action, data(action, inputData, "userProfile"), root);
1261112579
case "click":
12612-
return click2(action, data(action, inputData, "userProfile"), root);
12580+
return click(action, data(action, inputData, "userProfile"), root);
1261312581
case "expectation":
12614-
return expectation2(action, root);
12582+
return expectation(action, root);
1261512583
case "fillForm":
12616-
return fillForm2(action, data(action, inputData, "extractedProfile"), root);
12584+
return fillForm(action, data(action, inputData, "extractedProfile"), root);
1261712585
case "getCaptchaInfo":
12618-
return getCaptchaInfo3(action, root);
12586+
return getCaptchaInfo2(action, root);
1261912587
case "solveCaptcha":
12620-
return solveCaptcha3(action, data(action, inputData, "token"), root);
12588+
return solveCaptcha2(action, data(action, inputData, "token"), root);
1262112589
default: {
1262212590
return new ErrorResponse({
1262312591
actionID: action.id,
@@ -12705,8 +12673,7 @@
1270512673
*/
1270612674
async exec(action, data2) {
1270712675
const retryConfig = this.retryConfigFor(action);
12708-
const options = { useEnhancedCaptchaSystem: this.getFeatureSettingEnabled("useEnhancedCaptchaSystem") };
12709-
const { result, exceptions } = await retry(() => execute(action, data2, document, options), retryConfig);
12676+
const { result, exceptions } = await retry(() => execute(action, data2, document), retryConfig);
1271012677
if (result) {
1271112678
if ("success" in result && Array.isArray(result.success.next)) {
1271212679
const nextResults = [];

0 commit comments

Comments
 (0)