@sanity/client 6.4.11 → 6.4.12
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 +0 -7
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +12 -17
package/README.md
CHANGED
|
@@ -1165,13 +1165,6 @@ client.config({dataset: 'newDataset'})
|
|
|
1165
1165
|
|
|
1166
1166
|
Set client configuration. Required options are `projectId` and `dataset`.
|
|
1167
1167
|
|
|
1168
|
-
## Release new version
|
|
1169
|
-
|
|
1170
|
-
Run ["CI & Release" workflow](https://github.com/sanity-io/client/actions/workflows/ci.yml).
|
|
1171
|
-
Make sure to select the main branch and check "Release new version".
|
|
1172
|
-
|
|
1173
|
-
Semantic release will only release on configured branches, so it is safe to run release on any branch.
|
|
1174
|
-
|
|
1175
1168
|
## License
|
|
1176
1169
|
|
|
1177
1170
|
MIT © [Sanity.io](https://www.sanity.io/)
|
package/dist/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var getIt = require('get-it');
|
|
|
8
8
|
var rxjs = require('rxjs');
|
|
9
9
|
var operators = require('rxjs/operators');
|
|
10
10
|
var name = "@sanity/client";
|
|
11
|
-
var version = "6.4.
|
|
11
|
+
var version = "6.4.12";
|
|
12
12
|
const middleware = [middleware$1.debug({
|
|
13
13
|
verbose: true,
|
|
14
14
|
namespace: "sanity:client"
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export { adapter as unstable__adapter, environment as unstable__environment } fr
|
|
|
4
4
|
import { Observable, lastValueFrom } from 'rxjs';
|
|
5
5
|
import { map, filter } from 'rxjs/operators';
|
|
6
6
|
var name = "@sanity/client";
|
|
7
|
-
var version = "6.4.
|
|
7
|
+
var version = "6.4.12";
|
|
8
8
|
const middleware = [debug({
|
|
9
9
|
verbose: true,
|
|
10
10
|
namespace: "sanity:client"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/client",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.12",
|
|
4
4
|
"description": "Client for retrieving, creating and patching data from Sanity.io",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"test": "vitest",
|
|
73
73
|
"type-check": "tsc --noEmit",
|
|
74
74
|
"test:browser": "npm test -- --config ./vitest.browser.config.ts",
|
|
75
|
-
"test:bun": "
|
|
75
|
+
"test:bun": "bun test runtimes/bun",
|
|
76
76
|
"test:deno": "deno test --allow-read --allow-net --allow-env --fail-fast --import-map=runtimes/deno/import_map.json runtimes/deno",
|
|
77
77
|
"test:deno:update_import_map": "deno run --allow-read --allow-write runtimes/deno/update_import_map.ts",
|
|
78
78
|
"posttest:deno:update_import_map": "npx prettier --write runtimes/deno/import_map.json",
|
|
@@ -95,39 +95,34 @@
|
|
|
95
95
|
"rxjs": "^7.0.0"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@edge-runtime/types": "^2.2.
|
|
99
|
-
"@edge-runtime/vm": "^3.1.
|
|
98
|
+
"@edge-runtime/types": "^2.2.3",
|
|
99
|
+
"@edge-runtime/vm": "^3.1.3",
|
|
100
100
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
101
101
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
102
102
|
"@sanity/pkg-utils": "^2.4.8",
|
|
103
|
-
"@
|
|
104
|
-
"@
|
|
105
|
-
"@typescript-eslint/
|
|
106
|
-
"@
|
|
107
|
-
"
|
|
108
|
-
"eslint": "^8.48.0",
|
|
103
|
+
"@types/node": "^20.6.0",
|
|
104
|
+
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
105
|
+
"@typescript-eslint/parser": "^6.7.0",
|
|
106
|
+
"@vitest/coverage-v8": "^0.34.4",
|
|
107
|
+
"eslint": "^8.49.0",
|
|
109
108
|
"eslint-config-prettier": "^9.0.0",
|
|
110
109
|
"eslint-plugin-prettier": "^5.0.0",
|
|
111
110
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
112
111
|
"faucet": "^0.0.4",
|
|
113
|
-
"happy-dom": "^
|
|
112
|
+
"happy-dom": "^11.0.5",
|
|
114
113
|
"ls-engines": "^0.9.0",
|
|
115
114
|
"nock": "^13.3.3",
|
|
116
115
|
"prettier": "^3.0.3",
|
|
117
116
|
"prettier-plugin-packagejson": "^2.4.5",
|
|
118
117
|
"rimraf": "^5.0.1",
|
|
119
|
-
"rollup": "^3.29.
|
|
118
|
+
"rollup": "^3.29.1",
|
|
120
119
|
"sse-channel": "^4.0.0",
|
|
121
120
|
"terser": "^5.19.4",
|
|
122
121
|
"typescript": "^5.2.2",
|
|
123
|
-
"vitest": "^0.34.
|
|
122
|
+
"vitest": "^0.34.4",
|
|
124
123
|
"vitest-github-actions-reporter": "^0.10.0"
|
|
125
124
|
},
|
|
126
125
|
"engines": {
|
|
127
126
|
"node": ">=14.18"
|
|
128
|
-
},
|
|
129
|
-
"publishConfig": {
|
|
130
|
-
"access": "public",
|
|
131
|
-
"provenance": true
|
|
132
127
|
}
|
|
133
128
|
}
|