@lana-commerce/core 13.1.0-alpha.11 → 13.1.0-alpha.12
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 +1 -0
- package/cjs/graphql/fragments/Customer.js +1 -1
- package/cjs/graphql/fragments/Shop.js +1 -1
- package/esm/graphql/fragments/Customer.js +1 -1
- package/esm/graphql/fragments/Shop.js +1 -1
- package/package.json +1 -1
- package/types/dataLoader.d.ts +1 -0
- package/types/graphql/fragments/Customer.d.ts +1 -1
- package/types/graphql/fragments/Shop.d.ts +1 -1
- package/types/graphql/types.d.ts +2 -0
- package/types/json/commerceTypes.d.ts +4 -0
- package/types/json/storefrontTypes.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
|
|
|
15
15
|
- Add "wrapWebSocket" function to "websocket" lib.
|
|
16
16
|
- Propagate new "meta" field for invoice line item descriptions.
|
|
17
17
|
- Add "webauthn" logic to "customer" module.
|
|
18
|
+
- Add webauthn related fields to customer/shop fragments.
|
|
18
19
|
|
|
19
20
|
### Patch Changes
|
|
20
21
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = "fragment Customer on StorefrontCustomer{id email name display_name mobile mobile_notifications accepts_marketing reminder_messages addresses{...FullAddress}mobile mobile_notifications default_billing_address_id default_shipping_address_id default_payment_source_id is_guest password_defined oauth_provider}\n";
|
|
3
|
+
exports.default = "fragment Customer on StorefrontCustomer{id email name display_name mobile mobile_notifications accepts_marketing reminder_messages addresses{...FullAddress}mobile mobile_notifications default_billing_address_id default_shipping_address_id default_payment_source_id is_guest password_defined oauth_provider webauthn_enabled}\n";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = "fragment Shop on StorefrontShop{app_domain created_at currency customer_service_email id name product_review_enabled tax_label timezone primary_domain{domain id}customer_oauth_providers{...CustomerOAuthProvider}tips_enabled tips_variant{id}}\n";
|
|
3
|
+
exports.default = "fragment Shop on StorefrontShop{app_domain created_at currency customer_service_email id name product_review_enabled tax_label timezone primary_domain{domain id}customer_oauth_providers{...CustomerOAuthProvider}tips_enabled tips_variant{id}customer_webauthn}\n";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "fragment Customer on StorefrontCustomer{id email name display_name mobile mobile_notifications accepts_marketing reminder_messages addresses{...FullAddress}mobile mobile_notifications default_billing_address_id default_shipping_address_id default_payment_source_id is_guest password_defined oauth_provider}\n";
|
|
1
|
+
export default "fragment Customer on StorefrontCustomer{id email name display_name mobile mobile_notifications accepts_marketing reminder_messages addresses{...FullAddress}mobile mobile_notifications default_billing_address_id default_shipping_address_id default_payment_source_id is_guest password_defined oauth_provider webauthn_enabled}\n";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "fragment Shop on StorefrontShop{app_domain created_at currency customer_service_email id name product_review_enabled tax_label timezone primary_domain{domain id}customer_oauth_providers{...CustomerOAuthProvider}tips_enabled tips_variant{id}}\n";
|
|
1
|
+
export default "fragment Shop on StorefrontShop{app_domain created_at currency customer_service_email id name product_review_enabled tax_label timezone primary_domain{domain id}customer_oauth_providers{...CustomerOAuthProvider}tips_enabled tips_variant{id}customer_webauthn}\n";
|
package/package.json
CHANGED
package/types/dataLoader.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "fragment Customer on StorefrontCustomer{id email name display_name mobile mobile_notifications accepts_marketing reminder_messages addresses{...FullAddress}mobile mobile_notifications default_billing_address_id default_shipping_address_id default_payment_source_id is_guest password_defined oauth_provider}\n";
|
|
1
|
+
declare const _default: "fragment Customer on StorefrontCustomer{id email name display_name mobile mobile_notifications accepts_marketing reminder_messages addresses{...FullAddress}mobile mobile_notifications default_billing_address_id default_shipping_address_id default_payment_source_id is_guest password_defined oauth_provider webauthn_enabled}\n";
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "fragment Shop on StorefrontShop{app_domain created_at currency customer_service_email id name product_review_enabled tax_label timezone primary_domain{domain id}customer_oauth_providers{...CustomerOAuthProvider}tips_enabled tips_variant{id}}\n";
|
|
1
|
+
declare const _default: "fragment Shop on StorefrontShop{app_domain created_at currency customer_service_email id name product_review_enabled tax_label timezone primary_domain{domain id}customer_oauth_providers{...CustomerOAuthProvider}tips_enabled tips_variant{id}customer_webauthn}\n";
|
|
2
2
|
export default _default;
|
package/types/graphql/types.d.ts
CHANGED
|
@@ -469,6 +469,7 @@ export interface CustomerFragment {
|
|
|
469
469
|
oauth_provider: CustomerOAuthProviderKind | null;
|
|
470
470
|
password_defined: boolean;
|
|
471
471
|
reminder_messages: boolean;
|
|
472
|
+
webauthn_enabled: boolean;
|
|
472
473
|
}
|
|
473
474
|
export interface CustomerBalanceFragment {
|
|
474
475
|
balance: Array<{
|
|
@@ -1270,6 +1271,7 @@ export interface ShopFragment {
|
|
|
1270
1271
|
currency: string;
|
|
1271
1272
|
customer_oauth_providers: Array<CustomerOAuthProviderFragment>;
|
|
1272
1273
|
customer_service_email: string;
|
|
1274
|
+
customer_webauthn: boolean;
|
|
1273
1275
|
id: string;
|
|
1274
1276
|
name: string;
|
|
1275
1277
|
primary_domain: {
|
|
@@ -7070,6 +7070,8 @@ export interface ShopSettings {
|
|
|
7070
7070
|
customer_oauth_providers: Array<CustomerOAuthProvider>;
|
|
7071
7071
|
/** This address is mentioned in emails sent to customers */
|
|
7072
7072
|
customer_service_email: string;
|
|
7073
|
+
/** Whether customers can signup/signin using webauthn */
|
|
7074
|
+
customer_webauthn: boolean;
|
|
7073
7075
|
/** Default payment method */
|
|
7074
7076
|
default_payment_method?: {
|
|
7075
7077
|
id: string;
|
|
@@ -7195,6 +7197,8 @@ export interface ShopSettingsCreate {
|
|
|
7195
7197
|
customer_oauth_providers?: Array<CustomerOAuthProviderCreate> | null;
|
|
7196
7198
|
/** This address is mentioned in emails sent to customers */
|
|
7197
7199
|
customer_service_email?: string | null;
|
|
7200
|
+
/** Whether customers can signup/signin using webauthn */
|
|
7201
|
+
customer_webauthn?: boolean | null;
|
|
7198
7202
|
/** Unique payment method identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
|
|
7199
7203
|
default_payment_method_id?: string | null;
|
|
7200
7204
|
/** Unique tax rule identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
|
|
@@ -2732,6 +2732,8 @@ export interface StorefrontShop {
|
|
|
2732
2732
|
customer_oauth_providers: Array<StorefrontCustomerOAuthProvider>;
|
|
2733
2733
|
/** This address is mentioned in emails sent to customers */
|
|
2734
2734
|
customer_service_email: string;
|
|
2735
|
+
/** Whether customers can signup/signin using webauthn */
|
|
2736
|
+
customer_webauthn: boolean;
|
|
2735
2737
|
/** Unique shop identifier. See also: [Unique Identifiers](/overview/concepts/unique-identifiers) */
|
|
2736
2738
|
id: string;
|
|
2737
2739
|
language?: {
|