@metaplex-foundation/umi-http-fetch
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -1,2 +0,2 @@ | ||
import { MetaplexPlugin } from '@metaplex-foundation/umi-core'; | ||
export declare const fetchHttp: () => MetaplexPlugin; | ||
import { UmiPlugin } from '@metaplex-foundation/umi-core'; | ||
export declare const fetchHttp: () => UmiPlugin; |
{ | ||
"name": "@metaplex-foundation/umi-http-fetch", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "sideEffects": false, | ||
"node-fetch": "^2.6.7", | ||
"@metaplex-foundation/umi-core": "^0.1.2" | ||
"@metaplex-foundation/umi-core": "^0.2.0" | ||
}, | ||
@@ -59,3 +59,3 @@ "devDependencies": { | ||
"build": "pnpm clean && tsc && tsc -p test/tsconfig.json && rollup -c", | ||
"test": "pnpm server:start && ava; pnpm server:stop", | ||
"test": "pnpm server:start && ava; ret=$?; pnpm server:stop; exit $ret", | ||
"server:start": "node ./test/_server.cjs > /dev/null &", | ||
@@ -62,0 +62,0 @@ "server:stop": "kill $(lsof -t -i:3000) 2> /dev/null || true" |
@@ -1,8 +0,8 @@ | ||
import { MetaplexPlugin } from '@metaplex-foundation/umi-core'; | ||
import { UmiPlugin } from '@metaplex-foundation/umi-core'; | ||
import { FetchHttp } from './FetchHttp'; | ||
export const fetchHttp = (): MetaplexPlugin => ({ | ||
install(metaplex) { | ||
metaplex.http = new FetchHttp(); | ||
export const fetchHttp = (): UmiPlugin => ({ | ||
install(umi) { | ||
umi.http = new FetchHttp(); | ||
}, | ||
}); |
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
Sorry, the diff of this file is not supported yet
16814
+ Added@metaplex-foundation/umi-core@0.2.3(transitive)
- Removed@metaplex-foundation/umi-core@0.1.2(transitive)