skygear-SDK-JS
skygear-SDK-JS copied to clipboard
Skygear SDK for JavaScript
- [ ] The definition of Identity has changed. - [ ] MFA
- Skygear SDK Date/Version: 1.7.2 - JS runtime: - Skygear Server Date/Version: - [ ] Is this a regression? - [ ] Attached logs, screenshots #### Expected Results Popup should...
If supplied with `DATABASE_URL` without auth (e.g. `postgresql:///mydb`, which is a valid connection string accepted by `psql`), `skygear-node` crashes. ```sh > DATABASE_URL=postgresql:///mydb ./node_modules/.bin/skygear-node /Users/limouren/myproject/node_modules/skygear-core/dist/cloud/pg.js:38 var auth = params.auth.split(':'); ^ TypeError:...
Currently we just `JSON.stringify(e)` but this expression gives `{}`. We should classify `instanceof` `Error` and `SkygearError` to format error with more information.
## Scenario In case of React Native, we have three SDKs. Typically the user signs in one of the SDK. The state of the SDK should be shared across JavaScript...
This error is thrown in browser in a webpack project. ``` browser.js:2 Uncaught TypeError: Cannot read property 'WebSocket' of undefined at Object. (browser.js:2) at __webpack_require__ (bootstrap 9d9eeff259ebc6257fd0:676) at fn (bootstrap...
Consider two apps App A and App B being deployed on `http://example.com/a` and `http://example.com/b` respectively (Note that they are on the same host). 1. Visit App A 2. Open inspector...
Consider this hook registration: ```js skygearCloud.beforeSave('record', () => { console.log('beforeSave') }) ``` `skygear-node` would fail to start on MacOS. Related portion of stack trace: ``` (node:27631) UnhandledPromiseRejectionWarning: Error: Digest method...