@memberstack/dom 1.9.29 → 1.9.31

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.
@@ -23,7 +23,7 @@ __export(endpoints_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(endpoints_exports);
25
25
  var endpoints = {
26
- API: process.env.API_ENDPOINT
26
+ API: "https://client.memberstack.com"
27
27
  };
28
28
  // Annotate the CommonJS export names for ESM import in node:
29
29
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  // src/constants/endpoints.ts
2
2
  var endpoints = {
3
- API: process.env.API_ENDPOINT
3
+ API: "https://client.memberstack.com"
4
4
  };
5
5
  export {
6
6
  endpoints
package/lib/index.js CHANGED
@@ -14026,7 +14026,7 @@ var import_axios = __toESM(require("axios"));
14026
14026
 
14027
14027
  // src/constants/endpoints.ts
14028
14028
  var endpoints = {
14029
- API: process.env.API_ENDPOINT
14029
+ API: "https://client.memberstack.com"
14030
14030
  };
14031
14031
 
14032
14032
  // src/methods/requests/requests.ts
package/lib/index.mjs CHANGED
@@ -13994,7 +13994,7 @@ import axios from "axios";
13994
13994
 
13995
13995
  // src/constants/endpoints.ts
13996
13996
  var endpoints = {
13997
- API: process.env.API_ENDPOINT
13997
+ API: "https://client.memberstack.com"
13998
13998
  };
13999
13999
 
14000
14000
  // src/methods/requests/requests.ts
@@ -14026,7 +14026,7 @@ var import_axios = __toESM(require("axios"));
14026
14026
 
14027
14027
  // src/constants/endpoints.ts
14028
14028
  var endpoints = {
14029
- API: process.env.API_ENDPOINT
14029
+ API: "https://client.memberstack.com"
14030
14030
  };
14031
14031
 
14032
14032
  // src/methods/requests/requests.ts
@@ -13994,7 +13994,7 @@ import axios from "axios";
13994
13994
 
13995
13995
  // src/constants/endpoints.ts
13996
13996
  var endpoints = {
13997
- API: process.env.API_ENDPOINT
13997
+ API: "https://client.memberstack.com"
13998
13998
  };
13999
13999
 
14000
14000
  // src/methods/requests/requests.ts
@@ -76,7 +76,7 @@ var import_axios = __toESM(require("axios"));
76
76
 
77
77
  // src/constants/endpoints.ts
78
78
  var endpoints = {
79
- API: process.env.API_ENDPOINT
79
+ API: "https://client.memberstack.com"
80
80
  };
81
81
 
82
82
  // src/utils/cookies.ts
@@ -43,7 +43,7 @@ import axios from "axios";
43
43
 
44
44
  // src/constants/endpoints.ts
45
45
  var endpoints = {
46
- API: process.env.API_ENDPOINT
46
+ API: "https://client.memberstack.com"
47
47
  };
48
48
 
49
49
  // src/utils/cookies.ts
@@ -75,7 +75,7 @@ var import_axios = __toESM(require("axios"));
75
75
 
76
76
  // src/constants/endpoints.ts
77
77
  var endpoints = {
78
- API: process.env.API_ENDPOINT
78
+ API: "https://client.memberstack.com"
79
79
  };
80
80
 
81
81
  // src/utils/cookies.ts
@@ -43,7 +43,7 @@ import axios from "axios";
43
43
 
44
44
  // src/constants/endpoints.ts
45
45
  var endpoints = {
46
- API: process.env.API_ENDPOINT
46
+ API: "https://client.memberstack.com"
47
47
  };
48
48
 
49
49
  // src/utils/cookies.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberstack/dom",
3
- "version": "1.9.29",
3
+ "version": "1.9.31",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./lib/index.mjs",
6
6
  "types": "./lib/index.d.ts",
@@ -15,19 +15,19 @@
15
15
  "js-cookie": "^3.0.1"
16
16
  },
17
17
  "scripts": {
18
- "dev": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT=https://client.memberstack.com",
19
- "build": "tsup --format esm,cjs --dts --env.API_ENDPOINT=https://client.memberstack.com",
18
+ "dev": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT https://client.memberstack.com",
19
+ "build": "tsup --format esm,cjs --dts --env.API_ENDPOINT https://client.memberstack.com",
20
20
  "prepublishOnly": "yarn workspace prebuilt-uis build && yarn build:local",
21
- "prepublishOnly:porter-prod": "yarn workspace prebuilt-uis build && tsup --format esm,cjs --dts --env.API_ENDPOINT=https://client.memberstack.com",
22
- "prepublishOnly:porter-dev": "yarn workspace prebuilt-uis build && tsup --format esm,cjs --dts --env.API_ENDPOINT=https://dev-client.memberstack.com",
21
+ "prepublishOnly:porter-prod": "yarn workspace prebuilt-uis build && tsup --format esm,cjs --dts --env.API_ENDPOINT https://client.memberstack.com",
22
+ "prepublishOnly:porter-dev": "yarn workspace prebuilt-uis build && tsup --format esm,cjs --dts --env.API_ENDPOINT https://dev-client.memberstack.com",
23
23
  "watch": "tsc-watch",
24
- "watch:dev": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT=http://localhost:3005",
25
- "watch:dev-ngrok": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT=https://client-testing.ngrok.io",
26
- "watch:dev-api": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT=https://dev-client.memberstack.com",
24
+ "watch:dev": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT http://localhost:3005",
25
+ "watch:dev-ngrok": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT https://client-testing.ngrok.io",
26
+ "watch:dev-api": "tsup --format esm,cjs --dts --watch --env.API_ENDPOINT https://dev-client.memberstack.com",
27
27
  "clean": "rm -rf node_modules lib",
28
28
  "deploy:latest": "npx np --tag latest --no-tests --any-branch",
29
29
  "deploy:next": "npx np --tag next --no-tests --any-branch",
30
- "build:local": "tsup --format esm,cjs --dts"
30
+ "build:local": "tsup --format esm,cjs --dts --env.API_ENDPOINT https://client.memberstack.com"
31
31
  },
32
32
  "devDependencies": {
33
33
  "replace-in-file": "^6.3.5",