-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: 🚚 Rename umi-uploader-bundlr -> umi-uploader-irys * feat: ✨ Transition umi-uploader-bundlr to umi-uploader-irys * feat: 🚚 Restore umi-uploader-bundlr * chore: 📝 Add changeset for umi-uploader-irys * chore: 📝 Update PNPM lock, add Bundlr back to implementations list * chore: 🔥 Remove umi-uploader-irys changelog * chore: 🎨 Apply linting & formatting
- Loading branch information
1 parent
e84a4ed
commit 44d33c5
Showing
16 changed files
with
1,097 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@metaplex-foundation/umi-uploader-irys': patch | ||
--- | ||
|
||
Add new Irys uploader to replace the deprecated Bundlr uploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# umi-uploader-irys | ||
|
||
An uploader implementation relying on Irys. | ||
|
||
## Installation | ||
|
||
```sh | ||
npm install @metaplex-foundation/umi-uploader-irys | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "../../babel.config.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"name": "@metaplex-foundation/umi-uploader-irys", | ||
"version": "0.8.9", | ||
"description": "An uploader implementation relying on Irys", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"module": "dist/esm/index.mjs", | ||
"main": "dist/cjs/index.cjs", | ||
"types": "dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/types/index.d.ts", | ||
"import": "./dist/esm/index.mjs", | ||
"require": "./dist/cjs/index.cjs" | ||
} | ||
}, | ||
"files": [ | ||
"/dist/cjs", | ||
"/dist/esm", | ||
"/dist/types", | ||
"/src" | ||
], | ||
"scripts": { | ||
"lint": "eslint --ext js,ts,tsx src", | ||
"lint:fix": "eslint --fix --ext js,ts,tsx src", | ||
"clean": "rimraf dist", | ||
"build": "pnpm clean && tsc && tsc -p test/tsconfig.json && rollup -c", | ||
"test": "ava" | ||
}, | ||
"dependencies": { | ||
"@irys/sdk": "^0.0.2", | ||
"@metaplex-foundation/umi-web3js-adapters": "workspace:^", | ||
"bignumber.js": "^9.0.2", | ||
"buffer": "^6.0.3" | ||
}, | ||
"peerDependencies": { | ||
"@metaplex-foundation/umi": "workspace:^", | ||
"@solana/web3.js": "^1.72.0" | ||
}, | ||
"devDependencies": { | ||
"@ava/typescript": "^3.0.1", | ||
"@metaplex-foundation/umi": "workspace:^", | ||
"@metaplex-foundation/umi-downloader-http": "workspace:^", | ||
"@metaplex-foundation/umi-eddsa-web3js": "workspace:^", | ||
"@metaplex-foundation/umi-http-fetch": "workspace:^", | ||
"@metaplex-foundation/umi-rpc-web3js": "workspace:^", | ||
"@solana/web3.js": "^1.72.0", | ||
"ava": "^5.1.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"author": "Metaplex Maintainers <[email protected]>", | ||
"homepage": "https://metaplex.com", | ||
"repository": { | ||
"url": "https://github.com/metaplex-foundation/umi.git" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "./src/index.ts", | ||
"readmeFile": "./README.md", | ||
"displayName": "umi-uploader-irys" | ||
}, | ||
"ava": { | ||
"typescript": { | ||
"compile": false, | ||
"rewritePaths": { | ||
"src/": "dist/test/src/", | ||
"test/": "dist/test/test/" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { createConfigs } from '../../rollup.config'; | ||
import pkg from './package.json'; | ||
|
||
export default createConfigs({ | ||
pkg, | ||
builds: [ | ||
{ | ||
dir: 'dist/esm', | ||
format: 'es', | ||
}, | ||
{ | ||
dir: 'dist/cjs', | ||
format: 'cjs', | ||
}, | ||
], | ||
}); |
Oops, something went wrong.