@adastradev/tenant-sdk
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -5,3 +5,3 @@ "use strict"; | ||
// declare function require(name:string): any; // tslint:disable-line | ||
var apigClientFactory = require('aws-api-gateway-client').default; // tslint:disable-line | ||
var apigClientFactory = require('@adastradev/aws-api-gateway-client').default; // tslint:disable-line | ||
// interceptor logging for Authorization headers | ||
@@ -8,0 +8,0 @@ // axios.interceptors.request.use(function(config) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AstraResponse = void 0; | ||
var AstraResponse = /** @class */ (function () { | ||
@@ -4,0 +5,0 @@ function AstraResponse(data, response) { |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./AstraResponse")); | ||
__export(require("./TenantApi")); | ||
__export(require("./TenantConsumerApi")); | ||
__exportStar(require("./AstraResponse"), exports); | ||
__exportStar(require("./ITenantApiModel"), exports); | ||
__exportStar(require("./TenantApi"), exports); | ||
__exportStar(require("./TenantConsumerApi"), exports); |
@@ -40,2 +40,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TenantApi = void 0; | ||
var ApiGatewayClient_1 = require("./ApiGatewayClient"); | ||
@@ -48,4 +49,6 @@ var AstraResponse_1 = require("./AstraResponse"); | ||
TenantApi.prototype.find = function (tenant_id) { | ||
var params = {}; | ||
var pathTemplate = "/tenant/" + tenant_id; | ||
var params = { | ||
tenant_id: tenant_id | ||
}; | ||
var pathTemplate = '/tenant/{tenant_id}'; | ||
var method = 'GET'; | ||
@@ -52,0 +55,0 @@ var body = {}; |
@@ -39,2 +39,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TenantConsumerApi = void 0; | ||
var ApiGatewayClient_1 = require("./ApiGatewayClient"); | ||
@@ -47,4 +48,6 @@ var AstraResponse_1 = require("./AstraResponse"); | ||
TenantConsumerApi.prototype.find = function (tenant_id) { | ||
var params = {}; | ||
var pathTemplate = "/consumer/tenant/" + tenant_id; | ||
var params = { | ||
tenant_id: tenant_id | ||
}; | ||
var pathTemplate = '/consumer/tenant/{tenant_id}'; | ||
var method = 'GET'; | ||
@@ -51,0 +54,0 @@ var body = {}; |
{ | ||
"name": "@adastradev/tenant-sdk", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Astra Tenant SDK for JavaScript in the browser and Node.js", | ||
@@ -28,22 +28,22 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@adastradev/serverless-discovery-sdk": "0.0.7", | ||
"aws-api-gateway-client": "^0.2.16", | ||
"axios": "^0.19.0" | ||
"@adastradev/aws-api-gateway-client": "^1.0.1", | ||
"@adastradev/serverless-discovery-sdk": "^2.1.1", | ||
"axios": "^0.19.2" | ||
}, | ||
"devDependencies": { | ||
"@adastradev/gulp-snyk": "^1.0.0", | ||
"@types/chai": "^4.2.7", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^10.17.11", | ||
"@types/chai": "^4.2.11", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^14.0.1", | ||
"chai": "^4.2.0", | ||
"ci-publish": "^1.3.1", | ||
"gulp": "^4.0.2", | ||
"mocha": "^5.2.0", | ||
"sinon": "^7.5.0", | ||
"ts-node": "^7.0.1", | ||
"ts-sinon": "^1.0.24", | ||
"tslint": "^5.20.1", | ||
"mocha": "^7.1.2", | ||
"sinon": "^9.0.2", | ||
"ts-node": "^8.10.1", | ||
"ts-sinon": "^1.2.0", | ||
"tslint": "^6.1.2", | ||
"tslint-config-security": "^1.16.0", | ||
"typescript": "^3.7.3" | ||
"typescript": "^3.9.2" | ||
} | ||
} |
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
19333
316
+ Added@adastradev/aws-api-gateway-client@1.0.7(transitive)
+ Added@adastradev/serverless-discovery-sdk@2.3.4(transitive)
+ Addedaxios@0.26.1(transitive)
+ Addedcrypto-js@4.2.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
- Removedaws-api-gateway-client@^0.2.16
- Removed@adastradev/serverless-discovery-sdk@0.0.7(transitive)
- Removedaws-api-gateway-client@0.2.17(transitive)
- Removedaxios@0.18.1(transitive)
- Removedcrypto-js@3.3.0(transitive)
- Removedis-buffer@2.0.5(transitive)
Updatedaxios@^0.19.2