@elding/sdk 0.4.2 → 0.6.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 +2 -2
- package/dist/index.js +6 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EldingClient, type ClientOptions } from "./client.js";
|
|
2
|
+
export { configure, secret, type ProviderConfig } from "./configure.js";
|
|
2
3
|
export { EldingClient };
|
|
3
4
|
export type { ClientOptions };
|
|
4
|
-
export {
|
|
5
|
-
export { configure, secret, type ProviderConfig } from "./configure.js";
|
|
5
|
+
export { isProxyActive } from "./proxy.js";
|
|
6
6
|
/**
|
|
7
7
|
* Crée un client Elding et charge tous les secrets du set configuré.
|
|
8
8
|
*
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isProxyActive = exports.EldingClient = exports.secret = exports.configure = void 0;
|
|
4
4
|
exports.client = client;
|
|
5
5
|
const client_js_1 = require("./client.js");
|
|
6
6
|
Object.defineProperty(exports, "EldingClient", { enumerable: true, get: function () { return client_js_1.EldingClient; } });
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "proxyConfig", { enumerable: true, get: function () { return proxy_js_1.proxyConfig; } });
|
|
9
|
-
Object.defineProperty(exports, "isProxyActive", { enumerable: true, get: function () { return proxy_js_1.isProxyActive; } });
|
|
7
|
+
// ── API principale ──
|
|
10
8
|
var configure_js_1 = require("./configure.js");
|
|
11
9
|
Object.defineProperty(exports, "configure", { enumerable: true, get: function () { return configure_js_1.configure; } });
|
|
12
10
|
Object.defineProperty(exports, "secret", { enumerable: true, get: function () { return configure_js_1.secret; } });
|
|
11
|
+
// ── Avancé : vérifier le mode (proxy actif ou non) ──
|
|
12
|
+
var proxy_js_1 = require("./proxy.js");
|
|
13
|
+
Object.defineProperty(exports, "isProxyActive", { enumerable: true, get: function () { return proxy_js_1.isProxyActive; } });
|
|
14
|
+
// proxyConfig reste interne : configure() le supersede (proxy + bascule dev/prod auto).
|
|
13
15
|
/**
|
|
14
16
|
* Crée un client Elding et charge tous les secrets du set configuré.
|
|
15
17
|
*
|