thai-astrology 0.1.1 → 0.1.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
@@ -1,24 +1,20 @@
1
1
  # Thai Astrology
2
2
 
3
- Thai Astrology is a TypeScript-first library that implements traditional Thai astrological calculations. It exposes precise planetary position helpers and rulership utilities derived from the historic algorithms contained in `engine/astro-calculation`.
3
+ Thai Astrology is a TypeScript library that recreates classical Thai astrological calculations. It converts birth details into the 12-channel chart, Tanuseth, planetary positions, and ruling-planet insights without relying on runtime dependencies.
4
4
 
5
- ## Features
6
-
7
- - Compute ascendant, planetary positions, and Tanuseth value from Thai-style inputs.
8
- - Derive formatted channel outputs that mimic classical Thai charts.
9
- - Identify ruling planets directly from channel outputs.
10
- - Zero runtime dependencies and full TypeScript declarations.
11
-
12
- ## Installation
5
+ ## Install
13
6
 
14
7
  ```bash
15
8
  npm install thai-astrology
16
9
  ```
17
10
 
18
- ## Quick start
11
+ ## Usage
19
12
 
20
13
  ```ts
21
- import { generateThaiAstrologyChart } from "thai-astrology"
14
+ import {
15
+ formatChannelOutputs,
16
+ generateThaiAstrologyChart,
17
+ } from "thai-astrology"
22
18
 
23
19
  const chart = generateThaiAstrologyChart({
24
20
  day: 15,
@@ -29,31 +25,28 @@ const chart = generateThaiAstrologyChart({
29
25
  province: "กรุงเทพมหานคร",
30
26
  })
31
27
 
32
- console.log(chart.positions.sun) // 5 => สิงห์
33
- console.log(chart.sunPosition) // [29, 12]
34
- console.log(chart.rulingPlanetsText)
28
+ console.log(formatChannelOutputs(chart))
29
+ console.log(formatChannelOutputs(chart, "thai"))
35
30
  ```
36
31
 
37
- ## API surface
38
-
39
- The library re-exports the detailed helpers located in `engine/astro-calculation` as first-class public functions. Key types include:
40
-
41
- - `calculateAllPositions(input)` → returns `CalculationResult` with all planetary placements and channel outputs.
42
- - `calculateAscendant(...)`, `calculateSun(...)`, etc. → granular planet calculators.
43
- - `calculateTanuseth(positions, ascSign)` → compute Tanuseth from placements.
44
- - `findRulingPlanets(chart)` and `formatRulingPlanets(info)` → inspect channel strings for rulership insights.
45
- - `generateThaiAstrologyChart(input)` → convenience wrapper that augments `CalculationResult` with optional rulership details.
32
+ ## Key APIs
46
33
 
47
- Refer to the declaration files in `dist/` after building for the complete TypeScript surface.
34
+ - `generateThaiAstrologyChart(input)` → returns chart data with optional ruling planets.
35
+ - `formatChannelOutputs(chart, options?)` → digits in Thai or Arabic numerals.
36
+ - `findRulingPlanets(channelOutputs)` / `formatRulingPlanets(info)` → rulership helpers.
37
+ - Planet calculators such as `calculateAscendant`, `calculateSun`, etc. for custom flows.
38
+ - `calculateAllPositions(input)` → raw calculation result before extra metadata.
39
+ - `calculateTanuseth(positions, ascSign)` → determine Tanuseth directly.
40
+ - Individual calculators: `calculateMoon`, `calculateMars`, `calculateMercury`, `calculateJupiter`, `calculateVenus`, `calculateSaturn`, `calculateRahu`, `calculateKetu`, `calculateUranus`.
48
41
 
49
- ## Building locally
42
+ ## Development
50
43
 
51
44
  ```bash
52
45
  npm install
53
46
  npm run build
54
47
  ```
55
48
 
56
- A successful build emits compiled JavaScript and declarations into `dist/`.
49
+ Outputs compile to `dist/` alongside TypeScript declarations.
57
50
 
58
51
  ## License
59
52
 
package/dist/index.d.ts CHANGED
@@ -4,8 +4,12 @@ export * from "./engine/astro-calculation";
4
4
  export * from "./engine/astro/ruling-planets";
5
5
  export interface ThaiAstrologyChart extends CalculationResult {
6
6
  rulingPlanets?: RulingPlanetInfo;
7
- rulingPlanetsText?: string;
8
7
  rulingPlanetsError?: string;
9
8
  }
9
+ type ChannelNumeralSystem = "arabic" | "thai";
10
+ export interface FormatChannelOutputsOptions {
11
+ numerals?: ChannelNumeralSystem;
12
+ }
13
+ export declare const formatChannelOutputs: (chart: Pick<CalculationResult, "channelOutputs">, options?: FormatChannelOutputsOptions | ChannelNumeralSystem) => string[];
10
14
  export declare const generateThaiAstrologyChart: (input: CalculationInput) => ThaiAstrologyChart;
11
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAErF,OAAO,EAA0C,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAE7G,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAE7C,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,aAAa,CAAC,EAAE,gBAAgB,CAAA;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,eAAO,MAAM,0BAA0B,GAAI,OAAO,gBAAgB,KAAG,kBAmBpE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAErF,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAExF,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAE7C,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,aAAa,CAAC,EAAE,gBAAgB,CAAA;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,KAAK,oBAAoB,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE7C,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC;AAeD,eAAO,MAAM,oBAAoB,GAC/B,OAAO,IAAI,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,EAChD,UAAS,2BAA2B,GAAG,oBAAyB,KAC/D,MAAM,EAKR,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAI,OAAO,gBAAgB,KAAG,kBAkBpE,CAAA"}
package/dist/index.js CHANGED
@@ -14,11 +14,26 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.generateThaiAstrologyChart = void 0;
17
+ exports.generateThaiAstrologyChart = exports.formatChannelOutputs = void 0;
18
18
  const astro_calculation_1 = require("./engine/astro-calculation");
19
19
  const ruling_planets_1 = require("./engine/astro/ruling-planets");
20
20
  __exportStar(require("./engine/astro-calculation"), exports);
21
21
  __exportStar(require("./engine/astro/ruling-planets"), exports);
22
+ const THAI_DIGITS = ["๐", "๑", "๒", "๓", "๔", "๕", "๖", "๗", "๘", "๙"];
23
+ const convertDigits = (value, system) => {
24
+ if (system === "thai") {
25
+ return value.replace(/\d/g, (digit) => { var _a; return (_a = THAI_DIGITS[Number(digit)]) !== null && _a !== void 0 ? _a : digit; });
26
+ }
27
+ return value.replace(/[๐-๙]/g, (digit) => {
28
+ const index = THAI_DIGITS.indexOf(digit);
29
+ return index === -1 ? digit : index.toString();
30
+ });
31
+ };
32
+ const formatChannelOutputs = (chart, options = {}) => {
33
+ const { numerals = "arabic" } = typeof options === "string" ? { numerals: options } : options;
34
+ return chart.channelOutputs.map((token) => convertDigits(token, numerals));
35
+ };
36
+ exports.formatChannelOutputs = formatChannelOutputs;
22
37
  const generateThaiAstrologyChart = (input) => {
23
38
  const result = (0, astro_calculation_1.calculateAllPositions)(input);
24
39
  try {
@@ -26,7 +41,6 @@ const generateThaiAstrologyChart = (input) => {
26
41
  return {
27
42
  ...result,
28
43
  rulingPlanets,
29
- rulingPlanetsText: (0, ruling_planets_1.formatRulingPlanets)(rulingPlanets),
30
44
  };
31
45
  }
32
46
  catch (error) {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";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AAA,0BAA0B,8BAkBtC"}
@@ -1 +1 @@
1
- {"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../engine/astro-calculation.ts","../engine/astro/ruling-planets.ts","../index.ts"],"fileIdsList":[[37,38]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"caf62c9d68409525c2360828d037a30f0c6330097f9cbf9147b28dd86fd27e38","signature":"002e8b8bbc240a9f38e6bf7b8b285b57a54922e437c667eca228a74214e2e9c7"},{"version":"07b7bb793c403d9eab91b7907ae5dcc465dd7a2e8fbac1abb70d6143c162c417","signature":"59c322ba4ef43b522995220daafc294d13de77c2d19db3490b96c7d4c7b2091d"},{"version":"1d7b3606c62296957f693cad51096b2bfb92fc630b0e607733a65c4b821a4f0e","signature":"6c723de8302432c07a7b20b2d37059758b30b4641c1de7afd1726587ba1fe9a7"}],"root":[[37,39]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":6},"referencedMap":[[39,1]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.2"}
1
+ {"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../engine/astro-calculation.ts","../engine/astro/ruling-planets.ts","../index.ts"],"fileIdsList":[[37,38]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"caf62c9d68409525c2360828d037a30f0c6330097f9cbf9147b28dd86fd27e38","signature":"002e8b8bbc240a9f38e6bf7b8b285b57a54922e437c667eca228a74214e2e9c7"},{"version":"07b7bb793c403d9eab91b7907ae5dcc465dd7a2e8fbac1abb70d6143c162c417","signature":"59c322ba4ef43b522995220daafc294d13de77c2d19db3490b96c7d4c7b2091d"},{"version":"1148ee692e0a2f6e4de0d6e0b1d921167b8092f099433e2f150a33a978c3dfa0","signature":"f901069e425cd7e62a82ac6709ac325f313760d7e55e79833c41b3cec5946637"}],"root":[[37,39]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":6},"referencedMap":[[39,1]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thai-astrology",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Thai astrology ephemeris calculations and utilities for Node.js and TypeScript projects.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",