@gjsify/system-accounts 0.64.58 → 0.64.60-next.368

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/README.md CHANGED
@@ -48,7 +48,8 @@ for (const account of await accounts.listAccounts('mail')) {
48
48
  |---|---|
49
49
  | Linux, GNOME | **driver**: GNOME Online Accounts through `libgoa` (`gi://Goa?version=1.0&optional`) when the typelib is present, otherwise straight over D-Bus (`org.gnome.OnlineAccounts`, Gio only). Flatpak runtimes ship no libgoa (org.gnome.Platform 51: none), so a sandboxed app with `--talk-name=org.gnome.OnlineAccounts` takes the D-Bus path. With no daemon reachable both answer empty capabilities-style: no accounts, `no-account-store`, retried on the next call |
50
50
  | Linux without GOA, macOS, Windows | no driver; empty capabilities. Whether a platform offers a usable account store to third-party apps is **unexplored**, not ruled out |
51
- | Android, iOS, browser | not served (`gjsify.runtimes`: only `gjs` is `native`) |
51
+ | Android, iOS (NativeScript) | no driver, **by decision** (ADR 0152): no system account store is exposed to apps, so `createSystemAccounts()` answers empty capabilities (`system-accounts.android.ts` / `.ios.ts`, no `gi://` in the bundle). App-owned secrets go to `@gjsify/secret-store` (Android driver `@gjsify/native-secret-store-bridge`; the iOS Keychain driver is not written yet) |
52
+ | browser | not served |
52
53
 
53
54
  IMAP and SMTP passwords are looked up under the ids GOA keeps them under (`imap-password`, `smtp-password`); SMTP falls back to the stored IMAP password, because one login often serves both.
54
55
 
@@ -0,0 +1 @@
1
+ import"./_virtual/_rolldown/runtime.js";import{noAccountStore as e}from"./no-account-store.js";function createSystemAccounts(){return e}export{createSystemAccounts};
@@ -0,0 +1 @@
1
+ import"./_virtual/_rolldown/runtime.js";import{noAccountStore as e}from"./no-account-store.js";function createSystemAccounts(){return e}export{createSystemAccounts};
@@ -0,0 +1,2 @@
1
+ import type { SystemAccounts } from './types.js';
2
+ export declare function createSystemAccounts(): SystemAccounts;
@@ -0,0 +1,2 @@
1
+ import type { SystemAccounts } from './types.js';
2
+ export declare function createSystemAccounts(): SystemAccounts;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => Promise<void>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/system-accounts",
3
- "version": "0.64.58",
3
+ "version": "0.64.60-next.368",
4
4
  "description": "The accounts a user already set up on their system: find them, read their mail server settings, get credentials. GNOME Online Accounts on Linux.",
5
5
  "module": "lib/esm/index.js",
6
6
  "types": "lib/types/index.d.ts",
@@ -47,8 +47,8 @@
47
47
  "@girs/goa-1.0": "5.4.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@gjsify/cli": "0.64.58",
51
- "@gjsify/unit": "0.64.58",
50
+ "@gjsify/cli": "0.64.60-next.368",
51
+ "@gjsify/unit": "0.64.60-next.368",
52
52
  "typescript": "^6.0.3"
53
53
  },
54
54
  "license": "MIT",
@@ -67,7 +67,7 @@
67
67
  "gjs": "native",
68
68
  "node": "none",
69
69
  "browser": "none",
70
- "nativescript": "none"
70
+ "nativescript": "partial"
71
71
  },
72
72
  "headless": [
73
73
  "Gdk",
@@ -84,6 +84,11 @@
84
84
  "osNotes": {
85
85
  "darwin": "No driver: the package answers with empty capabilities (ADR 0095). macOS has no system-account API for third-party apps that was found; this is not proven either way.",
86
86
  "win32": "No driver: the package answers with empty capabilities (ADR 0095). No system-account API for third-party apps was found; this is not proven either way."
87
- }
88
- }
87
+ },
88
+ "nativescriptPlatforms": [
89
+ "android",
90
+ "ios"
91
+ ]
92
+ },
93
+ "gitHead": "bc5216978780476bb76edc9c1a920f5d837590a0"
89
94
  }