@phantom/parsers 0.0.2 → 0.0.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/dist/index.js CHANGED
@@ -59,7 +59,10 @@ function parseSolanaTransaction(transaction) {
59
59
  };
60
60
  }
61
61
  if (typeof transaction?.serialize === "function") {
62
- const serialized = transaction.serialize();
62
+ const serialized = transaction.serialize({
63
+ requireAllSignatures: false,
64
+ verifySignatures: false
65
+ });
63
66
  return {
64
67
  base64url: (0, import_base64url.base64urlEncode)(serialized),
65
68
  originalFormat: "@solana/web3.js"
package/dist/index.mjs CHANGED
@@ -34,7 +34,10 @@ function parseSolanaTransaction(transaction) {
34
34
  };
35
35
  }
36
36
  if (typeof transaction?.serialize === "function") {
37
- const serialized = transaction.serialize();
37
+ const serialized = transaction.serialize({
38
+ requireAllSignatures: false,
39
+ verifySignatures: false
40
+ });
38
41
  return {
39
42
  base64url: base64urlEncode(serialized),
40
43
  originalFormat: "@solana/web3.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phantom/parsers",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Transaction and message parsers for Phantom Wallet SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@phantom/base64url": "^0.1.0",
31
- "@phantom/client": "^0.1.1",
31
+ "@phantom/client": "^0.1.3",
32
32
  "buffer": "^6.0.3"
33
33
  },
34
34
  "devDependencies": {