@jetthai/cuora 1.0.57 → 1.0.58

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,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.0.58](https://github.com/jetthai/cuora-module/compare/v1.0.57...v1.0.58) (2021-12-17)
6
+
5
7
  ### [1.0.57](https://github.com/jetthai/cuora-module/compare/v1.0.56...v1.0.57) (2021-12-16)
6
8
 
7
9
  ### [1.0.56](https://github.com/jetthai/cuora-module/compare/v1.0.55...v1.0.56) (2021-12-15)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -6,7 +6,7 @@ import auth from '../api/auth'
6
6
  import user from '../api/user'
7
7
 
8
8
  export default function (request) {
9
- const { fullURL, clientId } = request.config
9
+ const { clientId } = request.config
10
10
  const tokenKey = `cuora_${clientId}`
11
11
  const userKey = `cuora_tempuser`
12
12
  const cookies = new Cookies()
@@ -211,7 +211,7 @@ export default function (request) {
211
211
  }),
212
212
  redirectTo3Party: (context, event) => {
213
213
  const redirectURL = urljoin(
214
- fullURL,
214
+ request.config.fullURL,
215
215
  'login?' +
216
216
  qs.stringify({
217
217
  provider: event.data,