alchemy-sdk
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -9,2 +9,10 @@ # Changelog for Alchemy SDK for JavaScript | ||
## 2.6.0 | ||
### Major Changes | ||
- Added the `NftMetadataUpdateWebhook` to be used with the `NotifyNamespace`. This webhook tracks all ERC721 and ERC1155 token metadata updates. | ||
### Minor Changes | ||
## 2.5.0 | ||
@@ -11,0 +19,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var utils = require('./api/utils'); | ||
var index = require('./index-4c9bca4d.js'); | ||
var index = require('./index-e34d13a5.js'); | ||
var bignumber = require('@ethersproject/bignumber'); | ||
@@ -9,0 +9,0 @@ require('axios'); |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
import * as utils from './api/utils'; | ||
export { utils as Utils }; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-f2cb9b9b.js'; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-00b85f9f.js'; | ||
export { BigNumber } from '@ethersproject/bignumber'; | ||
@@ -5,0 +5,0 @@ import 'axios'; |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
import * as utils from './api/utils'; | ||
export { utils as Utils }; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-f2cb9b9b.js'; | ||
export { m as Alchemy, j as AlchemySubscription, r as AssetTransfersCategory, u as AssetTransfersOrder, X as CommitmentLevel, o as Contract, p as ContractFactory, M as DebugCallType, Y as DebugTracerType, L as DecodingAuthority, P as GasOptimizedTransactionStatus, G as GetTransfersForOwnerTransferType, N as Network, y as NftExcludeFilters, z as NftFilters, B as NftOrdering, F as NftSaleMarketplace, H as NftSaleTakerType, x as NftSpamClassification, w as NftTokenType, O as OpenSeaSafelistRequestStatus, R as RefreshState, J as SimulateAssetType, K as SimulateChangeType, S as SortingOrder, T as TokenBalanceType, W as Wallet, U as WebhookType, Q as WebhookVersion, f as fromHex, q as isHex, s as setLogLevel, t as toHex } from './index-00b85f9f.js'; | ||
export { BigNumber } from '@ethersproject/bignumber'; | ||
@@ -5,0 +5,0 @@ import 'axios'; |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
@@ -1,2 +0,2 @@ | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
import { AddressActivityResponse, AddressActivityWebhook, AddressWebhookParams, AddressWebhookUpdate, DroppedTransactionWebhook, GetAddressesOptions, GetAllWebhooksResponse, MinedTransactionWebhook, NftActivityWebhook, NftFiltersResponse, NftMetadataUpdateWebhook, NftMetadataWebhookUpdate, NftWebhookParams, NftWebhookUpdate, TransactionWebhookParams, Webhook, WebhookType } from '../types/types'; | ||
/** | ||
@@ -76,2 +76,9 @@ * The Notify namespace contains methods used for creating, reading, updating, | ||
/** | ||
* Update a {@link NftMetadataUpdateWebhook}'s active status or NFT filters. | ||
* | ||
* @param nftMetadataWebhookId The id of the NFT activity webhook. | ||
* @param update Object containing the update. | ||
*/ | ||
updateWebhook(nftMetadataWebhookId: string, update: NftMetadataWebhookUpdate): Promise<void>; | ||
/** | ||
* Update a {@link AddressActivityWebhook}'s active status or addresses. | ||
@@ -121,2 +128,3 @@ * | ||
createWebhook(url: string, type: WebhookType.NFT_ACTIVITY, params: NftWebhookParams): Promise<NftActivityWebhook>; | ||
createWebhook(url: string, type: WebhookType.NFT_METADATA_UPDATE, params: NftWebhookParams): Promise<NftMetadataUpdateWebhook>; | ||
/** | ||
@@ -123,0 +131,0 @@ * Create a new {@link AddressActivityWebhook} to track address activity. |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.5.0"; | ||
export declare const VERSION = "2.6.0"; |
{ | ||
"name": "alchemy-sdk", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Extended Ethers.js SDK for Alchemy APIs", | ||
@@ -5,0 +5,0 @@ "author": "Alchemy", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3649446
49691