@jetthai/cuora 1.1.393-dev-5 → 1.1.393-dev-7

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.393-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-6...v1.1.393-dev-7) (2025-11-04)
6
+
7
+ ### [1.1.393-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-5...v1.1.393-dev-6) (2025-10-31)
8
+
5
9
  ### [1.1.393-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-4...v1.1.393-dev-5) (2025-10-31)
6
10
 
7
11
  ### [1.1.393-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-3...v1.1.393-dev-4) (2025-10-31)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.393-dev-5",
3
+ "version": "1.1.393-dev-7",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -4,5 +4,5 @@ export default {
4
4
  bindingVerification: (data) => ({ url: 'account-binding/acknowledge', method: 'POST', params: data }),
5
5
  bindThirdParty: (data) => ({ url: 'account-binding/bind-third-party', method: 'GET', params: data }),
6
6
  bindPassword: (data) => ({ url: 'account-binding/bind-password', method: 'POST', params: data }),
7
- resetOtp: (data) => ({ url: '/account-binding/reset-otp', method: 'POST', params: data }),
7
+ resetOtp: (data) => ({ url: 'account-binding/reset-otp', method: 'POST', params: data }),
8
8
  }
@@ -244,7 +244,7 @@ export default function (request) {
244
244
  return await request.send(user.getUserInfo())
245
245
  },
246
246
  verify: async (context, event) => {
247
- return await request.send(account.applyBinding({ strategy: context.strategy }))
247
+ return await request.send(account.applyBinding({ provider: context.strategy }))
248
248
  },
249
249
  sendPhone: async (context, event) => {
250
250
  const { countryCode, phone } = context
@@ -148,6 +148,7 @@ const supportVersion2List = [
148
148
  'account-binding/acknowledge',
149
149
  'account-binding/bind-third-party',
150
150
  'account-binding/bind-password',
151
+ 'account-binding/reset-otp',
151
152
  ]
152
153
 
153
154
  function isValid(value) {