iagenify 0.3.2 → 0.3.3

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
@@ -58,6 +58,18 @@ const history = await assistant.getHistory();
58
58
  ```js
59
59
  await assistant.destroy();
60
60
  ```
61
+
62
+ ### Domaines
63
+
64
+ ```js
65
+ // Extensions prises en charge par le registrar connecté à IaGenify
66
+ const tlds = await api.domains.tlds();
67
+
68
+ // Recherche de noms. Passez les extensions souhaitées pour cibler le résultat.
69
+ const results = await api.domains.search("faysal", { tlds: ["online", "com"] });
70
+ ```
71
+
72
+ La recherche ne réserve pas le nom. L’achat et le paiement se font depuis l’espace IaGenify connecté.
61
73
 
62
74
  ### Hosts
63
75
 
package/dist/index.cjs CHANGED
@@ -8755,6 +8755,11 @@ var DomainsResource = class {
8755
8755
  constructor(client) {
8756
8756
  this.client = client;
8757
8757
  }
8758
+ /** Extensions actuellement proposées par le registrar connecté au compte IaGenify. */
8759
+ async tlds() {
8760
+ const res = await this.client.get("/api/domains/tlds");
8761
+ return res.tlds || [];
8762
+ }
8758
8763
  /**
8759
8764
  * Quels noms sont libres. Gratuit, et sans effet : rien n'est réservé.
8760
8765
  *
package/dist/index.js CHANGED
@@ -8697,6 +8697,11 @@ var DomainsResource = class {
8697
8697
  constructor(client) {
8698
8698
  this.client = client;
8699
8699
  }
8700
+ /** Extensions actuellement proposées par le registrar connecté au compte IaGenify. */
8701
+ async tlds() {
8702
+ const res = await this.client.get("/api/domains/tlds");
8703
+ return res.tlds || [];
8704
+ }
8700
8705
  /**
8701
8706
  * Quels noms sont libres. Gratuit, et sans effet : rien n'est réservé.
8702
8707
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iagenify",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "IaGenify client and agent engine — the agent loop runs inside the SDK (tools, skills, sub-agents, terminals, sessions, memory) in Node, the browser and Cloudflare Workers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",