@layerzerolabs/context-node 1.2.34 → 1.2.36
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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import { ObjectDefinition } from '@layerzerolabs/base-definitions';
|
|
3
|
-
export declare class ContextDefinition<Name extends string, Schema extends z.
|
|
3
|
+
export declare class ContextDefinition<Name extends string, Schema extends z.ZodType<string | number | boolean>> extends ObjectDefinition<Name, Schema, {}> {
|
|
4
4
|
readonly type: "ContextDefinition";
|
|
5
5
|
constructor({ ...args }: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>);
|
|
6
6
|
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,qBAAa,iBAAiB,CAC1B,IAAI,SAAS,MAAM,EACnB,MAAM,SAAS,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,qBAAa,iBAAiB,CAC1B,IAAI,SAAS,MAAM,EACnB,MAAM,SAAS,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CACrD,SAAQ,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;IACxC,SAAgB,IAAI,EAAG,mBAAmB,CAAU;gBACxC,EACR,GAAG,IAAI,EACV,EAAE,IAAI,CAAC,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC;CAG/F"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","type","args"],"mappings":";;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gBAAAA,CAAAA;EALV;;;EAMoBC,IAAAA,GAAO,mBAAA;EACvB,WAAA,CAAY,EACR,GAAGC,IAAAA,EAAAA,EACuF;AAC1F,IAAA,KAAA,CAAMA,IAAAA,CAAAA;AACV,EAAA;AACJ","file":"index.js","sourcesContent":["import type { z } from 'zod';\n\nimport { ObjectDefinition } from '@layerzerolabs/base-definitions';\n\nexport class ContextDefinition<\n Name extends string,\n Schema extends z.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","type","args"],"mappings":";;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gBAAAA,CAAAA;EALV;;;EAMoBC,IAAAA,GAAO,mBAAA;EACvB,WAAA,CAAY,EACR,GAAGC,IAAAA,EAAAA,EACuF;AAC1F,IAAA,KAAA,CAAMA,IAAAA,CAAAA;AACV,EAAA;AACJ","file":"index.js","sourcesContent":["import type { z } from 'zod';\n\nimport { ObjectDefinition } from '@layerzerolabs/base-definitions';\n\nexport class ContextDefinition<\n Name extends string,\n Schema extends z.ZodType<string | number | boolean>,\n> extends ObjectDefinition<Name, Schema, {}> {\n public readonly type = 'ContextDefinition' as const;\n constructor({\n ...args\n }: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>) {\n super(args);\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/context-node",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "4.3.5",
|
|
20
|
-
"@layerzerolabs/base-definitions": "1.2.
|
|
20
|
+
"@layerzerolabs/base-definitions": "1.2.36"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"tsup": "^8.4.0",
|
|
24
|
-
"@layerzerolabs/
|
|
25
|
-
"@layerzerolabs/
|
|
24
|
+
"@layerzerolabs/tsup-configuration": "1.2.36",
|
|
25
|
+
"@layerzerolabs/typescript-configuration": "1.2.36"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public",
|