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

@metaplex-foundation/digital-asset-standard-api

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaplex-foundation/digital-asset-standard-api - npm Package Compare versions

Comparing version 1.0.4-alpha.0 to 1.0.4-alpha.1

39

dist/src/types.d.ts

@@ -172,2 +172,39 @@ import { Nullable, PublicKey } from '@metaplex-foundation/umi';

burnt: boolean;
} & DasApiCoreAssetFields;
/**
* Optional fields on an asset if the interface is for Core (i.e. interface is 'MplCoreAsset' or 'MplCoreCollection')
* It is recommended to use the mpl-core-das package along with this one to convert the types
* to be consistent with mpl-core (e.g. AssetV1)
*/
export declare type DasApiCoreAssetFields = {
/**
* Plugins active on the asset or collection
*/
plugins?: Record<string, any>;
/**
* External plugins active on the asset or collection
*/
external_plugins?: Record<string, any>[];
/**
* Plugins on asset that were unknown at the time of indexing.
* Contact your DAS provider to update their core indexing version if this field is being populated.
* If you have a newer version of mpl-core-das installed, that library will also try to deserialize the plugin
*/
unknown_plugins?: Record<string, any>[];
/**
* Additional fields that are indexed for Core assets or collections
*/
mpl_core_info?: {
/**
* Number of assets minted to this collection
* Only applicable for collections
*/
num_minted?: number;
/**
* Current number of assets in this collection
* Only applicable for collections
*/
current_size?: number;
plugins_json_version: number;
};
};

@@ -229,3 +266,3 @@ /**

};
export declare type DasApiAssetInterface = 'V1_NFT' | 'V1_PRINT' | 'LEGACY_NFT' | 'V2_NFT' | 'FungibleAsset' | 'Custom' | 'Identity' | 'Executable' | 'ProgrammableNFT';
export declare type DasApiAssetInterface = 'V1_NFT' | 'V1_PRINT' | 'LEGACY_NFT' | 'V2_NFT' | 'FungibleAsset' | 'Custom' | 'Identity' | 'Executable' | 'ProgrammableNFT' | 'MplCoreAsset' | 'MplCoreCollection';
export declare type DasApiAssetContent = {

@@ -232,0 +269,0 @@ json_uri: string;

2

package.json
{
"name": "@metaplex-foundation/digital-asset-standard-api",
"version": "1.0.4-alpha.0",
"version": "1.0.4-alpha.1",
"description": "Open-source specification for interacting with digital assets on Solana",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -40,2 +40,6 @@ <h1 align="center">

## Working with `mpl-core`
Core assets and collections are also indexed by DAS. It is recommended to use this package in conjunction with the [mpl-core-das](http://github.com/metaplex-foundation/mpl-core-das) if you are working with Core assets.
## Methods

@@ -42,0 +46,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