@layerzerolabs/lz-solana-sdk-v2 3.0.74 → 3.0.75-test.0

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/README.md +9 -5
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -90,9 +90,11 @@ const connection = new Connection("https://api.mainnet-beta.solana.com");
90
90
  const program = new PublicKey("programPublicKey");
91
91
  const signature = "transactionSignature";
92
92
 
93
- extractSentPacketEventByTxHash(connection, program, signature).then((events) => {
93
+ extractSentPacketEventByTxHash(connection, program, signature).then(
94
+ (events) => {
94
95
  console.log(`Sent Packet Events: ${events}`);
95
- });
96
+ },
97
+ );
96
98
  ```
97
99
 
98
100
  ### Price Feed Management
@@ -110,9 +112,11 @@ const payer = new PublicKey("payerPublicKey");
110
112
  const admin = new PublicKey("adminPublicKey");
111
113
  const updaters = [new PublicKey("updaterPublicKey")];
112
114
 
113
- priceFeedProgram.initPriceFeed(connection, payer, admin, updaters).then((instruction) => {
115
+ priceFeedProgram
116
+ .initPriceFeed(connection, payer, admin, updaters)
117
+ .then((instruction) => {
114
118
  console.log(`Transaction Instruction: ${instruction}`);
115
- });
119
+ });
116
120
  ```
117
121
 
118
122
  ### Utility Functions
@@ -129,4 +133,4 @@ const oappId = new PublicKey("oappId");
129
133
 
130
134
  const [pda, bump] = deriveLzReceiveTypesAccountsPDA(program, oappId);
131
135
  console.log(`PDA: ${pda.toBase58()}, Bump: ${bump}`);
132
- ```
136
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-solana-sdk-v2",
3
- "version": "3.0.74",
3
+ "version": "3.0.75-test.0",
4
4
  "license": "BUSL-1.1",
5
5
  "exports": {
6
6
  ".": {
@@ -31,20 +31,20 @@
31
31
  "clean-prebuild": "rimraf .turbo target dist",
32
32
  "gen-idl": "$npm_execpath sync-target-idl && rsync -avc --delete target/idl/ ./idl/",
33
33
  "sync-target": "$npm_execpath sync-target-deploy && $npm_execpath sync-target-idl",
34
- "sync-target-deploy": "mkdir -p target/deploy && rsync -avc --delete ../solana/target/deploy/ target/deploy/",
35
- "sync-target-idl": "mkdir -p target/idl && rsync -avc --delete ../solana/target/idl/ target/idl/",
34
+ "sync-target-deploy": "mkdir -p target/deploy && rsync -avc --delete ../contracts/target/deploy/ target/deploy/",
35
+ "sync-target-idl": "mkdir -p target/idl && rsync -avc --delete ../contracts/target/idl/ target/idl/",
36
36
  "test": "anchor test --skip-build",
37
37
  "test-endpoint": "TEST_SCOPES=endpoint anchor test --skip-build",
38
38
  "test-extend": "yarn run ts-mocha -b -p ./tsconfig.json -t 10000000 tests/extend_account.test.ts",
39
39
  "test-uln": "TEST_SCOPES=uln anchor test --skip-build"
40
40
  },
41
41
  "dependencies": {
42
- "@layerzerolabs/lz-corekit-solana": "^3.0.74",
43
- "@layerzerolabs/lz-definitions": "^3.0.74",
44
- "@layerzerolabs/lz-foundation": "^3.0.74",
45
- "@layerzerolabs/lz-serdes": "^3.0.74",
46
- "@layerzerolabs/lz-utilities": "^3.0.74",
47
- "@layerzerolabs/lz-v2-utilities": "^3.0.74",
42
+ "@layerzerolabs/lz-corekit-solana": "^3.0.75-test.0",
43
+ "@layerzerolabs/lz-definitions": "^3.0.75-test.0",
44
+ "@layerzerolabs/lz-foundation": "^3.0.75-test.0",
45
+ "@layerzerolabs/lz-serdes": "^3.0.75-test.0",
46
+ "@layerzerolabs/lz-utilities": "^3.0.75-test.0",
47
+ "@layerzerolabs/lz-v2-utilities": "^3.0.75-test.0",
48
48
  "@metaplex-foundation/beet": "^0.7.1",
49
49
  "@metaplex-foundation/beet-solana": "^0.4.0",
50
50
  "@metaplex-foundation/umi": "^0.9.2",
@@ -66,8 +66,8 @@
66
66
  "@kinobi-so/renderers": "^0.21.3",
67
67
  "@kinobi-so/renderers-js-umi": "^0.21.6",
68
68
  "@layerzerolabs/layerzero-v2-solana": "^0.0.0",
69
- "@layerzerolabs/tsup-config-next": "^3.0.74",
70
- "@layerzerolabs/typescript-config-next": "^3.0.74",
69
+ "@layerzerolabs/tsup-config-next": "^3.0.75-test.0",
70
+ "@layerzerolabs/typescript-config-next": "^3.0.75-test.0",
71
71
  "@metaplex-foundation/umi-bundle-defaults": "^0.9.2",
72
72
  "@types/bn.js": "^5.1.5",
73
73
  "@types/chai": "^4.3.11",