@claudein.org/cli 0.1.15 → 0.1.16

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -25620,6 +25620,7 @@ function positional(schema, index, meta3) {
25620
25620
  import crypto from "crypto";
25621
25621
  import { watch } from "fs";
25622
25622
  import { readFile, writeFile } from "fs/promises";
25623
+ import { createRequire as createRequire2 } from "module";
25623
25624
 
25624
25625
  // ../node_modules/.bun/nanostores@1.3.0/node_modules/nanostores/clean-stores/index.js
25625
25626
  var clean = Symbol("clean");
@@ -26270,7 +26271,6 @@ var $visit = visit.visit;
26270
26271
  var $visitAsync = visit.visitAsync;
26271
26272
 
26272
26273
  // src/index.ts
26273
- import { createRequire as createRequire2 } from "module";
26274
26274
  var { version: version2 } = createRequire2(import.meta.url)("../package.json");
26275
26275
  var DOMAIN = process.env.CIN_ENV === "dev" ? "localhost:3000" : "claudein.org";
26276
26276
  function hash2(post) {
@@ -26297,10 +26297,15 @@ function p2p(post) {
26297
26297
  function ps2ps(posts) {
26298
26298
  return Promise.all(posts.posts.map((post) => p2p(post)));
26299
26299
  }
26300
+ var formatter = new Intl.DateTimeFormat("en-CA", {
26301
+ year: "numeric",
26302
+ month: "2-digit",
26303
+ day: "2-digit"
26304
+ });
26300
26305
  var posts = {
26301
26306
  posts: [{
26302
26307
  type: "text",
26303
- created: new Date().toISOString(),
26308
+ created: formatter.format(new Date),
26304
26309
  text: "I'm using ClaudeIn to share my thoughts and ideas!"
26305
26310
  }]
26306
26311
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudein.org/cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Post to LinkedIn from the command line",
5
5
  "type": "module",
6
6
  "repository": {