@layerzerolabs/framework-solana-anchor-trait 0.2.106 → 0.2.108

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.
Files changed (2) hide show
  1. package/package.json +8 -5
  2. package/src/lib.rs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/framework-solana-anchor-trait",
3
- "version": "0.2.106",
3
+ "version": "0.2.108",
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.106",
18
- "@layerzerolabs/typescript-configuration": "0.2.106",
19
- "@layerzerolabs/vm-tooling-solana": "0.2.106",
20
- "@layerzerolabs/tsup-configuration": "0.2.106"
17
+ "@layerzerolabs/vm-tooling-solana": "0.2.108",
18
+ "@layerzerolabs/build-utils-solana": "0.2.108",
19
+ "@layerzerolabs/typescript-configuration": "0.2.108",
20
+ "@layerzerolabs/tsup-configuration": "0.2.108"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "restricted",
@@ -32,7 +32,10 @@
32
32
  "allow-read-write": "[ -z \"$CI\" ] || sudo chmod -R a+rwx ./target ./examples/shapes/target",
33
33
  "build": "pnpm build:lib && pnpm build:example && pnpm allow-read-write",
34
34
  "build:example": "pnpm exec lz-tool --script 'anchor build --no-idl --ignore-keys' anchor",
35
+ "build:example:native": "pnpm exec lz-tool --docker-platform native --script 'anchor build --no-idl --ignore-keys' anchor",
35
36
  "build:lib": "pnpm exec lz-tool --script 'cargo build' anchor",
37
+ "build:lib:native": "pnpm exec lz-tool --docker-platform native --script 'cargo build' anchor",
38
+ "build:native": "pnpm build:lib:native && pnpm build:example:native && pnpm allow-read-write",
36
39
  "check": "pnpm exec lz-tool --script 'cargo check' anchor",
37
40
  "clean": "rm -rf target",
38
41
  "format": "pnpm exec lz-tool --script 'cargo +nightly-2025-06-01 fmt' anchor",
package/src/lib.rs CHANGED
@@ -60,7 +60,7 @@ pub trait InstructionSet: Copy + Ord + 'static {
60
60
  /// be unique — two variants on the same module emit colliding entrypoints.
61
61
  ///
62
62
  /// Appending `(ctx)` after `mod_name` routes to `mod_name::spec(&ctx)`
63
- /// with the [`CodegenContext`] reference; omitting it calls `spec()` with
63
+ /// with the `CodegenContext` reference; omitting it calls `spec()` with
64
64
  /// no arguments. The marker token is discarded — `ctx` is convention.
65
65
  ///
66
66
  /// Callers are responsible for declaring their own `mod` items before