Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superagent replacement and web worker for web #367

Merged
merged 34 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4092543
wip
parfeon Feb 23, 2024
0b11024
Merge branch 'master' into feature/network-provider-interfaces
parfeon Feb 23, 2024
d546dff
feat(browser): replace `superagent` with web worker
parfeon Mar 29, 2024
d3261a2
fix(subscribe): fix passed methods scope binding
parfeon Apr 1, 2024
eae2d35
fix(web): fix SDK family for Web package
parfeon Apr 1, 2024
d7c49e2
fix(worker): fix Web Worker load mechanism Chrome compatibility
parfeon Apr 1, 2024
12e87ed
Merge branch 'feature/network-provider-interfaces' of github.com:pubn…
parfeon Apr 1, 2024
a0da6d8
build: bumped minimum NodeJS version for tests
parfeon Apr 1, 2024
5040e5c
fix(subscription): fix subscription manager
parfeon Apr 2, 2024
b90835e
refactor(worker): migrate from `Web` to `Service` Worker
parfeon Apr 15, 2024
a94df08
fix(lint): exclude import line from check
parfeon Apr 16, 2024
780b1b4
test: print actual assertion reason
parfeon Apr 16, 2024
225b397
test: add payload debug output)
parfeon Apr 16, 2024
780fa90
test: upgrade cucumber modules
parfeon Apr 16, 2024
a20ebf9
fix: error message format for backward compatibility
parfeon Apr 16, 2024
6dbc387
build(workflow): add environment keys
parfeon Apr 16, 2024
727a65b
build(react-native): return pre-built React Native libs
parfeon Apr 17, 2024
313f48e
Merge branch 'feature/network-provider-interfaces' of github.com:pubn…
parfeon Apr 17, 2024
05d74a3
refactor(react-native): add polyfill for encoder and decoder
parfeon Apr 17, 2024
050a463
fix: event-engine test steps type issues
mohitpubnub Apr 18, 2024
d7cf6ca
fix: acceptance test tsconfig.json for implicit any types
mohitpubnub Apr 18, 2024
0445820
Merge branch 'master' into feature/network-provider-interfaces
parfeon Apr 18, 2024
6f73dae
test: fix acceptance tests runner
parfeon Apr 18, 2024
7fd473c
refactor(react-native): add 'URL.pathname' polyfill
parfeon Apr 18, 2024
8a9ac53
test(contract): fix decorator pattern for subscribe restore
parfeon Apr 18, 2024
d732b4e
test(contract): add small delay for event engine log check
parfeon Apr 18, 2024
6a34592
fix(presence-event-engine): fix leave call
parfeon Apr 18, 2024
7850412
test(event-engine): fix content type in mock for EE unit test
parfeon Apr 18, 2024
6bc21fa
fix(web-crypto): fix issues with cross SDK compatibility
parfeon Apr 19, 2024
096315f
refactor(service-worker): unresponsive clients clean up
parfeon Apr 22, 2024
db58678
fix(build): fix compiled lib import
parfeon Apr 22, 2024
50ed4f7
test: update runner environment with proper keys
parfeon Apr 22, 2024
7e5f0dd
PubNub SDK v8.0.0 release.
pubnub-release-bot Apr 22, 2024
ffed6a6
Update configuration.ts
parfeon Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/release/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"clearedSuffix": false
}
],
"src/core/components/config.js": [
"src/core/components/configuration.ts": [
{
"pattern": "^\\s{2,}return '(v?(\\.?\\d+){2,}([a-zA-Z0-9-]+(\\.?\\d+)?)?)';$",
"clearedPrefix": true,
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ defaults:
shell: bash
env:
CXX: 'g++-4.8'
PAM_SUBSCRIBE_KEY: ${{ secrets.TESTS_PAM_SUBSCRIBE_KEY }}
PAM_PUBLISH_KEY: ${{ secrets.TESTS_PAM_PUBLISH_KEY }}
SUBSCRIBE_KEY: ${{ secrets.TESTS_PUBLISH_KEY }}
PUBLISH_KEY: ${{ secrets.TESTS_SUBSCRIBE_KEY }}

jobs:
tests:
Expand All @@ -19,10 +23,10 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [14, 16]
node: [18.18.0, 20]
env: ['ci:node']
include:
- node: 16
- node: 18.18.0
env: 'ci:web'
steps:
- name: Checkout repository
Expand Down Expand Up @@ -53,4 +57,4 @@ jobs:
needs: [tests]
steps:
- name: Tests summary
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed"
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed"
10 changes: 10 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"require": "tsx",
"spec": "test/**/*.test.ts",
"exclude": [
"test/dist/*.{js,ts}",
"test/feature/*.{js,ts}"
],
"timeout": 5000,
"reporter": "spec"
}
7 changes: 0 additions & 7 deletions .mocharc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion cucumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = {
'--format summary',
'--format progress-bar',
// '--format @cucumber/pretty-formatter',
'--publish-quiet',
// '--publish-quiet',
].join(' '),
};
Loading
Loading