@metaplex-foundation/mpl-core
Advanced tools
Comparing version 1.0.0-alpha.6 to 1.0.0
import { PublicKey } from '@metaplex-foundation/umi'; | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* | ||
* @returns umi plugin authority with type 'None' | ||
@@ -10,3 +11,3 @@ */ | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* @returns umi plugin authority with type 'None' | ||
@@ -18,14 +19,10 @@ */ | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* @returns umi plugin authority with type 'UpdateAuthority' | ||
*/ | ||
export declare function updatePluginAuthority(): { | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @returns umi plugin authority with type 'UpdateAuthority' | ||
*/ | ||
__kind: "UpdateAuthority"; | ||
}; | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* @returns umi plugin authority with type 'Address' | ||
@@ -32,0 +29,0 @@ */ |
@@ -6,3 +6,4 @@ "use strict"; | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* | ||
* @returns umi plugin authority with type 'None' | ||
@@ -15,3 +16,3 @@ */ | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* @returns umi plugin authority with type 'None' | ||
@@ -24,3 +25,3 @@ */ | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* @returns umi plugin authority with type 'UpdateAuthority' | ||
@@ -33,3 +34,3 @@ */ | ||
/** | ||
* @deprecated use SDK v1 methods like `create` or `update` no longer require this helper | ||
* @deprecated use SDK v1 methods like `create` or `update` instead of `createV1` or `updateV1`. The new methods no longer require this helper | ||
* @returns umi plugin authority with type 'Address' | ||
@@ -36,0 +37,0 @@ */ |
@@ -49,3 +49,3 @@ "use strict"; | ||
index: 3, | ||
isWritable: true, | ||
isWritable: false, | ||
value: input.authority ?? null, | ||
@@ -52,0 +52,0 @@ }, |
@@ -5,3 +5,3 @@ import { Context, PublicKey, Signer } from '@metaplex-foundation/umi'; | ||
asset: AssetV1; | ||
delegate: PublicKey; | ||
delegate: PublicKey | Signer; | ||
authority?: Signer; | ||
@@ -8,0 +8,0 @@ collection?: CollectionV1; |
@@ -47,3 +47,3 @@ "use strict"; | ||
}), | ||
initAuthority: (0, authority_1.addressPluginAuthority)(delegate), | ||
initAuthority: (0, authority_1.addressPluginAuthority)((0, umi_1.publicKey)(delegate)), | ||
authority, | ||
@@ -50,0 +50,0 @@ })); |
{ | ||
"name": "@metaplex-foundation/mpl-core", | ||
"version": "1.0.0-alpha.6", | ||
"version": "1.0.0", | ||
"description": "Digital Assets", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
718529
0
0
11529