@oblax/platform-mobile 2.0.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { MobilePlatform } from './platform.js';
14
14
  * import { Auth } from '@oblax/auth'
15
15
  *
16
16
  * const oblax = new Oblax({
17
- * endpoint: 'https://api.my-app.oblax.io',
17
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
18
18
  * clientId: 'my-mobile-app',
19
19
  * modules: [PlatformMobile(), Auth({ realm: 'mobile' })],
20
20
  * })
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ export { MobilePlatform } from './platform.js';
13
13
  * import { Auth } from '@oblax/auth'
14
14
  *
15
15
  * const oblax = new Oblax({
16
- * endpoint: 'https://api.my-app.oblax.io',
16
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
17
17
  * clientId: 'my-mobile-app',
18
18
  * modules: [PlatformMobile(), Auth({ realm: 'mobile' })],
19
19
  * })
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oblax/platform-mobile",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "Oblax SDK — mobile platform (React Native, AsyncStorage token persistence)",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Oblax SDK for JavaScript Team",
8
- "url": "https://docs.oblax.io/docs/getting-started/your-first-sdk-call"
8
+ "url": "https://docs.oblax.io/docs/getting-started/first-call/"
9
9
  },
10
10
  "homepage": "https://github.com/oblaxio/oblax-sdk-js#readme",
11
11
  "repository": {
@@ -40,12 +40,12 @@
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@react-native-async-storage/async-storage": "^1.19.0",
43
- "@oblax/core": "^2.0.0"
43
+ "@oblax/core": "^2.2.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@react-native-async-storage/async-storage": "^1.19.0",
47
47
  "typescript": "^5.5.0",
48
- "@oblax/core": "2.0.0"
48
+ "@oblax/core": "2.2.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsc --build tsconfig.json",