@optimex-xyz/market-maker-sdk 0.4.1 → 0.5.0-dev-81225fa

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.mts CHANGED
@@ -35,6 +35,11 @@ declare class SDK {
35
35
  * @param env The environment to use ('dev' or 'production')
36
36
  */
37
37
  setEnvironment(env: Environment): void;
38
+ /**
39
+ * Get the current environment configuration
40
+ * @returns The current environment configuration
41
+ */
42
+ getConfig(): AppConfig;
38
43
  }
39
44
  declare const sdk: SDK;
40
45
 
package/dist/index.d.ts CHANGED
@@ -35,6 +35,11 @@ declare class SDK {
35
35
  * @param env The environment to use ('dev' or 'production')
36
36
  */
37
37
  setEnvironment(env: Environment): void;
38
+ /**
39
+ * Get the current environment configuration
40
+ * @returns The current environment configuration
41
+ */
42
+ getConfig(): AppConfig;
38
43
  }
39
44
  declare const sdk: SDK;
40
45
 
package/dist/index.js CHANGED
@@ -140,6 +140,13 @@ var SDK = class {
140
140
  setEnvironment(env) {
141
141
  config.setEnvironment(env);
142
142
  }
143
+ /**
144
+ * Get the current environment configuration
145
+ * @returns The current environment configuration
146
+ */
147
+ getConfig() {
148
+ return config.get();
149
+ }
143
150
  };
144
151
  var sdk = new SDK();
145
152
 
package/dist/index.mjs CHANGED
@@ -75,6 +75,13 @@ var SDK = class {
75
75
  setEnvironment(env) {
76
76
  config.setEnvironment(env);
77
77
  }
78
+ /**
79
+ * Get the current environment configuration
80
+ * @returns The current environment configuration
81
+ */
82
+ getConfig() {
83
+ return config.get();
84
+ }
78
85
  };
79
86
  var sdk = new SDK();
80
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimex-xyz/market-maker-sdk",
3
- "version": "0.4.1",
3
+ "version": "0.5.0-dev-81225fa",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"