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 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: "EXECUTED_OPTIMISTIC"
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(