Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wharfkit/antelope

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wharfkit/antelope - npm Package Compare versions

Comparing version 0.7.4-beta2 to 0.8.0-rc1

2

package.json
{
"name": "@wharfkit/antelope",
"description": "Library for working with Antelope powered blockchains.",
"version": "0.7.4-beta2",
"version": "0.8.0-rc1",
"homepage": "https://github.com/wharfkit/antelope",

@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License",

@@ -14,3 +14,2 @@ import {APIClient} from '../client'

PackedTransaction,
PublicKeyType,
SignedTransaction,

@@ -28,2 +27,3 @@ SignedTransactionType,

GetAbiResponse,
GetAccountsByAuthorizersParams,
GetBlockHeaderStateResponse,

@@ -80,6 +80,6 @@ GetBlockResponse,

async get_accounts_by_authorizers(keys: PublicKeyType[]) {
async get_accounts_by_authorizers(params: GetAccountsByAuthorizersParams) {
return this.client.call({
path: '/v1/chain/get_accounts_by_authorizers',
params: {keys: keys},
params,
responseType: AccountsByAuthorizers,

@@ -86,0 +86,0 @@ })

@@ -19,3 +19,5 @@ import {

NameType,
PermissionLevel,
PublicKey,
PublicKeyType,
Signature,

@@ -177,3 +179,4 @@ Struct,

@Struct.field(Name) declare permission_name: Name
@Struct.field(PublicKey) declare authorizing_key: PublicKey
@Struct.field(PublicKey, {optional: true}) declare authorizing_key: PublicKey
@Struct.field(PermissionLevel, {optional: true}) declare authorizing_account: PermissionLevel
@Struct.field(Weight) declare weight: Weight

@@ -234,3 +237,10 @@ @Struct.field(UInt32) declare threshold: UInt32

if (this.extra.packed_trx) {
return Serializer.decode({data: this.extra.packed_trx, type: Transaction})
switch (this.extra.compression) {
case 'none': {
return Serializer.decode({data: this.extra.packed_trx, type: Transaction})
}
default: {
throw new Error(`Unsupported compression type ${this.extra.compression}`)
}
}
}

@@ -689,1 +699,6 @@ }

}
export interface GetAccountsByAuthorizersParams {
accounts?: NameType[]
keys?: PublicKeyType[]
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc