@akinon/pz-bkm 1.43.0-rc.9 → 1.44.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 +2 -31
  2. package/package.json +1 -1
  3. package/readme.md +13 -16
package/CHANGELOG.md CHANGED
@@ -1,37 +1,8 @@
1
1
  # @akinon/pz-bkm
2
2
 
3
- ## 1.43.0-rc.9
3
+ ## 1.44.0
4
4
 
5
- ## 1.43.0-rc.8
6
-
7
- ## 1.43.0-rc.7
8
-
9
- ## 1.43.0-rc.6
10
-
11
- ### Minor Changes
12
-
13
- - 50b9069: ZERO-2767: update plugin readme files
14
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
15
-
16
- ## 1.43.0-rc.5
17
-
18
- ## 1.43.0-rc.4
19
-
20
- ## 1.43.0-rc.3
21
-
22
- ### Minor Changes
23
-
24
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
25
-
26
- ## 1.43.0-rc.2
27
-
28
- ## 1.43.0-rc.1
29
-
30
- ## 1.43.0-rc.0
31
-
32
- ### Minor Changes
33
-
34
- - 50b9069: ZERO-2767: update plugin readme files
5
+ ## 1.43.0
35
6
 
36
7
  ## 1.42.0
37
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-bkm",
3
- "version": "1.43.0-rc.9",
3
+ "version": "1.44.0",
4
4
  "license": "MIT",
5
5
  "main": "src/index.tsx",
6
6
  "peerDependencies": {
package/readme.md CHANGED
@@ -1,35 +1,32 @@
1
- # @akinon/pz-bkm
1
+ # pz-bkm
2
2
 
3
3
  ### Install the npm package
4
4
 
5
5
  ```bash
6
6
  # For latest version
7
- yarn add @akinon/pz-bkm
7
+ yarn add git+ssh://git@bitbucket.org:akinonteam/pz-bkm.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-bkm.git#eX4mPl3
11
11
  ```
12
12
 
13
13
  ### Example Usage
14
14
  ##### File Path: src/views/checkout/steps/payment/options/bkm.tsx
15
15
 
16
16
  ```javascript
17
- const Bkm = () => {
17
+ import { BKMOption } from 'pz-bkm';
18
+
19
+ export default function BKM() {
18
20
  return (
19
- <PluginModule
20
- component={Component.BKMExpress}
21
- props={{
22
- translations: {
23
- title: 'Pay with BKM Express',
24
- description: `When paying with BKM Express, you will be redirected to www.bkmexpress.com.tr.`,
25
- button: 'Pay Now'
26
- }
21
+ <BKMOption
22
+ translations={{
23
+ title: 'Pay with BKM Express',
24
+ description: `When paying with BKM Express, you will be redirected to www.bkmexpress.com.tr.`,
25
+ button: 'Pay Now'
27
26
  }}
28
27
  />
29
28
  );
30
- };
31
-
32
- export default Bkm;
29
+ }
33
30
  ```
34
31
 
35
32
  ### Props