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

@solflare-wallet/pfp

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solflare-wallet/pfp - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

3

lib/cjs/utils.js

@@ -65,2 +65,3 @@ "use strict";

var index_1 = require("./index");
var buffer_1 = require("buffer");
var PROFILE_PICTURE_PREFIX = 'nft_profile';

@@ -80,3 +81,3 @@ function decodeProfilePictureAccount(account) {

case 0: return [4 /*yield*/, web3_js_1.PublicKey.findProgramAddress([
Buffer.from(PROFILE_PICTURE_PREFIX),
buffer_1.Buffer.from(PROFILE_PICTURE_PREFIX),
publicKey.toBuffer()

@@ -83,0 +84,0 @@ ], index_1.PROFILE_PICTURE_PROGRAM)];

@@ -59,2 +59,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import { PROFILE_PICTURE_PROGRAM } from './index';
import { Buffer } from 'buffer';
var PROFILE_PICTURE_PREFIX = 'nft_profile';

@@ -61,0 +62,0 @@ export function decodeProfilePictureAccount(account) {

{
"name": "@solflare-wallet/pfp",
"version": "0.0.2",
"version": "0.0.3",
"description": "",

@@ -5,0 +5,0 @@ "author": "Solflare Developers <developers@solflare.com>",

# @solflare-wallet/pfp
## Description
The Solana Profile Picture Protocol allows Solana users to set a single Metaplex-standard NFT as a universal PFP for the Solana blockchain.
Individual Solana protocols can use the documentation below both to show PFPs in their FE, and to provide functionality within their own FE to allow users to set a new PFP.
## Example

@@ -4,0 +10,0 @@

@@ -8,2 +8,3 @@ import { AccountInfo, PublicKey } from '@solana/web3.js';

import { PROFILE_PICTURE_PROGRAM } from './index';
import { Buffer } from 'buffer';

@@ -10,0 +11,0 @@ const PROFILE_PICTURE_PREFIX = 'nft_profile';

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