@layerzerolabs/context-node 0.2.13 → 0.2.18

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.
@@ -10,9 +10,9 @@
10
10
  CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
- CJS dist/index.cjs 538.00 B
14
- CJS dist/index.cjs.map 807.00 B
15
- CJS ⚡️ Build success in 170ms
16
13
  ESM dist/index.js 490.00 B
17
- ESM dist/index.js.map 804.00 B
18
- ESM ⚡️ Build success in 170ms
14
+ ESM dist/index.js.map 801.00 B
15
+ ESM ⚡️ Build success in 98ms
16
+ CJS dist/index.cjs 538.00 B
17
+ CJS dist/index.cjs.map 804.00 B
18
+ CJS ⚡️ Build success in 98ms
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/context-node@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/definitions/context-node
3
3
  > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
4
 
5
- (node:28445) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1766427679294 is not specified and it doesn't parse as CommonJS.
5
+ (node:38410) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1768456627471 is not specified and it doesn't parse as CommonJS.
6
6
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
7
7
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
8
8
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","type","args"],"mappings":";;;;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gCAAAA,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.cjs","sourcesContent":["import type { z } from 'zod/v4';\n\nimport { ObjectDefinition } from '@layerzerolabs/base-definitions';\n\nexport class ContextDefinition<\n Name extends string,\n Schema extends z.ZodSchema,\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"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","type","args"],"mappings":";;;;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gCAAAA,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.cjs","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.ZodSchema,\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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { z } from 'zod/v4';
1
+ import type { z } from 'zod';
2
2
  import { ObjectDefinition } from '@layerzerolabs/base-definitions';
3
3
  export declare class ContextDefinition<Name extends string, Schema extends z.ZodSchema> extends ObjectDefinition<Name, Schema, {}> {
4
4
  readonly type: "ContextDefinition";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,qBAAa,iBAAiB,CAC1B,IAAI,SAAS,MAAM,EACnB,MAAM,SAAS,CAAC,CAAC,SAAS,CAC5B,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"}
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,SAAS,CAC5B,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/v4';\n\nimport { ObjectDefinition } from '@layerzerolabs/base-definitions';\n\nexport class ContextDefinition<\n Name extends string,\n Schema extends z.ZodSchema,\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"]}
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.ZodSchema,\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": "0.2.13",
3
+ "version": "0.2.18",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,13 +14,13 @@
14
14
  "module": "./dist/index.js",
15
15
  "types": "./dist/index.d.ts",
16
16
  "dependencies": {
17
- "zod": "3.25.56",
18
- "@layerzerolabs/base-definitions": "0.2.13"
17
+ "zod": "4.3.5",
18
+ "@layerzerolabs/base-definitions": "0.2.18"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tsup": "^8.4.0",
22
- "@layerzerolabs/typescript-configuration": "0.2.13",
23
- "@layerzerolabs/tsup-configuration": "0.2.13"
22
+ "@layerzerolabs/tsup-configuration": "0.2.18",
23
+ "@layerzerolabs/typescript-configuration": "0.2.18"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "restricted",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { z } from 'zod/v4';
1
+ import type { z } from 'zod';
2
2
 
3
3
  import { ObjectDefinition } from '@layerzerolabs/base-definitions';
4
4