@akinon/pz-click-collect 1.47.0-rc.7 → 1.47.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 -27
  2. package/README.md +22 -4
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,32 +1,6 @@
1
1
  # @akinon/pz-click-collect
2
2
 
3
- ## 1.47.0-rc.7
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.47.0-rc.6
12
-
13
- ## 1.47.0-rc.5
14
-
15
- ## 1.47.0-rc.4
16
-
17
- ## 1.47.0-rc.3
18
-
19
- ## 1.47.0-rc.2
20
-
21
- ## 1.47.0-rc.1
22
-
23
- ## 1.47.0-rc.0
24
-
25
- ### Minor Changes
26
-
27
- - 50b9069: ZERO-2767: update plugin readme files
28
- - 714e0b4: ZERO-2759: update pz-click-collect peer dependencies
29
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
3
+ ## 1.47.0
30
4
 
31
5
  ## 1.46.0
32
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.47.0-rc.7",
3
+ "version": "1.47.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
  }