@jetthai/cuora 1.0.108 → 1.0.110

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.0.110](https://github.com/jetthai/cuora-module/compare/v1.0.109...v1.0.110) (2022-04-15)
6
+
7
+ ### [1.0.109](https://github.com/jetthai/cuora-module/compare/v1.0.108...v1.0.109) (2022-04-08)
8
+
5
9
  ### [1.0.108](https://github.com/jetthai/cuora-module/compare/v1.0.107...v1.0.108) (2022-04-07)
6
10
 
7
11
  ### [1.0.107](https://github.com/jetthai/cuora-module/compare/v1.0.106...v1.0.107) (2022-03-23)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.108",
3
+ "version": "1.0.110",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -51,9 +51,6 @@ export default function (request) {
51
51
  target: 'authentication',
52
52
  actions: 'setLoginLocal',
53
53
  },
54
- LOGIN_3PARTY: {
55
- actions: 'redirectTo3Party',
56
- },
57
54
  },
58
55
  },
59
56
  authentication: {
@@ -176,6 +173,9 @@ export default function (request) {
176
173
  CLEAR: {
177
174
  target: '.logout',
178
175
  },
176
+ LOGIN_3PARTY: {
177
+ actions: 'redirectTo3Party',
178
+ },
179
179
  },
180
180
  },
181
181
  {
@@ -268,14 +268,14 @@ export default function (request) {
268
268
  const redirectURL = urljoin(
269
269
  request.config.fullURL,
270
270
  'login?' +
271
- qs.stringify({
272
- provider,
273
- redirectURI: `${window.location.protocol}//${window.location.host}`,
274
- channel: cookies.get('channel') || channel || 'official',
275
- subchannel: cookies.get('subchannel') || subchannel || 'pwa',
276
- dt,
277
- platform: 'pwa',
278
- })
271
+ qs.stringify({
272
+ provider,
273
+ redirectURI: `${window.location.protocol}//${window.location.host}`,
274
+ channel: cookies.get('channel') || channel || 'official',
275
+ subchannel: cookies.get('subchannel') || subchannel || 'pwa',
276
+ dt,
277
+ platform: 'pwa',
278
+ })
279
279
  )
280
280
  window.location.href = redirectURL
281
281
  },
@@ -52,7 +52,7 @@ export default function (request) {
52
52
  provider: 'phone',
53
53
  countryCode,
54
54
  phone,
55
- password
55
+ password,
56
56
  },
57
57
  channel,
58
58
  subchannel,
@@ -64,7 +64,7 @@ export default function (request) {
64
64
  signUpData: {
65
65
  provider: 'email',
66
66
  email,
67
- password
67
+ password,
68
68
  },
69
69
  channel,
70
70
  subchannel,