@lana-commerce/core 14.0.0-alpha.10 → 14.0.0-alpha.11
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/CHANGELOG.md +0 -1
- package/cjs/shopLinks.js +0 -4
- package/esm/shopLinks.js +0 -3
- package/package.json +1 -1
- package/types/shopLinks.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -22,7 +22,6 @@ This project adheres to [Semantic Versioning][semantic versioning].
|
|
|
22
22
|
- Add webauthn related fields to customer/shop fragments.
|
|
23
23
|
- "Customer" module: now all signin forms share the custom error type. When custom error happens, it is set on all forms.
|
|
24
24
|
- Add "jobs" option to Mutator. Limits the number of simultaneously running jobs.
|
|
25
|
-
- Add "shopProfileURL" to "shopLinks".
|
|
26
25
|
|
|
27
26
|
### Patch Changes
|
|
28
27
|
|
package/cjs/shopLinks.js
CHANGED
|
@@ -14,7 +14,6 @@ exports.shopRemoteURL = shopRemoteURL;
|
|
|
14
14
|
exports.shopUnsubscribeURL = shopUnsubscribeURL;
|
|
15
15
|
exports.shopSubscriptionURL = shopSubscriptionURL;
|
|
16
16
|
exports.shopPreviewURL = shopPreviewURL;
|
|
17
|
-
exports.shopProfileURL = shopProfileURL;
|
|
18
17
|
const shopDomain_js_1 = require("./shopDomain.js");
|
|
19
18
|
function domain(shop) {
|
|
20
19
|
return typeof shop === "string" ? shop : (0, shopDomain_js_1.shopDomain)(shop);
|
|
@@ -65,6 +64,3 @@ function shopSubscriptionURL(shop, subscriptionID, email) {
|
|
|
65
64
|
function shopPreviewURL(shop) {
|
|
66
65
|
return `https://${domain(shop)}/preview`;
|
|
67
66
|
}
|
|
68
|
-
function shopProfileURL(shop) {
|
|
69
|
-
return `https://${domain(shop)}/profile`;
|
|
70
|
-
}
|
package/esm/shopLinks.js
CHANGED
package/package.json
CHANGED
package/types/shopLinks.d.ts
CHANGED
|
@@ -13,4 +13,3 @@ export declare function shopRemoteURL(shop: ShopLike | string): string;
|
|
|
13
13
|
export declare function shopUnsubscribeURL(shop: ShopLike | string, token: string, email: string): string;
|
|
14
14
|
export declare function shopSubscriptionURL(shop: ShopLike | string, subscriptionID: string, email: string): string;
|
|
15
15
|
export declare function shopPreviewURL(shop: ShopLike | string): string;
|
|
16
|
-
export declare function shopProfileURL(shop: ShopLike | string): string;
|