@akinon/pz-akifast 2.0.0-beta.6 → 2.0.0-beta.8

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +12 -11
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @akinon/pz-akifast
2
2
 
3
+ ## 2.0.0-beta.8
4
+
5
+ ## 2.0.0-beta.7
6
+
3
7
  ## 2.0.0-beta.6
4
8
 
5
9
  ### Minor Changes
package/README.md CHANGED
@@ -1,16 +1,17 @@
1
1
  # @akinon/pz-akifast
2
2
 
3
- ### Install the npm package
3
+ ## Installation
4
+
5
+ You can use the following command to install the extension with the latest plugins:
4
6
 
5
7
  ```bash
6
- # For latest version
7
- yarn add @akinon/pz-akifast
8
8
 
9
- # Preferred installation method
10
9
  npx @akinon/projectzero@latest --plugins
10
+
11
11
  ```
12
12
 
13
13
  ### Setting the Visibility of Buttons
14
+
14
15
  (all buttons are visible by default)
15
16
 
16
17
  ```javascript
@@ -23,9 +24,9 @@ module.exports = {
23
24
  'pz-akifast': {
24
25
  quickLogin: false,
25
26
  pdp: false,
26
- basket: false,
27
- },
28
- },
27
+ basket: false
28
+ }
29
+ }
29
30
  };
30
31
  ```
31
32
 
@@ -42,7 +43,7 @@ import PluginModule, { Component } from '@akinon/next/components/plugin-module';
42
43
  ...checkoutProviderProps, // same with one click checkout props
43
44
  isPdp: true
44
45
  }}
45
- />
46
+ />;
46
47
  ```
47
48
 
48
49
  ## Quick Login Button
@@ -56,7 +57,7 @@ import PluginModule, { Component } from '@akinon/next/components/plugin-module';
56
57
  isCaptchaVisible,
57
58
  captchaValidated
58
59
  }}
59
- />
60
+ />;
60
61
  ```
61
62
 
62
63
  ## Checkout Button Props
@@ -64,13 +65,13 @@ import PluginModule, { Component } from '@akinon/next/components/plugin-module';
64
65
  You can see other props for the button in the `pz-one-click-checkout` package.
65
66
 
66
67
  | Property | Type | Description |
67
- |----------|-----------|----------------------------------------|
68
+ | -------- | --------- | -------------------------------------- |
68
69
  | isPdp | `boolean` | Indicates if it's a product info page. |
69
70
 
70
71
  ## Quick Login Props
71
72
 
72
73
  | Property | Type | Description |
73
- |------------------|-----------|------------------------------------|
74
+ | ---------------- | --------- | ---------------------------------- |
74
75
  | buttonText | `string` | Text displayed on the button. |
75
76
  | isCaptchaVisible | `boolean` | Indicates if captcha is visible. |
76
77
  | captchaValidated | `boolean` | Indicates if captcha is validated. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-akifast",
3
- "version": "2.0.0-beta.6",
3
+ "version": "2.0.0-beta.8",
4
4
  "main": "./src/index.ts",
5
5
  "module": "./src/index.ts",
6
6
  "license": "MIT",