🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@metaplex-foundation/umi-http-fetch

Package Overview
Dependencies
Maintainers
10
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaplex-foundation/umi-http-fetch - npm Package Compare versions

Comparing version

to
0.2.0

4

dist/types/plugin.d.ts

@@ -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