@shopify/admin-api-client
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -5,3 +5,3 @@ 'use strict'; | ||
// This is value is replaced with package.json version during rollup build process | ||
const DEFAULT_CLIENT_VERSION = "0.2.3"; | ||
const DEFAULT_CLIENT_VERSION = "0.2.4"; | ||
const ACCESS_TOKEN_HEADER = "X-Shopify-Access-Token"; | ||
@@ -8,0 +8,0 @@ const CLIENT = "Admin API Client"; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
const trimmedDomain = storeDomain.trim(); | ||
const protocolUrl = trimmedDomain.startsWith("http") | ||
const protocolUrl = trimmedDomain.startsWith("http:") || trimmedDomain.startsWith("https:") | ||
? trimmedDomain | ||
@@ -12,0 +12,0 @@ : `https://${trimmedDomain}`; |
{ | ||
"name": "@shopify/admin-api-client", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Shopify Admin API Client - A lightweight JS client to interact with Shopify's Admin API", | ||
@@ -63,3 +63,3 @@ "repository": { | ||
"dependencies": { | ||
"@shopify/graphql-client": "^0.9.3" | ||
"@shopify/graphql-client": "^0.9.4" | ||
}, | ||
@@ -66,0 +66,0 @@ "devDependencies": { |
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
Sorry, the diff of this file is not supported yet
192043