@onekeyfe/onekey-solana-provider 1.1.49 → 1.1.50
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.
|
@@ -123,7 +123,7 @@ class OneKeySolanaStandardWallet {
|
|
|
123
123
|
if (chain && !(0, solana_1.isSolanaChain)(chain))
|
|
124
124
|
throw new Error('invalid chain');
|
|
125
125
|
const signedTransaction = yield __classPrivateFieldGet(this, _OneKeySolanaStandardWallet_provider, "f").signTransaction(web3_js_1.VersionedTransaction.deserialize(transaction));
|
|
126
|
-
outputs.push({ signedTransaction: signedTransaction.serialize() });
|
|
126
|
+
outputs.push({ signedTransaction: signedTransaction.serialize({ requireAllSignatures: false }) });
|
|
127
127
|
}
|
|
128
128
|
else if (inputs.length > 1) {
|
|
129
129
|
let chain = undefined;
|
|
@@ -144,7 +144,7 @@ class OneKeySolanaStandardWallet {
|
|
|
144
144
|
}
|
|
145
145
|
const transactions = inputs.map(({ transaction }) => web3_js_1.Transaction.from(transaction));
|
|
146
146
|
const signedTransactions = yield __classPrivateFieldGet(this, _OneKeySolanaStandardWallet_provider, "f").signAllTransactions(transactions);
|
|
147
|
-
outputs.push(...signedTransactions.map((signedTransaction) => ({ signedTransaction: signedTransaction.serialize() })));
|
|
147
|
+
outputs.push(...signedTransactions.map((signedTransaction) => ({ signedTransaction: signedTransaction.serialize({ requireAllSignatures: false }) })));
|
|
148
148
|
}
|
|
149
149
|
return outputs;
|
|
150
150
|
}));
|
|
@@ -117,7 +117,7 @@ export class OneKeySolanaStandardWallet {
|
|
|
117
117
|
if (chain && !isSolanaChain(chain))
|
|
118
118
|
throw new Error('invalid chain');
|
|
119
119
|
const signedTransaction = yield __classPrivateFieldGet(this, _OneKeySolanaStandardWallet_provider, "f").signTransaction(VersionedTransaction.deserialize(transaction));
|
|
120
|
-
outputs.push({ signedTransaction: signedTransaction.serialize() });
|
|
120
|
+
outputs.push({ signedTransaction: signedTransaction.serialize({ requireAllSignatures: false }) });
|
|
121
121
|
}
|
|
122
122
|
else if (inputs.length > 1) {
|
|
123
123
|
let chain = undefined;
|
|
@@ -138,7 +138,7 @@ export class OneKeySolanaStandardWallet {
|
|
|
138
138
|
}
|
|
139
139
|
const transactions = inputs.map(({ transaction }) => Transaction.from(transaction));
|
|
140
140
|
const signedTransactions = yield __classPrivateFieldGet(this, _OneKeySolanaStandardWallet_provider, "f").signAllTransactions(transactions);
|
|
141
|
-
outputs.push(...signedTransactions.map((signedTransaction) => ({ signedTransaction: signedTransaction.serialize() })));
|
|
141
|
+
outputs.push(...signedTransactions.map((signedTransaction) => ({ signedTransaction: signedTransaction.serialize({ requireAllSignatures: false }) })));
|
|
142
142
|
}
|
|
143
143
|
return outputs;
|
|
144
144
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/onekey-solana-provider",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.50",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"cross-inpage-provider",
|
|
6
6
|
"solona"
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"start": "tsc --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@onekeyfe/cross-inpage-provider-core": "1.1.
|
|
33
|
-
"@onekeyfe/cross-inpage-provider-errors": "1.1.
|
|
34
|
-
"@onekeyfe/cross-inpage-provider-types": "1.1.
|
|
35
|
-
"@onekeyfe/extension-bridge-injected": "1.1.
|
|
32
|
+
"@onekeyfe/cross-inpage-provider-core": "1.1.50",
|
|
33
|
+
"@onekeyfe/cross-inpage-provider-errors": "1.1.50",
|
|
34
|
+
"@onekeyfe/cross-inpage-provider-types": "1.1.50",
|
|
35
|
+
"@onekeyfe/extension-bridge-injected": "1.1.50",
|
|
36
36
|
"@solana/wallet-standard-features": "^1.1.0",
|
|
37
37
|
"@solana/web3.js": "^1.41.3",
|
|
38
38
|
"@wallet-standard/base": "^1.0.1",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/bs58": "^4.0.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "2724214fe0d54ba8e9a8806e97fc4a1f17da83ad"
|
|
45
45
|
}
|