@onekeyfe/onekey-solana-provider
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -10,3 +10,3 @@ "use strict"; | ||
const encodeTransaction = (transaction) => { | ||
return bs58_1.default.encode(transaction.serializeMessage()); | ||
return bs58_1.default.encode(transaction.serialize({ requireAllSignatures: false })); | ||
}; | ||
@@ -13,0 +13,0 @@ exports.encodeTransaction = encodeTransaction; |
import { Transaction } from '@solana/web3.js'; | ||
import base58 from 'bs58'; | ||
export const encodeTransaction = (transaction) => { | ||
return base58.encode(transaction.serializeMessage()); | ||
return base58.encode(transaction.serialize({ requireAllSignatures: false })); | ||
}; | ||
@@ -6,0 +6,0 @@ export const decodeSignedTransaction = (message) => { |
{ | ||
"name": "@onekeyfe/onekey-solana-provider", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"keywords": [ | ||
@@ -32,6 +32,6 @@ "cross-inpage-provider", | ||
"dependencies": { | ||
"@onekeyfe/cross-inpage-provider-core": "^0.0.17", | ||
"@onekeyfe/cross-inpage-provider-errors": "^0.0.17", | ||
"@onekeyfe/cross-inpage-provider-types": "^0.0.17", | ||
"@onekeyfe/extension-bridge-injected": "^0.0.17", | ||
"@onekeyfe/cross-inpage-provider-core": "^0.0.18", | ||
"@onekeyfe/cross-inpage-provider-errors": "^0.0.18", | ||
"@onekeyfe/cross-inpage-provider-types": "^0.0.18", | ||
"@onekeyfe/extension-bridge-injected": "^0.0.18", | ||
"@solana/web3.js": "^1.41.3", | ||
@@ -43,3 +43,3 @@ "bs58": "^5.0.0" | ||
}, | ||
"gitHead": "db13c34fa46a0aa2a85ca40f5538aa9fc1c15a14" | ||
"gitHead": "b8c0f8a4f1a230d41cbef40448411b23fe23bbe8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37068
+ Added@onekeyfe/cross-inpage-provider-core@0.0.18(transitive)
+ Added@onekeyfe/cross-inpage-provider-errors@0.0.18(transitive)
+ Added@onekeyfe/cross-inpage-provider-events@0.0.18(transitive)
+ Added@onekeyfe/cross-inpage-provider-types@0.0.18(transitive)
+ Added@onekeyfe/extension-bridge-injected@0.0.18(transitive)
- Removed@onekeyfe/cross-inpage-provider-core@0.0.17(transitive)
- Removed@onekeyfe/cross-inpage-provider-errors@0.0.17(transitive)
- Removed@onekeyfe/cross-inpage-provider-events@0.0.17(transitive)
- Removed@onekeyfe/cross-inpage-provider-types@0.0.17(transitive)
- Removed@onekeyfe/extension-bridge-injected@0.0.17(transitive)