@portal-hq/utils
Advanced tools
Comparing version 4.0.0 to 4.1.0-beta
@@ -14,2 +14,3 @@ "use strict"; | ||
Events["GetClient"] = "Get Client"; | ||
Events["GetClientCipherText"] = "Get Client Cipher Text"; | ||
Events["GetEnabledDapps"] = "Get Enabled Dapps"; | ||
@@ -22,3 +23,5 @@ Events["GetNFTs"] = "Get NFTs"; | ||
Events["GetTransactions"] = "Get Transactions"; | ||
Events["PrepareClientEject"] = "Prepare Client Eject"; | ||
Events["SimulateTransaction"] = "Simulate Transaction"; | ||
Events["StoreClientCipherText"] = "Store Client Cipher Text"; | ||
Events["StoredClientBackupShare"] = "Stored Client Backup Share"; | ||
@@ -25,0 +28,0 @@ Events["StoredClientBackupShareKey"] = "Stored Client Backup Share Key"; |
@@ -12,2 +12,3 @@ var Events; | ||
Events["GetClient"] = "Get Client"; | ||
Events["GetClientCipherText"] = "Get Client Cipher Text"; | ||
Events["GetEnabledDapps"] = "Get Enabled Dapps"; | ||
@@ -20,3 +21,5 @@ Events["GetNFTs"] = "Get NFTs"; | ||
Events["GetTransactions"] = "Get Transactions"; | ||
Events["PrepareClientEject"] = "Prepare Client Eject"; | ||
Events["SimulateTransaction"] = "Simulate Transaction"; | ||
Events["StoreClientCipherText"] = "Store Client Cipher Text"; | ||
Events["StoredClientBackupShare"] = "Stored Client Backup Share"; | ||
@@ -23,0 +26,0 @@ Events["StoredClientBackupShareKey"] = "Stored Client Backup Share Key"; |
{ | ||
"name": "@portal-hq/utils", | ||
"version": "4.0.0", | ||
"version": "4.1.0-beta", | ||
"main": "lib/commonjs/index", | ||
@@ -29,3 +29,3 @@ "module": "lib/esm/index", | ||
}, | ||
"gitHead": "a1c6f51ff156d3d1922cdaa29ee43fe4cfefd932" | ||
"gitHead": "87317816c3fb6475dc655746b2023fa84e0417d7" | ||
} |
import PortalConnect from '@portal-hq/connect' | ||
import { BackupMethods } from '@portal-hq/core' | ||
@@ -58,2 +59,3 @@ import type { | ||
getClient(): Promise<ClientResponse> | ||
getClientCipherText(backupSharePairId: string): Promise<string> | ||
getEnabledDapps(): Promise<Dapp[]> | ||
@@ -78,2 +80,6 @@ getNFTs(chainId?: string): Promise<NFT[]> | ||
identify(traits?: Record<string, any>): Promise<{ success: boolean }> | ||
prepareClientEject( | ||
walletId: string, | ||
backupMethod: BackupMethods, | ||
): Promise<string> | ||
simulateTransaction( | ||
@@ -83,2 +89,6 @@ params: SimulateTransactionParam, | ||
): Promise<SimulatedTransaction> | ||
storeClientCipherText( | ||
backupSharePairId: string, | ||
cipherText: string, | ||
): Promise<boolean> | ||
storedClientSigningShares(signingSharePairIds: string[]): Promise<void> | ||
@@ -85,0 +95,0 @@ storedClientBackupShares(backupSharePairIds: string[]): Promise<void> |
@@ -12,2 +12,3 @@ enum Events { | ||
GetClient = 'Get Client', | ||
GetClientCipherText = 'Get Client Cipher Text', | ||
GetEnabledDapps = 'Get Enabled Dapps', | ||
@@ -20,3 +21,5 @@ GetNFTs = 'Get NFTs', | ||
GetTransactions = 'Get Transactions', | ||
PrepareClientEject = 'Prepare Client Eject', | ||
SimulateTransaction = 'Simulate Transaction', | ||
StoreClientCipherText = 'Store Client Cipher Text', | ||
StoredClientBackupShare = 'Stored Client Backup Share', | ||
@@ -23,0 +26,0 @@ StoredClientBackupShareKey = 'Stored Client Backup Share Key', |
@@ -55,2 +55,3 @@ import { | ||
id: string | ||
backupWithPortalEnabled?: boolean | ||
name: string | ||
@@ -57,0 +58,0 @@ } |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
155955
4558
2