@query.shop/node-sdk
Advanced tools
Comparing version 1.0.0 to 1.0.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const main_1 = require("./main"); | ||
(async function () { | ||
console.log(await new main_1.QueryShop({ | ||
secretKey: "any_token", | ||
}).v1.store.get({ | ||
subDomain: "x2x2x2", | ||
})); | ||
})(); |
@@ -1,4 +0,4 @@ | ||
import { Store } from "./modules/store"; | ||
import { V1 } from "./modules/versions/v1"; | ||
export declare class QueryShop { | ||
store: Store; | ||
v1: V1; | ||
constructor(props: { | ||
@@ -5,0 +5,0 @@ storeId?: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.QueryShop = void 0; | ||
const store_1 = require("./modules/store"); | ||
const v1_1 = require("./modules/versions/v1"); | ||
class QueryShop { | ||
constructor(props) { | ||
this.store = new store_1.Store(); | ||
this.v1 = new v1_1.V1(); | ||
if (props.accessToken) | ||
@@ -9,0 +9,0 @@ QueryShop.accessToken = props.accessToken; |
{ | ||
"name": "@query.shop/node-sdk", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/main.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
67251
83
609
2