@terra-js/payment-kit 0.1.2 → 0.2.0-alpha.1

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
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [0.1.2] - Unreleased
8
+ ## [0.2.0-alpha.1] - 2022-08-16
9
+
10
+ ### Added
11
+
12
+ - Add `qrPromotionInfo` to the `metadata` of `PaymentRequest`.
13
+
14
+ ## [0.1.2] - 2022-05-03
9
15
 
10
16
  ### Added
11
17
 
@@ -37,6 +37,7 @@ export declare namespace PaymentForOrder {
37
37
  }
38
38
  interface Metadata {
39
39
  vnPayEWallet?: VnPayEwalletMetadata;
40
+ qrPromotionInfo?: QrPromotionMetadata;
40
41
  }
41
42
  interface VnPayEwalletMetadata {
42
43
  partnerId: string;
@@ -44,6 +45,10 @@ export declare namespace PaymentForOrder {
44
45
  name?: string;
45
46
  email?: string;
46
47
  }
48
+ interface QrPromotionMetadata {
49
+ amount: number;
50
+ flag?: string;
51
+ }
47
52
  interface ClientConfig {
48
53
  escrowMerchantCode: string;
49
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terra-js/payment-kit",
3
- "version": "0.1.2",
3
+ "version": "0.2.0-alpha.1",
4
4
  "description": "SDK for mobile bridge to offer unified method signatures for Android/iOS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.js",