@sanity/client 6.15.1 → 6.15.3-canary.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.
@@ -1474,7 +1474,7 @@ function defineCreateClientExports(envMiddleware, ClassConstructor) {
1474
1474
  config
1475
1475
  ) };
1476
1476
  }
1477
- var name = "@sanity/client", version = "6.15.1";
1477
+ var name = "@sanity/client", version = "6.15.3-canary.0";
1478
1478
  const middleware = [
1479
1479
  middleware$1.debug({ verbose: !0, namespace: "sanity:client" }),
1480
1480
  middleware$1.headers({ "User-Agent": `${name} ${version}` }),
@@ -1455,7 +1455,7 @@ function defineCreateClientExports(envMiddleware, ClassConstructor) {
1455
1455
  config
1456
1456
  ) };
1457
1457
  }
1458
- var name = "@sanity/client", version = "6.15.1";
1458
+ var name = "@sanity/client", version = "6.15.3-canary.0";
1459
1459
  const middleware = [
1460
1460
  debug({ verbose: !0, namespace: "sanity:client" }),
1461
1461
  headers({ "User-Agent": `${name} ${version}` }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "6.15.1",
3
+ "version": "6.15.3-canary.0",
4
4
  "description": "Client for retrieving, creating and patching data from Sanity.io",
5
5
  "keywords": [
6
6
  "sanity",
@@ -38,11 +38,7 @@
38
38
  "edge-light": "./dist/index.browser.js",
39
39
  "worker": "./dist/index.browser.js",
40
40
  "source": "./src/index.ts",
41
- "module": "./dist/index.js",
42
41
  "require": "./dist/index.cjs",
43
- "node": {
44
- "import": "./dist/index.cjs.js"
45
- },
46
42
  "default": "./dist/index.js"
47
43
  },
48
44
  "./csm": {
@@ -65,11 +61,7 @@
65
61
  "edge-light": "./dist/stega.browser.js",
66
62
  "worker": "./dist/stega.browser.js",
67
63
  "source": "./src/stega/index.ts",
68
- "module": "./dist/stega.js",
69
64
  "require": "./dist/stega.cjs",
70
- "node": {
71
- "import": "./dist/stega.cjs.js"
72
- },
73
65
  "import": "./dist/stega.js",
74
66
  "default": "./dist/stega.js"
75
67
  },
@@ -140,11 +132,11 @@
140
132
  "@edge-runtime/vm": "^3.2.0",
141
133
  "@rollup/plugin-commonjs": "^25.0.7",
142
134
  "@rollup/plugin-node-resolve": "^15.2.3",
143
- "@sanity/pkg-utils": "^4.3.0",
135
+ "@sanity/pkg-utils": "^4.4.1",
144
136
  "@types/json-diff": "^1.0.3",
145
137
  "@types/node": "^20.8.8",
146
- "@typescript-eslint/eslint-plugin": "^7.1.0",
147
- "@typescript-eslint/parser": "^7.1.0",
138
+ "@typescript-eslint/eslint-plugin": "^7.1.1",
139
+ "@typescript-eslint/parser": "^7.1.1",
148
140
  "@vitest/coverage-v8": "1.3.1",
149
141
  "eslint": "^8.57.0",
150
142
  "eslint-config-prettier": "^9.1.0",
@@ -154,15 +146,15 @@
154
146
  "happy-dom": "^12.10.3",
155
147
  "json-diff": "^1.0.6",
156
148
  "ls-engines": "^0.9.1",
157
- "next": "^14.1.0",
149
+ "next": "^14.1.3",
158
150
  "nock": "^13.5.4",
159
151
  "prettier": "^3.2.5",
160
152
  "prettier-plugin-packagejson": "^2.4.12",
161
153
  "rimraf": "^5.0.1",
162
- "rollup": "^4.12.0",
154
+ "rollup": "^4.12.1",
163
155
  "sse-channel": "^4.0.0",
164
- "terser": "^5.28.1",
165
- "typescript": "^5.3.3",
156
+ "terser": "^5.29.1",
157
+ "typescript": "^5.4.2",
166
158
  "vitest": "1.3.1",
167
159
  "vitest-github-actions-reporter": "0.11.1"
168
160
  },
package/dist/index.cjs.js DELETED
@@ -1,18 +0,0 @@
1
- import cjs from './index.cjs';
2
-
3
- export const BasePatch = cjs.BasePatch;
4
- export const BaseTransaction = cjs.BaseTransaction;
5
- export const ClientError = cjs.ClientError;
6
- export const ObservablePatch = cjs.ObservablePatch;
7
- export const ObservableSanityClient = cjs.ObservableSanityClient;
8
- export const ObservableTransaction = cjs.ObservableTransaction;
9
- export const Patch = cjs.Patch;
10
- export const SanityClient = cjs.SanityClient;
11
- export const ServerError = cjs.ServerError;
12
- export const Transaction = cjs.Transaction;
13
- export const unstable__adapter = cjs.unstable__adapter;
14
- export const unstable__environment = cjs.unstable__environment;
15
- export const createClient = cjs.createClient;
16
- export const requester = cjs.requester;
17
-
18
- export default cjs.default;
package/dist/stega.cjs.js DELETED
@@ -1,22 +0,0 @@
1
- import cjs from './stega.cjs';
2
-
3
- export const BasePatch = cjs.BasePatch;
4
- export const BaseTransaction = cjs.BaseTransaction;
5
- export const ClientError = cjs.ClientError;
6
- export const ObservablePatch = cjs.ObservablePatch;
7
- export const ObservableSanityClient = cjs.ObservableSanityClient;
8
- export const ObservableTransaction = cjs.ObservableTransaction;
9
- export const Patch = cjs.Patch;
10
- export const SanityClient = cjs.SanityClient;
11
- export const ServerError = cjs.ServerError;
12
- export const Transaction = cjs.Transaction;
13
- export const vercelStegaCleanAll = cjs.vercelStegaCleanAll;
14
- export const unstable__adapter = cjs.unstable__adapter;
15
- export const unstable__environment = cjs.unstable__environment;
16
- export const encodeIntoResult = cjs.encodeIntoResult;
17
- export const stegaEncodeSourceMap = cjs.stegaEncodeSourceMap;
18
- export const ObservableSanityStegaClient = cjs.ObservableSanityStegaClient;
19
- export const SanityStegaClient = cjs.SanityStegaClient;
20
- export const createClient = cjs.createClient;
21
- export const requester = cjs.requester;
22
-