@xyo-network/boundwitness-model
Advanced tools
Comparing version 2.110.10 to 2.110.11
@@ -1,6 +0,3 @@ | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
// src/BoundWitness/BoundWitnessJsonSchema.ts | ||
var BoundWitnessJsonSchema = /* @__PURE__ */ __name(() => { | ||
var BoundWitnessJsonSchema = () => { | ||
return { | ||
@@ -10,41 +7,12 @@ $id: "https://schemas.xyo.network/2.0/boundwitness", | ||
properties: { | ||
addresses: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
payload_hashes: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
payload_schemas: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
previous_hashes: { | ||
items: { | ||
nullable: true, | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
schema: { | ||
type: "string" | ||
} | ||
addresses: { items: { type: "string" }, type: "array" }, | ||
payload_hashes: { items: { type: "string" }, type: "array" }, | ||
payload_schemas: { items: { type: "string" }, type: "array" }, | ||
previous_hashes: { items: { nullable: true, type: "string" }, type: "array" }, | ||
schema: { type: "string" } | ||
}, | ||
required: [ | ||
"addresses", | ||
"payload_hashes", | ||
"payload_schemas", | ||
"previous_hashes", | ||
"schema" | ||
], | ||
required: ["addresses", "payload_hashes", "payload_schemas", "previous_hashes", "schema"], | ||
type: "object" | ||
}; | ||
}, "BoundWitnessJsonSchema"); | ||
}; | ||
@@ -56,6 +24,6 @@ // src/BoundWitness/BoundWitnessSchema.ts | ||
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, notPayloadOfSchemaType } from "@xyo-network/payload-model"; | ||
var isBoundWitness = /* @__PURE__ */ __name((value) => isPayloadOfSchemaType(BoundWitnessSchema)(value), "isBoundWitness"); | ||
var isBoundWitnessWithMeta = /* @__PURE__ */ __name((value) => isPayloadOfSchemaTypeWithMeta(BoundWitnessSchema)(value), "isBoundWitnessWithMeta"); | ||
var isBoundWitness = (value) => isPayloadOfSchemaType(BoundWitnessSchema)(value); | ||
var isBoundWitnessWithMeta = (value) => isPayloadOfSchemaTypeWithMeta(BoundWitnessSchema)(value); | ||
var notBoundWitness = notPayloadOfSchemaType(BoundWitnessSchema); | ||
var asBoundWitness = /* @__PURE__ */ __name((payload) => isBoundWitness(payload) ? payload : void 0, "asBoundWitness"); | ||
var asBoundWitness = (payload) => isBoundWitness(payload) ? payload : void 0; | ||
var isBoundWitnessPayload = isBoundWitness; | ||
@@ -65,4 +33,4 @@ | ||
var QueryBoundWitnessSchema = BoundWitnessSchema; | ||
var isQueryBoundWitness = /* @__PURE__ */ __name((x) => isBoundWitness(x) && x?.query !== void 0, "isQueryBoundWitness"); | ||
var isQueryBoundWitnessWithMeta = /* @__PURE__ */ __name((x) => isBoundWitness(x) && isBoundWitnessWithMeta(x) && x?.query !== void 0, "isQueryBoundWitnessWithMeta"); | ||
var isQueryBoundWitness = (x) => isBoundWitness(x) && x?.query !== void 0; | ||
var isQueryBoundWitnessWithMeta = (x) => isBoundWitness(x) && isBoundWitnessWithMeta(x) && x?.query !== void 0; | ||
export { | ||
@@ -69,0 +37,0 @@ BoundWitnessJsonSchema, |
@@ -1,6 +0,3 @@ | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
// src/BoundWitness/BoundWitnessJsonSchema.ts | ||
var BoundWitnessJsonSchema = /* @__PURE__ */ __name(() => { | ||
var BoundWitnessJsonSchema = () => { | ||
return { | ||
@@ -10,41 +7,12 @@ $id: "https://schemas.xyo.network/2.0/boundwitness", | ||
properties: { | ||
addresses: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
payload_hashes: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
payload_schemas: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
previous_hashes: { | ||
items: { | ||
nullable: true, | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
schema: { | ||
type: "string" | ||
} | ||
addresses: { items: { type: "string" }, type: "array" }, | ||
payload_hashes: { items: { type: "string" }, type: "array" }, | ||
payload_schemas: { items: { type: "string" }, type: "array" }, | ||
previous_hashes: { items: { nullable: true, type: "string" }, type: "array" }, | ||
schema: { type: "string" } | ||
}, | ||
required: [ | ||
"addresses", | ||
"payload_hashes", | ||
"payload_schemas", | ||
"previous_hashes", | ||
"schema" | ||
], | ||
required: ["addresses", "payload_hashes", "payload_schemas", "previous_hashes", "schema"], | ||
type: "object" | ||
}; | ||
}, "BoundWitnessJsonSchema"); | ||
}; | ||
@@ -56,6 +24,6 @@ // src/BoundWitness/BoundWitnessSchema.ts | ||
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, notPayloadOfSchemaType } from "@xyo-network/payload-model"; | ||
var isBoundWitness = /* @__PURE__ */ __name((value) => isPayloadOfSchemaType(BoundWitnessSchema)(value), "isBoundWitness"); | ||
var isBoundWitnessWithMeta = /* @__PURE__ */ __name((value) => isPayloadOfSchemaTypeWithMeta(BoundWitnessSchema)(value), "isBoundWitnessWithMeta"); | ||
var isBoundWitness = (value) => isPayloadOfSchemaType(BoundWitnessSchema)(value); | ||
var isBoundWitnessWithMeta = (value) => isPayloadOfSchemaTypeWithMeta(BoundWitnessSchema)(value); | ||
var notBoundWitness = notPayloadOfSchemaType(BoundWitnessSchema); | ||
var asBoundWitness = /* @__PURE__ */ __name((payload) => isBoundWitness(payload) ? payload : void 0, "asBoundWitness"); | ||
var asBoundWitness = (payload) => isBoundWitness(payload) ? payload : void 0; | ||
var isBoundWitnessPayload = isBoundWitness; | ||
@@ -65,4 +33,4 @@ | ||
var QueryBoundWitnessSchema = BoundWitnessSchema; | ||
var isQueryBoundWitness = /* @__PURE__ */ __name((x) => isBoundWitness(x) && x?.query !== void 0, "isQueryBoundWitness"); | ||
var isQueryBoundWitnessWithMeta = /* @__PURE__ */ __name((x) => isBoundWitness(x) && isBoundWitnessWithMeta(x) && x?.query !== void 0, "isQueryBoundWitnessWithMeta"); | ||
var isQueryBoundWitness = (x) => isBoundWitness(x) && x?.query !== void 0; | ||
var isQueryBoundWitnessWithMeta = (x) => isBoundWitness(x) && isBoundWitnessWithMeta(x) && x?.query !== void 0; | ||
export { | ||
@@ -69,0 +37,0 @@ BoundWitnessJsonSchema, |
@@ -1,6 +0,3 @@ | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
// src/BoundWitness/BoundWitnessJsonSchema.ts | ||
var BoundWitnessJsonSchema = /* @__PURE__ */ __name(() => { | ||
var BoundWitnessJsonSchema = () => { | ||
return { | ||
@@ -10,41 +7,12 @@ $id: "https://schemas.xyo.network/2.0/boundwitness", | ||
properties: { | ||
addresses: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
payload_hashes: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
payload_schemas: { | ||
items: { | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
previous_hashes: { | ||
items: { | ||
nullable: true, | ||
type: "string" | ||
}, | ||
type: "array" | ||
}, | ||
schema: { | ||
type: "string" | ||
} | ||
addresses: { items: { type: "string" }, type: "array" }, | ||
payload_hashes: { items: { type: "string" }, type: "array" }, | ||
payload_schemas: { items: { type: "string" }, type: "array" }, | ||
previous_hashes: { items: { nullable: true, type: "string" }, type: "array" }, | ||
schema: { type: "string" } | ||
}, | ||
required: [ | ||
"addresses", | ||
"payload_hashes", | ||
"payload_schemas", | ||
"previous_hashes", | ||
"schema" | ||
], | ||
required: ["addresses", "payload_hashes", "payload_schemas", "previous_hashes", "schema"], | ||
type: "object" | ||
}; | ||
}, "BoundWitnessJsonSchema"); | ||
}; | ||
@@ -56,6 +24,6 @@ // src/BoundWitness/BoundWitnessSchema.ts | ||
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, notPayloadOfSchemaType } from "@xyo-network/payload-model"; | ||
var isBoundWitness = /* @__PURE__ */ __name((value) => isPayloadOfSchemaType(BoundWitnessSchema)(value), "isBoundWitness"); | ||
var isBoundWitnessWithMeta = /* @__PURE__ */ __name((value) => isPayloadOfSchemaTypeWithMeta(BoundWitnessSchema)(value), "isBoundWitnessWithMeta"); | ||
var isBoundWitness = (value) => isPayloadOfSchemaType(BoundWitnessSchema)(value); | ||
var isBoundWitnessWithMeta = (value) => isPayloadOfSchemaTypeWithMeta(BoundWitnessSchema)(value); | ||
var notBoundWitness = notPayloadOfSchemaType(BoundWitnessSchema); | ||
var asBoundWitness = /* @__PURE__ */ __name((payload) => isBoundWitness(payload) ? payload : void 0, "asBoundWitness"); | ||
var asBoundWitness = (payload) => isBoundWitness(payload) ? payload : void 0; | ||
var isBoundWitnessPayload = isBoundWitness; | ||
@@ -65,4 +33,4 @@ | ||
var QueryBoundWitnessSchema = BoundWitnessSchema; | ||
var isQueryBoundWitness = /* @__PURE__ */ __name((x) => isBoundWitness(x) && (x == null ? void 0 : x.query) !== void 0, "isQueryBoundWitness"); | ||
var isQueryBoundWitnessWithMeta = /* @__PURE__ */ __name((x) => isBoundWitness(x) && isBoundWitnessWithMeta(x) && (x == null ? void 0 : x.query) !== void 0, "isQueryBoundWitnessWithMeta"); | ||
var isQueryBoundWitness = (x) => isBoundWitness(x) && (x == null ? void 0 : x.query) !== void 0; | ||
var isQueryBoundWitnessWithMeta = (x) => isBoundWitness(x) && isBoundWitnessWithMeta(x) && (x == null ? void 0 : x.query) !== void 0; | ||
export { | ||
@@ -69,0 +37,0 @@ BoundWitnessJsonSchema, |
@@ -13,12 +13,13 @@ { | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
"dependencies": { | ||
"@xylabs/hex": "^3.6.5", | ||
"@xylabs/object": "^3.6.5", | ||
"@xyo-network/payload-model": "^2.110.11" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.12.4", | ||
"@xylabs/tsconfig": "^3.12.4", | ||
"@types/node": "^20.14.12", | ||
"@xylabs/ts-scripts-yarn3": "^3.13.3", | ||
"@xylabs/tsconfig": "^3.13.3", | ||
"typescript": "^5.5.4" | ||
}, | ||
"dependencies": { | ||
"@xylabs/hex": "^3.6.4", | ||
"@xylabs/object": "^3.6.4", | ||
"@xyo-network/payload-model": "^2.110.10" | ||
}, | ||
"exports": { | ||
@@ -62,4 +63,4 @@ ".": { | ||
"types": "dist/node/index.d.ts", | ||
"version": "2.110.10", | ||
"version": "2.110.11", | ||
"type": "module" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112735
4
666
Updated@xylabs/hex@^3.6.5
Updated@xylabs/object@^3.6.5