@layerzerolabs/framework-solana-anchor-trait 0.2.76 → 0.2.78

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/framework-solana-anchor-trait",
3
- "version": "0.2.76",
3
+ "version": "0.2.78",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,10 +14,10 @@
14
14
  "rustfmt.toml"
15
15
  ],
16
16
  "devDependencies": {
17
- "@layerzerolabs/build-utils-solana": "0.2.76",
18
- "@layerzerolabs/typescript-configuration": "0.2.76",
19
- "@layerzerolabs/vm-tooling-solana": "0.2.76",
20
- "@layerzerolabs/tsup-configuration": "0.2.76"
17
+ "@layerzerolabs/vm-tooling-solana": "0.2.78",
18
+ "@layerzerolabs/tsup-configuration": "0.2.78",
19
+ "@layerzerolabs/build-utils-solana": "0.2.78",
20
+ "@layerzerolabs/typescript-configuration": "0.2.78"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "restricted",
@@ -38,10 +38,10 @@
38
38
  "format": "pnpm exec lz-tool --script 'cargo +nightly-2025-06-01 fmt' anchor",
39
39
  "format:check": "pnpm exec lz-tool --script 'cargo +nightly-2025-06-01 fmt -- --check' anchor",
40
40
  "lint": "pnpm exec lz-tool --script 'cargo +nightly-2025-06-01 fmt -- --check && cargo clippy --all-targets' anchor",
41
- "test": "pnpm test:lib && pnpm test:example",
41
+ "test": "pnpm test:rust && pnpm test:example",
42
42
  "test:example": "pnpm test:example:ellipse && pnpm test:example:triangle",
43
43
  "test:example:ellipse": "pnpm exec lz-tool --script 'cargo test-ellipse' anchor",
44
44
  "test:example:triangle": "pnpm exec lz-tool --script 'cargo test-triangle' anchor",
45
- "test:lib": "pnpm exec lz-tool --script 'cargo test -p anchor-trait --lib --tests' anchor"
45
+ "test:rust": "pnpm exec lz-tool --script 'cargo test -p anchor-trait --lib --tests' anchor"
46
46
  }
47
47
  }
package/src/generation.rs CHANGED
@@ -144,7 +144,7 @@ fn generate_instruction<Ix: InstructionSet>(
144
144
  Span::call_site(),
145
145
  format!(
146
146
  "instruction `{}` has no default implementation; \
147
- provide a `fn {}(...)` annotated with #[{}]",
147
+ provide a `fn {}(...)` annotated with #[{}]",
148
148
  ix_name.canonical_name(),
149
149
  ix_name.canonical_name(),
150
150
  &overrides.config.attr_name,