@eml-payments/core-sdk 1.1.3 → 1.1.4
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/core-sdk.js +0 -4
- package/package.json +2 -2
package/dist/core-sdk.js
CHANGED
|
@@ -29,10 +29,6 @@ export class CoreSDK {
|
|
|
29
29
|
*/
|
|
30
30
|
login(email) {
|
|
31
31
|
if (email) {
|
|
32
|
-
// Start For development/testing, we can pass an email to pre-fill the login form
|
|
33
|
-
console.log(`Redirecting to login with email: ${email}`);
|
|
34
|
-
console.log(`Login URL: ${this.baseUrl}/api/auth/login?email=${encodeURIComponent(email)}`);
|
|
35
|
-
// End
|
|
36
32
|
globalThis.location.href = `${this.baseUrl}/api/auth/login?email=${encodeURIComponent(email)}`;
|
|
37
33
|
}
|
|
38
34
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eml-payments/core-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc -p ."
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^1.13.
|
|
21
|
+
"axios": "^1.13.5"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"typescript": "^5.0.0"
|