-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from fedellen/feat/arweave-uploader
feat: init arweave uploader using turbo sdk and ar.io bundling infrastructure
- Loading branch information
Showing
14 changed files
with
1,887 additions
and
234 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-arweave-via-turbo': minor | ||
--- | ||
|
||
Added Arweave uploader support via Turbo SDK |
Empty file.
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-arweave-via-turbo | ||
|
||
An uploader implementation relying on Arweave. Takes advantage of the Turbo SDK and AR.IO bundling infrastructure to provide seamless upload to Arweave | ||
|
||
## Installation | ||
|
||
```sh | ||
npm install @metaplex-foundation/umi-uploader-arweave-via-turbo | ||
``` |
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-arweave-via-turbo", | ||
"version": "0.9.2", | ||
"description": "An uploader implementation relying on Arweave", | ||
"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": { | ||
"@ardrive/turbo-sdk": "^1.20.0", | ||
"@metaplex-foundation/umi-web3js-adapters": "workspace:^", | ||
"bignumber.js": "^9.1.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 <contact@metaplex.com>", | ||
"homepage": "https://metaplex.com", | ||
"repository": { | ||
"url": "https://github.com/metaplex-foundation/umi.git" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "./src/index.ts", | ||
"readmeFile": "./README.md", | ||
"displayName": "umi-uploader-arweave-via-turbo" | ||
}, | ||
"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.