@onekeyfe/onekey-aptos-provider
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52153
975
+ Added@onekeyfe/cross-inpage-provider-core@1.1.2(transitive)
+ Added@onekeyfe/cross-inpage-provider-errors@1.1.2(transitive)
+ Added@onekeyfe/cross-inpage-provider-events@1.1.2(transitive)
+ Added@onekeyfe/cross-inpage-provider-types@1.1.2(transitive)
+ Added@onekeyfe/extension-bridge-injected@1.1.2(transitive)
- Removed@onekeyfe/cross-inpage-provider-core@1.1.1(transitive)
- Removed@onekeyfe/cross-inpage-provider-errors@1.1.1(transitive)
- Removed@onekeyfe/cross-inpage-provider-events@1.1.1(transitive)
- Removed@onekeyfe/cross-inpage-provider-types@1.1.1(transitive)
- Removed@onekeyfe/extension-bridge-injected@1.1.1(transitive)
Updatedaptos@^1.3.16