Skip to content

Commit

Permalink
Extension version 2.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rarous committed Nov 15, 2023
1 parent 7b67f17 commit 07dfd0a
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 28 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Extension

## 2.1.7
* Fix Teta original price parsing
* Fix Knihy Dobrovsky original price parsing

## 2.1.6
* Fix teta drogerie original price parsing
* Fix Knihy Dobrovsky original price parsing
Expand Down
40 changes: 20 additions & 20 deletions apple/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (ShareExtension)/Info.plist";
Expand All @@ -627,7 +627,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
PRODUCT_BUNDLE_IDENTIFIER = "com.topmonks.hlidac-shopu.ShareExtension";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -644,7 +644,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (ShareExtension)/Info.plist";
Expand All @@ -656,7 +656,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
PRODUCT_BUNDLE_IDENTIFIER = "com.topmonks.hlidac-shopu.ShareExtension";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -783,7 +783,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (Extension)/Info.plist";
Expand All @@ -795,7 +795,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -816,7 +816,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (Extension)/Info.plist";
Expand All @@ -828,7 +828,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -853,7 +853,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (App)/Info.plist";
Expand All @@ -868,7 +868,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -893,7 +893,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (App)/Info.plist";
Expand All @@ -908,7 +908,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -932,7 +932,7 @@
CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/hlidac shopu.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -945,7 +945,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -966,7 +966,7 @@
CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/hlidac shopu.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -979,7 +979,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -1003,7 +1003,7 @@
CODE_SIGN_ENTITLEMENTS = "macOS (App)/hlidac shopu.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1017,7 +1017,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -1043,7 +1043,7 @@
CODE_SIGN_ENTITLEMENTS = "macOS (App)/hlidac shopu.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 8P5697C5H7;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1057,7 +1057,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.1.6;
MARKETING_VERSION = 2.1.7;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand Down
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"default_locale": "cs",
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "2.1.6",
"version": "2.1.7",
"author": "TopMonks s.r.o. & contributors",
"homepage_url": "https://www.hlidacshopu.cz/",
"background": {
Expand Down
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hlidac-shopu/extension",
"version": "2.1.6",
"version": "2.1.7",
"description": "Extension",
"dependencies": {
"@hlidac-shopu/lib": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion extension/popup/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h1>
/>
</svg>
</a>
<small>2.1.6</small>
<small>2.1.7</small>
</h1>
<div class="c">
<p>
Expand Down
4 changes: 2 additions & 2 deletions extension/shops/knihydobrovsky.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { cleanPrice, registerShop } from "../helpers.mjs";
import { cleanPriceText, registerShop } from "../helpers.mjs";
import { Shop } from "./shop.mjs";

export class Knihydobrovsky extends Shop {
Expand All @@ -14,7 +14,7 @@ export class Knihydobrovsky extends Shop {
const elem = document.querySelector(".box-product");
if (!elem) return;

const priceBefore = cleanPrice(
const priceBefore = cleanPriceText(
elem
.querySelector(".box-std .price-before")
.textContent.split(":")
Expand Down
2 changes: 1 addition & 1 deletion extension/shops/tetadrogerie.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class TetaDrogerie extends Shop {
const product = elem.querySelector(".j-product");
const itemId = product.dataset.skuid;
const title = product.querySelector(".sx-detail-product-name").innerText;
const offerPrice = cleanPrice(".sx-detail-offer-valid-to");
const offerPrice = cleanPrice(".sx-detail-offer-valid-to .sx-sale-w-arrow-container");
const actionPrice = cleanPrice(".sx-detail-price-action");
const initialPrice = cleanPrice(".sx-detail-price-initial");
const originalPrice = offerPrice ?? (actionPrice ? initialPrice / 100 : null);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hlidac-shopu",
"version": "2.1.6",
"version": "2.1.7",
"private": true,
"description": "Rozšíření zobrazuje historická data pro největší české eshopy.",
"author": "TopMonks s.r.o. & contributors",
Expand Down
2 changes: 1 addition & 1 deletion www.hlidacshopu.cz/src/static/webapp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.6",
"version": "2.1.7",
"name": "Hlídač Shopů",
"description": "Ověřte si, jestli v nejoblíbenějších českých e-shopech nakupujete opravdu se slevou.",
"type": "web",
Expand Down

0 comments on commit 07dfd0a

Please sign in to comment.