Skip to content

Commit

Permalink
Release 7.8.1: Fix bad import (#677)
Browse files Browse the repository at this point in the history
Fix bad import in Observer.ts
  • Loading branch information
Aschen authored Jan 4, 2022
1 parent c32abb4 commit 0a1e26b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/actions/tests-ac/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ runs:
- name: Setup Admin console
run: |
export SDK_DIR="$(pwd)"
yarn build
find . -name "*.ts" | xargs rm
git clone -b 4-dev https://github.com/kuzzleio/kuzzle-admin-console /tmp/admin-console
cp -f ./cypress.json /tmp/admin-console/cypress.json
cd /tmp/admin-console
yarn
yarn add kuzzle-sdk-v7.6.1@"$SDK_DIR"
yarn add kuzzle-sdk-v7@"$SDK_DIR"
yarn build
shell: bash
- name: Run e2e tests
Expand All @@ -33,5 +35,5 @@ runs:
cd /tmp/admin-console
CYPRESS_RETRIES=5 npm run test:e2e -- --backend=2
env:
CYPRESS_RECORD_KEY: ${{ inputs.cypress-key }}
CYPRESS_RECORD_KEY: ${{ inputs.cypress-key }}
shell: bash
2 changes: 1 addition & 1 deletion 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": "kuzzle-sdk",
"version": "7.8.0",
"version": "7.8.1",
"description": "Official Javascript SDK for Kuzzle",
"author": "The Kuzzle Team <[email protected]>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Kuzzle } from '../Kuzzle';
import { RealtimeDocument } from './RealtimeDocument';
import { Document, DocumentNotification, JSONObject } from '../types';
import { RealtimeDocumentSearchResult } from './searchResult/RealtimeDocument';
import { ArgsDocumentControllerGet, ArgsDocumentControllerMGet, ArgsDocumentControllerSearch } from 'src/controllers/Document';
import { ArgsDocumentControllerGet, ArgsDocumentControllerMGet, ArgsDocumentControllerSearch } from '../controllers/Document';

/**
* Class based on a Set<string> that holds the observed documents IDs of
Expand Down

0 comments on commit 0a1e26b

Please sign in to comment.