edilkamin 1.5.0 → 1.6.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/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/library.js +2 -1
- package/dist/esm/library.test.js +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -2
- package/src/library.test.ts +1 -1
- package/src/library.ts +2 -1
package/dist/esm/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const API_URL = "https://
|
|
1
|
+
declare const API_URL = "https://the-mind-api.edilkamin.com/";
|
|
2
2
|
export { API_URL };
|
package/dist/esm/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const API_URL = "https://
|
|
1
|
+
const API_URL = "https://the-mind-api.edilkamin.com/";
|
|
2
2
|
export { API_URL };
|
package/dist/esm/library.js
CHANGED
|
@@ -53,7 +53,8 @@ const createAuthService = (auth) => {
|
|
|
53
53
|
assert.ok(isSignedIn, "Sign-in failed");
|
|
54
54
|
const { tokens } = yield auth.fetchAuthSession();
|
|
55
55
|
assert.ok(tokens, "No tokens found");
|
|
56
|
-
|
|
56
|
+
assert.ok(tokens.idToken, "No ID token found");
|
|
57
|
+
return tokens.idToken.toString();
|
|
57
58
|
});
|
|
58
59
|
return { signIn };
|
|
59
60
|
};
|
package/dist/esm/library.test.js
CHANGED
package/package.json
CHANGED
package/src/constants.ts
CHANGED
package/src/library.test.ts
CHANGED
package/src/library.ts
CHANGED
|
@@ -52,7 +52,8 @@ const createAuthService = (auth: typeof amplifyAuth) => {
|
|
|
52
52
|
assert.ok(isSignedIn, "Sign-in failed");
|
|
53
53
|
const { tokens } = await auth.fetchAuthSession();
|
|
54
54
|
assert.ok(tokens, "No tokens found");
|
|
55
|
-
|
|
55
|
+
assert.ok(tokens.idToken, "No ID token found");
|
|
56
|
+
return tokens.idToken.toString();
|
|
56
57
|
};
|
|
57
58
|
return { signIn };
|
|
58
59
|
};
|