Skip to content

Commit

Permalink
Merge pull request #600 from pusher/fix_exported_ts_types
Browse files Browse the repository at this point in the history
Fix exported TS types
  • Loading branch information
MeenaAlfons authored Jun 1, 2022
2 parents 514b5d6 + 84e1092 commit 7ec53e2
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 85 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 7.1.1-beta

[FIXED] Exported Typescript types in index.d.ts

## 7.1.0-beta

[ADDED] Support for authenticating users with the `signin` method
Expand Down
4 changes: 2 additions & 2 deletions dist/node/pusher.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/node/pusher.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/react-native/pusher.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-native/pusher.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pusher-with-encryption.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web/pusher-with-encryption.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pusher-with-encryption.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web/pusher-with-encryption.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pusher.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web/pusher.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pusher.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web/pusher.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/worker/pusher-with-encryption.worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/worker/pusher-with-encryption.worker.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/worker/pusher-with-encryption.worker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/worker/pusher-with-encryption.worker.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/worker/pusher.worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/worker/pusher.worker.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/worker/pusher.worker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/worker/pusher.worker.min.js.map

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
export {
Authorizer,
DeprecatedAuthOptions,
ChannelAuthorizerGenerator,
} from './types/src/core/auth/deprecated_channel_authorizer';
export {
AuthOptions,
AuthorizerGenerator,
AuthorizerCallback,
ChannelAuthorizationHandler,
UserAuthenticationHandler,
ChannelAuthorizationCallback,
UserAuthenticationCallback,
} from './types/src/core/auth/options';
export { Options } from './types/src/core/options'

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusher-js",
"version": "7.1.0-beta",
"version": "7.1.1-beta",
"description": "Pusher Channels JavaScript library for browsers, React Native, NodeJS and web workers",
"main": "dist/node/pusher.js",
"browser": "dist/web/pusher.js",
Expand Down
15 changes: 0 additions & 15 deletions types/index.d.ts

This file was deleted.

13 changes: 0 additions & 13 deletions types/src/core/auth/pusher_authorizer.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions types/src/core/auth/user_authorizer.d.ts

This file was deleted.

6 changes: 0 additions & 6 deletions types/src/core/index.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions types/src/runtimes/react-native/tweetnacl-dummy.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions types/src/runtimes/react-native/tweetnacl-util-dummy.d.ts

This file was deleted.

0 comments on commit 7ec53e2

Please sign in to comment.