@ecommaps/client 1.3.1 → 1.3.2
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ The client automatically reads from environment variables but can also be config
|
|
|
25
25
|
import { ecommapsClient } from "@ecommaps/client";
|
|
26
26
|
|
|
27
27
|
// Set these in your .env
|
|
28
|
-
// NEXT_PUBLIC_ECOMMAPS_API_URL=
|
|
28
|
+
// NEXT_PUBLIC_ECOMMAPS_API_URL=https://api.ecommaps.com/api/v1/storefront
|
|
29
29
|
// ECOMMAPS_API_KEY=your_store_key
|
|
30
30
|
```
|
|
31
31
|
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ __export(index_exports, {
|
|
|
26
26
|
module.exports = __toCommonJS(index_exports);
|
|
27
27
|
|
|
28
28
|
// src/client.ts
|
|
29
|
-
var API_URL = process.env.NEXT_PUBLIC_ECOMMAPS_API_URL || "
|
|
29
|
+
var API_URL = process.env.NEXT_PUBLIC_ECOMMAPS_API_URL || "https://api.ecommaps.com/api/v1/storefront";
|
|
30
30
|
var API_KEY = process.env.ECOMMAPS_API_KEY || "";
|
|
31
31
|
var EcommapsAPIError = class extends Error {
|
|
32
32
|
status;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/client.ts
|
|
2
|
-
var API_URL = process.env.NEXT_PUBLIC_ECOMMAPS_API_URL || "
|
|
2
|
+
var API_URL = process.env.NEXT_PUBLIC_ECOMMAPS_API_URL || "https://api.ecommaps.com/api/v1/storefront";
|
|
3
3
|
var API_KEY = process.env.ECOMMAPS_API_KEY || "";
|
|
4
4
|
var EcommapsAPIError = class extends Error {
|
|
5
5
|
status;
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
|
|
9
9
|
const API_URL =
|
|
10
10
|
process.env.NEXT_PUBLIC_ECOMMAPS_API_URL ||
|
|
11
|
-
"
|
|
11
|
+
"https://api.ecommaps.com/api/v1/storefront"
|
|
12
12
|
const API_KEY = process.env.ECOMMAPS_API_KEY || ""
|
|
13
13
|
|
|
14
14
|
export class EcommapsAPIError extends Error {
|