@web3api/http-plugin-js
Advanced tools
Comparing version 0.0.1-prealpha.6 to 0.0.1-prealpha.7
import { Request, Response } from "./types"; | ||
import { Client, Plugin, PluginModules, PluginManifest } from "@web3api/core-js"; | ||
import { Client, Plugin, PluginModules, PluginManifest, PluginPackage } from "@web3api/core-js"; | ||
export declare class HttpPlugin extends Plugin { | ||
@@ -10,1 +10,3 @@ constructor(); | ||
} | ||
export declare const httpPlugin: () => PluginPackage; | ||
export declare const plugin: () => PluginPackage; |
@@ -55,3 +55,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HttpPlugin = void 0; | ||
exports.plugin = exports.httpPlugin = exports.HttpPlugin = void 0; | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
@@ -106,2 +106,9 @@ var resolvers_1 = require("./resolvers"); | ||
exports.HttpPlugin = HttpPlugin; | ||
exports.httpPlugin = function () { | ||
return { | ||
factory: function () { return new HttpPlugin(); }, | ||
manifest: manifest_1.manifest, | ||
}; | ||
}; | ||
exports.plugin = exports.httpPlugin; | ||
//# sourceMappingURL=index.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
// TODO: use the schema.graphql | ||
// https://github.com/Web3-API/prototype/issues/101 | ||
// https://github.com/web3-api/monorepo/issues/101 | ||
schema: "type Query { dummy: String }", | ||
@@ -9,0 +9,0 @@ implemented: [], |
"use strict"; | ||
// TODO: Generate this from the schema.graphql file | ||
// https://github.com/Web3-API/prototype/issues/101 | ||
// https://github.com/web3-api/monorepo/issues/101 | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -5,0 +5,0 @@ exports.Response = exports.Request = exports.UrlParam = exports.Header = void 0; |
{ | ||
"name": "@web3api/http-plugin-js", | ||
"description": "Web3API HTTP Javascript Plugin", | ||
"version": "0.0.1-prealpha.6", | ||
"version": "0.0.1-prealpha.7", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "repository": { | ||
"dependencies": { | ||
"@web3api/core-js": "0.0.1-prealpha.6", | ||
"@web3api/core-js": "0.0.1-prealpha.7", | ||
"axios": "0.21.1" | ||
@@ -29,3 +29,3 @@ }, | ||
"@types/jest": "26.0.8", | ||
"@web3api/client-js": "0.0.1-prealpha.6", | ||
"@web3api/client-js": "0.0.1-prealpha.7", | ||
"jest": "26.2.2", | ||
@@ -38,3 +38,3 @@ "nock": "13.0.7", | ||
}, | ||
"gitHead": "4eccf972b3cf44dea493c07e803d40cde81970ff", | ||
"gitHead": "4e285019a0b3b0f371aab362afa6977acfb15c49", | ||
"publishConfig": { | ||
@@ -41,0 +41,0 @@ "access": "public" |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22164
327
+ Added@web3api/core-js@0.0.1-prealpha.7(transitive)
+ Added@web3api/manifest-schema@0.0.1-prealpha.7(transitive)
- Removed@web3api/core-js@0.0.1-prealpha.6(transitive)
- Removed@web3api/manifest-schema@0.0.1-prealpha.6(transitive)