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

@onekeyfe/onekey-aptos-provider

Package Overview
Dependencies
Maintainers
2
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/onekey-aptos-provider - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

3

dist/cjs/OnekeyMartianAptosProvider.js

@@ -183,3 +183,4 @@ "use strict";

const client = yield this.getClient();
return client.getChainId();
const chainId = yield client.getChainId();
return { chainId };
});

@@ -186,0 +187,0 @@ }

@@ -5,2 +5,3 @@ import { IInpageProviderConfig } from '@onekeyfe/cross-inpage-provider-core';

import { ProviderAptos } from './OnekeyAptosProvider';
declare type AnyNumber = bigint | number;
export declare type AptosRequestMartian = {

@@ -42,3 +43,3 @@ 'martianSignAndSubmitTransaction': (transactions: string) => Promise<string>;

getTransactions(query?: {
start?: BigInt | number;
start?: AnyNumber;
limit?: number;

@@ -48,12 +49,14 @@ }): Promise<Types.Transaction[]>;

getAccountTransactions(accountAddress: MaybeHexString, query?: {
start?: BigInt | number;
start?: AnyNumber;
limit?: number;
}): Promise<Types.Transaction[]>;
getAccountResources(accountAddress: MaybeHexString, query?: {
ledgerVersion?: BigInt | number;
ledgerVersion?: AnyNumber;
}): Promise<Types.MoveResource[]>;
getAccount(accountAddress: MaybeHexString): Promise<Types.AccountData>;
getChainId(): Promise<number>;
getChainId(): Promise<{
chainId: number;
}>;
getLedgerInfo(): Promise<Types.IndexResponse>;
}
export { ProviderAptosMartian };

@@ -180,3 +180,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const client = yield this.getClient();
return client.getChainId();
const chainId = yield client.getChainId();
return { chainId };
});

@@ -183,0 +184,0 @@ }

{
"name": "@onekeyfe/onekey-aptos-provider",
"version": "1.1.1",
"version": "1.1.2",
"keywords": [

@@ -31,10 +31,10 @@ "cross-inpage-provider"

"dependencies": {
"@onekeyfe/cross-inpage-provider-core": "1.1.1",
"@onekeyfe/cross-inpage-provider-errors": "1.1.1",
"@onekeyfe/cross-inpage-provider-types": "1.1.1",
"@onekeyfe/extension-bridge-injected": "1.1.1",
"aptos": "^1.3.13",
"@onekeyfe/cross-inpage-provider-core": "1.1.2",
"@onekeyfe/cross-inpage-provider-errors": "1.1.2",
"@onekeyfe/cross-inpage-provider-types": "1.1.2",
"@onekeyfe/extension-bridge-injected": "1.1.2",
"aptos": "^1.3.16",
"eth-rpc-errors": "^4.0.3"
},
"gitHead": "0e154292e7c988c7e82300fca2e02de191872f2b"
"gitHead": "08aef327a2fec587de325b1f9dc69caa97a86686"
}
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