@jetthai/cuora 1.1.389-dev-3 → 1.1.389-dev-5

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.389-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.389-dev-4...v1.1.389-dev-5) (2025-10-22)
6
+
7
+ ### [1.1.389-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.389-dev-3...v1.1.389-dev-4) (2025-10-17)
8
+
5
9
  ### [1.1.389-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.390...v1.1.389-dev-3) (2025-10-13)
6
10
 
7
11
  ### [1.1.389-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.389-dev-1...v1.1.389-dev-2) (2025-10-13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.389-dev-3",
3
+ "version": "1.1.389-dev-5",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -1,9 +1,7 @@
1
1
  export default {
2
- // 取得綁定狀態
3
2
  bindingStatus: () => ({ url: 'account-binding/status', method: 'get' }),
4
- // 申請綁定(手機/信箱/帳號/Telegram) #TODO Telegram 綁定有需要傳遞的參數,後端說可以跟WELL確認
5
3
  applyBinding: (data) => ({ url: 'account-binding/bind', method: 'post', params: data }),
6
4
  bindingVerification: (data) => ({ url: 'account-binding/acknowledge', method: 'post', params: data }),
7
- // #TODO 第三方綁定(參數要參考第三方註冊的參數,方法也待確)
8
- // bindThirdParty: () => ({ url: 'account-binding/bind-third-party', method: ''}),
5
+ bindThirdParty: () => ({ url: 'account-binding/bind-third-party', method: 'GET' }),
6
+ bindPassword: (data) => ({ url: 'account-binding/bind-password', method: 'POST', params: data }),
9
7
  }
@@ -149,6 +149,22 @@ export default function (request) {
149
149
  target: 'binding',
150
150
  cond: 'isBindable',
151
151
  },
152
+ RESET_FORM: {
153
+ actions: assign((context, event) => {
154
+ return {
155
+ bank: null,
156
+ ifscCode: null,
157
+ crypto: null,
158
+ network: null,
159
+ cryptoAddress: null,
160
+ walletCode: null,
161
+ branch: null,
162
+ branchCode: null,
163
+ accountNumber: null,
164
+ pixType: null,
165
+ }
166
+ }),
167
+ },
152
168
  },
153
169
  },
154
170
  binding: {
@@ -146,6 +146,8 @@ const supportVersion2List = [
146
146
  'account-binding/status',
147
147
  'account-binding/bind',
148
148
  'account-binding/acknowledge',
149
+ 'account-binding/bind-third-party',
150
+ 'account-binding/bind-password',
149
151
  ]
150
152
 
151
153
  function isValid(value) {