@layerzerolabs/framework-solana-anchor-trait 0.2.65 → 0.2.66
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
[
|
|
1
|
+
[83,41,100,124,253,76,173,189,57,63,225,105,76,216,57,218,169,11,113,140,39,147,120,255,214,249,221,238,90,70,86,237,151,231,78,120,163,27,99,113,65,164,52,42,200,127,131,3,253,227,143,94,175,197,14,95,93,100,229,150,219,100,60,62]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[
|
|
1
|
+
[67,211,191,252,159,201,94,145,237,89,17,137,23,156,218,225,125,53,104,210,229,94,223,37,222,133,11,138,138,154,93,106,131,107,174,107,148,49,99,147,89,200,173,205,83,211,169,125,54,115,162,133,97,180,100,164,51,50,97,170,162,104,131,75]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/framework-solana-anchor-trait",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.66",
|
|
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/
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
17
|
+
"@layerzerolabs/tsup-configuration": "0.2.66",
|
|
18
|
+
"@layerzerolabs/build-utils-solana": "0.2.66",
|
|
19
|
+
"@layerzerolabs/typescript-configuration": "0.2.66",
|
|
20
|
+
"@layerzerolabs/vm-tooling-solana": "0.2.66"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "restricted",
|
package/rustfmt.toml
CHANGED
package/src/assembly.rs
CHANGED
|
@@ -4,9 +4,7 @@ use proc_macro2::{Ident, TokenStream};
|
|
|
4
4
|
use quote::quote;
|
|
5
5
|
use syn::ItemMod;
|
|
6
6
|
|
|
7
|
-
use crate::generation::GeneratedInstructions;
|
|
8
|
-
use crate::overrides::InstructionOverrides;
|
|
9
|
-
use crate::InstructionSet;
|
|
7
|
+
use crate::{generation::GeneratedInstructions, overrides::InstructionOverrides, InstructionSet};
|
|
10
8
|
|
|
11
9
|
/// Input for the final assembly step.
|
|
12
10
|
pub struct Assembly<Ix: InstructionSet> {
|
package/src/generation.rs
CHANGED
|
@@ -8,12 +8,11 @@ use proc_macro2::{Ident, Span, TokenStream};
|
|
|
8
8
|
use quote::{quote, ToTokens};
|
|
9
9
|
use syn::{ItemImpl, ItemStruct};
|
|
10
10
|
|
|
11
|
-
use crate::overrides::InstructionOverrides;
|
|
12
|
-
use crate::InstructionSet;
|
|
11
|
+
use crate::{overrides::InstructionOverrides, InstructionSet};
|
|
13
12
|
|
|
14
13
|
/// Descriptor for one instruction's code generation.
|
|
15
14
|
pub struct InstructionSpec<Ctx> {
|
|
16
|
-
/// Parameter type as a token stream (e.g. `Some(quote!(::
|
|
15
|
+
/// Parameter type as a token stream (e.g. `Some(quote!(::oapp::types::SetPeerParams))`).
|
|
17
16
|
/// Use `None` for instructions with no params.
|
|
18
17
|
pub params_type: Option<TokenStream>,
|
|
19
18
|
/// Return type as a token stream (e.g. `quote!(())` or `quote!([u8; 32])`).
|