@jetthai/cuora 1.1.453 → 1.1.454
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 +2 -0
- package/package.json +1 -1
- package/src/machine/auth.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.454](https://github.com/jetthai/cuora-module/compare/v1.1.453...v1.1.454) (2026-07-28)
|
|
6
|
+
|
|
5
7
|
### [1.1.453](https://github.com/jetthai/cuora-module/compare/v1.1.452...v1.1.453) (2026-07-28)
|
|
6
8
|
|
|
7
9
|
### Features
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -474,6 +474,7 @@ export default function (request) {
|
|
|
474
474
|
const phone = storage.get('tp_phone')
|
|
475
475
|
const countryCode = storage.get('tp_countryCode')
|
|
476
476
|
const email = storage.get('tp_email')
|
|
477
|
+
const birthday = storage.get('tp_birthday')
|
|
477
478
|
const messages = {
|
|
478
479
|
url: window.location.href,
|
|
479
480
|
affiliateCode,
|
|
@@ -503,9 +504,14 @@ export default function (request) {
|
|
|
503
504
|
referralObj.email = email
|
|
504
505
|
}
|
|
505
506
|
|
|
507
|
+
if (![undefined, 'undefined', null, 'null'].includes(birthday)) {
|
|
508
|
+
referralObj.birthday = birthday
|
|
509
|
+
}
|
|
510
|
+
|
|
506
511
|
storage.remove('tp_phone')
|
|
507
512
|
storage.remove('tp_countryCode')
|
|
508
513
|
storage.remove('tp_email')
|
|
514
|
+
// tp_birthday 不在此移除:client 於回站登入完成後以 /self 補交作為備援,由 client 消費後移除
|
|
509
515
|
|
|
510
516
|
const fullURL = request.config.fullURL
|
|
511
517
|
|