@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lana-commerce/core",
3
- "version": "13.1.0-alpha.11",
3
+ "version": "13.1.0-alpha.12",
4
4
  "description": "Lana JS Core",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -152,6 +152,7 @@ interface ShopReq {
152
152
  kind: CustomerOAuthProviderKind;
153
153
  }>;
154
154
  customer_service_email: string;
155
+ customer_webauthn: boolean;
155
156
  id: string;
156
157
  name: string;
157
158
  primary_domain: {
@@ -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;
@@ -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?: {