@jam-comments/server-utilities 2.0.1 → 3.0.0-beta.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.
@@ -10,7 +10,7 @@ const markupFetcher = (platform, fetchImplementation = fetch) => {
10
10
  if (environment !== 'production') {
11
11
  params.set('stub', 'true');
12
12
  }
13
- const requestUrl = `${baseUrl}/api/markup?${params}`;
13
+ const requestUrl = `${baseUrl}/api/v2/markup?${params}`;
14
14
  const response = await fetchImplementation(requestUrl, {
15
15
  method: 'GET',
16
16
  headers: {
@@ -7,7 +7,7 @@ export const markupFetcher = (platform, fetchImplementation = fetch) => {
7
7
  if (environment !== 'production') {
8
8
  params.set('stub', 'true');
9
9
  }
10
- const requestUrl = `${baseUrl}/api/markup?${params}`;
10
+ const requestUrl = `${baseUrl}/api/v2/markup?${params}`;
11
11
  const response = await fetchImplementation(requestUrl, {
12
12
  method: 'GET',
13
13
  headers: {
package/package.json CHANGED
@@ -1,16 +1,12 @@
1
1
  {
2
2
  "name": "@jam-comments/server-utilities",
3
- "version": "2.0.1",
3
+ "version": "3.0.0-beta.0",
4
4
  "description": "Various JavaScript utilities for JamComments.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/types/index.d.ts",
7
7
  "files": [
8
8
  "dist/"
9
9
  ],
10
- "exports": {
11
- "import": "./dist/esm/index.js",
12
- "require": "./dist/cjs/index.js"
13
- },
14
10
  "scripts": {
15
11
  "watch": "npm run build -- --watch",
16
12
  "build": "rm -rf dist && npm run build:esm && npm run build:cjs",