near-api-ts 0.5.1 → 0.5.2
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/client/methods/transaction/sendSignedTransaction/sendSignedTransaction.ts +1 -1
- package/src/index.ts +2 -0
- package/src/signers/memorySigner/keyPool/createKeyPool.ts +1 -0
package/dist/index.cjs
CHANGED
|
@@ -2049,7 +2049,7 @@ var createSafeSendSignedTransaction = (context) => wrapInternalError("Client.Sen
|
|
|
2049
2049
|
signed_tx_base64: import_base3.base64.encode(
|
|
2050
2050
|
toBorshSignedTransaction(validArgs.data.signedTransaction)
|
|
2051
2051
|
),
|
|
2052
|
-
wait_until: "
|
|
2052
|
+
wait_until: "FINAL"
|
|
2053
2053
|
},
|
|
2054
2054
|
transportPolicy: args.policies?.transport,
|
|
2055
2055
|
signal: args.options?.signal
|
|
@@ -3298,7 +3298,8 @@ var getAllowedSigningKeys = (signerContext, accountKeys) => {
|
|
|
3298
3298
|
};
|
|
3299
3299
|
var createKeyPool = async (signerContext) => {
|
|
3300
3300
|
const accountKeys = await signerContext.client.safeGetAccountAccessKeys({
|
|
3301
|
-
accountId: signerContext.signerAccountId
|
|
3301
|
+
accountId: signerContext.signerAccountId,
|
|
3302
|
+
atMomentOf: "LatestFinalBlock"
|
|
3302
3303
|
});
|
|
3303
3304
|
if (!accountKeys.ok)
|
|
3304
3305
|
return result.err(
|