New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@notifi-network/notifi-frontend-client

Package Overview
Dependencies
Maintainers
0
Versions
361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notifi-network/notifi-frontend-client - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1-alpha.3

7

dist/index.d.ts

@@ -258,3 +258,3 @@ import { Types, Operations, NotifiService } from '@notifi-network/notifi-graphql';

}> | Readonly<{
walletBlockchain: 'ETHEREUM' | 'POLYGON' | 'ARBITRUM' | 'AVALANCHE' | 'BINANCE' | 'OSMOSIS' | 'THE_ROOT_NETWORK' | 'ELYS' | 'NEUTRON' | 'ARCHWAY' | 'AXELAR' | 'BERACHAIN' | 'NIBIRU' | 'OPTIMISM' | 'ZKSYNC' | 'INJECTIVE' | 'BASE' | 'BLAST' | 'CELO' | 'MANTLE' | 'LINEA' | 'SCROLL' | 'MANTA' | 'EVMOS' | 'MONAD' | 'AGORIC' | 'ORAI' | 'KAVA' | 'CELESTIA' | 'COSMOS' | 'DYMENSION' | 'PERSISTENCE' | 'DYDX' | 'ARCH' | 'BITCOIN' | 'MOVEMENT';
walletBlockchain: 'ETHEREUM' | 'POLYGON' | 'ARBITRUM' | 'AVALANCHE' | 'BINANCE' | 'OSMOSIS' | 'THE_ROOT_NETWORK' | 'ELYS' | 'NEUTRON' | 'ARCHWAY' | 'AXELAR' | 'BERACHAIN' | 'NIBIRU' | 'OPTIMISM' | 'ZKSYNC' | 'INJECTIVE' | 'BASE' | 'BLAST' | 'CELO' | 'MANTLE' | 'LINEA' | 'SCROLL' | 'MANTA' | 'EVMOS' | 'MONAD' | 'AGORIC' | 'ORAI' | 'KAVA' | 'CELESTIA' | 'COSMOS' | 'DYMENSION' | 'PERSISTENCE' | 'DYDX' | 'ARCH' | 'BITCOIN';
signMessage: Uint8SignMessageFunction;

@@ -265,2 +265,5 @@ }> | Readonly<{

}> | Readonly<{
walletBlockchain: 'MOVEMENT';
signMessage: AptosSignMessageFunction;
}> | Readonly<{
walletBlockchain: 'XION';

@@ -296,3 +299,3 @@ message: string;

}> & AptosUserParams) | (Readonly<{
signMessage: Uint8SignMessageFunction;
signMessage: AptosSignMessageFunction;
}> & MovementUserParams) | (Readonly<{

@@ -299,0 +302,0 @@ signMessage: Uint8SignMessageFunction;

@@ -82,4 +82,4 @@ import { Types } from '@notifi-network/notifi-graphql';

| 'ARCH'
| 'BITCOIN'
| 'MOVEMENT';
| 'BITCOIN';
signMessage: Uint8SignMessageFunction;

@@ -92,2 +92,6 @@ }>

| Readonly<{
walletBlockchain: 'MOVEMENT';
signMessage: AptosSignMessageFunction;
}>
| Readonly<{
walletBlockchain: 'XION';

@@ -136,3 +140,3 @@ message: string;

| (Readonly<{
signMessage: Uint8SignMessageFunction;
signMessage: AptosSignMessageFunction;
}> &

@@ -729,2 +733,3 @@ MovementUserParams)

case 'MOVEMENT':
case 'ARCH':
case 'APTOS': {

@@ -806,4 +811,3 @@ if (typeof signature !== 'string')

case 'THE_ROOT_NETWORK':
case 'OPTIMISM':
case 'MOVEMENT': {
case 'OPTIMISM': {
const { walletPublicKey, tenantId } = this

@@ -880,3 +884,4 @@ ._configuration as NotifiConfigWithPublicKey;

}
case 'APTOS': {
case 'APTOS':
case 'MOVEMENT': {
const signature = await signMessageParams.signMessage(

@@ -991,4 +996,11 @@ SIGNING_MESSAGE,

const hashArray = Array.from(new Uint8Array(hashBuffer));
let prefix = '0x';
// TDOO: ⬇ Legacy purpose and will be deprecated after SDK V2. the prefix format will be aligned across all blockchains.
if (walletBlockchain === 'SOLANA' || walletBlockchain === 'OSMOSIS') {
prefix = 'Notifi Auth: 0x';
}
const logValue =
'0x' + hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');
prefix + hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');
return { nonce: logValue };

@@ -995,0 +1007,0 @@ }

{
"name": "@notifi-network/notifi-frontend-client",
"version": "2.2.0",
"version": "2.2.1-alpha.3+e0dd1924",
"description": "The frontend client for Notifi",

@@ -35,7 +35,7 @@ "main": "./dist/index.js",

"dependencies": {
"@notifi-network/notifi-graphql": "^2.1.0",
"@notifi-network/notifi-graphql": "^2.2.1-alpha.3+e0dd1924",
"graphql-request": "^6.0.0",
"localforage": "^1.10.0"
},
"gitHead": "861cf6d823e4984034821d4b718cf4947ea68afc"
"gitHead": "e0dd1924061d75a5b4494a2d12a495d82391ac34"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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