@gjsify/adwaita-gobject-native 0.64.12 → 0.64.13-next.283

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.
@@ -0,0 +1 @@
1
+ import"./_virtual/_rolldown/runtime.js";function glibTranslate(e){let t;return(n,r)=>n===``?n:(t??=e(`GLib`,`2.0`),r===void 0?t.dgettext(null,n):t.dpgettext2(null,r,n))}export{glibTranslate};
package/lib/esm/opt-in.js CHANGED
@@ -1 +1 @@
1
- import"./_virtual/_rolldown/runtime.js";import{createRealGioEngine as e}from"./engine.js";import{registerGObjectEngine as t}from"@gjsify/adwaita-core";function useRealGObjectEngine(n){let r;try{r=e(n)}catch(e){let t=Error(`useRealGObjectEngine: real GObject is not reachable, so the opt-in cannot be honoured. requireGi('GObject', '2.0') failed — the app opted in but '@gjsify/gi-runtime-android' did not deliver: check that it is a dependency of the app, that the APK carries 'lib/<abi>/libnode_gi.so' for this device's ABI, and that NativeScript extracted 'app/girepository-1.0' into the app's files dir. Remove the opt-in to run on pure JS.`);throw t.cause=e,t}return t(r),r}export{useRealGObjectEngine};
1
+ import"./_virtual/_rolldown/runtime.js";import{glibTranslate as e}from"./default-translate.js";import{createRealGioEngine as t}from"./engine.js";import{registerDefaultTranslate as n,registerGObjectEngine as r}from"@gjsify/adwaita-core";function useRealGObjectEngine(i){let a;try{a=t(i)}catch(e){let t=Error(`useRealGObjectEngine: real GObject is not reachable, so the opt-in cannot be honoured. requireGi('GObject', '2.0') failed — the app opted in but '@gjsify/gi-runtime-android' did not deliver: check that it is a dependency of the app, that the APK carries 'lib/<abi>/libnode_gi.so' for this device's ABI, and that NativeScript extracted 'app/girepository-1.0' into the app's files dir. Remove the opt-in to run on pure JS.`);throw t.cause=e,t}return r(a),n(e(i)),a}export{useRealGObjectEngine};
@@ -0,0 +1,4 @@
1
+ import type { DefaultTranslate } from '@gjsify/adwaita-core';
2
+ import type { RequireGi } from './engine.js';
3
+ /** Resolves GLib lazily, on the first marked string, and leaves an empty string untouched. */
4
+ export declare function glibTranslate(requireGi: RequireGi): DefaultTranslate;
@@ -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/adwaita-gobject-native",
3
- "version": "0.64.12",
3
+ "version": "0.64.13-next.283",
4
4
  "description": "Real GObject behind @gjsify/adwaita-core's GObject subset — a GObjectEngine whose property store and signal bus are a live GObject reached through node-gi (ADR 0105)",
5
5
  "type": "module",
6
6
  "module": "lib/esm/index.js",
@@ -38,10 +38,10 @@
38
38
  "adwaita"
39
39
  ],
40
40
  "dependencies": {
41
- "@gjsify/adwaita-core": "^0.64.12"
41
+ "@gjsify/adwaita-core": "0.64.13-next.283"
42
42
  },
43
43
  "peerDependencies": {
44
- "@gjsify/app-settings": "^0.64.12"
44
+ "@gjsify/app-settings": "0.64.13-next.283"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "@gjsify/app-settings": {
@@ -49,10 +49,10 @@
49
49
  }
50
50
  },
51
51
  "devDependencies": {
52
- "@gjsify/app-settings": "^0.64.12",
53
- "@gjsify/cli": "^0.64.12",
52
+ "@gjsify/app-settings": "0.64.13-next.283",
53
+ "@gjsify/cli": "0.64.13-next.283",
54
54
  "@gjsify/node-gi": "file:../../node-gi/node-gi",
55
- "@gjsify/unit": "^0.64.12",
55
+ "@gjsify/unit": "0.64.13-next.283",
56
56
  "@types/node": "^25.9.2",
57
57
  "typescript": "^6.0.3"
58
58
  },
@@ -77,5 +77,6 @@
77
77
  "bugs": {
78
78
  "url": "https://github.com/gjsify/gjsify/issues"
79
79
  },
80
- "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/nativescript-bridge/gobject#readme"
80
+ "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/nativescript-bridge/gobject#readme",
81
+ "gitHead": "05fae97125a374e84bf57c2d2d086fb53523f205"
81
82
  }