@thefirstspine/auth 2.2.7 → 3.0.0
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/lib/auth.service.js +1 -1
- package/package.json +2 -2
package/lib/auth.service.js
CHANGED
|
@@ -24,7 +24,7 @@ class AuthService {
|
|
|
24
24
|
return this.cachedMeResponses[jwt].user_id;
|
|
25
25
|
}
|
|
26
26
|
try {
|
|
27
|
-
const response = yield axios_1.default.get(this.getAuthNetServiceUrl() + '/api/
|
|
27
|
+
const response = yield axios_1.default.get(this.getAuthNetServiceUrl() + '/api/v3/me', {
|
|
28
28
|
headers: {
|
|
29
29
|
Authorization: `Bearer ${jwt}`,
|
|
30
30
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thefirstspine/auth",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Javascript & Typescript dependency to help developers to use the auth net service.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@types/jest": "^29.5.14",
|
|
12
|
-
"@types/node": "^22.15.
|
|
12
|
+
"@types/node": "^22.15.21",
|
|
13
13
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
14
14
|
"@typescript-eslint/parser": "^6.21.0",
|
|
15
15
|
"eslint": "^8.56.0",
|