How to use the ably.noencryption function in ably

To help you get started, we’ve selected a few ably examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ably / ably-js / Gruntfile.js View on Github external
/* domevent omitted; not supported in nativescript */
		'<%= dirs.browser %>/lib/util/msgpack.js',

		'<%= dirs.fragments %>/platform-nativescript.js',

		'<%= dirs.browser %>/lib/util/crypto.js',

		/* Note: nativescript-specific webstorage */
		'<%= dirs.browser %>/lib/util/nativescript-webstorage.js',
		ablyFiles,
		/* jsonptransport omitted */

		'<%= dirs.fragments %>/ably-commonjs-epilogue.js'
	);

	gruntConfig.concat['ably.noencryption'].src = [].concat(
		'<%= dirs.fragments %>/license.js',
		'<%= dirs.fragments %>/ably-prologue.js',
		'<%= dirs.crypto_js %>/core.js',
		'<%= dirs.crypto_js %>/sha256.js',
		'<%= dirs.crypto_js %>/hmac.js',
		'<%= dirs.crypto_js %>/enc-base64.js',

		'<%= dirs.browser %>/lib/util/domevent.js',
		'<%= dirs.browser %>/lib/util/msgpack.js',

		'<%= dirs.fragments %>/platform-browser.js',
		'<%= dirs.browser %>/lib/util/webstorage.js',

		ablyFiles,
		'<%= dirs.browser %>/lib/transport/jsonptransport.js',

ably

Realtime client library for Ably, the realtime messaging service

Apache-2.0
Latest version published 20 days ago

Package Health Score

87 / 100
Full package analysis