@impz/client 6.9.1 → 6.10.1
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/dist/index.d.ts +203 -0
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
import { P, match } from "ts-pattern";
|
|
5
5
|
import pRetry, { AbortError } from "p-retry";
|
|
6
6
|
// src/check-server.ts
|
|
7
|
-
const CLIENT_VERSION = "6.
|
|
7
|
+
const CLIENT_VERSION = "6.10.1";
|
|
8
8
|
async function checkServer(rpc, options = {}) {
|
|
9
9
|
const signal = options.signal;
|
|
10
10
|
const callOptions = signal === void 0 ? {} : { signal };
|
|
@@ -677,7 +677,7 @@ const ResourceKindSchema = z.enum([
|
|
|
677
677
|
const ResourceDataSchema = z.object({
|
|
678
678
|
kind: ResourceKindSchema,
|
|
679
679
|
name: z.string(),
|
|
680
|
-
reason: z.enum(["binding_changed"]).optional()
|
|
680
|
+
reason: z.enum(["binding_changed", "id_changed"]).optional()
|
|
681
681
|
});
|
|
682
682
|
const ForbiddenReasonSchema = z.enum([
|
|
683
683
|
"imp_out_of_scope",
|
|
@@ -860,7 +860,8 @@ const FEATURE_GAPS = {
|
|
|
860
860
|
execDropSysAdmin: "cannot drop CAP_SYS_ADMIN from a command",
|
|
861
861
|
guestScratch: "does not name the guest scratch folder",
|
|
862
862
|
imagePins: "has no image pins",
|
|
863
|
-
buildContextUpload: "has no build context upload"
|
|
863
|
+
buildContextUpload: "has no build context upload",
|
|
864
|
+
destroyIdCheck: "has no id check on destroy"
|
|
864
865
|
};
|
|
865
866
|
var MissingFeatureError = class extends Error {
|
|
866
867
|
name = "MissingFeatureError";
|