@pioneer-platform/solana-network 8.24.0 → 8.25.4
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +42 -0
- package/lib/index.js +8 -3
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @pioneer-platform/solana-network@8.
|
|
3
|
+
> @pioneer-platform/solana-network@8.25.4 build /Users/highlander/WebstormProjects/keepkey-stack/projects/pioneer/modules/coins/solana/solana-network
|
|
4
4
|
> tsc -p .
|
|
5
5
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @pioneer-platform/solana-network
|
|
2
2
|
|
|
3
|
+
## 8.25.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: chore: chore: chore: update test suite and deployment workflow
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @pioneer-platform/pioneer-nodes@8.37.4
|
|
10
|
+
|
|
11
|
+
## 8.25.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- chore: chore: chore: update test suite and deployment workflow
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @pioneer-platform/pioneer-nodes@8.37.3
|
|
18
|
+
|
|
19
|
+
## 8.25.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- chore: chore: update test suite and deployment workflow
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
- @pioneer-platform/pioneer-nodes@8.37.2
|
|
26
|
+
|
|
27
|
+
## 8.25.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- chore: update test suite and deployment workflow
|
|
32
|
+
- @pioneer-platform/pioneer-nodes@8.37.1
|
|
33
|
+
|
|
34
|
+
## 8.25.0
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- chore: chore: chore: chore: chore: feat(e2e): add --blue and --production flags to pioneer-sdk test
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies
|
|
43
|
+
- @pioneer-platform/pioneer-nodes@8.37.0
|
|
44
|
+
|
|
3
45
|
## 8.24.0
|
|
4
46
|
|
|
5
47
|
### Minor Changes
|
package/lib/index.js
CHANGED
|
@@ -474,7 +474,7 @@ function get_transaction(signature) {
|
|
|
474
474
|
}
|
|
475
475
|
function build_transfer(from, to, amount) {
|
|
476
476
|
return __awaiter(this, void 0, void 0, function () {
|
|
477
|
-
var tag, fromPubkey, toPubkey, lamports, _a, blockhash, lastValidBlockHeight, transferInstruction, transaction,
|
|
477
|
+
var tag, fromPubkey, toPubkey, lamports, _a, blockhash, lastValidBlockHeight, transferInstruction, transaction, message, signedFormat, e_7;
|
|
478
478
|
return __generator(this, function (_b) {
|
|
479
479
|
switch (_b.label) {
|
|
480
480
|
case 0:
|
|
@@ -504,11 +504,16 @@ function build_transfer(from, to, amount) {
|
|
|
504
504
|
blockhash: blockhash,
|
|
505
505
|
lastValidBlockHeight: lastValidBlockHeight
|
|
506
506
|
}).add(transferInstruction);
|
|
507
|
-
|
|
507
|
+
message = transaction.serializeMessage();
|
|
508
|
+
signedFormat = Buffer.alloc(1 + 64 + message.length);
|
|
509
|
+
signedFormat[0] = 1; // 1 signature
|
|
510
|
+
// Bytes 1-64 are zeros (dummy signature) - already initialized by alloc
|
|
511
|
+
message.copy(signedFormat, 65); // Copy message after dummy signature
|
|
508
512
|
log.debug(tag, "Transfer transaction built successfully");
|
|
513
|
+
log.debug(tag, "Message size: ".concat(message.length, " bytes, Signed format: ").concat(signedFormat.length, " bytes"));
|
|
509
514
|
return [2 /*return*/, {
|
|
510
515
|
transaction: transaction,
|
|
511
|
-
serialized:
|
|
516
|
+
serialized: signedFormat.toString('base64'),
|
|
512
517
|
blockhash: blockhash,
|
|
513
518
|
lastValidBlockHeight: lastValidBlockHeight,
|
|
514
519
|
from: from,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/solana-network",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.25.4",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"description": "Pioneer Platform Solana Network module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"axios": "^1.6.0",
|
|
16
16
|
"dotenv": "^16.0.0",
|
|
17
17
|
"@pioneer-platform/loggerdog": "8.11.0",
|
|
18
|
-
"@pioneer-platform/pioneer-nodes": "8.
|
|
18
|
+
"@pioneer-platform/pioneer-nodes": "8.37.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^18.16.0",
|