@metaplex-foundation/mpl-core
Advanced tools
Comparing version 0.0.5 to 0.1.0
@@ -1,7 +0,36 @@ | ||
import { Connection, PublicKey } from '@solana/web3.js'; | ||
export declare type StringPublicKey = string; | ||
export declare type AnyPublicKey = StringPublicKey | PublicKey; | ||
export declare type RpcRequest = (methodName: string, args: Array<any>) => any; | ||
export declare type ConnnectionWithRpcRequest = Connection & { | ||
_rpcRequest: RpcRequest; | ||
import { PublicKey } from '@metaplex-foundation/umi'; | ||
import { PluginAuthority, BurnDelegate, FreezeDelegate, PermanentFreezeDelegate, Royalties, TransferDelegate, UpdateDelegate, Attributes, PermanentTransferDelegate, UpdateAuthority, PermanentBurnDelegate } from './generated'; | ||
export type BasePluginAuthority = { | ||
type: PluginAuthorityType; | ||
address?: PublicKey; | ||
}; | ||
export type BaseUpdateAuthority = { | ||
type: UpdateAuthorityType; | ||
address?: PublicKey; | ||
}; | ||
export type UpdateAuthorityType = UpdateAuthority['__kind']; | ||
export type PluginAuthorityType = PluginAuthority['__kind']; | ||
export type BasePlugin = { | ||
authority: BasePluginAuthority; | ||
offset?: bigint; | ||
}; | ||
export type RoyaltiesPlugin = BasePlugin & Royalties; | ||
export type FreezeDelegatePlugin = BasePlugin & FreezeDelegate; | ||
export type BurnDelegatePlugin = BasePlugin & BurnDelegate; | ||
export type TransferDelegatePlugin = BasePlugin & TransferDelegate; | ||
export type UpdateDelegatePlugin = BasePlugin & UpdateDelegate; | ||
export type PermanentFreezeDelegatePlugin = BasePlugin & PermanentFreezeDelegate; | ||
export type AttributesPlugin = BasePlugin & Attributes; | ||
export type PermanentTransferDelegatePlugin = BasePlugin & PermanentTransferDelegate; | ||
export type PermanentBurnDelegatePlugin = BasePlugin & PermanentBurnDelegate; | ||
export type PluginsList = { | ||
royalties?: RoyaltiesPlugin; | ||
freezeDelegate?: FreezeDelegatePlugin; | ||
burnDelegate?: BurnDelegatePlugin; | ||
transferDelegate?: TransferDelegatePlugin; | ||
updateDelegate?: UpdateDelegatePlugin; | ||
attributes?: AttributesPlugin; | ||
permanentFreezeDelegate?: PermanentFreezeDelegatePlugin; | ||
permanentTransferDelegate?: PermanentTransferDelegatePlugin; | ||
permanentBurnDelegate?: PermanentBurnDelegatePlugin; | ||
}; |
{ | ||
"name": "@metaplex-foundation/mpl-core", | ||
"version": "0.0.5", | ||
"description": "MPL Core Tooling.", | ||
"main": "dist/src/mpl-core.js", | ||
"types": "dist/src/mpl-core.d.ts", | ||
"scripts": { | ||
"check:publish-ready": "yarn build && yarn test", | ||
"preversion": "yarn check:publish-ready", | ||
"postversion": "git add package.json && git commit -m \"chore: update $npm_package_name to v$npm_package_version\" && git tag $npm_package_name@$npm_package_version", | ||
"prepublish": "yarn check:publish-ready", | ||
"postpublish": "git push origin && git push origin --tags", | ||
"build:docs": "typedoc", | ||
"build": "rimraf dist && tsc -p tsconfig.json", | ||
"test": "echo mpl-core tests coming up ...", | ||
"lint": "eslint \"{src,test}/**/*.ts\" --format stylish", | ||
"fix:lint": "yarn lint --fix", | ||
"prettier": "prettier \"{src,test}/**/*.ts\" --check", | ||
"fix:prettier": "prettier --write src/", | ||
"fix": "yarn fix:lint && yarn fix:prettier" | ||
}, | ||
"version": "0.1.0", | ||
"description": "Digital Assets", | ||
"main": "dist/src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"files": [ | ||
"/dist" | ||
"/dist/src" | ||
], | ||
@@ -29,22 +14,53 @@ "publishConfig": { | ||
}, | ||
"keywords": [ | ||
"nft", | ||
"metaplex", | ||
"solana", | ||
"blockchain" | ||
], | ||
"homepage": "https://metaplex.com", | ||
"repository": "https://github.com/metaplex-foundation/metaplex-program-library.git", | ||
"repository": "https://github.com/metaplex-foundation/mpl-core.git", | ||
"author": "Metaplex Maintainers <contact@metaplex.com>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@solana/spl-token": "^0.1.8", | ||
"@solana/web3.js": "^1.35.1", | ||
"bs58": "^4.0.1" | ||
"license": "Apache-2.0", | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
"@metaplex-foundation/umi": "^0.8.2", | ||
"@metaplex-foundation/mpl-toolbox": "^0.8.0", | ||
"@noble/hashes": "^1.3.1" | ||
}, | ||
"devDependencies": { | ||
"@types/bs58": "^4.0.1", | ||
"eslint": "^8.3.0", | ||
"rimraf": "^3.0.2" | ||
"@ava/typescript": "^3.0.1", | ||
"@metaplex-foundation/umi": "^0.8.2", | ||
"@metaplex-foundation/umi-bundle-tests": "^0.8.2", | ||
"@solana/web3.js": "^1.73.0", | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.46.1", | ||
"ava": "^5.1.0", | ||
"bs58": "5.0.0", | ||
"eslint": "^8.0.1", | ||
"eslint-config-airbnb-typescript": "^17.0.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"prettier": "^2.8.8", | ||
"rimraf": "^3.0.2", | ||
"typedoc": "^0.23.16", | ||
"typedoc-plugin-expand-object-like-types": "^0.1.1", | ||
"typedoc-plugin-missing-exports": "^1.0.0", | ||
"typescript": "^4.9.4", | ||
"vercel": "^28.16.0" | ||
}, | ||
"ava": { | ||
"typescript": { | ||
"compile": false, | ||
"rewritePaths": { | ||
"src/": "dist/src/", | ||
"test/": "dist/test/" | ||
} | ||
} | ||
}, | ||
"packageManager": "pnpm@8.2.0", | ||
"scripts": { | ||
"build": "rimraf dist && tsc -p tsconfig.json", | ||
"build:docs": "typedoc", | ||
"test": "ava --timeout 600s", | ||
"lint": "eslint --ext js,ts,tsx src", | ||
"lint:fix": "eslint --fix --ext js,ts,tsx src", | ||
"format": "prettier --check src test", | ||
"format:fix": "prettier --write src test" | ||
} | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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 README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
370036
242
5996
0
0
180
20
2
+ Added@metaplex-foundation/mpl-toolbox@0.8.1(transitive)
+ Added@metaplex-foundation/umi@0.8.10(transitive)
+ Added@metaplex-foundation/umi-options@0.8.9(transitive)
+ Added@metaplex-foundation/umi-public-keys@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers-core@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers-encodings@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers-numbers@0.8.9(transitive)
- Removed@solana/spl-token@^0.1.8
- Removed@solana/web3.js@^1.35.1
- Removedbs58@^4.0.1
- Removed@babel/runtime@7.24.5(transitive)
- Removed@noble/curves@1.4.0(transitive)
- Removed@solana/buffer-layout@4.0.1(transitive)
- Removed@solana/spl-token@0.1.8(transitive)
- Removed@solana/web3.js@1.91.8(transitive)
- Removed@types/connect@3.4.38(transitive)
- Removed@types/node@12.20.55(transitive)
- Removed@types/ws@7.4.7(transitive)
- RemovedJSONStream@1.3.5(transitive)
- Removedagentkeepalive@4.5.0(transitive)
- Removedbase-x@3.0.9(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbigint-buffer@1.1.5(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbn.js@5.2.1(transitive)
- Removedborsh@0.7.0(transitive)
- Removedbs58@4.0.1(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedbuffer-layout@1.2.2(transitive)
- Removedbufferutil@4.0.8(transitive)
- Removedcommander@2.20.3(transitive)
- Removeddelay@5.0.0(transitive)
- Removeddotenv@10.0.0(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-promisify@5.0.0(transitive)
- Removedeventemitter3@4.0.7(transitive)
- Removedeyes@0.1.8(transitive)
- Removedfast-stable-stringify@1.0.0(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedhumanize-ms@1.2.1(transitive)
- Removedieee754@1.2.1(transitive)
- Removedisomorphic-ws@4.0.1(transitive)
- Removedjayson@4.1.0(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsonparse@1.3.1(transitive)
- Removedms@2.1.3(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednode-gyp-build@4.8.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedrpc-websockets@7.11.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsuperstruct@0.14.2(transitive)
- Removedtext-encoding-utf-8@1.0.2(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtr46@0.0.3(transitive)
- Removedutf-8-validate@5.0.10(transitive)
- Removeduuid@8.3.2(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedws@7.5.98.17.0(transitive)