shopify-node
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -142,4 +142,8 @@ function ShopifyConnect(params) { | ||
$scope.get = function(path, callback) { | ||
$scope.request($scope.config.access_token, path, 'get', null, callback); | ||
$scope.get = function(path, data, callback) { | ||
if(arguments.length < 3) { | ||
callback = data; | ||
data = null; | ||
} | ||
$scope.request($scope.config.access_token, path, 'get', data, callback); | ||
}; | ||
@@ -155,4 +159,8 @@ | ||
$scope.delete = function(path, callback) { | ||
$scope.request($scope.config.access_token, path, 'delete', null, callback); | ||
$scope.delete = function(path, data, callback) { | ||
if(arguments.length < 3) { | ||
callback = data; | ||
data = null; | ||
} | ||
$scope.request($scope.config.access_token, path, 'delete', data, callback); | ||
}; | ||
@@ -159,0 +167,0 @@ |
{ | ||
"name": "shopify-node", | ||
"description": "A NodeJS connector for Shopify OAuth2", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"author": { | ||
@@ -30,4 +30,4 @@ "name": "uh-sem-blee, Co. | typefoo", | ||
}, | ||
"_id": "shopify-node@0.1.7", | ||
"_id": "shopify-node@0.1.8", | ||
"_from": "shopify-node@" | ||
} |
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
10445
251