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

@alembic/nft-api-sdk

Package Overview
Dependencies
Maintainers
6
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alembic/nft-api-sdk - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

dist/src/models/CollectionUpdates.d.ts

1

dist/src/index.d.ts

@@ -33,2 +33,3 @@ export { NftApi } from './NftApi';

export { CollectionStandard } from './models/CollectionStandard';
export type { CollectionUpdates } from './models/CollectionUpdates';
export type { ContractAddress } from './models/ContractAddress';

@@ -35,0 +36,0 @@ export type { contractAddressParam } from './models/contractAddressParam';

4

dist/src/models/Collection.d.ts

@@ -14,6 +14,2 @@ import type { CollectionStandard } from './CollectionStandard';

/**
* Hash of the body
*/
hash: string;
/**
* Id of the client

@@ -20,0 +16,0 @@ */

import type { Collection } from '../models/Collection';
import type { CollectionAttributes } from '../models/CollectionAttributes';
import type { CollectionUpdates } from '../models/CollectionUpdates';
import type { ContractAddress } from '../models/ContractAddress';

@@ -17,3 +18,3 @@ import type { GetCollectionProgressResponse } from '../models/GetCollectionProgressResponse';

* Register a new collection
* Register a new collection in the NFT API. This will start the process of indexing this ERC721 contract. For now, this will not do anything about the 0x indexing settings (planned for later).
* Register a new collection in the NFT API. This will start the process of indexing this ERC721 contract.
* @param requestBody

@@ -41,2 +42,11 @@ * @returns Collection Successful operation

/**
* Update a collection
* Update a collection in the NFT API. Only given fields will be updated.
* @param contractAddress
* @param requestBody
* @returns Collection Collection information
* @throws ApiError
*/
updateCollection(contractAddress: ContractAddress, requestBody: CollectionUpdates): CancelablePromise<Collection>;
/**
* Refreshes the metadata of the specified collection

@@ -43,0 +53,0 @@ * Queue jobs to refresh the metadata of all the NFTs of the specified collection.

@@ -10,3 +10,3 @@ "use strict";

* Register a new collection
* Register a new collection in the NFT API. This will start the process of indexing this ERC721 contract. For now, this will not do anything about the 0x indexing settings (planned for later).
* Register a new collection in the NFT API. This will start the process of indexing this ERC721 contract.
* @param requestBody

@@ -71,2 +71,26 @@ * @returns Collection Successful operation

/**
* Update a collection
* Update a collection in the NFT API. Only given fields will be updated.
* @param contractAddress
* @param requestBody
* @returns Collection Collection information
* @throws ApiError
*/
updateCollection(contractAddress, requestBody) {
return this.httpRequest.request({
method: 'PATCH',
url: '/collections/{contractAddress}',
path: {
'contractAddress': contractAddress,
},
body: requestBody,
mediaType: 'application/json',
errors: {
400: `Invalid input, object invalid.`,
404: `Resource not found.`,
500: `Internal server error`,
},
});
}
/**
* Refreshes the metadata of the specified collection

@@ -73,0 +97,0 @@ * Queue jobs to refresh the metadata of all the NFTs of the specified collection.

{
"name": "@alembic/nft-api-sdk",
"version": "1.1.5",
"version": "1.1.6",
"description": "SDK to use alembic NFT API",

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

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