orak-util-ts 0.0.13 → 0.0.14

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
@@ -94,6 +94,8 @@ declare class FiCol {
94
94
  declare class FiKeybean {
95
95
  mapData: Map<string, any>;
96
96
  fiPut(txKey: string, value: any): FiKeybean;
97
+ fiGetAsStringNtn(txKey: string | undefined): string;
98
+ fiGet(txKey: string | undefined): any;
97
99
  constructor();
98
100
  }
99
101
 
package/dist/index.d.ts CHANGED
@@ -94,6 +94,8 @@ declare class FiCol {
94
94
  declare class FiKeybean {
95
95
  mapData: Map<string, any>;
96
96
  fiPut(txKey: string, value: any): FiKeybean;
97
+ fiGetAsStringNtn(txKey: string | undefined): string;
98
+ fiGet(txKey: string | undefined): any;
97
99
  constructor();
98
100
  }
99
101
 
package/dist/index.js CHANGED
@@ -220,6 +220,15 @@ var FiKeybean = class {
220
220
  this.mapData.set(txKey, value);
221
221
  return this;
222
222
  }
223
+ fiGetAsStringNtn(txKey) {
224
+ if (txKey == void 0) return "";
225
+ if (this.mapData.has(txKey)) return this.mapData.get(txKey).toString();
226
+ return "";
227
+ }
228
+ fiGet(txKey) {
229
+ if (txKey == void 0) return void 0;
230
+ return this.mapData.get(txKey);
231
+ }
223
232
  constructor() {
224
233
  }
225
234
  };
package/dist/index.mjs CHANGED
@@ -187,6 +187,15 @@ var FiKeybean = class {
187
187
  this.mapData.set(txKey, value);
188
188
  return this;
189
189
  }
190
+ fiGetAsStringNtn(txKey) {
191
+ if (txKey == void 0) return "";
192
+ if (this.mapData.has(txKey)) return this.mapData.get(txKey).toString();
193
+ return "";
194
+ }
195
+ fiGet(txKey) {
196
+ if (txKey == void 0) return void 0;
197
+ return this.mapData.get(txKey);
198
+ }
190
199
  constructor() {
191
200
  }
192
201
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orak-util-ts",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Orak Software Utility Typescript Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",