├── .ably └── capabilities.yaml ├── .editorconfig ├── .eslintrc.js ├── .github ├── dependabot.yml └── workflows │ ├── bundle-report.yml │ ├── check.yml │ ├── docs.yml │ ├── features.yml │ ├── publish-cdn.yml │ ├── react.yml │ ├── spec-coverage-report.yml │ ├── test-browser.yml │ ├── test-node.yml │ └── test-package.yml ├── .gitignore ├── .gitmodules ├── .mocharc.js ├── .prettierignore ├── .prettierrc.json ├── .vscode └── launch.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── COPYRIGHT ├── Gruntfile.js ├── LICENSE ├── MAINTAINERS.md ├── README.md ├── ably.d.ts ├── docs ├── migration-guides │ ├── v1 │ │ └── react-hooks.md │ └── v2 │ │ ├── lib.md │ │ └── react-hooks.md └── react.md ├── grunt └── esbuild │ ├── build.js │ └── strip-logs.js ├── images └── JavaScriptSDK-github.png ├── modular.d.ts ├── objects.d.ts ├── package.json ├── push.d.ts ├── resources ├── Browserstack-logo@2x.png └── typescript-demo.gif ├── scripts ├── README.md ├── cdn_deploy.js ├── dox.d.ts ├── moduleReport.ts ├── processPrivateApiData │ ├── dto.ts │ ├── exclusions.ts │ ├── grouping.ts │ ├── load.ts │ ├── output.ts │ ├── run.ts │ ├── runtimeContext.ts │ ├── staticContext.ts │ ├── utils.ts │ └── withoutPrivateAPIUsage.ts └── specCoverageReport.ts ├── src ├── common │ ├── constants │ │ ├── HttpMethods.ts │ │ ├── HttpStatusCodes.ts │ │ ├── TransportName.ts │ │ └── XHRStates.ts │ ├── lib │ │ ├── client │ │ │ ├── auth.ts │ │ │ ├── baseclient.ts │ │ │ ├── baserealtime.ts │ │ │ ├── baserest.ts │ │ │ ├── channelstatechange.ts │ │ │ ├── connection.ts │ │ │ ├── connectionstatechange.ts │ │ │ ├── defaultrealtime.ts │ │ │ ├── defaultrest.ts │ │ │ ├── filteredsubscriptions.ts │ │ │ ├── modularplugins.ts │ │ │ ├── paginatedresource.ts │ │ │ ├── presencemap.ts │ │ │ ├── push.ts │ │ │ ├── realtimeannotations.ts │ │ │ ├── realtimechannel.ts │ │ │ ├── realtimepresence.ts │ │ │ ├── resource.ts │ │ │ ├── rest.ts │ │ │ ├── restannotations.ts │ │ │ ├── restchannel.ts │ │ │ ├── restchannelmixin.ts │ │ │ ├── restpresence.ts │ │ │ └── restpresencemixin.ts │ │ ├── transport │ │ │ ├── comettransport.ts │ │ │ ├── connectionerrors.ts │ │ │ ├── connectionmanager.ts │ │ │ ├── messagequeue.ts │ │ │ ├── protocol.ts │ │ │ ├── transport.ts │ │ │ └── websockettransport.ts │ │ ├── types │ │ │ ├── annotation.ts │ │ │ ├── basemessage.ts │ │ │ ├── defaultannotation.ts │ │ │ ├── defaultmessage.ts │ │ │ ├── defaultpresencemessage.ts │ │ │ ├── devicedetails.ts │ │ │ ├── errorinfo.ts │ │ │ ├── message.ts │ │ │ ├── presencemessage.ts │ │ │ ├── protocolmessage.ts │ │ │ ├── protocolmessagecommon.ts │ │ │ ├── pushchannelsubscription.ts │ │ │ └── stats.ts │ │ └── util │ │ │ ├── defaults.ts │ │ │ ├── eventemitter.ts │ │ │ ├── logger.ts │ │ │ ├── multicaster.ts │ │ │ └── utils.ts │ ├── platform.ts │ └── types │ │ ├── ClientOptions.ts │ │ ├── IBufferUtils.ts │ │ ├── ICipher.ts │ │ ├── ICryptoStatic.ts │ │ ├── IDefaults.d.ts │ │ ├── IPlatformConfig.d.ts │ │ ├── IWebStorage.ts │ │ ├── IXHRRequest.d.ts │ │ ├── channel.d.ts │ │ ├── cryptoDataTypes.ts │ │ ├── globals.d.ts │ │ ├── http.ts │ │ ├── msgpack.ts │ │ └── utils.d.ts ├── fragments │ ├── ably.d.ts │ └── license.js ├── platform │ ├── nativescript │ │ ├── config.js │ │ ├── index.ts │ │ └── lib │ │ │ └── util │ │ │ └── webstorage.js │ ├── nodejs │ │ ├── config.ts │ │ ├── index.ts │ │ └── lib │ │ │ ├── transport │ │ │ ├── index.ts │ │ │ ├── nodecomettransport.d.ts │ │ │ └── nodecomettransport.js │ │ │ └── util │ │ │ ├── bufferutils.ts │ │ │ ├── crypto.ts │ │ │ ├── defaults.ts │ │ │ └── http.ts │ ├── react-hooks │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── res │ │ │ ├── package.cjs.json │ │ │ ├── package.mjs.json │ │ │ └── package.react.json │ │ ├── sample-app │ │ │ ├── index.html │ │ │ ├── public │ │ │ │ └── robots.txt │ │ │ └── src │ │ │ │ ├── App.css │ │ │ │ ├── App.tsx │ │ │ │ ├── logo.svg │ │ │ │ ├── script.tsx │ │ │ │ └── vite-env.d.ts │ │ ├── src │ │ │ ├── AblyContext.tsx │ │ │ ├── AblyProvider.tsx │ │ │ ├── AblyReactHooks.ts │ │ │ ├── ChannelProvider.tsx │ │ │ ├── fakes │ │ │ │ └── ably.ts │ │ │ ├── hooks │ │ │ │ ├── constants.ts │ │ │ │ ├── useAbly.ts │ │ │ │ ├── useChannel.test.tsx │ │ │ │ ├── useChannel.ts │ │ │ │ ├── useChannelAttach.test.tsx │ │ │ │ ├── useChannelAttach.ts │ │ │ │ ├── useChannelInstance.ts │ │ │ │ ├── useChannelStateListener.test.tsx │ │ │ │ ├── useChannelStateListener.ts │ │ │ │ ├── useConnectionStateListener.test.tsx │ │ │ │ ├── useConnectionStateListener.ts │ │ │ │ ├── useEventListener.ts │ │ │ │ ├── usePresence.test.tsx │ │ │ │ ├── usePresence.ts │ │ │ │ ├── usePresenceListener.test.tsx │ │ │ │ ├── usePresenceListener.ts │ │ │ │ └── useStateErrors.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── tsconfig.cjs.json │ │ ├── tsconfig.json │ │ ├── tsconfig.mjs.json │ │ └── vite.config.ts │ ├── react-native │ │ ├── config.ts │ │ └── index.ts │ └── web │ │ ├── config.ts │ │ ├── index.ts │ │ ├── lib │ │ ├── http │ │ │ ├── http.ts │ │ │ └── request │ │ │ │ ├── fetchrequest.ts │ │ │ │ ├── index.ts │ │ │ │ └── xhrrequest.ts │ │ ├── transport │ │ │ ├── index.ts │ │ │ └── xhrpollingtransport.ts │ │ └── util │ │ │ ├── bufferutils.ts │ │ │ ├── crypto.ts │ │ │ ├── defaults.ts │ │ │ ├── domevent.js │ │ │ ├── hmac-sha256.ts │ │ │ ├── msgpack.ts │ │ │ └── webstorage.ts │ │ ├── modular.ts │ │ └── modular │ │ ├── annotations.ts │ │ ├── crypto.ts │ │ ├── http.ts │ │ ├── message.ts │ │ ├── msgpack.ts │ │ ├── presencemessage.ts │ │ ├── realtimepresence.ts │ │ └── transports.ts └── plugins │ ├── index.d.ts │ ├── objects │ ├── batchcontext.ts │ ├── batchcontextlivecounter.ts │ ├── batchcontextlivemap.ts │ ├── defaults.ts │ ├── index.ts │ ├── livecounter.ts │ ├── livemap.ts │ ├── liveobject.ts │ ├── objectid.ts │ ├── objectmessage.ts │ ├── objects.ts │ ├── objectspool.ts │ └── syncobjectsdatapool.ts │ └── push │ ├── getW3CDeviceDetails.ts │ ├── index.ts │ ├── pushactivation.ts │ └── pushchannel.ts ├── test ├── browser │ ├── connection.test.js │ ├── http.test.js │ ├── modular.test.js │ ├── push.test.js │ └── simple.test.js ├── common │ ├── globals │ │ ├── environment.js │ │ └── named_dependencies.js │ └── modules │ │ ├── client_module.js │ │ ├── objects_helper.js │ │ ├── private_api_recorder.js │ │ ├── shared_helper.js │ │ ├── testapp_manager.js │ │ └── testapp_module.js ├── mocha.html ├── package │ └── browser │ │ └── template │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── playwright-hooks.config.ts │ │ ├── playwright-lib.config.js │ │ ├── playwright │ │ ├── index.html │ │ └── index.tsx │ │ ├── server │ │ ├── resources │ │ │ ├── index-default.html │ │ │ ├── index-modular.html │ │ │ ├── index-objects.html │ │ │ └── runTest.js │ │ └── server.ts │ │ ├── src │ │ ├── ReactApp.tsx │ │ ├── index-default.ts │ │ ├── index-modular.ts │ │ ├── index-objects.ts │ │ ├── sandbox.ts │ │ └── tsconfig.json │ │ ├── test │ │ ├── hooks │ │ │ └── ReactApp.spec.tsx │ │ └── lib │ │ │ └── package.test.ts │ │ └── tsconfig.json ├── playwright.html ├── realtime │ ├── annotations.test.js │ ├── api.test.js │ ├── auth.test.js │ ├── channel.test.js │ ├── connection.test.js │ ├── connectivity.test.js │ ├── crypto.test.js │ ├── delta.test.js │ ├── encoding.test.js │ ├── event_emitter.test.js │ ├── failure.test.js │ ├── history.test.js │ ├── init.test.js │ ├── message.test.js │ ├── objects.test.js │ ├── presence.test.js │ ├── reauth.test.js │ ├── resume.test.js │ ├── sync.test.js │ ├── transports.test.js │ └── utils.test.js ├── rest │ ├── api.test.js │ ├── auth.test.js │ ├── batch.test.js │ ├── bufferutils.test.js │ ├── capability.test.js │ ├── defaults.test.js │ ├── fallbacks.test.js │ ├── history.test.js │ ├── http.test.js │ ├── init.test.js │ ├── message.test.js │ ├── presence.test.js │ ├── push.test.js │ ├── request.test.js │ ├── stats.test.js │ ├── status.test.js │ ├── time.test.js │ └── updates-deletes.test.js ├── support │ ├── browser_file_list.js │ ├── browser_setup.js │ ├── environment.vars.js │ ├── mocha_junit_reporter │ │ ├── index.js │ │ └── shims │ │ │ └── fs.js │ ├── mocha_reporter.js │ ├── modules_helper.js │ ├── output_directory_paths.js │ ├── playwrightSetup.js │ ├── push_channel_transport.js │ ├── push_sw.js │ ├── root_hooks.js │ ├── runPlaywrightTests.js │ └── test_helper.js ├── unit │ └── presencemap.test.js └── web_server.js ├── tools ├── .gitignore └── crypto │ └── generate-test-data.js ├── tsconfig.json ├── typedoc.json ├── typedoc └── landing-page.md ├── vite.config.ts ├── vitest.config.ts └── webpack.config.js /.ably/capabilities.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.ably/capabilities.yaml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/bundle-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/bundle-report.yml -------------------------------------------------------------------------------- /.github/workflows/check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/check.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/features.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/features.yml -------------------------------------------------------------------------------- /.github/workflows/publish-cdn.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/publish-cdn.yml -------------------------------------------------------------------------------- /.github/workflows/react.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/react.yml -------------------------------------------------------------------------------- /.github/workflows/spec-coverage-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/spec-coverage-report.yml -------------------------------------------------------------------------------- /.github/workflows/test-browser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/test-browser.yml -------------------------------------------------------------------------------- /.github/workflows/test-node.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/test-node.yml -------------------------------------------------------------------------------- /.github/workflows/test-package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.github/workflows/test-package.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.gitmodules -------------------------------------------------------------------------------- /.mocharc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.mocharc.js -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- 1 | Copyright 2015-2022 Ably Real-time Ltd (ably.com) 2 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/LICENSE -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | This repository is owned by the Ably SDK team. 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/README.md -------------------------------------------------------------------------------- /ably.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/ably.d.ts -------------------------------------------------------------------------------- /docs/migration-guides/v1/react-hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/docs/migration-guides/v1/react-hooks.md -------------------------------------------------------------------------------- /docs/migration-guides/v2/lib.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/docs/migration-guides/v2/lib.md -------------------------------------------------------------------------------- /docs/migration-guides/v2/react-hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/docs/migration-guides/v2/react-hooks.md -------------------------------------------------------------------------------- /docs/react.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/docs/react.md -------------------------------------------------------------------------------- /grunt/esbuild/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/grunt/esbuild/build.js -------------------------------------------------------------------------------- /grunt/esbuild/strip-logs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/grunt/esbuild/strip-logs.js -------------------------------------------------------------------------------- /images/JavaScriptSDK-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/images/JavaScriptSDK-github.png -------------------------------------------------------------------------------- /modular.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/modular.d.ts -------------------------------------------------------------------------------- /objects.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/objects.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/package.json -------------------------------------------------------------------------------- /push.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/push.d.ts -------------------------------------------------------------------------------- /resources/Browserstack-logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/resources/Browserstack-logo@2x.png -------------------------------------------------------------------------------- /resources/typescript-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/resources/typescript-demo.gif -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/cdn_deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/cdn_deploy.js -------------------------------------------------------------------------------- /scripts/dox.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/dox.d.ts -------------------------------------------------------------------------------- /scripts/moduleReport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/moduleReport.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/dto.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/exclusions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/exclusions.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/grouping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/grouping.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/load.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/load.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/output.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/run.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/runtimeContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/runtimeContext.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/staticContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/staticContext.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/utils.ts -------------------------------------------------------------------------------- /scripts/processPrivateApiData/withoutPrivateAPIUsage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/processPrivateApiData/withoutPrivateAPIUsage.ts -------------------------------------------------------------------------------- /scripts/specCoverageReport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/scripts/specCoverageReport.ts -------------------------------------------------------------------------------- /src/common/constants/HttpMethods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/constants/HttpMethods.ts -------------------------------------------------------------------------------- /src/common/constants/HttpStatusCodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/constants/HttpStatusCodes.ts -------------------------------------------------------------------------------- /src/common/constants/TransportName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/constants/TransportName.ts -------------------------------------------------------------------------------- /src/common/constants/XHRStates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/constants/XHRStates.ts -------------------------------------------------------------------------------- /src/common/lib/client/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/auth.ts -------------------------------------------------------------------------------- /src/common/lib/client/baseclient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/baseclient.ts -------------------------------------------------------------------------------- /src/common/lib/client/baserealtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/baserealtime.ts -------------------------------------------------------------------------------- /src/common/lib/client/baserest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/baserest.ts -------------------------------------------------------------------------------- /src/common/lib/client/channelstatechange.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/channelstatechange.ts -------------------------------------------------------------------------------- /src/common/lib/client/connection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/connection.ts -------------------------------------------------------------------------------- /src/common/lib/client/connectionstatechange.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/connectionstatechange.ts -------------------------------------------------------------------------------- /src/common/lib/client/defaultrealtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/defaultrealtime.ts -------------------------------------------------------------------------------- /src/common/lib/client/defaultrest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/defaultrest.ts -------------------------------------------------------------------------------- /src/common/lib/client/filteredsubscriptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/filteredsubscriptions.ts -------------------------------------------------------------------------------- /src/common/lib/client/modularplugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/modularplugins.ts -------------------------------------------------------------------------------- /src/common/lib/client/paginatedresource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/paginatedresource.ts -------------------------------------------------------------------------------- /src/common/lib/client/presencemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/presencemap.ts -------------------------------------------------------------------------------- /src/common/lib/client/push.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/push.ts -------------------------------------------------------------------------------- /src/common/lib/client/realtimeannotations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/realtimeannotations.ts -------------------------------------------------------------------------------- /src/common/lib/client/realtimechannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/realtimechannel.ts -------------------------------------------------------------------------------- /src/common/lib/client/realtimepresence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/realtimepresence.ts -------------------------------------------------------------------------------- /src/common/lib/client/resource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/resource.ts -------------------------------------------------------------------------------- /src/common/lib/client/rest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/rest.ts -------------------------------------------------------------------------------- /src/common/lib/client/restannotations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/restannotations.ts -------------------------------------------------------------------------------- /src/common/lib/client/restchannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/restchannel.ts -------------------------------------------------------------------------------- /src/common/lib/client/restchannelmixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/restchannelmixin.ts -------------------------------------------------------------------------------- /src/common/lib/client/restpresence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/restpresence.ts -------------------------------------------------------------------------------- /src/common/lib/client/restpresencemixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/client/restpresencemixin.ts -------------------------------------------------------------------------------- /src/common/lib/transport/comettransport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/comettransport.ts -------------------------------------------------------------------------------- /src/common/lib/transport/connectionerrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/connectionerrors.ts -------------------------------------------------------------------------------- /src/common/lib/transport/connectionmanager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/connectionmanager.ts -------------------------------------------------------------------------------- /src/common/lib/transport/messagequeue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/messagequeue.ts -------------------------------------------------------------------------------- /src/common/lib/transport/protocol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/protocol.ts -------------------------------------------------------------------------------- /src/common/lib/transport/transport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/transport.ts -------------------------------------------------------------------------------- /src/common/lib/transport/websockettransport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/transport/websockettransport.ts -------------------------------------------------------------------------------- /src/common/lib/types/annotation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/annotation.ts -------------------------------------------------------------------------------- /src/common/lib/types/basemessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/basemessage.ts -------------------------------------------------------------------------------- /src/common/lib/types/defaultannotation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/defaultannotation.ts -------------------------------------------------------------------------------- /src/common/lib/types/defaultmessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/defaultmessage.ts -------------------------------------------------------------------------------- /src/common/lib/types/defaultpresencemessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/defaultpresencemessage.ts -------------------------------------------------------------------------------- /src/common/lib/types/devicedetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/devicedetails.ts -------------------------------------------------------------------------------- /src/common/lib/types/errorinfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/errorinfo.ts -------------------------------------------------------------------------------- /src/common/lib/types/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/message.ts -------------------------------------------------------------------------------- /src/common/lib/types/presencemessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/presencemessage.ts -------------------------------------------------------------------------------- /src/common/lib/types/protocolmessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/protocolmessage.ts -------------------------------------------------------------------------------- /src/common/lib/types/protocolmessagecommon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/protocolmessagecommon.ts -------------------------------------------------------------------------------- /src/common/lib/types/pushchannelsubscription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/pushchannelsubscription.ts -------------------------------------------------------------------------------- /src/common/lib/types/stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/types/stats.ts -------------------------------------------------------------------------------- /src/common/lib/util/defaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/util/defaults.ts -------------------------------------------------------------------------------- /src/common/lib/util/eventemitter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/util/eventemitter.ts -------------------------------------------------------------------------------- /src/common/lib/util/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/util/logger.ts -------------------------------------------------------------------------------- /src/common/lib/util/multicaster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/util/multicaster.ts -------------------------------------------------------------------------------- /src/common/lib/util/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/lib/util/utils.ts -------------------------------------------------------------------------------- /src/common/platform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/platform.ts -------------------------------------------------------------------------------- /src/common/types/ClientOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/ClientOptions.ts -------------------------------------------------------------------------------- /src/common/types/IBufferUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/IBufferUtils.ts -------------------------------------------------------------------------------- /src/common/types/ICipher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/ICipher.ts -------------------------------------------------------------------------------- /src/common/types/ICryptoStatic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/ICryptoStatic.ts -------------------------------------------------------------------------------- /src/common/types/IDefaults.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/IDefaults.d.ts -------------------------------------------------------------------------------- /src/common/types/IPlatformConfig.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/IPlatformConfig.d.ts -------------------------------------------------------------------------------- /src/common/types/IWebStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/IWebStorage.ts -------------------------------------------------------------------------------- /src/common/types/IXHRRequest.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/IXHRRequest.d.ts -------------------------------------------------------------------------------- /src/common/types/channel.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/channel.d.ts -------------------------------------------------------------------------------- /src/common/types/cryptoDataTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/cryptoDataTypes.ts -------------------------------------------------------------------------------- /src/common/types/globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/globals.d.ts -------------------------------------------------------------------------------- /src/common/types/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/http.ts -------------------------------------------------------------------------------- /src/common/types/msgpack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/msgpack.ts -------------------------------------------------------------------------------- /src/common/types/utils.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/common/types/utils.d.ts -------------------------------------------------------------------------------- /src/fragments/ably.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/fragments/ably.d.ts -------------------------------------------------------------------------------- /src/fragments/license.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/fragments/license.js -------------------------------------------------------------------------------- /src/platform/nativescript/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nativescript/config.js -------------------------------------------------------------------------------- /src/platform/nativescript/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nativescript/index.ts -------------------------------------------------------------------------------- /src/platform/nativescript/lib/util/webstorage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nativescript/lib/util/webstorage.js -------------------------------------------------------------------------------- /src/platform/nodejs/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/config.ts -------------------------------------------------------------------------------- /src/platform/nodejs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/index.ts -------------------------------------------------------------------------------- /src/platform/nodejs/lib/transport/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/transport/index.ts -------------------------------------------------------------------------------- /src/platform/nodejs/lib/transport/nodecomettransport.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/transport/nodecomettransport.d.ts -------------------------------------------------------------------------------- /src/platform/nodejs/lib/transport/nodecomettransport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/transport/nodecomettransport.js -------------------------------------------------------------------------------- /src/platform/nodejs/lib/util/bufferutils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/util/bufferutils.ts -------------------------------------------------------------------------------- /src/platform/nodejs/lib/util/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/util/crypto.ts -------------------------------------------------------------------------------- /src/platform/nodejs/lib/util/defaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/util/defaults.ts -------------------------------------------------------------------------------- /src/platform/nodejs/lib/util/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/nodejs/lib/util/http.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/.eslintrc.json -------------------------------------------------------------------------------- /src/platform/react-hooks/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/.gitignore -------------------------------------------------------------------------------- /src/platform/react-hooks/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/CHANGELOG.md -------------------------------------------------------------------------------- /src/platform/react-hooks/res/package.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /src/platform/react-hooks/res/package.mjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /src/platform/react-hooks/res/package.react.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "./cjs/index.js" 3 | } 4 | -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/sample-app/index.html -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/sample-app/src/App.css -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/sample-app/src/App.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/sample-app/src/logo.svg -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/src/script.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/sample-app/src/script.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/sample-app/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/sample-app/src/vite-env.d.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/AblyContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/AblyContext.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/AblyProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/AblyProvider.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/AblyReactHooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/AblyReactHooks.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/ChannelProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/ChannelProvider.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/fakes/ably.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/fakes/ably.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/constants.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useAbly.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useAbly.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannel.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannel.test.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannel.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannelAttach.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannelAttach.test.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannelAttach.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannelAttach.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannelInstance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannelInstance.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannelStateListener.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannelStateListener.test.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useChannelStateListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useChannelStateListener.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useConnectionStateListener.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useConnectionStateListener.test.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useConnectionStateListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useConnectionStateListener.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useEventListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useEventListener.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/usePresence.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/usePresence.test.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/usePresence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/usePresence.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/usePresenceListener.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/usePresenceListener.test.tsx -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/usePresenceListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/usePresenceListener.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/hooks/useStateErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/hooks/useStateErrors.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/index.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/src/utils.ts -------------------------------------------------------------------------------- /src/platform/react-hooks/tsconfig.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/tsconfig.cjs.json -------------------------------------------------------------------------------- /src/platform/react-hooks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/tsconfig.json -------------------------------------------------------------------------------- /src/platform/react-hooks/tsconfig.mjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/tsconfig.mjs.json -------------------------------------------------------------------------------- /src/platform/react-hooks/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-hooks/vite.config.ts -------------------------------------------------------------------------------- /src/platform/react-native/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-native/config.ts -------------------------------------------------------------------------------- /src/platform/react-native/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/react-native/index.ts -------------------------------------------------------------------------------- /src/platform/web/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/config.ts -------------------------------------------------------------------------------- /src/platform/web/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/index.ts -------------------------------------------------------------------------------- /src/platform/web/lib/http/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/http/http.ts -------------------------------------------------------------------------------- /src/platform/web/lib/http/request/fetchrequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/http/request/fetchrequest.ts -------------------------------------------------------------------------------- /src/platform/web/lib/http/request/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/http/request/index.ts -------------------------------------------------------------------------------- /src/platform/web/lib/http/request/xhrrequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/http/request/xhrrequest.ts -------------------------------------------------------------------------------- /src/platform/web/lib/transport/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/transport/index.ts -------------------------------------------------------------------------------- /src/platform/web/lib/transport/xhrpollingtransport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/transport/xhrpollingtransport.ts -------------------------------------------------------------------------------- /src/platform/web/lib/util/bufferutils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/bufferutils.ts -------------------------------------------------------------------------------- /src/platform/web/lib/util/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/crypto.ts -------------------------------------------------------------------------------- /src/platform/web/lib/util/defaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/defaults.ts -------------------------------------------------------------------------------- /src/platform/web/lib/util/domevent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/domevent.js -------------------------------------------------------------------------------- /src/platform/web/lib/util/hmac-sha256.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/hmac-sha256.ts -------------------------------------------------------------------------------- /src/platform/web/lib/util/msgpack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/msgpack.ts -------------------------------------------------------------------------------- /src/platform/web/lib/util/webstorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/lib/util/webstorage.ts -------------------------------------------------------------------------------- /src/platform/web/modular.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular.ts -------------------------------------------------------------------------------- /src/platform/web/modular/annotations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/annotations.ts -------------------------------------------------------------------------------- /src/platform/web/modular/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/crypto.ts -------------------------------------------------------------------------------- /src/platform/web/modular/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/http.ts -------------------------------------------------------------------------------- /src/platform/web/modular/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/message.ts -------------------------------------------------------------------------------- /src/platform/web/modular/msgpack.ts: -------------------------------------------------------------------------------- 1 | export { default as MsgPack } from '../lib/util/msgpack'; 2 | -------------------------------------------------------------------------------- /src/platform/web/modular/presencemessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/presencemessage.ts -------------------------------------------------------------------------------- /src/platform/web/modular/realtimepresence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/realtimepresence.ts -------------------------------------------------------------------------------- /src/platform/web/modular/transports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/platform/web/modular/transports.ts -------------------------------------------------------------------------------- /src/plugins/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/index.d.ts -------------------------------------------------------------------------------- /src/plugins/objects/batchcontext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/batchcontext.ts -------------------------------------------------------------------------------- /src/plugins/objects/batchcontextlivecounter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/batchcontextlivecounter.ts -------------------------------------------------------------------------------- /src/plugins/objects/batchcontextlivemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/batchcontextlivemap.ts -------------------------------------------------------------------------------- /src/plugins/objects/defaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/defaults.ts -------------------------------------------------------------------------------- /src/plugins/objects/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/index.ts -------------------------------------------------------------------------------- /src/plugins/objects/livecounter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/livecounter.ts -------------------------------------------------------------------------------- /src/plugins/objects/livemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/livemap.ts -------------------------------------------------------------------------------- /src/plugins/objects/liveobject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/liveobject.ts -------------------------------------------------------------------------------- /src/plugins/objects/objectid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/objectid.ts -------------------------------------------------------------------------------- /src/plugins/objects/objectmessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/objectmessage.ts -------------------------------------------------------------------------------- /src/plugins/objects/objects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/objects.ts -------------------------------------------------------------------------------- /src/plugins/objects/objectspool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/objectspool.ts -------------------------------------------------------------------------------- /src/plugins/objects/syncobjectsdatapool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/objects/syncobjectsdatapool.ts -------------------------------------------------------------------------------- /src/plugins/push/getW3CDeviceDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/push/getW3CDeviceDetails.ts -------------------------------------------------------------------------------- /src/plugins/push/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/push/index.ts -------------------------------------------------------------------------------- /src/plugins/push/pushactivation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/push/pushactivation.ts -------------------------------------------------------------------------------- /src/plugins/push/pushchannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/src/plugins/push/pushchannel.ts -------------------------------------------------------------------------------- /test/browser/connection.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/browser/connection.test.js -------------------------------------------------------------------------------- /test/browser/http.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/browser/http.test.js -------------------------------------------------------------------------------- /test/browser/modular.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/browser/modular.test.js -------------------------------------------------------------------------------- /test/browser/push.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/browser/push.test.js -------------------------------------------------------------------------------- /test/browser/simple.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/browser/simple.test.js -------------------------------------------------------------------------------- /test/common/globals/environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/globals/environment.js -------------------------------------------------------------------------------- /test/common/globals/named_dependencies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/globals/named_dependencies.js -------------------------------------------------------------------------------- /test/common/modules/client_module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/modules/client_module.js -------------------------------------------------------------------------------- /test/common/modules/objects_helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/modules/objects_helper.js -------------------------------------------------------------------------------- /test/common/modules/private_api_recorder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/modules/private_api_recorder.js -------------------------------------------------------------------------------- /test/common/modules/shared_helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/modules/shared_helper.js -------------------------------------------------------------------------------- /test/common/modules/testapp_manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/modules/testapp_manager.js -------------------------------------------------------------------------------- /test/common/modules/testapp_module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/common/modules/testapp_module.js -------------------------------------------------------------------------------- /test/mocha.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/mocha.html -------------------------------------------------------------------------------- /test/package/browser/template/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/.gitignore -------------------------------------------------------------------------------- /test/package/browser/template/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/README.md -------------------------------------------------------------------------------- /test/package/browser/template/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/package-lock.json -------------------------------------------------------------------------------- /test/package/browser/template/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/package.json -------------------------------------------------------------------------------- /test/package/browser/template/playwright-hooks.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/playwright-hooks.config.ts -------------------------------------------------------------------------------- /test/package/browser/template/playwright-lib.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/playwright-lib.config.js -------------------------------------------------------------------------------- /test/package/browser/template/playwright/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/playwright/index.html -------------------------------------------------------------------------------- /test/package/browser/template/playwright/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/playwright/index.tsx -------------------------------------------------------------------------------- /test/package/browser/template/server/resources/index-default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/server/resources/index-default.html -------------------------------------------------------------------------------- /test/package/browser/template/server/resources/index-modular.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/server/resources/index-modular.html -------------------------------------------------------------------------------- /test/package/browser/template/server/resources/index-objects.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/server/resources/index-objects.html -------------------------------------------------------------------------------- /test/package/browser/template/server/resources/runTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/server/resources/runTest.js -------------------------------------------------------------------------------- /test/package/browser/template/server/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/server/server.ts -------------------------------------------------------------------------------- /test/package/browser/template/src/ReactApp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/src/ReactApp.tsx -------------------------------------------------------------------------------- /test/package/browser/template/src/index-default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/src/index-default.ts -------------------------------------------------------------------------------- /test/package/browser/template/src/index-modular.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/src/index-modular.ts -------------------------------------------------------------------------------- /test/package/browser/template/src/index-objects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/src/index-objects.ts -------------------------------------------------------------------------------- /test/package/browser/template/src/sandbox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/src/sandbox.ts -------------------------------------------------------------------------------- /test/package/browser/template/src/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/src/tsconfig.json -------------------------------------------------------------------------------- /test/package/browser/template/test/hooks/ReactApp.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/test/hooks/ReactApp.spec.tsx -------------------------------------------------------------------------------- /test/package/browser/template/test/lib/package.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/test/lib/package.test.ts -------------------------------------------------------------------------------- /test/package/browser/template/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/package/browser/template/tsconfig.json -------------------------------------------------------------------------------- /test/playwright.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/playwright.html -------------------------------------------------------------------------------- /test/realtime/annotations.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/annotations.test.js -------------------------------------------------------------------------------- /test/realtime/api.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/api.test.js -------------------------------------------------------------------------------- /test/realtime/auth.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/auth.test.js -------------------------------------------------------------------------------- /test/realtime/channel.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/channel.test.js -------------------------------------------------------------------------------- /test/realtime/connection.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/connection.test.js -------------------------------------------------------------------------------- /test/realtime/connectivity.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/connectivity.test.js -------------------------------------------------------------------------------- /test/realtime/crypto.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/crypto.test.js -------------------------------------------------------------------------------- /test/realtime/delta.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/delta.test.js -------------------------------------------------------------------------------- /test/realtime/encoding.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/encoding.test.js -------------------------------------------------------------------------------- /test/realtime/event_emitter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/event_emitter.test.js -------------------------------------------------------------------------------- /test/realtime/failure.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/failure.test.js -------------------------------------------------------------------------------- /test/realtime/history.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/history.test.js -------------------------------------------------------------------------------- /test/realtime/init.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/init.test.js -------------------------------------------------------------------------------- /test/realtime/message.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/message.test.js -------------------------------------------------------------------------------- /test/realtime/objects.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/objects.test.js -------------------------------------------------------------------------------- /test/realtime/presence.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/presence.test.js -------------------------------------------------------------------------------- /test/realtime/reauth.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/reauth.test.js -------------------------------------------------------------------------------- /test/realtime/resume.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/resume.test.js -------------------------------------------------------------------------------- /test/realtime/sync.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/sync.test.js -------------------------------------------------------------------------------- /test/realtime/transports.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/transports.test.js -------------------------------------------------------------------------------- /test/realtime/utils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/realtime/utils.test.js -------------------------------------------------------------------------------- /test/rest/api.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/api.test.js -------------------------------------------------------------------------------- /test/rest/auth.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/auth.test.js -------------------------------------------------------------------------------- /test/rest/batch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/batch.test.js -------------------------------------------------------------------------------- /test/rest/bufferutils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/bufferutils.test.js -------------------------------------------------------------------------------- /test/rest/capability.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/capability.test.js -------------------------------------------------------------------------------- /test/rest/defaults.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/defaults.test.js -------------------------------------------------------------------------------- /test/rest/fallbacks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/fallbacks.test.js -------------------------------------------------------------------------------- /test/rest/history.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/history.test.js -------------------------------------------------------------------------------- /test/rest/http.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/http.test.js -------------------------------------------------------------------------------- /test/rest/init.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/init.test.js -------------------------------------------------------------------------------- /test/rest/message.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/message.test.js -------------------------------------------------------------------------------- /test/rest/presence.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/presence.test.js -------------------------------------------------------------------------------- /test/rest/push.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/push.test.js -------------------------------------------------------------------------------- /test/rest/request.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/request.test.js -------------------------------------------------------------------------------- /test/rest/stats.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/stats.test.js -------------------------------------------------------------------------------- /test/rest/status.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/status.test.js -------------------------------------------------------------------------------- /test/rest/time.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/time.test.js -------------------------------------------------------------------------------- /test/rest/updates-deletes.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/rest/updates-deletes.test.js -------------------------------------------------------------------------------- /test/support/browser_file_list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/browser_file_list.js -------------------------------------------------------------------------------- /test/support/browser_setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/browser_setup.js -------------------------------------------------------------------------------- /test/support/environment.vars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/environment.vars.js -------------------------------------------------------------------------------- /test/support/mocha_junit_reporter/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/mocha_junit_reporter/index.js -------------------------------------------------------------------------------- /test/support/mocha_junit_reporter/shims/fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/mocha_junit_reporter/shims/fs.js -------------------------------------------------------------------------------- /test/support/mocha_reporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/mocha_reporter.js -------------------------------------------------------------------------------- /test/support/modules_helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/modules_helper.js -------------------------------------------------------------------------------- /test/support/output_directory_paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/output_directory_paths.js -------------------------------------------------------------------------------- /test/support/playwrightSetup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/playwrightSetup.js -------------------------------------------------------------------------------- /test/support/push_channel_transport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/push_channel_transport.js -------------------------------------------------------------------------------- /test/support/push_sw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/push_sw.js -------------------------------------------------------------------------------- /test/support/root_hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/root_hooks.js -------------------------------------------------------------------------------- /test/support/runPlaywrightTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/runPlaywrightTests.js -------------------------------------------------------------------------------- /test/support/test_helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/support/test_helper.js -------------------------------------------------------------------------------- /test/unit/presencemap.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/unit/presencemap.test.js -------------------------------------------------------------------------------- /test/web_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/test/web_server.js -------------------------------------------------------------------------------- /tools/.gitignore: -------------------------------------------------------------------------------- 1 | closure-compiler 2 | 3 | -------------------------------------------------------------------------------- /tools/crypto/generate-test-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/tools/crypto/generate-test-data.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/typedoc.json -------------------------------------------------------------------------------- /typedoc/landing-page.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/typedoc/landing-page.md -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ably/ably-js/HEAD/webpack.config.js --------------------------------------------------------------------------------