@onekeyfe/onekey-cardano-provider
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -109,3 +109,2 @@ "use strict"; | ||
getUtxos: (amount, paginate) => this.getUtxos(amount, paginate), | ||
getCollateral: () => this.getCollateral(), | ||
getBalance: () => this.getBalance(), | ||
@@ -158,3 +157,3 @@ getUsedAddresses: () => this.getUsedAddresses(), | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return Promise.resolve(null); | ||
return Promise.resolve([]); | ||
}); | ||
@@ -161,0 +160,0 @@ } |
@@ -68,3 +68,2 @@ import { ProviderBase } from '@onekeyfe/cross-inpage-provider-core'; | ||
getUtxos: (amount?: Cbor, paginate?: Paginate) => Promise<string[] | undefined>; | ||
getCollateral: () => Promise<null>; | ||
getBalance: () => Promise<string>; | ||
@@ -84,3 +83,3 @@ getUsedAddresses: () => Promise<string[]>; | ||
off: () => void; | ||
getCollateral: () => Promise<null>; | ||
getCollateral: () => Promise<never[]>; | ||
}; | ||
@@ -90,3 +89,3 @@ }>; | ||
getUtxos(amount?: Cbor, paginate?: Paginate): Promise<string[] | undefined>; | ||
getCollateral(): Promise<null>; | ||
getCollateral(): Promise<never[]>; | ||
getBalance(): Promise<string>; | ||
@@ -93,0 +92,0 @@ getUsedAddresses(): Promise<Cbor[]>; |
@@ -106,3 +106,2 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ | ||
getUtxos: (amount, paginate) => this.getUtxos(amount, paginate), | ||
getCollateral: () => this.getCollateral(), | ||
getBalance: () => this.getBalance(), | ||
@@ -155,3 +154,3 @@ getUsedAddresses: () => this.getUsedAddresses(), | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return Promise.resolve(null); | ||
return Promise.resolve([]); | ||
}); | ||
@@ -158,0 +157,0 @@ } |
@@ -156,3 +156,2 @@ export declare enum NetworkId { | ||
getBalance: GetBalance; | ||
getCollateral: GetCollateral; | ||
getUsedAddresses: GetUsedAddresses; | ||
@@ -159,0 +158,0 @@ getUnusedAddresses: GetUnusedAddresses; |
{ | ||
"name": "@onekeyfe/onekey-cardano-provider", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"keywords": [ | ||
@@ -32,8 +32,8 @@ "cross-inpage-provider", | ||
"dependencies": { | ||
"@onekeyfe/cross-inpage-provider-core": "2.0.5", | ||
"@onekeyfe/cross-inpage-provider-errors": "2.0.5", | ||
"@onekeyfe/cross-inpage-provider-types": "2.0.5", | ||
"@onekeyfe/extension-bridge-injected": "2.0.5" | ||
"@onekeyfe/cross-inpage-provider-core": "2.0.6", | ||
"@onekeyfe/cross-inpage-provider-errors": "2.0.6", | ||
"@onekeyfe/cross-inpage-provider-types": "2.0.6", | ||
"@onekeyfe/extension-bridge-injected": "2.0.6" | ||
}, | ||
"gitHead": "d0564019f497bf9a69712e33f0e79bd65f03c0f9" | ||
"gitHead": "23f51bf40e231b34b074188f0b9270a2cbc997a9" | ||
} |
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
91
5
3
60
38120
936
+ Added@onekeyfe/cross-inpage-provider-core@2.0.6(transitive)
+ Added@onekeyfe/cross-inpage-provider-errors@2.0.6(transitive)
+ Added@onekeyfe/cross-inpage-provider-events@2.0.6(transitive)
+ Added@onekeyfe/cross-inpage-provider-types@2.0.6(transitive)
+ Added@onekeyfe/extension-bridge-injected@2.0.6(transitive)
- Removed@onekeyfe/cross-inpage-provider-core@2.0.5(transitive)
- Removed@onekeyfe/cross-inpage-provider-errors@2.0.5(transitive)
- Removed@onekeyfe/cross-inpage-provider-events@2.0.5(transitive)
- Removed@onekeyfe/cross-inpage-provider-types@2.0.5(transitive)
- Removed@onekeyfe/extension-bridge-injected@2.0.5(transitive)