@xyo-network/payload-model
Advanced tools
Comparing version 3.6.0-rc.4 to 3.6.0-rc.5
@@ -11,3 +11,3 @@ export * from './Error.ts'; | ||
export * from './Schema.ts'; | ||
export * from './StorageMeta.ts'; | ||
export * from './StorageMeta/index.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
@@ -16,5 +16,5 @@ } & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
export declare const asPayload: <T extends Payload>(schema: string[]) => { | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
//# sourceMappingURL=isPayload.d.ts.map |
@@ -8,4 +8,4 @@ import type { EmptyObject } from '@xylabs/object'; | ||
export declare const asSchema: { | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -11,3 +11,3 @@ export * from './Error.ts'; | ||
export * from './Schema.ts'; | ||
export * from './StorageMeta.ts'; | ||
export * from './StorageMeta/index.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
@@ -16,5 +16,5 @@ } & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
export declare const asPayload: <T extends Payload>(schema: string[]) => { | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
//# sourceMappingURL=isPayload.d.ts.map |
@@ -8,4 +8,4 @@ import type { EmptyObject } from '@xylabs/object'; | ||
export declare const asSchema: { | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -11,3 +11,3 @@ export * from './Error.ts'; | ||
export * from './Schema.ts'; | ||
export * from './StorageMeta.ts'; | ||
export * from './StorageMeta/index.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
@@ -16,5 +16,5 @@ } & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
export declare const asPayload: <T extends Payload>(schema: string[]) => { | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
//# sourceMappingURL=isPayload.d.ts.map |
@@ -8,4 +8,4 @@ import type { EmptyObject } from '@xylabs/object'; | ||
export declare const asSchema: { | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.13-f119ea3c1f/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.14-a00a2a7e8e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
{ | ||
"name": "@xyo-network/payload-model", | ||
"version": "3.6.0-rc.4", | ||
"version": "3.6.0-rc.5", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -40,4 +40,6 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/hex": "^4.4.13", | ||
"@xylabs/object": "^4.4.13" | ||
"@xylabs/arraybuffer": "^4.4.14", | ||
"@xylabs/assert": "^4.4.14", | ||
"@xylabs/hex": "^4.4.14", | ||
"@xylabs/object": "^4.4.14" | ||
}, | ||
@@ -47,3 +49,3 @@ "devDependencies": { | ||
"@xylabs/tsconfig": "^4.2.4", | ||
"@xylabs/vitest-extended": "^4.4.13", | ||
"@xylabs/vitest-extended": "^4.4.14", | ||
"typescript": "^5.7.2", | ||
@@ -50,0 +52,0 @@ "vitest": "^2.1.8" |
@@ -11,2 +11,2 @@ export * from './Error.ts' | ||
export * from './Schema.ts' | ||
export * from './StorageMeta.ts' | ||
export * from './StorageMeta/index.ts' |
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
185917
139
1959
4
+ Added@xylabs/arraybuffer@^4.4.14
+ Added@xylabs/assert@^4.4.14
+ Added@scure/base@1.2.1(transitive)
+ Added@xylabs/arraybuffer@4.4.36(transitive)
Updated@xylabs/hex@^4.4.14
Updated@xylabs/object@^4.4.14