@vritti/api-sdk 0.3.7 → 0.3.8

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.
@@ -1,3 +1,4 @@
1
1
  export { default } from 'decimal.js';
2
2
  import 'drizzle-orm';
3
3
  import 'lodash';
4
+ import 'pluralize-esm';
package/dist/decimal.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default } from 'decimal.js';
2
2
  import 'drizzle-orm';
3
3
  import 'lodash';
4
+ import 'pluralize-esm';
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/pluralize.ts
31
+ var pluralize_exports = {};
32
+ __export(pluralize_exports, {
33
+ pluralize: () => import_pluralize_esm.default
34
+ });
35
+ module.exports = __toCommonJS(pluralize_exports);
36
+ var import_pluralize_esm = __toESM(require("pluralize-esm"), 1);
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ pluralize
40
+ });
41
+ //# sourceMappingURL=pluralize.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pluralize.ts"],"sourcesContent":["// Re-export pluralize-esm's default export as the subpath entry point\nexport { default as pluralize } from 'pluralize-esm';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AACA,2BAAqC;","names":[]}
@@ -0,0 +1 @@
1
+ export { default as pluralize } from 'pluralize-esm';
@@ -0,0 +1 @@
1
+ export { default as pluralize } from 'pluralize-esm';
@@ -0,0 +1,6 @@
1
+ // src/pluralize.ts
2
+ import { default as default2 } from "pluralize-esm";
3
+ export {
4
+ default2 as pluralize
5
+ };
6
+ //# sourceMappingURL=pluralize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pluralize.ts"],"sourcesContent":["// Re-export pluralize-esm's default export as the subpath entry point\nexport { default as pluralize } from 'pluralize-esm';\n"],"mappings":";AACA,SAAoBA,WAAXC,gBAA4B;","names":["pluralize","default"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vritti/api-sdk",
3
3
  "type": "module",
4
- "version": "0.3.7",
4
+ "version": "0.3.8",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -106,6 +106,16 @@
106
106
  "default": "./dist/money.cjs"
107
107
  }
108
108
  },
109
+ "./pluralize": {
110
+ "import": {
111
+ "types": "./dist/pluralize.d.ts",
112
+ "default": "./dist/pluralize.js"
113
+ },
114
+ "require": {
115
+ "types": "./dist/pluralize.d.cts",
116
+ "default": "./dist/pluralize.cjs"
117
+ }
118
+ },
109
119
  "./countries": {
110
120
  "import": {
111
121
  "types": "./dist/countries.d.ts",
@@ -310,6 +320,7 @@
310
320
  "lru-cache": "^11.5.1",
311
321
  "nats": "^2.29.3",
312
322
  "pg": "^8.16.0",
323
+ "pluralize-esm": "^9.0.5",
313
324
  "winston": "^3.11.0",
314
325
  "winston-daily-rotate-file": "^5.0.0",
315
326
  "xlsx": "^0.18.5"
@@ -380,9 +391,9 @@
380
391
  "typescript": "^5.9.3"
381
392
  },
382
393
  "scripts": {
383
- "dev": "tsc --noEmit && tsx --watch src/index.ts",
384
- "build": "tsc --noEmit && tsup",
385
- "type-check": "tsc --noEmit",
394
+ "dev": "tsc --noEmit -p tsconfig.src.json && tsx --watch src/index.ts",
395
+ "build": "tsc --noEmit -p tsconfig.src.json && tsup",
396
+ "type-check": "tsc --noEmit -p tsconfig.src.json",
386
397
  "test": "tsx --test 'src/**/*.test.ts'",
387
398
  "test:watch": "tsx --test --watch 'src/**/*.test.ts'",
388
399
  "check": "biome check --write .",