Skip to content

Commit 52e7be8

Browse files
committed
rec.la => loopback.dev and fixing browser tests
1 parent d202d04 commit 52e7be8

33 files changed

Lines changed: 1093 additions & 883 deletions

components/pryv-monitor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pryv/monitor",
3-
"version": "2.3.7",
3+
"version": "2.3.8",
44
"description": "Extends `pryv` with event-driven notifications for changes on a Pryv.io account",
55
"keywords": [
66
"Pryv",

components/pryv-monitor/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function (pryv) {
3535
*/
3636

3737
/**
38-
* A scope corresponding to EventGetParameters @see https://l.rec.la:4443/reference#get-events
38+
* A scope corresponding to EventGetParameters @see https://l.backloop.dev:4443/reference#get-events
3939
* Property `limit` cannot be specified;
4040
* @typedef {Object} pryv.Monitor.Scope
4141
* @property {timestamp} [fromTime=TIMERANGE_MIN] (in seconds)

components/pryv-socket.io/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Once the add-on is loaded, `pryv.Connection` instances expose the `socket` prope
5555
const pryv = require('pryv');
5656
require('@pryv/socket.io')(pryv);
5757

58-
const apiEndpoint = 'https://{token}@my-computer.rec.la:4443/{username}/';
58+
const apiEndpoint = 'https://{token}@my-computer.backloop.dev:4443/{username}/';
5959
(async () => {
6060
const conn = new pryv.Connection(apiEndpoint);
6161
try {
@@ -77,7 +77,7 @@ const apiEndpoint = 'https://{token}@my-computer.rec.la:4443/{username}/';
7777
<script src="https://api.pryv.com/lib-js-socket.io/pryv-socket.io.js"></script>
7878

7979
<script>
80-
const apiEndpoint = 'https://{token}@my-computer.rec.la:4443/{username}/';
80+
const apiEndpoint = 'https://{token}@my-computer.backloop.dev:4443/{username}/';
8181
(async function () { 
8282
try {
8383
await conn.socket.open();

components/pryv-socket.io/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pryv/socket.io",
3-
"version": "2.3.7",
3+
"version": "2.3.8",
44
"description": "Extends `pryv` with Socket.IO transport",
55
"keywords": [
66
"Pryv",

components/pryv/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -648,11 +648,11 @@ There is a possibility that you would like to register the user in another page.
648648

649649
You can find HTML examples in the [`./examples`](https://github.com/pryv/lib-js/blob/master/examples) directory. You can run them in two ways:
650650

651-
1. With [rec.la](https://github.com/pryv/rec.la), which allows to run local code with a valid SSL certificate (you must have run `just build` beforehand):
651+
1. With [backloop.dev](https://github.com/pryv/backloop.dev), which allows to run local code with a valid SSL certificate (you must have run `just build` beforehand):
652652
```
653653
just serve
654654
```
655-
then open the desired example page (e.g. [https://l.rec.la:9443/examples/auth.html](https://l.rec.la:9443/examples/auth.html)
655+
then open the desired example page (e.g. [https://l.backloop.dev:9443/examples/auth.html](https://l.backloop.dev:9443/examples/auth.html)
656656
2. As a simple HTML file, passing service information as JSON to avoid CORS issues
657657

658658

@@ -676,6 +676,8 @@ The project is structured as a monorepo with components (a.k.a. workspaces in NP
676676
- `pryv-socket.io`: Socket.IO add-on
677677
- `pryv-monitor`: Monitor add-on
678678

679+
680+
679681
The code follows the [Semi-Standard](https://github.com/standard/semistandard) style.
680682

681683
### Building for the browser
@@ -707,7 +709,7 @@ TEST_PRYVLIB_SERVICEINFO_URL="https://reg.${DOMAIN}/service/info" just test all
707709
To run the tests against _in-development_ API server components (e.g. open-source or Entreprise), set `TEST_PRYVLIB_DNSLESS_URL`; for example:
708710

709711
```bash
710-
TEST_PRYVLIB_DNSLESS_URL="http://l.rec.la:3000/ just test all
712+
TEST_PRYVLIB_DNSLESS_URL="http://l.backloop.dev:3000/ just test all
711713
```
712714
713715
#### Browser

components/pryv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pryv",
3-
"version": "2.3.7",
3+
"version": "2.3.8",
44
"description": "Pryv JavaScript library",
55
"keywords": [
66
"Pryv",

components/pryv/test/browser-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<body>
99
<div id="mocha"></div>
10-
<script src="https://unpkg.com/chai/chai.js"></script>
10+
<script src="https://unpkg.com/chai@4.3.7/chai.js"></script>
1111
<script src="https://unpkg.com/mocha/mocha.js"></script>
1212

1313
<script class="mocha-init">

examples/auth-with-redirection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1>Example: Auth with redirection</h1>
5151
level: 'read',
5252
}],
5353
// the login page where user will be redirected
54-
returnURL: 'https://l.rec.la:9443/demos/auth-with-redirection.html#'
54+
returnURL: 'https://l.backloop.dev:9443/demos/auth-with-redirection.html#'
5555
}
5656
};
5757

justfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ test-cover component *params:
6060

6161
# Run browser tests (assumes browser files are built)
6262
test-browser:
63-
(sleep 1 && open https://l.rec.la:8443/?pryvServiceInfoUrl=https://zou.zou/service/info) &
64-
rec.la ./test-browser 8443
63+
(sleep 1 && open https://l.backloop.dev:8443/?pryvServiceInfoUrl=https://zou.zou/service/info) &
64+
backloop.dev ./test-browser 8443
6565

66-
# Start a `rec.la` web server on `dist/`
66+
# Start a `backloop.dev` web server on `dist/`
6767
serve:
68-
(sleep 1 && open https://l.rec.la:9443/) &
69-
rec.la ./dist 9443
68+
(sleep 1 && open https://l.backloop.dev:9443/) &
69+
backloop.dev ./dist 9443
7070

7171
# –––––––––––––----------------------------------------------------------------
7272
# Misc. utils

0 commit comments

Comments
 (0)