@bananacool467/authtics 1.0.0 → 1.0.1
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/dist/index.js +10 -7
- package/index.ts +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -43,10 +43,13 @@ const getAccount = (accessToken, clientId, clientSecret, userIp) => __awaiter(vo
|
|
|
43
43
|
return (yield JSON.parse(output)) || error;
|
|
44
44
|
});
|
|
45
45
|
exports.getAccount = getAccount;
|
|
46
|
-
(() =>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
/*(async () => {
|
|
47
|
+
var [output, error] = await __runCurl__(
|
|
48
|
+
"https://eb29e77b-9bd2-4e3b-9469-81d3af2a8fbe-00-1ag45w1mgbsv1.picard.replit.dev/api/authtics/me",
|
|
49
|
+
[
|
|
50
|
+
{ k: "Authorization", v: "5" },
|
|
51
|
+
{ k: "client_id", v: "xxx" },
|
|
52
|
+
],
|
|
53
|
+
);
|
|
54
|
+
console.log(output, error);
|
|
55
|
+
})();*/
|
package/index.ts
CHANGED
|
@@ -48,7 +48,7 @@ export const getAccount = async (accessToken: string, clientId: string, clientSe
|
|
|
48
48
|
return (await JSON.parse(output as string)) || error;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
(async () => {
|
|
51
|
+
/*(async () => {
|
|
52
52
|
var [output, error] = await __runCurl__(
|
|
53
53
|
"https://eb29e77b-9bd2-4e3b-9469-81d3af2a8fbe-00-1ag45w1mgbsv1.picard.replit.dev/api/authtics/me",
|
|
54
54
|
[
|
|
@@ -57,4 +57,4 @@ export const getAccount = async (accessToken: string, clientId: string, clientSe
|
|
|
57
57
|
],
|
|
58
58
|
);
|
|
59
59
|
console.log(output, error);
|
|
60
|
-
})()
|
|
60
|
+
})();*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bananacool467/authtics",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Use Authtics (An Auth service) to add accounts to your site like Auth0!",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"prepublishOnly": "npm run build"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [],
|
|
12
|
-
"author": "",
|
|
12
|
+
"author": "bananacool467",
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@types/node": "^22.13.11"
|