@aws-sdk/crt-loader
Version:
Loader for AWS Common Runtime https://github.com/awslabs/aws-crt-nodejs
18 lines (13 loc) • 515 B
JavaScript
;
var client = require('@aws-sdk/core/client');
var awsCrt = require('aws-crt');
client.crtAvailability.isCrtAvailable = true;
Object.prototype.hasOwnProperty.call(awsCrt, '__proto__') &&
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
Object.defineProperty(exports, '__proto__', {
enumerable: true,
value: awsCrt['__proto__']
});
Object.keys(awsCrt).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = awsCrt[k];
});