Comparing version 1.2.0 to 1.3.0
@@ -1,13 +0,3 @@ | ||
# Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"). | ||
# You may not use this file except in compliance with the License. | ||
# A copy of the License is located at | ||
# | ||
# http://aws.amazon.com/apache2.0 | ||
# | ||
# or in the "license" file accompanying this file. This file is distributed | ||
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
# express or implied. See the License for the specific language governing | ||
# permissions and limitations under the License. | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0. | ||
@@ -14,0 +4,0 @@ cmake_minimum_required(VERSION 3.0) |
@@ -30,3 +30,3 @@ "use strict"; | ||
const process_1 = require("process"); | ||
const upgrade_string = "Please upgrade to node >=10.13.0, or use the provided browser implementation."; | ||
const upgrade_string = "Please upgrade to node >=10.16.0, or use the provided browser implementation."; | ||
if ('napi' in process_1.versions) { | ||
@@ -33,0 +33,0 @@ const napi_version = parseInt(process_1.versions['napi']); |
@@ -8,3 +8,3 @@ /** | ||
import { ResourceSafe } from '../common/resource_safety'; | ||
import { ClientBootstrap, SocketOptions, TlsConnectionOptions } from './io'; | ||
import { ClientBootstrap, SocketOptions, TlsConnectionOptions, InputStream } from './io'; | ||
import { HttpProxyAuthenticationType, HttpProxyOptions as CommonHttpProxyOptions } from '../common/http'; | ||
@@ -18,5 +18,8 @@ export { HttpHeader, HttpProxyAuthenticationType } from '../common/http'; | ||
/** @category HTTP */ | ||
export declare type HttpRequest = crt_native.HttpRequest; | ||
declare type nativeHttpRequest = crt_native.HttpRequest; | ||
/** @category HTTP */ | ||
export declare const HttpRequest: typeof crt_native.HttpRequest; | ||
declare const nativeHttpRequest: typeof crt_native.HttpRequest; | ||
export declare class HttpRequest extends nativeHttpRequest { | ||
constructor(method: string, path: string, headers?: HttpHeaders, body?: InputStream); | ||
} | ||
declare const HttpConnection_base: { | ||
@@ -23,0 +26,0 @@ new (...args: any[]): { |
@@ -21,3 +21,9 @@ "use strict"; | ||
/** @category HTTP */ | ||
exports.HttpRequest = binding_1.default.HttpRequest; | ||
const nativeHttpRequest = binding_1.default.HttpRequest; | ||
class HttpRequest extends nativeHttpRequest { | ||
constructor(method, path, headers, body) { | ||
super(method, path, headers, body === null || body === void 0 ? void 0 : body.native_handle()); | ||
} | ||
} | ||
exports.HttpRequest = HttpRequest; | ||
/** | ||
@@ -24,0 +30,0 @@ * Base class for HTTP connections |
{ | ||
"name": "aws-crt", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "NodeJS/browser bindings to the aws-c-* libraries", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/awslabs/aws-crt-nodejs", |
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
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
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
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
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
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
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
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
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
1550
7374
15233910