@layerzerolabs/dw-model 0.0.43 → 0.0.44

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/dw-model",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -15,18 +15,18 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "dependencies": {
17
17
  "zod": "^3.23.8",
18
- "@layerzerolabs/common-chain-model": "0.0.43",
19
- "@layerzerolabs/layerzero-definitions": "0.0.43",
20
- "@layerzerolabs/typescript-utils": "0.0.43",
21
- "@layerzerolabs/deployment-activity-factory": "0.0.43"
18
+ "@layerzerolabs/common-chain-model": "0.0.44",
19
+ "@layerzerolabs/deployment-activity-factory": "0.0.44",
20
+ "@layerzerolabs/layerzero-definitions": "0.0.44",
21
+ "@layerzerolabs/typescript-utils": "0.0.44"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/ms": "^2.1.0",
25
25
  "tsup": "^8.4.0",
26
26
  "vitest": "^3.2.3",
27
- "@layerzerolabs/protocol-model": "0.0.43",
28
- "@layerzerolabs/tsup-configuration": "0.0.43",
29
- "@layerzerolabs/typescript-configuration": "0.0.43"
27
+ "@layerzerolabs/protocol-model": "0.0.44",
28
+ "@layerzerolabs/tsup-configuration": "0.0.44",
29
+ "@layerzerolabs/typescript-configuration": "0.0.44"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "restricted",
@@ -58,9 +58,15 @@ export const getVerificationInfoBaseArgs = z.object({
58
58
  });
59
59
  export type GetVerificationInfoBaseArgs = z.infer<typeof getVerificationInfoBaseArgs>;
60
60
 
61
- export const saveVerificationInfoBaseArgs = z.object({
62
- contractName: z.string(),
61
+ export const createVerificationInfoBaseArgs = z.object({
63
62
  deployedBytecode: hexSchema,
64
63
  deployerWallet: normalizedHexAddressSchema,
65
64
  });
65
+ export type CreateVerificationInfoBaseArgs = z.infer<typeof createVerificationInfoBaseArgs>;
66
+
67
+ export const saveVerificationInfoBaseArgs = z.object({
68
+ contractName: z.string(),
69
+ ...createVerificationInfoBaseArgs.shape,
70
+ });
71
+
66
72
  export type SaveVerificationInfoBaseArgs = z.infer<typeof saveVerificationInfoBaseArgs>;