Skip to content

Commit 8c66890

Browse files
authored
Merge pull request #216 from NodeFactoryIo/mmuftic/http-plugin-upgrade
Mmuftic/http plugin upgrade
2 parents e4836e6 + 3ed8d32 commit 8c66890

27 files changed

Lines changed: 77 additions & 72 deletions

File tree

demos/simple-storage/dapp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "@web3api/demo-simple-storage-dapp",
33
"description": "Web3API SimpleStorage dApp Demo",
44
"private": true,
5-
"version": "0.0.1-prealpha.4",
5+
"version": "0.0.1-prealpha.5",
66
"license": "MIT",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/web3-api/monorepo.git"
1010
},
1111
"dependencies": {
12-
"@web3api/client-js": "0.0.1-prealpha.4",
12+
"@web3api/client-js": "0.0.1-prealpha.5",
1313
"react": "^16.13.1",
1414
"react-dom": "^16.13.1",
1515
"react-lottie": "1.2.3",

demos/simple-storage/protocol/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@web3api/demo-simple-storage",
33
"description": "Web3API SimpleStorage Demo",
44
"private": true,
5-
"version": "0.0.1-prealpha.4",
5+
"version": "0.0.1-prealpha.5",
66
"license": "MIT",
77
"repository": {
88
"type": "git",
@@ -15,9 +15,9 @@
1515
"test:env:down": "npx w3 test-env down"
1616
},
1717
"devDependencies": {
18-
"@web3api/cli": "0.0.1-prealpha.4",
19-
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.4",
20-
"@web3api/wasm-as": "0.0.1-prealpha.4",
18+
"@web3api/cli": "0.0.1-prealpha.5",
19+
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.5",
20+
"@web3api/wasm-as": "0.0.1-prealpha.5",
2121
"ethers": "5.0.8",
2222
"js-yaml": "3.14.0"
2323
}

packages/cli/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/cli",
33
"description": "Web3API CLI",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -22,15 +22,15 @@
2222
"test:watch": "jest --watch --passWithNoTests --verbose"
2323
},
2424
"dependencies": {
25-
"@web3api/client-js": "0.0.1-prealpha.4",
26-
"@web3api/client-test-env": "0.0.1-prealpha.4",
27-
"@web3api/core-js": "0.0.1-prealpha.4",
28-
"@web3api/ens-plugin-js": "0.0.1-prealpha.4",
29-
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.4",
30-
"@web3api/ipfs-plugin-js": "0.0.1-prealpha.4",
31-
"@web3api/schema-bind": "0.0.1-prealpha.4",
32-
"@web3api/schema-compose": "0.0.1-prealpha.4",
33-
"@web3api/schema-parse": "0.0.1-prealpha.4",
25+
"@web3api/client-js": "0.0.1-prealpha.5",
26+
"@web3api/client-test-env": "0.0.1-prealpha.5",
27+
"@web3api/core-js": "0.0.1-prealpha.5",
28+
"@web3api/ens-plugin-js": "0.0.1-prealpha.5",
29+
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.5",
30+
"@web3api/ipfs-plugin-js": "0.0.1-prealpha.5",
31+
"@web3api/schema-bind": "0.0.1-prealpha.5",
32+
"@web3api/schema-compose": "0.0.1-prealpha.5",
33+
"@web3api/schema-parse": "0.0.1-prealpha.5",
3434
"assemblyscript": "0.17.14",
3535
"axios": "0.19.2",
3636
"chalk": "4.1.0",

packages/js/client/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/client-js",
33
"description": "Web3API Javascript Client",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -24,11 +24,11 @@
2424
},
2525
"dependencies": {
2626
"@msgpack/msgpack": "2.3.0",
27-
"@web3api/core-js": "0.0.1-prealpha.4",
28-
"@web3api/ens-plugin-js": "0.0.1-prealpha.4",
29-
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.4",
30-
"@web3api/ipfs-plugin-js": "0.0.1-prealpha.4",
31-
"@web3api/schema-parse": "0.0.1-prealpha.4",
27+
"@web3api/core-js": "0.0.1-prealpha.5",
28+
"@web3api/ens-plugin-js": "0.0.1-prealpha.5",
29+
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.5",
30+
"@web3api/ipfs-plugin-js": "0.0.1-prealpha.5",
31+
"@web3api/schema-parse": "0.0.1-prealpha.5",
3232
"graphql": "^15.4.0",
3333
"js-yaml": "3.14.0",
3434
"web-worker": "1.0.0"
@@ -37,8 +37,8 @@
3737
"@types/jest": "26.0.8",
3838
"@types/js-yaml": "3.11.1",
3939
"@types/semver": "^7.3.4",
40+
"@web3api/cli": "0.0.1-prealpha.5",
4041
"@web3api/test-cases": "0.0.1-prealpha.1",
41-
"@web3api/cli": "0.0.1-prealpha.4",
4242
"axios": "0.19.2",
4343
"jest": "26.2.2",
4444
"rimraf": "3.0.2",

packages/js/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/core-js",
33
"description": "Web3API Javascript Core",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -20,7 +20,7 @@
2020
"test:watch": "jest --watch --passWithNoTests --verbose"
2121
},
2222
"dependencies": {
23-
"@web3api/manifest-schema": "0.0.1-prealpha.4",
23+
"@web3api/manifest-schema": "0.0.1-prealpha.5",
2424
"graphql": "15.3.0",
2525
"graphql-tag": "2.10.4",
2626
"js-yaml": "3.14.0",

packages/js/plugins/ens/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/ens-plugin-js",
33
"description": "Web3API ENS Javascript Plugin",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -20,7 +20,7 @@
2020
"test:watch": "jest --watch --passWithNoTests --verbose"
2121
},
2222
"dependencies": {
23-
"@web3api/core-js": "0.0.1-prealpha.4",
23+
"@web3api/core-js": "0.0.1-prealpha.5",
2424
"ethers": "5.0.7"
2525
},
2626
"devDependencies": {

packages/js/plugins/ethereum/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/ethereum-plugin-js",
33
"description": "Web3API Ethereum Javascript Plugin",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -20,7 +20,7 @@
2020
"test:watch": "jest --watch --passWithNoTests --verbose"
2121
},
2222
"dependencies": {
23-
"@web3api/core-js": "0.0.1-prealpha.4",
23+
"@web3api/core-js": "0.0.1-prealpha.5",
2424
"ethers": "5.0.7"
2525
},
2626
"devDependencies": {

packages/js/plugins/graph-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/graph-node-plugin-js",
33
"description": "Web3API Graph Node Javascript Plugin",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -20,7 +20,7 @@
2020
"test:watch": "jest --watch --passWithNoTests --verbose"
2121
},
2222
"dependencies": {
23-
"@web3api/core-js": "0.0.1-prealpha.4",
23+
"@web3api/core-js": "0.0.1-prealpha.5",
2424
"apollo-link": "1.2.14",
2525
"apollo-link-http": "1.5.17",
2626
"cross-fetch": "3.0.5",

packages/js/plugins/http/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@web3api/http-plugin-js",
33
"description": "Web3API HTTP Javascript Plugin",
4-
"version": "0.0.1-prealpha.4",
4+
"version": "0.0.1-prealpha.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -20,12 +20,12 @@
2020
"test:watch": "jest --watch --passWithNoTests --verbose"
2121
},
2222
"dependencies": {
23-
"@web3api/core-js": "0.0.1-prealpha.4",
23+
"@web3api/core-js": "0.0.1-prealpha.5",
2424
"axios": "0.21.1"
2525
},
2626
"devDependencies": {
2727
"@types/jest": "26.0.8",
28-
"@web3api/client-js": "0.0.1-prealpha.4",
28+
"@web3api/client-js": "0.0.1-prealpha.5",
2929
"jest": "26.2.2",
3030
"nock": "13.0.7",
3131
"rimraf": "3.0.2",

packages/js/plugins/http/schema.graphql

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,14 @@ type Response {
1818
type Request {
1919
headers: [Header!]
2020
urlParams: [UrlParam!]
21-
responseType: String! # "TEXT" || "BINARY"
21+
responseType: ResponseType!
2222
body: String
2323
}
2424

25-
# Enum types curently not supported
26-
#
27-
# enum ResponseType {
28-
# TEXT
29-
# BINARY
30-
# }
25+
enum ResponseType {
26+
TEXT
27+
BINARY
28+
}
3129

3230
type Query {
3331
get(url: String!, request: Request): Response

0 commit comments

Comments
 (0)