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

@portal-hq/utils

Package Overview
Dependencies
Maintainers
0
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portal-hq/utils - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0-beta

3

lib/commonjs/events/index.js

@@ -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";

4

package.json
{
"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 @@ }

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