Releases: near/near-api-js
@near-js/keystores@0.0.3
@near-js/keystores-node@0.0.3
Patch Changes
- Updated dependencies []:
- @near-js/crypto@0.0.3
- @near-js/keystores@0.0.3
@near-js/keystores-browser@0.0.3
Patch Changes
- Updated dependencies []:
- @near-js/crypto@0.0.3
- @near-js/keystores@0.0.3
@near-js/crypto@0.0.3
@near-js/biometric-ed25519@0.0.7
Patch Changes
- Updated dependencies []:
- @near-js/crypto@0.0.3
@near-js/accounts@0.1.0
Minor Changes
- #1097
d97d2a6e
Thanks @andy-haynes! - Add support for delegate actions and meta transactions
Patch Changes
near-api-js@2.0.0
Major Changes
-
#1006
8ee564c0
Thanks @morgsmccauley! - MakeAccount.signAndSendTransaction
public
so transactions can be sent directly fromAccount
instances -
#1014
8feb1997
Thanks @esaminu! - MakeappKeyPrefix
a required arg toWalletConnection
constructorUsers that were doing
new WalletConnection(near);
will now have to do
new WalletConnection(near, "undefined");
If they want to access the keys they had potentially accumulated
-
#935
c740afc8
Thanks @hcho112! -account.viewFunction
now takes a single object argument rather than individual args. Callsites will now need to be updated like so:-await account.viewFunction( - 'wrap.near', - 'storage_balance_of', - { account_id: 'example.near' } -); +await account.viewFunction({ + contractId: 'wrap.near', + methodName: 'storage_balance_of', + args: { account_id: 'example.near' }, +});
-
#1056
b823ada7
Thanks @andy-haynes! - Major functionality in near-api-js has now been broken up into packages under @near-jsBreaking changes:
KeyPairEd25519
no longer supports thefromString
static method. This method is now only available on theKeyPair
class.
Minor Changes
Patch Changes
-
#1003
726b7953
Thanks @marcinbodnar! - Fix error types. WIth this changes bothJsonRpcProvider.query
andJsonRpcProvider.sendJsonRpc
methods will return proper error type for these errors:AccountDoesNotExist
,AccessKeyDoesNotExist
,CodeDoesNotExist
,InvalidNonce
.An additional fix to
getErrorTypeFromErrorMessage
function. NowgetErrorTypeFromErrorMessage
will not change error type if it already exists.
@near-js/biometric-ed25519@0.0.4
Patch Changes
- Updated dependencies [
8ee564c0
,8feb1997
,c740afc8
,b823ada7
,726b7953
,0c85da12
]:- near-api-js@2.0.0
@near-js/cookbook@1.0.2
Patch Changes
near-api-js@2.0.4
Patch Changes
- #1093
94311587
Thanks @andy-haynes! - Publish repackaging
near-api-js@2.0.2
Patch Changes
- #1089
c1ffd501
Thanks @andy-haynes! - CI update
near-api-js@2.0.1
Patch Changes
- #1087
4f9e3d4d
Thanks @andy-haynes! - Use new packages in @near-js/biometric-ed25519