1.0.11 • Published 2 months ago

magento-graphql-lib v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

Foobar

This library can help you use graqlph to communicate with magento.

Installation

npm i magento-graphql-lib

Usage

const { BatchGraphql, InitGraphqlConnect, GraphQl } = require("magento-graphql-lib")

InitGraphqlConnect("http://magentoserver")

async function fun() {
    //default store code
    const rs1 = await BatchGraphql().Querys(SIGN_IN, { email: "test@test.com", password: "123123123" })
    console.log(rs1)
    //muit store code
    const rs2 = await BatchGraphql(["store1","store2"]).Querys(SIGN_IN, { email: "test@test.com", password: "123123123" })
    console.log(rs2)
}

fun()
1.0.11

2 months ago

1.0.10

2 months ago

1.0.9

3 months ago

1.0.8

5 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago