@moonbase.sh/storefront-api 0.2.46 → 0.2.48
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -352,7 +352,7 @@ var IdentityEndpoints = class {
|
|
|
352
352
|
return response.data;
|
|
353
353
|
}
|
|
354
354
|
async signIn(email, password) {
|
|
355
|
-
const response = await (0, import_cross_fetch.default)(`${this.api.baseUrl}/api/customer/identity/sign-in?email=${email}&scheme=JWT`, {
|
|
355
|
+
const response = await (0, import_cross_fetch.default)(`${this.api.baseUrl}/api/customer/identity/sign-in?email=${encodeURIComponent(email)}&scheme=JWT`, {
|
|
356
356
|
method: "POST",
|
|
357
357
|
headers: {
|
|
358
358
|
"Accept": "application/json",
|
package/dist/index.js
CHANGED
|
@@ -310,7 +310,7 @@ var IdentityEndpoints = class {
|
|
|
310
310
|
return response.data;
|
|
311
311
|
}
|
|
312
312
|
async signIn(email, password) {
|
|
313
|
-
const response = await fetch(`${this.api.baseUrl}/api/customer/identity/sign-in?email=${email}&scheme=JWT`, {
|
|
313
|
+
const response = await fetch(`${this.api.baseUrl}/api/customer/identity/sign-in?email=${encodeURIComponent(email)}&scheme=JWT`, {
|
|
314
314
|
method: "POST",
|
|
315
315
|
headers: {
|
|
316
316
|
"Accept": "application/json",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.48",
|
|
5
5
|
"description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|