@akinon/pz-click-collect 1.43.0-rc.6 → 1.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -28
  2. package/README.md +22 -4
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,33 +1,6 @@
1
1
  # @akinon/pz-click-collect
2
2
 
3
- ## 1.43.0-rc.6
4
-
5
- ### Minor Changes
6
-
7
- - 50b9069: ZERO-2767: update plugin readme files
8
- - 714e0b4: ZERO-2759: update pz-click-collect peer dependencies
9
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
10
-
11
- ## 1.43.0-rc.5
12
-
13
- ## 1.43.0-rc.4
14
-
15
- ## 1.43.0-rc.3
16
-
17
- ### Minor Changes
18
-
19
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
20
-
21
- ## 1.43.0-rc.2
22
-
23
- ## 1.43.0-rc.1
24
-
25
- ## 1.43.0-rc.0
26
-
27
- ### Minor Changes
28
-
29
- - 50b9069: ZERO-2767: update plugin readme files
30
- - 714e0b4: ZERO-2759: update pz-click-collect peer dependencies
3
+ ## 1.43.0
31
4
 
32
5
  ## 1.42.0
33
6
 
package/README.md CHANGED
@@ -1,13 +1,31 @@
1
- # @akinon/pz-click-collect
1
+ # pz-click-collect
2
2
 
3
3
  ### Install the npm package
4
4
 
5
5
  ```bash
6
6
  # For latest version
7
- yarn add @akinon/pz-click-collect
7
+ yarn add ​git+ssh://git@bitbucket.org:akinonteam/pz-click-collect.git
8
8
 
9
- # Preferred installation method
10
- npx @akinon/projectzero@latest --plugins
9
+ # For specific version
10
+ yarn add ​git+ssh://git@bitbucket.org:akinonteam/pz-click-collect.git#COMMIT_HASH
11
+ ```
12
+
13
+ ### Next Config Configuration
14
+
15
+ ##### next.config.js**
16
+
17
+ ```javascript
18
+ const withTM = require("next-transpile-modules")(["pz-click-collect"]);
19
+ ```
20
+
21
+ ### Example Usage
22
+ ##### File Path: src/views/checkout/steps/shipping/addresses.tsx
23
+
24
+
25
+ ```javascript
26
+ import ClickCollect from 'pz-click-collect';
27
+
28
+ <ClickCollect addressTypeParam={addressType.requestParam}/>
11
29
  ```
12
30
 
13
31
  ### Props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-click-collect",
3
- "version": "1.43.0-rc.6",
3
+ "version": "1.43.0",
4
4
  "main": "./src/index.tsx",
5
5
  "module": "./src/index.tsx",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  "typescript": "^4.7.4"
13
13
  },
14
14
  "peerDependencies": {
15
- "react": "^18.0.0",
16
- "react-dom": "^18.0.0"
15
+ "react": "^16.8.0",
16
+ "react-dom": "^16.8.0"
17
17
  }
18
18
  }